:root {
  --black: #000;
  --white: #fff;
  --grey: #f0f2f1;
  --line: #e6e6e6;
  --accent: #1e88f7;
  --red: #f4524f;
  --navy: #0b1a33;
  --tint-red: #ffe3e0;
  --tint-blue: #d9ebff;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --logo: "Fraunces", Georgia, serif;
  --body: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 5.5vw, 170px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--body);
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.5px;
}
.accent { color: var(--accent); }

/* ---------- Header ---------- */
#header { position: sticky; top: 0; z-index: 50; }
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--gutter) 10px;
}
.header-row { display: flex; align-items: center; justify-content: space-between; }
.header-icons { display: flex; gap: 18px; align-items: center; width: 90px; }
.header-icons.right { justify-content: flex-end; }
.header-icons svg { width: 20px; height: 20px; }
.logo { font-family: var(--logo); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -1px; color: var(--navy); }
.logo sup { font-family: var(--body); font-size: 8px; font-weight: 600; letter-spacing: 0; vertical-align: top; position: relative; top: 4px; margin-left: 1px; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -7px; right: -9px;
  background: var(--black); color: var(--white);
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: none; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-count.on { display: flex; }
.main-nav { display: flex; justify-content: center; gap: 28px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--black); color: var(--white);
  height: 48px; padding: 0 26px; border-radius: 8px;
  font-size: 16px; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #222; }
.btn.ghost { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--white); }
.btn.full { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 50px var(--gutter) 0; min-height: calc(min(31vw + 80px, 550px) + clamp(330px, 35.25vw, 555px) + 60px); }
.hero h1 { font-size: clamp(76px, 17.5vw, 250px); line-height: 1.02; position: relative; z-index: 2; }
.hero p { font-size: clamp(17px, 1.5vw, 21px); max-width: 380px; margin-top: 34px; position: relative; z-index: 2; }
.hero-cta { margin-top: 26px; position: relative; z-index: 3; }
.hero-bags {
  position: absolute; right: var(--gutter); top: min(calc(31vw + 80px), 550px);
  width: clamp(440px, 47vw, 740px); aspect-ratio: 4 / 3; z-index: 3; pointer-events: none;
}
.hb { position: absolute; width: 60%; filter: drop-shadow(26px 36px 30px rgba(11,26,51,.28)); }
.hb img { width: 100%; height: auto; }
.hb-1 { left: 0; top: 10%; transform: rotate(-11deg); animation: bob1 7s ease-in-out infinite; }
.hb-2 { right: 0; top: 0; transform: rotate(9deg); z-index: 2; animation: bob2 6s ease-in-out infinite; }
@keyframes bob1 { 0%,100% { transform: rotate(-11deg) translateY(0); } 50% { transform: rotate(-9deg) translateY(-14px); } }
@keyframes bob2 { 0%,100% { transform: rotate(9deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-18px); } }

/* ---------- Flavor showcase ---------- */
.duo-wrap { padding: 40px var(--gutter) 100px; text-align: center; }
.eyebrow { letter-spacing: 3px; font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 40px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1200px; margin: 0 auto; }
.duo-item { border-radius: 18px; padding: 56px 30px 44px; display: flex; flex-direction: column; align-items: center; }
.duo-item:nth-child(1) { background: var(--tint-blue); }
.duo-item:nth-child(2) { background: var(--tint-red); }
.duo-bag { display: block; width: min(62%, 380px); filter: drop-shadow(18px 26px 22px rgba(11,26,51,.24)); transition: transform .35s cubic-bezier(.3,.8,.3,1); }
.duo-bag img { width: 100%; height: auto; }
.duo-item:nth-child(1) .duo-bag { transform: rotate(-5deg); }
.duo-item:nth-child(2) .duo-bag { transform: rotate(5deg); }
.duo-item:hover .duo-bag { transform: rotate(0) scale(1.05) translateY(-8px); }
.duo-item h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; margin-top: 40px; }
.duo-item p { font-weight: 600; margin: 10px 0 24px; }

