:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #111111;
  --muted: #68645f;
  --line: #ded9d2;
  --soft: #f7f4ee;
  --soft-2: #eef8f3;
  --lime: #b9ff30;
  --red: #ff4a55;
  --blue: #257dff;
  --yellow: #ffd329;
  --mint: #6ff2bf;
  --lav: #c9b8ff;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.drawer-open,
body.quick-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 30;
  transform: translateY(-120%);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  padding: 10px 12px;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 14px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #312f2b;
  font-size: 14px;
  font-weight: 850;
}

.nav-links a {
  padding: 8px 0;
}

.icon-button {
  display: inline-grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.cart-trigger {
  position: relative;
}

.cart-trigger span {
  position: absolute;
  right: -7px;
  top: -7px;
  display: grid;
  min-width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(28px, 5vw, 76px) clamp(16px, 5vw, 72px) clamp(34px, 6vw, 82px);
  background:
    linear-gradient(90deg, transparent 0 49px, rgba(17, 17, 17, 0.045) 50px) 0 0 / 50px 50px,
    radial-gradient(circle at 84% 18%, rgba(185, 255, 48, 0.38), transparent 25%),
    #ffffff;
}

.hero-copy {
  max-width: 620px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 560px;
  margin-bottom: 24px;
  color: #3a3732;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-actions .button,
.card-actions .ghost-button {
  flex: 1 1 150px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  background: var(--lime);
  color: var(--ink);
}

.button.wide {
  width: 100%;
}

.legal-line {
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 0 !important;
  border-left: 5px solid var(--lime);
  padding: 8px 0 8px 12px;
  color: var(--muted) !important;
  font-size: 14px !important;
  font-weight: 850;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 10px 10px 0 var(--ink);
}

.hero-media::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  content: "6 flavors";
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 950;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 2px solid var(--ink);
  background: var(--lime);
}

.ticker span {
  min-height: 58px;
  padding: 18px 14px;
  border-right: 2px solid var(--ink);
  text-align: center;
  font-weight: 950;
}

.ticker span:last-child {
  border-right: 0;
}

.catalog-section,
.faq {
  padding: clamp(44px, 7vw, 92px) clamp(16px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0;
}

.section-heading p,
.build-box p,
.proof p,
.faq p {
  color: var(--muted);
  line-height: 1.6;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 42px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #ffffff;
  padding: 8px 14px;
  font-weight: 900;
  cursor: pointer;
}

.filter.active {
  background: var(--blue);
  color: #ffffff;
}

.filter:focus-visible,
.button:focus-visible,
.ghost-button:focus-visible,
.icon-button:focus-visible,
.nav-links a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 5px 5px 0 var(--ink);
}

.product-art {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  border-bottom: 2px solid var(--ink);
  background: #ffffff;
}

.product-art img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.product-card h3 {
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1;
}

.product-card p {
  margin-bottom: 0;
  color: #4a4640;
  line-height: 1.45;
}

.card-trope {
  border-left: 4px solid var(--product-color);
  padding-left: 10px;
  color: #211f1c !important;
  font-size: 14px;
  font-weight: 850;
}

.ghost-button {
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
}

.build-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(16px, 5vw, 72px);
  border-block: 2px solid var(--ink);
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 74, 85, 0.24), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(37, 125, 255, 0.18), transparent 28%),
    var(--soft);
}

.box-panel {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
  box-shadow: 8px 8px 0 var(--ink);
}

.box-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
}

.box-row:last-of-type {
  margin-bottom: 18px;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 clamp(16px, 5vw, 72px);
  border-bottom: 2px solid var(--ink);
}

.proof article {
  padding: clamp(26px, 5vw, 54px) 24px;
  border-right: 2px solid var(--ink);
}

.proof article:last-child {
  border-right: 0;
}

.proof h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.prop-drop {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(16px, 5vw, 72px);
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.65)),
    repeating-linear-gradient(-8deg, #111 0 16px, #b9ff30 16px 32px);
}

.prop-image {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 9px 9px 0 var(--ink);
}

.prop-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.prop-drop p {
  max-width: 650px;
  color: #27241f;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.52;
}

.faq {
  max-width: 940px;
}

details {
  border-top: 2px solid var(--ink);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 2px solid var(--ink);
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 950;
}

details p {
  max-width: 720px;
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(16px, 5vw, 72px);
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-weight: 850;
}

.cart-drawer,
.quick-view {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.cart-drawer.open,
.quick-view.open {
  display: block;
}

.drawer-backdrop,
.quick-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.48);
}

.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100%);
  height: 100%;
  border-left: 2px solid var(--ink);
  background: #ffffff;
  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.22);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 2px solid var(--ink);
}

.drawer-head h2 {
  margin: 0;
  font-size: 32px;
}

.cart-items {
  overflow: auto;
  padding: 14px 18px;
}

.empty-cart {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-swatch {
  width: 54px;
  height: 54px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--product-color);
  object-fit: cover;
}

.cart-item h3 {
  margin-bottom: 3px;
  font-size: 16px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.qty {
  display: grid;
  grid-template-columns: 32px 32px 32px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}

.qty button {
  min-height: 32px;
  border: 0;
  background: #ffffff;
  font-weight: 950;
  cursor: pointer;
}

.qty span {
  text-align: center;
  font-size: 13px;
  font-weight: 950;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-top: 2px solid var(--ink);
  background: var(--soft);
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: #302d28;
  font-size: 13px;
  font-weight: 950;
}

.checkout-form input {
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #ffffff;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 22px;
  font-weight: 950;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.quick-card {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: 24px;
  width: min(760px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 22px;
  box-shadow: 10px 10px 0 var(--ink);
}

.quick-close {
  position: absolute;
  right: 14px;
  top: 14px;
}

.quick-pack {
  min-height: 320px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
}

.quick-pack img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.quick-mood {
  display: inline-block;
  margin-bottom: 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 950;
}

.quick-card h2 {
  padding-right: 42px;
}

.quick-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
}

.quick-trope {
  border-left: 5px solid var(--lime);
  padding-left: 12px;
  color: #27241f;
  font-weight: 850;
  line-height: 1.5;
}

.quick-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.quick-details div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--soft);
}

.quick-details dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
  }

  .nav-links {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: #ffffff;
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

  .ticker,
  .product-grid,
  .proof {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading,
  .build-box,
  .prop-drop {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: auto;
    padding: 10px 12px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  h1 {
    font-size: clamp(45px, 16vw, 70px);
  }

  .hero {
    padding: 20px 12px 38px;
    background-size: 38px 38px;
  }

  .hero-media {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .hero-media img {
    aspect-ratio: 1 / 1;
  }

  .hero-actions .button {
    width: 100%;
  }

  .card-actions .button,
  .card-actions .ghost-button {
    width: 100%;
    flex-basis: 100%;
  }

  .ticker,
  .product-grid,
  .proof {
    grid-template-columns: 1fr;
  }

  .ticker span,
  .proof article {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .catalog-section,
  .faq,
  .build-box {
    padding-inline: 12px;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .product-art {
    min-height: 210px;
  }

  .site-footer {
    display: grid;
    padding-inline: 12px;
  }

  .quick-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .quick-details {
    grid-template-columns: 1fr;
  }

  .quick-pack {
    min-height: 240px;
  }

  .quick-pack img {
    min-height: 240px;
  }
}
