:root {
  --orange: #F05623;
  --orange-dark: #D4461A;
  --teal: #0D7574;
  --teal-dark: #0A5C5B;
  --mustard: #E6B326;
  --green: #428B6E;
  --magenta: #C8256A;
  --cream: #FFF6E8;
  --ink: #1D2B2B;
  --muted: #5B6B6B;
  --line: #E6E1D6;
  --white: #FFFFFF;
  --display: "Truculenta", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 56px var(--gutter); }
.center { text-align: center; }
.fine { font-size: .9rem; color: var(--muted); }
.sub { color: var(--muted); margin-top: -.4em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .01em;
  padding: .75em 1.35em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .08s ease, background .15s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: var(--teal); color: var(--white); }
.btn-secondary:hover { background: var(--teal-dark); }
.btn-light { background: var(--white); color: var(--orange-dark); }
.btn-light:hover { background: var(--cream); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-lg { font-size: 1.4rem; padding: .8em 1.6em; }
.btn-sm { font-size: 1rem; padding: .55em 1em; }

/* Logo badge, modeled on the orange square on the back card */
.logo-badge {
  display: inline-grid; place-content: center; text-align: center;
  width: 88px; height: 88px; border-radius: 12px; background: var(--orange); color: var(--white);
  font-family: var(--display); font-weight: 700; line-height: .9; letter-spacing: .01em;
  box-shadow: 4px 4px 0 var(--magenta);
}
.logo-badge span { display: block; }
.logo-badge span:first-child { font-size: 1.05rem; }
.logo-badge span:last-child { font-size: 1.5rem; }
.logo-badge.small { width: 44px; height: 44px; border-radius: 7px; box-shadow: 2px 2px 0 var(--magenta); }
.logo-badge.small span:first-child { font-size: .55rem; }
.logo-badge.small span:last-child { font-size: .8rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter); background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.brand-name sup { font-size: .5em; font-family: var(--body); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--orange-dark); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 48px var(--gutter) 24px;
}
.eyebrow { font-family: var(--display); font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: .4em; }
.ticks li { padding-left: 1.7em; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1em; height: .55em; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.buy-row { display: grid; gap: 10px; justify-items: start; }
.ship-note { font-size: .95rem; color: var(--muted); margin: 0; }
.ship-note.light { color: rgba(255,255,255,.9); }
.ship-window { font-weight: 600; color: var(--teal); }
.ship-note.light .ship-window { color: var(--white); }

.hero-art { position: relative; min-height: 380px; perspective: 1400px; }
.book {
  position: relative; width: min(78%, 520px); margin: 0 auto;
  transform: rotate(-3deg);
  filter: drop-shadow(14px 20px 22px rgba(29,43,43,.22));
}
.book-cover { position: relative; border-radius: 4px 10px 10px 4px; overflow: hidden; background: var(--white); border: 1px solid rgba(0,0,0,.08); }
.book-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0)); z-index: 1; }
.book-pages {
  position: absolute; inset: 6px -8px -8px 10px; border-radius: 4px 10px 10px 4px;
  background: repeating-linear-gradient(90deg, #f3eee2 0 2px, #e4dccb 2px 3px); z-index: -1;
}
.patent-line { margin: 4px 0 0; font-size: .95rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.patent-mark {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
  color: var(--white); background: var(--teal); padding: .25em .6em; border-radius: 4px;
}
.band.thin .wrap { padding-top: 22px; padding-bottom: 22px; }
.patent-band { display: flex; align-items: center; gap: 18px; }
.patent-band p { margin: 0; color: var(--white); font-size: 1.05rem; }
.patent-badge {
  flex: none; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  background: var(--white); color: var(--orange-dark); padding: .5em .9em; border-radius: 6px; font-size: 1rem;
}
@media (max-width: 600px) { .patent-band { flex-direction: column; align-items: flex-start; } }
.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 8px 0 20px; }
@media (max-width: 640px) { .grid4 { grid-template-columns: 1fr; } }
.ribbon {
  position: absolute; top: 14px; right: -10px; background: var(--teal); color: var(--white);
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem;
  padding: .35em .9em; border-radius: 4px 0 0 4px; box-shadow: 0 4px 10px rgba(0,0,0,.2); z-index: 2;
}
.ribbon::after { content: ""; position: absolute; right: 0; bottom: -8px; border: 5px solid transparent; border-top-color: var(--teal-dark); border-left-color: var(--teal-dark); }
.eyebrow .patent-mark { margin-right: 8px; vertical-align: middle; }
.anatomy { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-top: 10px; }
@media (max-width: 860px) { .anatomy { grid-template-columns: 1fr; } }
.anatomy-figure { position: relative; }
.anatomy-figure img { border-radius: 8px; box-shadow: 0 10px 26px rgba(29,43,43,.18); border: 1px solid var(--line); }
.tag {
  position: absolute; transform: translate(-50%, -50%);
  background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 700; font-size: .95rem;
  padding: .3em .7em; border-radius: 999px; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.tag::before { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 14px; background: var(--ink); transform: translateX(-50%); }
.t-name { left: 50%; top: 9%; }
.t-name::before { display: none; }
.t-glass { left: 14%; top: 24%; }
.t-garnish { left: 84%; top: 20%; }
.t-pours { left: 50%; top: 91%; }
.t-pours::before { top: auto; bottom: 100%; }
.anatomy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.anatomy-list li { padding-left: 1.6em; position: relative; }
.anatomy-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8em; height: .8em; border-radius: 50%; background: var(--orange); }
.stats .stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stats .stat .num { font-family: var(--display); font-weight: 700; font-size: 3rem; color: var(--orange); line-height: 1; display: block; margin-bottom: .15em; }
.stats .stat h3 { font-size: 1.3rem; line-height: 1.1; margin-bottom: .45em; }
.stats .stat p { margin: 0; color: var(--muted); font-size: .98rem; }
.stats .stat cite { display: block; margin-top: .8em; font-style: normal; font-size: .82rem; color: var(--muted); }
.sources { margin-top: 18px; }
.motto { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.95); margin: -.2em 0 1em; }
.float-card {
  position: absolute; width: 34%; border-radius: 6px; box-shadow: 0 10px 24px rgba(29,43,43,.25); border: 1px solid rgba(0,0,0,.06);
}
.float-card.c1 { left: -3%; bottom: -16%; transform: rotate(-10deg); }
.float-card.c2 { right: -3%; bottom: -22%; transform: rotate(8deg); }
.hero-art { padding-bottom: 13%; }
.stage { position: relative; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-art { min-height: 0; margin-top: 36px; margin-bottom: 40px; padding-bottom: 24%; }
  .book { width: 78%; }
  .float-card.c1 { left: 0; bottom: -14%; }
  .float-card.c2 { right: 0; bottom: -20%; }
}

