/* ─────────────────────────────────────────────────────────────
   SalesHub.Nepal — Brewery page shared styles
   Used by brewery-gorkha.html, brewery-prime.html,
   brewery-bigmaster.html, brewery-saras.html
   ───────────────────────────────────────────────────────────── */

/* Page tokens default — same as other pages. Each brewery's
   <body data-house="..."> sets a house-accent color used by hero. */
:root{
  --cream:#FFFFFF; --cream-2:#F8F6F1; --cream-3:#EDE9DE;
  --ink:#0B0B0D; --paper:#FAF6EE;
  --coral:#FF5C3A; --coral-soft:#F5BFB0;
  --ember:#E8431F; /* deep brand orange — replaces the old indigo accent */
  --indigo:#E8431F; --indigo-soft:#FF9E7A;
  --forest:#16332A; --forest-2:#0E261E;
  --amber:#D9A26B; --mute:#6A6A6A;
  --line:rgba(11,11,13,.12);
  --maxw:1320px;
  --pad-x: clamp(20px, 4vw, 56px);
  --accent: var(--coral);
}
*{ box-sizing:border-box }
html,body{ margin:0; padding:0 }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100% }
body{
  font-family:'Bricolage Grotesque', system-ui, sans-serif;
  background:var(--cream); color:var(--ink);
  font-size:17px; line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.modal-open{ overflow: 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% }
::selection{ background:var(--coral); color:#fff }

.mono{ font-family:'JetBrains Mono', ui-monospace, monospace; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; font-weight:500 }
.serif{ font-family:'Instrument Serif', serif; font-style:italic; font-weight:400 }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 var(--pad-x) }

/* nav (copied pattern) */
.nav-wrap{ position:sticky; top:18px; z-index:60; padding:0 var(--pad-x); pointer-events:none }
.nav{
  pointer-events:auto; margin:0 auto; max-width:1080px;
  display:flex; align-items:center; gap:14px;
  background:rgba(11,11,13,.86);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.06);
  border-radius:999px; padding:8px 8px 8px 22px; color:#F4EFE3;
}
.nav .brand{ font-weight:700; font-size:17px; letter-spacing:-.01em }
.nav .brand .dot{ color:var(--coral) }
.nav ul{ list-style:none; margin:0; padding:0; display:flex; gap:6px; flex:1; justify-content:center }
.nav ul a{ display:inline-block; padding:10px 14px; border-radius:16px; font-size:15px; color:#D7D1C2; transition:.2s background, .2s color }
.nav ul a:hover{ background:rgba(255,255,255,.06); color:#fff }
.nav ul a.active{ color:#fff; background:rgba(255,255,255,.08); border-radius:16px }
.nav .cta{ background:#fff; color:var(--ink); padding:12px 18px 12px 20px; border-radius:16px; font-weight:600; font-size:14px; display:inline-flex; align-items:center; gap:10px; transition:.2s transform }
.nav .cta:hover{ transform:translateY(-1px) }
.nav .cta .arr{ width:26px; height:26px; border-radius:10px; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:13px }
.nav .menu-btn{ display:none; width:42px; height:42px; border-radius:16px; background:rgba(255,255,255,.08); align-items:center; justify-content:center }
.nav .menu-btn span{ width:14px; height:1.5px; background:#fff; box-shadow:0 -5px 0 #fff, 0 5px 0 #fff }
@media (max-width:820px){
  .nav ul, .nav .cta{ display:none }
  .nav .menu-btn{ display:inline-flex; margin-left:auto }
  .nav{ padding:8px 8px 8px 18px }
}

/* chips */
.chip{
  display:inline-flex; align-items:center; gap:10px;
  padding:9px 16px 9px 14px; border-radius:999px;
  border:1px solid rgba(11,11,13,.16);
  background:rgba(250,246,238,.6); backdrop-filter:blur(8px);
}
.chip .bullet{ width:8px; height:8px; border-radius:999px; background:var(--accent, var(--coral)); box-shadow:0 0 0 3px color-mix(in oklab, var(--accent, var(--coral)) 22%, transparent) }

/* ─── Hero ─── */
.bh-hero{
  position: relative;
  padding: 30px 0 60px;
  overflow: hidden;
}
.bh-hero::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 5% 20%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(900px 600px at 100% 80%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%);
  pointer-events:none;
}
.bh-hero .container{ position: relative; z-index: 1 }

/* breadcrumb */
.bh-crumb{
  display:flex; justify-content:space-between; align-items:center;
  gap: 14px; flex-wrap: wrap;
  margin: 28px 0 26px;
}
.bh-back{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px; transition: .2s background, .2s transform;
}
.bh-back:hover{ background: var(--ink); color: #fff; transform: translateX(-3px) }
.bh-back .arr{
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 12px;
}

.bh-head{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}
@media (max-width: 980px){
  .bh-head{ grid-template-columns: 1fr; gap: 28px }
}

.bh-house-no{
  font-family:'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: .32em; text-transform: uppercase; color: var(--mute);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.bh-house-no::before,
.bh-house-no::after{
  content:""; flex: 1; height: 1px; background: var(--line);
}
.bh-house-no::before{ flex: 0 0 20px }

.bh-title{
  margin: 0;
  font-size: clamp(72px, 12vw, 220px);
  font-family:'Bricolage Grotesque', sans-serif;
  font-weight: 800; line-height: .86; letter-spacing: -.04em;
  text-wrap: balance;
}
.bh-title .serif{
  font-family: inherit; font-style: normal; font-weight: inherit;
  color: inherit; font-size: inherit;
}

.bh-meta-strip{
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  max-width: 560px;
}
.bh-meta-strip .cell{
  padding: 4px 16px 4px 0;
  border-right: 1px dashed var(--line);
}
.bh-meta-strip .cell:last-child{ border-right: 0 }
.bh-meta-strip .lbl{
  font-family:'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}
.bh-meta-strip .val{
  font-family:'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: 22px; margin-top: 6px; line-height: 1; color: var(--ink);
}
.bh-meta-strip .val .small{
  font-family:'Bricolage Grotesque'; font-style: normal; font-weight: 600;
  font-size: 14px; padding-left: 6px; color: var(--mute);
}

.bh-summary{
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6; color: var(--ink); opacity: .88;
}
.bh-summary strong{ font-weight: 600 }
.bh-summary p:first-of-type::first-letter{
  font-family:'Instrument Serif', serif; font-style: italic;
  font-size: 2.6em; line-height: .8; float: left;
  padding: .1em .14em 0 0; color: var(--accent);
}

/* hero side: aside crest/seal */
.bh-aside{
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
}
.bh-crest{
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 26px;
  min-height: 280px;
  overflow: hidden;
  isolation: isolate;
}
.bh-crest::before{
  content:""; position: absolute; inset: 0;
  background: var(--crest-img, none) center/cover no-repeat;
  opacity: .96; z-index: 0;
}
.bh-crest::after{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,.05) 0%, rgba(11,11,13,.55) 100%);
  z-index: 1;
}
.bh-crest > *{ position: relative; z-index: 2; color: #fff }
.bh-crest .crest-author{
  margin-top: 12px;
  font-family:'JetBrains Mono', monospace; font-size: 9.5px;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* the rotating coral seal sticker on top-right of crest */
.bh-stamp{
  position: absolute; top: 16px; right: 16px;
  width: 76px; height: 76px;
  z-index: 3;
}
.bh-stamp .disc{
  width: 100%; height: 100%; border-radius: 999px;
  background: conic-gradient(from 220deg, var(--accent), color-mix(in oklab, var(--accent) 70%, white), var(--accent));
  display: grid; place-items: center;
  color: #fff;
  font-family:'Fraunces', serif; font-style: normal;
  font-weight: 700; font-size: 18px; line-height: 1;
  text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.25);
  box-shadow: 0 12px 24px color-mix(in oklab, var(--accent) 50%, transparent), inset 0 0 0 3px rgba(255,255,255,.4);
  transform: rotate(-12deg);
  transition: transform .35s cubic-bezier(.2,.7,.2,1.4);
}
.bh-stamp:hover .disc{ transform: rotate(8deg) scale(1.08) }
.bh-stamp .disc .small{
  display: block; font-family:'JetBrains Mono', monospace; font-style: normal;
  font-weight: 700; font-size: 7.5px; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px;
}

/* ─── Product grid ─── */
.bh-lineup{ padding: 60px 0 80px }
.bh-lineup .sec-head{
  display: flex; justify-content: space-between; align-items: end;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.bh-lineup .sec-head h2{
  margin: 0;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 800; letter-spacing: -.03em; line-height: .96;
}
.bh-lineup .sec-head h2 .serif{
  font-family: inherit; font-style: normal; font-weight: inherit;
  color: inherit;
}
.bh-lineup .sec-head .right{
  font-family:'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
}

.bh-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px){ .bh-grid{ grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 600px){ .bh-grid{ grid-template-columns: 1fr } }

.brew-card{
  position: relative; overflow: hidden;
  border-radius: 26px;
  /* Tall portrait ratio matched to the product photos (0.56) so `cover`
     fills the card edge-to-edge while only trimming background, never the
     bottle. min-height keeps a floor on very narrow columns. */
  aspect-ratio: 5 / 8;
  min-height: 460px;
  background: #1A1A1E;
  isolation: isolate;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1.4), box-shadow .35s;
  box-shadow: 0 8px 24px rgba(11,11,13,.08);
  border: 0; padding: 0; text-align: left; font-family: inherit; color: #fff;
  width: 100%;
}
.brew-card:hover{ transform: translateY(-8px); box-shadow: 0 28px 50px rgba(11,11,13,.18) }
.brew-card:focus-visible{ outline: 3px solid var(--accent); outline-offset: 2px }

.brew-card .pc-bg{
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg, none) center/cover no-repeat #1A1A1E;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.brew-card:hover .pc-bg{ transform: scale(1.06) }
.brew-card .pc-shade{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(11,11,13,.94) 0%, rgba(11,11,13,.82) 22%, rgba(11,11,13,.5) 42%, rgba(11,11,13,.18) 62%, rgba(11,11,13,0) 80%);
}
.brew-card .pc-arr{
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: #0B0B0D;
  display: grid; place-items: center; font-size: 18px;
  box-shadow: 0 6px 14px rgba(11,11,13,.18);
  transition: .25s background, .25s color, .35s transform;
}
.brew-card:hover .pc-arr{ background: var(--accent); color: #fff; transform: rotate(-35deg) scale(1.05) }
.brew-card .pc-body{
  position: absolute; left: 22px; right: 108px; bottom: 22px;
  z-index: 3; color: #fff;
}
.brew-card .pc-cat{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(11,11,13,.42);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  font-family:'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-bottom: 10px;
}
.brew-card .pc-cat .dot{ width: 7px; height: 7px; border-radius: 999px; background: var(--accent) }
.brew-card .pc-name{
  margin: 4px 0 0;
  font-family:'Fraunces', 'Instrument Serif', serif; font-style: normal;
  font-weight: 560; font-optical-sizing: auto;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-size: clamp(31px, 3.3vw, 46px);
  line-height: .98; letter-spacing: -.015em; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.brew-card .pc-line{ font-size: 13px; color: rgba(255,255,255,.78); margin-top: 7px; line-height: 1.4; text-shadow: 0 2px 6px rgba(0,0,0,.35) }

/* sticker variations per card */
.brew-card .pc-sticker{
  position: absolute; bottom: 22px; right: 22px;
  z-index: 4;
  background: var(--accent); color: #fff;
  width: 72px; height: 72px; border-radius: 999px;
  display: grid; place-items: center; text-align: center;
  font-family:'Fraunces', serif; font-style: normal;
  font-weight: 700; font-size: 18px; line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  box-shadow: 0 8px 20px color-mix(in oklab, var(--accent) 50%, transparent), inset 0 0 0 3px rgba(255,255,255,.28);
  transform: rotate(-10deg);
  transition: transform .35s cubic-bezier(.2,.7,.2,1.4);
}
.brew-card:hover .pc-sticker{ transform: rotate(8deg) scale(1.08) }
.brew-card .pc-sticker .small{ display: block; font-family:'JetBrains Mono', monospace; font-style: normal; font-weight: 700; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px }

/* ─── Placeholder (product image not yet available) ───
   Diagonal-stripe placeholder per the design system; the card still
   shows the product name/category so incomplete data reads gracefully. */
.brew-card.no-img .pc-bg,
.modal-left.no-img{
  background:
    repeating-linear-gradient(45deg, rgba(244,239,227,.05) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, #24242A 0%, #17171B 62%, #101013 100%);
}
.brew-card .pc-ph{ display: none }
.brew-card.no-img .pc-ph{
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  text-align: center; color: rgba(244,239,227,.55); pointer-events: none;
  padding: 0 24px;
}
.brew-card.no-img .pc-ph .lab{
  font-family:'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .28em; text-transform: uppercase; color: rgba(244,239,227,.62);
}
.brew-card.no-img .pc-ph .sub{
  font-family:'Instrument Serif', serif; font-style: italic;
  font-size: 16px; color: rgba(244,239,227,.42);
}

/* ─── Modal ─── */
.modal{
  position: fixed; inset: 0;
  background: rgba(11,11,13,.78);
  backdrop-filter: blur(8px);
  display: none;
  z-index: 100;
  padding: clamp(20px, 5vw, 60px);
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}
.modal.open{ display: flex; opacity: 1 }
.modal-card{
  position: relative;
  max-width: 880px; width: 100%;
  max-height: calc(100vh - 80px);
  background: var(--paper); color: var(--ink);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  /* Narrow, bottle-shaped image column so the tall product photo fills it with
     `cover` without trimming the top or bottom of the bottle. */
  grid-template-columns: 0.78fr 1.22fr;
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
  transform: translateY(20px) scale(.96);
  transition: transform .35s cubic-bezier(.2,.7,.2,1.4);
}
.modal.open .modal-card{ transform: translateY(0) scale(1) }
@media (max-width: 800px){
  .modal-card{ grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto }
  /* Stacked layout: the image spans the full width, so `contain` keeps the
     whole bottle visible (no top/bottom crop) at any phone/tablet width. */
  .modal-left{ min-height: 320px; max-height: 48vh; background-size: contain }
  .modal-right{ justify-content: flex-start }
}

.modal-close{
  position: absolute; top: 18px; right: 18px;
  z-index: 5;
  width: 44px; height: 44px; border-radius: 16px;
  background: rgba(11,11,13,.85); color: #fff;
  display: grid; place-items: center; font-size: 18px;
  box-shadow: 0 6px 14px rgba(11,11,13,.3);
  transition: .2s background, .2s transform;
}
.modal-close:hover{ background: var(--accent); transform: scale(1.06) rotate(90deg) }

/* modal left (image) — same treatment as the lineup cards: the photo covers
   the panel edge-to-edge, and a tall min-height keeps the panel narrow enough
   that `cover` fills it while only trimming background, never the bottle. */
.modal-left{
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--m-img, none) center/cover no-repeat #1A1A1E;
}
.modal-left::after{
  content:""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,11,13,.10) 0%, rgba(11,11,13,.55) 100%);
}
.modal-left .m-tag{
  position: absolute; top: 22px; left: 22px;
  z-index: 2;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  padding: 7px 14px; border-radius: 999px;
  font-family:'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase; color: #0B0B0D;
  border: 1px solid rgba(11,11,13,.06);
  box-shadow: 0 6px 14px rgba(11,11,13,.18);
}
.modal-left .m-stamp{
  position: absolute; bottom: 24px; left: 24px;
  z-index: 2;
  width: 88px; height: 88px; border-radius: 999px;
  background: conic-gradient(from 220deg, var(--accent), color-mix(in oklab, var(--accent) 70%, white), var(--accent));
  display: grid; place-items: center;
  color: #fff;
  font-family:'Fraunces', serif; font-style: normal;
  font-weight: 700; font-size: 20px; line-height: 1; text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  box-shadow: 0 12px 24px rgba(0,0,0,.3), inset 0 0 0 3px rgba(255,255,255,.4);
  transform: rotate(-10deg);
}
.modal-left .m-stamp .small{ display: block; font-family:'JetBrains Mono', monospace; font-style: normal; font-weight: 700; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px }

/* modal right (content) */
.modal-right{
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; justify-content: center;
  overflow-y: auto;
}
.modal-right .m-cat{
  display: inline-flex; align-items: center; gap: 8px;
  font-family:'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 10px;
}
.modal-right .m-cat .dot{ width: 7px; height: 7px; border-radius: 999px; background: var(--accent) }
.modal-right .m-name{
  margin: 0;
  font-family:'Fraunces', 'Instrument Serif', serif; font-style: normal;
  font-weight: 560; font-optical-sizing: auto;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: .98; letter-spacing: -.02em;
}
.modal-right .m-name .acc{ color: var(--accent) }
.modal-right .m-line{
  margin-top: 8px;
  font-size: 14px; color: var(--mute);
  font-family:'JetBrains Mono', monospace; letter-spacing: .04em;
}
.modal-right .m-specs{
  margin-top: 22px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.modal-right .m-specs .cell{
  padding: 0 14px 0 0;
  border-right: 1px dashed var(--line);
}
.modal-right .m-specs .cell:last-child{ border-right: 0 }
.modal-right .m-specs .lbl{
  font-family:'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}
.modal-right .m-specs .val{
  font-family:'Bricolage Grotesque'; font-weight: 700;
  font-size: 20px; margin-top: 4px; line-height: 1; color: var(--ink);
}
.modal-right .m-notes{
  margin-top: 22px;
  font-size: 15px; line-height: 1.6; color: var(--ink); opacity: .85;
}
.modal-right .m-tags{
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.modal-right .m-tags span{
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cream-3);
  border: 1px solid color-mix(in oklab, currentColor 22%, transparent);
  padding: 7px 12px 7px 10px; border-radius: 999px;
  font-family:'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
}
.modal-right .m-tags span::before{
  content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--accent);
}
.modal-right .m-quote{
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--cream-3);
  border-radius: 16px;
  font-family:'Instrument Serif', serif; font-style: italic;
  font-size: 17px; line-height: 1.4; color: var(--ink);
}
.modal-right .m-quote .author{
  display: block; margin-top: 10px;
  font-family:'JetBrains Mono', monospace; font-style: normal;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute);
}
.modal-right .m-actions{
  margin-top: 24px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.modal-right .m-btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 22px; border-radius: 16px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 14px;
  transition: .2s transform;
}
.modal-right .m-btn:hover{ transform: translateY(-1px) }
.modal-right .m-btn .arr{
  width: 24px; height: 24px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 12px;
}
.modal-right .m-btn.ghost{
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.modal-right .m-btn.ghost .arr{ background: var(--ink); color: #fff }

/* ─── CTA + footer (shared with other pages) ─── */
.cta-strip{
  margin: 80px var(--pad-x) 40px; border-radius: 32px;
  background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 70%, white) 60%, var(--indigo-soft));
  padding: clamp(36px, 6vw, 80px) clamp(28px, 5vw, 60px);
  position:relative; overflow:hidden; color:#fff;
}
.cta-strip::before{ content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.20) 1px, transparent 0); background-size: 18px 18px; opacity:.4 }
.cta-strip .meta-row{ display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; color: rgba(255,255,255,.85) }
.cta-strip h3{ margin: 26px 0 18px; font-size: clamp(40px, 7vw, 100px); font-weight:800; letter-spacing:-.03em; line-height:.95; max-width: 14ch; color:#fff }
.cta-strip h3 .serif{ font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; }
.cta-strip p{ max-width: 480px; color: rgba(255,255,255,.92); margin: 0 0 28px; font-size:17px; line-height:1.5 }
.cta-strip .actions{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; position:relative; z-index:2 }
.btn{ display:inline-flex; align-items:center; gap:10px; padding: 16px 22px 16px 24px; border-radius:16px; background:#fff; color:var(--ink); font-weight:600; font-size:15px; transition:.2s transform }
.btn:hover{ transform:translateY(-1px) }
.btn .arr{ width:26px; height:26px; border-radius:10px; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:13px }
.btn.ghost{ background:rgba(255,255,255,.18); color:#fff; backdrop-filter:blur(6px) }
.btn.ghost .arr{ background:#fff; color:var(--ink) }

/* the playful emoji stack — fans out on hover (same as the home page CTA) */
.cta-strip .friendly{ display:inline-flex; align-items:center; gap:14px; color:#fff }
.emoji-stack{ position:relative; width:70px; height:34px }
.emoji-stack .em{
  position:absolute; top:0; left:0;
  width:34px; height:34px; border-radius:999px;
  background:#fff; box-shadow: 0 4px 10px rgba(0,0,0,.15), inset 0 0 0 2px var(--accent);
  display:grid; place-items:center; font-size:18px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1.4);
  animation: bob 4s ease-in-out infinite;
}
.emoji-stack .e1{ z-index:3 }
.emoji-stack .e2{ z-index:2; transform: translateX(14px); animation-delay:.3s }
.emoji-stack .e3{ z-index:1; transform: translateX(28px); animation-delay:.6s }
.friendly:hover .emoji-stack .e1{ transform: translateX(-6px) rotate(-12deg) translateY(-3px) }
.friendly:hover .emoji-stack .e2{ transform: translateX(14px) translateY(-7px) rotate(2deg) }
.friendly:hover .emoji-stack .e3{ transform: translateX(36px) rotate(12deg) translateY(-3px) }
/* `translate` (not transform) so the bob stacks with the fan-out hover */
@keyframes bob{ 0%, 100%{ translate: 0 0 } 50%{ translate: 0 -3px } }

footer{ background: var(--ink); color: #C9C2B0; border-radius: 32px 32px 0 0; margin-top: 40px; padding: 56px var(--pad-x) 36px }
footer .row{ display:grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap:36px }
footer h6{ color:var(--accent); margin: 0 0 18px; font-size:12px; letter-spacing:.16em; text-transform:uppercase; font-family:'JetBrains Mono', monospace; font-weight:500 }
footer ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px }
footer a:hover{ color:#fff }
footer .brand{ color:#fff; font-size:24px; font-weight:700; letter-spacing:-.01em }
footer .brand .dot{ color:var(--accent) }
footer .blurb{ font-size:14px; line-height:1.5; color:#928B79; max-width: 280px; margin-top: 14px }
footer .bottom{ margin-top: 48px; padding-top: 22px; border-top:1px solid rgba(255,255,255,.08); display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#7A7361 }
@media (max-width:900px){ footer .row{ grid-template-columns: 1fr 1fr } }

/* ─────────── ANIMATION SYSTEM ───────────
   Same motion language as the home page: things land, photos settle, stickers
   stamp on. Kept to the hero, the lineup cards, the CTA and the product modal.
   Everything sits behind no-preference so reduced-motion users get the static page. */
@media (prefers-reduced-motion: no-preference){

  /* Hero — plays once the age gate lifts (entry-gate.js removes data-gating).
     On internal navigation there is no gate, so it plays on load. */
  html:not([data-gating]) .bh-crumb{ animation: fadeDown .7s cubic-bezier(.22,1,.36,1) .1s backwards }
  html:not([data-gating]) .bh-house-no{ animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .2s backwards }
  html:not([data-gating]) .bh-title{ animation: titleRise 1s cubic-bezier(.22,1,.36,1) .3s backwards }
  html:not([data-gating]) .bh-meta-strip{ animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .6s backwards }
  html:not([data-gating]) .bh-summary{ animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .72s backwards }
  html:not([data-gating]) .bh-crest{ animation: cardLand .9s cubic-bezier(.22,1,.36,1) .35s backwards }
  html:not([data-gating]) .bh-crest::before{ animation: photoSettle 1.6s cubic-bezier(.22,1,.36,1) .35s backwards }
  html:not([data-gating]) .bh-stamp{ animation: stickerStamp .55s cubic-bezier(.3,1.5,.5,1) 1.05s backwards }
  .bh-crumb .chip .bullet{ animation: blink 2.5s ease-in-out infinite }

  /* Section heading — data-split words rise out of a mask */
  [data-split] .word{
    display: inline-block; vertical-align: top; overflow: hidden;
    padding: .1em .05em .16em; margin: -.1em -.05em -.16em;
  }
  [data-split] .word > span{
    display: inline-block; transform: translateY(110%);
    transition: transform .9s cubic-bezier(.22,1,.36,1) calc(var(--i) * 80ms);
  }
  [data-split].s-reveal.visible .word > span{ transform: none }

  /* Lineup cards — the card lands, the photo settles, the name slides up and the
     sticker stamps on. Animations (not transitions) so the delay never leaks into
     the hover lift. Delay follows the column, so row 4 doesn't wait for rows 1–3. */
  .brew-card.s-reveal:not(.visible),
  .brew-card.s-reveal:not(.visible) .pc-body,
  .brew-card.s-reveal:not(.visible) .pc-sticker{ opacity: 0 }
  .brew-card.s-reveal{ --d: 0s }
  .brew-card.s-reveal:nth-child(3n+2){ --d: .12s }
  .brew-card.s-reveal:nth-child(3n){ --d: .24s }
  .brew-card.s-reveal.visible{ animation: cardLand .8s cubic-bezier(.22,1,.36,1) var(--d) backwards }
  .brew-card.s-reveal.visible .pc-bg{ animation: photoSettle 1.6s cubic-bezier(.22,1,.36,1) var(--d) backwards }
  .brew-card.s-reveal.visible .pc-body{ animation: fadeUp .7s cubic-bezier(.22,1,.36,1) calc(var(--d) + .4s) backwards }
  .brew-card.s-reveal.visible .pc-sticker{ animation: stickerStamp .55s cubic-bezier(.3,1.5,.5,1) calc(var(--d) + .65s) backwards }

  /* CTA strip entrance */
  .cta-strip.s-reveal{
    opacity: 0;
    transform: translateY(40px) scale(.97);
    transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  }
  .cta-strip.s-reveal.visible{
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* Product modal — replays on every open because .modal goes display:none → flex.
     Photo settles, the tag and stamp land, then the details stack in. */
  .modal.open .modal-left{ animation: photoSettle 1.2s cubic-bezier(.22,1,.36,1) backwards }
  .modal.open .modal-left .m-tag{ animation: fadeDown .6s cubic-bezier(.22,1,.36,1) .3s backwards }
  .modal.open .modal-left .m-stamp{ animation: stickerStamp .55s cubic-bezier(.3,1.5,.5,1) .5s backwards }
  .modal.open .modal-right > *{ animation: fadeUp .6s cubic-bezier(.22,1,.36,1) backwards }
  .modal.open .modal-right > :nth-child(1){ animation-delay: .12s }
  .modal.open .modal-right > :nth-child(2){ animation-delay: .18s }
  .modal.open .modal-right > :nth-child(3){ animation-delay: .24s }
  .modal.open .modal-right > :nth-child(4){ animation-delay: .30s }
  .modal.open .modal-right > :nth-child(5){ animation-delay: .36s }
  .modal.open .modal-right > :nth-child(6){ animation-delay: .42s }
  .modal.open .modal-right > :nth-child(7){ animation-delay: .48s }
  .modal.open .modal-right > :nth-child(8){ animation-delay: .54s }
}

@keyframes fadeUp{ from{ opacity: 0; transform: translateY(16px) } }
@keyframes fadeDown{ from{ opacity: 0; transform: translateY(-10px) } }
@keyframes titleRise{ from{ opacity: 0; transform: translateY(40px) } }
@keyframes cardLand{ from{ opacity: 0; transform: translateY(48px) } }
@keyframes photoSettle{ from{ transform: scale(1.22) } }
@keyframes stickerStamp{ from{ opacity: 0; scale: 1.9 } }
@keyframes blink{ 0%,80%,100%{ opacity:1 } 90%{ opacity:.35 } }