/* ---------- Color blocks ---------- */
.block { padding: 110px var(--gutter); position: relative; overflow: hidden; }
.block.tint-red { background: var(--tint-red); }
.accent-red { color: var(--red); }
.block.grey { background: var(--grey); }
.block h2 { font-size: clamp(60px, 11vw, 200px); line-height: 0.9; }
.block h2.mid { font-size: clamp(48px, 8vw, 120px); line-height: 0.96; }
.block .lede { font-size: clamp(16px, 1.3vw, 19px); max-width: 560px; margin: 32px 0; }
.block .lede strong { display: block; margin-bottom: 14px; }

.meet { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 40px; }
.meet-art { position: relative; height: 420px; }
.gummy {
  position: absolute; border-radius: 32%;
  box-shadow: inset -10px -14px 24px rgba(0,0,0,.22), inset 10px 12px 20px rgba(255,255,255,.55), 14px 22px 26px rgba(0,0,0,.18);
  animation: float 7s ease-in-out infinite;
}
.gummy::after {
  content: ""; position: absolute; top: 14%; left: 16%; width: 34%; height: 20%;
  border-radius: 50%; background: rgba(255,255,255,.65); filter: blur(3px); transform: rotate(-24deg);
}
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -16px; } }

.math { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.math-card { background: var(--white); border-radius: 18px; padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.math-row { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.math-row:last-child { border-bottom: 0; }
.math-row .num { font-family: var(--display); font-size: clamp(56px, 6vw, 92px); line-height: 1; }
.math-row .lbl { font-weight: 600; text-align: right; max-width: 170px; font-size: 15px; }

.culture { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; padding: 110px var(--gutter); }
.culture-card {
  border-radius: 14px; background: var(--grey); height: 520px;
  box-shadow: 0 24px 50px rgba(0,0,0,.14);
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.culture-card { background: var(--tint-blue); }
.culture-card .bag-holder { width: 62%; transform: rotate(-8deg); filter: drop-shadow(18px 26px 22px rgba(11,26,51,.28)); }
.culture-card img { width: 100%; height: auto; }
.culture-h { font-size: clamp(48px, 8vw, 120px); margin-bottom: 34px; }
.culture p { margin-bottom: 18px; max-width: 520px; font-size: 17px; }
.culture .tag { font-weight: 600; display: flex; gap: 10px; align-items: center; }

.moments h2 { text-align: center; }
.moments .kicker { text-align: center; letter-spacing: 3px; font-size: 14px; font-weight: 600; margin: 26px 0 40px; text-transform: uppercase; }
.moment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.moment {
  border-radius: 14px; aspect-ratio: 3/4; padding: 22px; color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.moment .time { font-weight: 700; font-size: 14px; background: rgba(0,0,0,.25); padding: 6px 12px; border-radius: 20px; align-self: flex-start; }
.moment h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.8vw, 44px); text-transform: uppercase; line-height: 1; }
.moment p { font-size: 14px; margin-top: 8px; opacity: .95; }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; margin: 70px 0; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 60px; animation: tick 28s linear infinite; font-family: var(--display); font-size: 30px; text-transform: uppercase; }
.ticker-track span:nth-child(even) { color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 60px var(--gutter) 34px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 40px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.footer-grid a:hover { text-decoration: underline; }
.footer-slogan { font-family: var(--display); font-size: clamp(44px, 5vw, 76px); text-transform: uppercase; line-height: 1; display: flex; gap: 14px; flex-wrap: wrap; }
.footer-slogan .flip { display: inline-block; transform: scaleX(-1); }
.join-form { display: flex; border-bottom: 1px solid #777; margin-top: 18px; max-width: 460px; }
.join-form input { flex: 1; background: none; border: 0; color: var(--white); font: inherit; padding: 12px 0; outline: none; }
.join-form input::placeholder { color: #ccc; }
.join-form button { font-weight: 600; color: var(--white); }
.join-note { font-size: 13px; margin-top: 12px; color: #bbb; min-height: 18px; }
.footer-fine { margin-top: 46px; font-size: 11px; color: #9a9a9a; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Shop ---------- */
.page-head { padding: 70px var(--gutter) 30px; }
.page-head h1 { font-size: clamp(64px, 12vw, 180px); }
.page-head p { max-width: 520px; margin-top: 22px; font-size: 18px; }
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 1300px; gap: 28px; padding: 30px var(--gutter) 90px; }
.card { border-radius: 14px; background: var(--grey); padding: 34px 26px 26px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0,0,0,.12); }
.card .bag-holder { width: 58%; margin: 10px auto 30px; filter: drop-shadow(14px 20px 18px rgba(11,26,51,.24)); transition: transform .3s ease; }
.card img { width: 100%; height: auto; }
.card:hover .bag-holder { transform: rotate(-6deg) scale(1.04); }
.card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; }
.card .sub { font-size: 14px; color: #555; margin: 6px 0 16px; flex: 1; }
.card .price { font-weight: 700; margin-bottom: 16px; }

/* ---------- Product ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; padding: 50px var(--gutter) 90px; align-items: start; }
.pdp-media { position: sticky; top: 110px; }
.pdp-gallery { border-radius: 14px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.g-img { filter: drop-shadow(24px 30px 26px rgba(11,26,51,.28)); }
.g-img img { width: 100%; height: auto; }
.g-img.front { width: 66%; transform: rotate(6deg); }
.g-img.back { width: 80%; align-self: flex-end; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumbs button { width: 84px; height: 84px; border-radius: 10px; padding: 10px; border: 2px solid transparent; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.thumbs button.on { border-color: var(--black); }
.thumbs img { max-height: 100%; width: auto; }
.badge { display: inline-block; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; }
.pdp h1 { font-size: clamp(40px, 4.4vw, 64px); margin: 16px 0 12px; line-height: 1; }
.pdp .price-line { font-size: 20px; font-weight: 700; margin-bottom: 26px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; font-size: 12.5px; font-weight: 600; margin-bottom: 28px; }
.perks .big { font-family: var(--display); font-size: 40px; color: var(--accent); line-height: 1.1; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { padding: 10px 0; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #888; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--black); border-color: var(--black); }
.tab-body { font-size: 15px; min-height: 150px; }
.tab-body ul { margin: 12px 0 0 18px; }
.tab-body li { margin-bottom: 6px; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 16px; }
.pack { border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 8px; text-align: center; font-size: 14px; font-weight: 600; }
.pack small { display: block; font-weight: 500; color: #666; margin-top: 3px; }
.pack.on { border-color: var(--black); background: var(--black); color: var(--white); }
.pack.on small { color: #ccc; }
.counted { background: var(--tint-blue); border-radius: 14px; padding: 34px; margin-top: 34px; text-align: center; }
.counted h3 { font-family: var(--display); font-weight: 400; color: var(--accent); font-size: 40px; text-transform: uppercase; line-height: 1; margin-bottom: 20px; }
.counted .stat { display: flex; gap: 16px; align-items: center; text-align: left; padding: 10px 0; font-size: 15px; }
.counted .stat b { font-family: var(--display); font-weight: 400; font-size: 46px; color: var(--accent); min-width: 96px; }
.also { padding: 0 var(--gutter) 90px; }
.also h2 { font-size: clamp(40px, 6vw, 90px); margin-bottom: 30px; }
.also-banner { border-radius: 18px; padding: 56px clamp(24px, 5vw, 80px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; overflow: hidden; }
.also-banner h2 { margin-bottom: 18px; }
.also-banner p { font-size: 18px; max-width: 460px; }
.also-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.also-bag { display: block; width: min(100%, 340px); justify-self: center; transform: rotate(7deg); filter: drop-shadow(18px 26px 22px rgba(11,26,51,.24)); transition: transform .3s ease; }
.also-bag:hover { transform: rotate(3deg) scale(1.04); }
.also-bag img { width: 100%; height: auto; }

/* ---------- Nutrition facts ---------- */
.nf { width: 100%; max-width: 380px; border: 2px solid var(--black); border-collapse: collapse; font-size: 14px; }
.nf caption { text-align: left; font-weight: 800; font-size: 26px; padding: 0 0 8px; }
.nf caption small { display: block; font-size: 12.5px; font-weight: 500; margin-top: 2px; }
.nf th, .nf td { padding: 5px 10px; border-top: 1px solid var(--black); text-align: left; font-weight: 600; }
.nf td { text-align: right; font-weight: 500; white-space: nowrap; }
.nf tr.in th { padding-left: 24px; font-weight: 400; }
.nf tr.in2 th { padding-left: 38px; font-weight: 400; }
.nf tr.cal th, .nf tr.cal td { font-size: 20px; font-weight: 800; border-top-width: 4px; }
.nf tr.thick th, .nf tr.thick td { border-bottom: 5px solid var(--black); }
.nf-note { font-size: 11.5px; color: #555; margin-top: 8px; max-width: 380px; }

/* ---------- FAQ ---------- */
.faq { padding: 100px var(--gutter); max-width: 1100px; }
.faq h2 { font-size: clamp(48px, 8vw, 120px); margin-bottom: 30px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 14px; max-width: 720px; color: #333; }

/* ---------- Cart drawer + modal ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  visibility: hidden;
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--white); z-index: 100;
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column;
}
.drawer.on { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--display); font-weight: 400; font-size: 32px; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 24px; }
.drawer-foot { padding: 22px 24px; border-top: 1px solid var(--line); }
.line img { width: 100%; height: auto; }
.line { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .nm { font-weight: 700; font-size: 14px; }
.line .meta { font-size: 13px; color: #666; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 14px; }
.subtotal { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 16px; }
.empty { text-align: center; padding: 60px 0; color: #666; }
.modal {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -46%); opacity: 0; pointer-events: none;
  background: var(--white); border-radius: 18px; padding: 40px; width: min(480px, calc(100vw - 32px)); z-index: 110; transition: all .25s ease;
}
.modal.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.modal h3 { font-family: var(--display); font-weight: 400; font-size: 46px; text-transform: uppercase; line-height: 1; margin-bottom: 14px; }
.modal input { width: 100%; height: 48px; border: 1.5px solid var(--black); border-radius: 8px; padding: 0 14px; font: inherit; margin: 18px 0 12px; }
.modal .x { position: absolute; top: 16px; right: 20px; font-size: 24px; }
.modal .msg { font-size: 14px; margin-top: 12px; min-height: 20px; }

/* ---------- Mobile menu ---------- */
.menu-panel { position: fixed; inset: 0 auto 0 0; width: min(360px, 100vw); background: var(--white); z-index: 100; transform: translateX(-100%); transition: transform .3s ease; padding: 28px; }
.menu-panel.on { transform: none; }
.menu-panel a { display: block; font-family: var(--display); font-size: 44px; text-transform: uppercase; padding: 8px 0; }
.menu-panel .x { font-size: 26px; margin-bottom: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { min-height: 0; padding-bottom: 20px; }
  .hero-bags { position: relative; right: auto; top: auto; margin: 44px auto 10px; width: 90%; max-width: 520px; }
  .duo { grid-template-columns: 1fr; }
  .duo-wrap { padding-bottom: 70px; }
  .also-banner { grid-template-columns: 1fr; }
  .also-bag { width: 60%; }
  .pdp-media { position: relative; top: 0; }
  .block { padding: 70px var(--gutter); }
  .meet, .math, .culture, .pdp { grid-template-columns: 1fr; gap: 36px; }
  .meet-art { height: 260px; }
  .culture { padding: 70px var(--gutter); }
  .culture-card { height: 380px; }
  .moment-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .shop-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 22px 14px 16px; }
  .card .btn { height: 42px; font-size: 14px; padding: 0 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .main-nav { gap: 20px; font-size: 13px; }
  .ticker-track { font-size: 22px; }
}