/* Bands */
.band { padding: 0; }
.band.teal { background: var(--teal); color: var(--white); }
.band.teal h2, .band.teal h3 { color: var(--white); }
.band.teal .fine { color: rgba(255,255,255,.8); }
.band.teal a { color: var(--white); }
.band.cream { background: var(--cream); }
.band.orange { background: var(--orange); color: var(--white); }
.band.orange h2 { color: var(--white); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 8px 0 20px; }
.feature { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 22px; }
.feature .num { font-family: var(--display); font-weight: 700; font-size: 3.2rem; color: var(--mustard); line-height: 1; display: block; margin-bottom: .2em; }
.feature p { margin: 0; color: rgba(255,255,255,.9); }
@media (max-width: 760px) { .grid3 { grid-template-columns: 1fr; } }

/* Flip cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
@media (max-width: 760px) { .card-grid { grid-template-columns: 1fr; } }
.flip { background: none; border: 0; padding: 0; cursor: pointer; perspective: 1200px; border-radius: 8px; }
.flip:focus-visible { outline: 3px solid var(--mustard); outline-offset: 4px; }
.flip-inner { position: relative; display: block; aspect-ratio: 5 / 3; transition: transform .55s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 8px; box-shadow: 0 8px 22px rgba(29,43,43,.18); border: 1px solid var(--line); }
.face.back { transform: rotateY(180deg); }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; max-width: 760px; }
.steps li { position: relative; padding-left: 64px; font-size: 1.05rem; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: -4px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  display: grid; place-content: center;
}

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; color: var(--orange); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: .6em 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--cream); font-size: .9rem; color: var(--muted); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; }
.foot-row { display: flex; gap: 16px; align-items: flex-start; }
.foot-row p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.foot-links a { color: var(--teal); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

/* Age gate */
.gate { position: fixed; inset: 0; z-index: 50; background: rgba(13,117,116,.92); display: grid; place-items: center; padding: var(--gutter); }
.gate[hidden] { display: none; }
.gate-card { background: var(--white); border-radius: 18px; padding: 32px 28px; max-width: 440px; width: 100%; text-align: center; display: grid; gap: 10px; justify-items: center; }
.gate-card h2 { margin: 10px 0 0; }
.gate-card p { color: var(--muted); }
.gate-actions { display: grid; gap: 10px; width: 100%; }
.gate-actions .btn { justify-content: center; }

/* Policy pages */
.page { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 64px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page h2 { font-size: 1.5rem; margin-top: 1.6em; }
.page .updated { color: var(--muted); font-size: .9rem; }
.tm { font-size: .55em; vertical-align: super; line-height: 0; margin-left: .05em; letter-spacing: 0; }
.mid-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 30px; text-align: center; }
.mid-cta p { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.kicker { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--teal); margin: -.15em 0 .5em; }
