:root{
    --cream:#FFFFFF; --cream-2:#F8F6F1; --cream-3:#EDE9DE;
    --ink:#0B0B0D; --paper:#141418;
    --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);
  }
  *{ 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;
  }
  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 ─── */
  .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 }
  }

  /* ─── HERO: Now Pouring · 4 Houses ─── */
  .hero{
    position:relative;
    padding: 24px 0 60px;
    overflow:hidden;
  }
  .pour{
    position:relative;
    background: var(--ink);
    border-radius: 32px;
    padding: clamp(28px, 4vw, 56px);
    color: #F4EFE3;
    display:grid;
    grid-template-columns: 380px 1fr 1fr;
    gap: 40px;
    min-height: 600px;
    overflow:hidden;
  }
  .pour::before{
    content:""; position:absolute; inset:0;
    background:
      radial-gradient(circle at 50% 38%, rgba(255,255,255,.10), transparent 50%);
    pointer-events:none;
  }
  .pour::after{
    content:""; position:absolute; inset:0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0);
    background-size: 18px 18px;
    pointer-events:none;
  }
  .pour .copy{ position:relative; z-index:2; display:flex; flex-direction:column; justify-content:center }
  .pour .cat{
    font-family:'Instrument Serif', serif; font-style:italic;
    font-size: clamp(18px, 1.6vw, 22px); color: var(--coral-soft);
    margin-bottom: 8px; transition: opacity .4s;
  }
  .pour h1{
    margin: 0 0 18px;
    font-size: clamp(56px, 9vw, 144px);
    font-weight: 800; line-height: .86; letter-spacing: -.04em;
    color: #F4EFE3;
    transition: opacity .4s;
  }
  .pour h1 .serif{
    font-family:'Instrument Serif', serif; font-style: italic;
    font-weight: 400; color: var(--coral); padding: 0 .02em;
    font-size: 1.06em;
  }
  .pour .tagline{
    font-family:'Instrument Serif', serif; font-style:italic;
    font-size: clamp(20px, 1.6vw, 24px); line-height: 1.3;
    color: #D6CFB8; max-width: 28ch; margin: 0 0 30px;
    transition: opacity .4s;
  }
  .pour .specs{
    display:grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; max-width: 460px;
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
    padding: 14px 0; margin-bottom: 26px;
  }
  .pour .specs .cell{
    padding: 0 16px 0 0; border-right: 1px dashed rgba(255,255,255,.12);
    transition: opacity .4s;
  }
  .pour .specs .cell:last-child{ border-right: 0 }
  .pour .specs .lbl{
    font-family:'JetBrains Mono', monospace; font-size:10px;
    letter-spacing:.16em; text-transform:uppercase; color:#7A7361;
  }
  .pour .specs .val{
    font-family:'Bricolage Grotesque'; font-weight:700;
    font-size: clamp(18px, 1.6vw, 22px);
    margin-top: 4px; line-height:1; color: #F4EFE3;
  }
  .pour .specs .val .small{
    font-family:'Instrument Serif', serif; font-style:italic; font-weight:400;
    font-size:.72em; color: #A29A85; padding-left: 4px;
  }
  .pour .actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 8px }
  .pour .actions .btn-light{
    display:inline-flex; align-items:center; gap:10px;
    background:#fff; color: var(--ink);
    padding: 14px 20px 14px 22px; border-radius:16px;
    font-weight:600; font-size:14px; transition:.2s transform;
  }
  .pour .actions .btn-light:hover{ transform: translateY(-1px) }
  .pour .actions .btn-light .arr{ width:26px; height:26px; border-radius:10px; background: var(--coral); color:#fff; display:grid; place-items:center; font-size:13px }

  /* CENTER stage */
  .pour .stage{
    position:relative; z-index:2;
    display:flex; align-items:center; justify-content:center;
    padding: 20px 0 40px;
  }
  .pour .stage-disc{
    position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
    width: 100%; max-width: 380px; aspect-ratio: 1/1;
    border-radius:999px;
    background:
      radial-gradient(circle at 50% 50%, rgba(255,255,255,.06), transparent 60%),
      conic-gradient(from 0deg, rgba(255,255,255,.04), rgba(255,255,255,.10), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.06);
  }
  .pour .stage-disc::before, .pour .stage-disc::after{
    content:""; position:absolute; inset: 14%;
    border: 1px solid rgba(255,255,255,.06); border-radius:999px;
  }
  .pour .stage-disc::after{ inset: 30%; border-color: rgba(255,255,255,.04) }

  .pour .stage-ring{
    position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
    width: 110%; max-width: 440px; aspect-ratio: 1/1;
    z-index: 1;
    animation: spotSpin 28s linear infinite;
  }
  .pour .stage-ring text{
    font-family:'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: .32em; fill: rgba(255,255,255,.45);
    text-transform: uppercase;
  }
  @keyframes spotSpin{ to{ transform: translate(-50%,-50%) rotate(360deg) } }
  @media (prefers-reduced-motion: reduce) and (scripting: none){ .pour .stage-ring{ animation:none } }

  .pour .brew-img{
    position:relative; z-index: 2;
    width: 70%; max-width: 240px; aspect-ratio: 1/1.35;
    background: var(--brew-img, none) center/cover no-repeat #1A1A1E;
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
    transition: opacity .5s, transform .5s;
  }
  .pour .brew-img.swap{ opacity: 0; transform: translateY(10px) }

  .pour .museum-tag{
    position:absolute; left: clamp(8px, 1.5vw, 24px); bottom: clamp(8px, 1.5vw, 24px);
    z-index: 3;
    background: var(--paper); color: var(--ink);
    border-radius: 4px;
    padding: 8px 12px;
    font-family:'JetBrains Mono', monospace; font-size: 10px;
    letter-spacing: .18em; text-transform: uppercase;
    transform: rotate(-4deg);
    box-shadow: 0 8px 18px rgba(0,0,0,.4);
    display:flex; align-items:center; gap:8px;
  }
  .pour .museum-tag .hole{ width:8px; height:8px; border-radius:999px; background: var(--ink); opacity:.2 }

  /* RIGHT rail (4 brewery options) */
  .pour .rail{
    position:relative; z-index: 2;
    display:flex; flex-direction:column; gap: 10px;
  }
  .pour .rail-head{
    font-family:'JetBrains Mono', monospace; font-size:11px;
    letter-spacing:.32em; text-transform:uppercase; color: #A29A85;
    margin-bottom: 8px;
    display:flex; justify-content:space-between; align-items:center;
  }
  .pour .queue{ display:flex; flex-direction:column; gap: 10px }
  .queue-item{
    display:grid; grid-template-columns: 56px 1fr auto; gap: 14px;
    align-items:center;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    padding: 12px 14px;
    cursor: pointer;
    transition: .2s background, .2s transform;
    text-align: left;
  }
  .queue-item:hover{ background: rgba(255,255,255,.08); transform: translateX(-3px) }
  .queue-item.active{
    background: rgba(255,92,58,.10);
    border-color: rgba(255,92,58,.30);
  }
  .queue-item .mini{
    width: 56px; height: 56px; border-radius: 12px;
    background: var(--mini-bg, rgba(255,255,255,.06)) center/cover no-repeat;
  }
  .queue-item .qmeta .cat{
    font-family:'JetBrains Mono', monospace; font-size:9.5px;
    letter-spacing:.16em; text-transform:uppercase; color: #7A7361;
    margin-bottom: 3px;
  }
  .queue-item .qmeta .name{
    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: 18px; letter-spacing:-.015em; color: #F4EFE3;
    line-height: 1.05;
  }
  .queue-item .qmeta .est{
    font-family:'JetBrains Mono', monospace; font-size: 9.5px;
    letter-spacing:.14em; color: #A29A85; margin-top: 4px;
  }
  .queue-item .go{
    width: 32px; height: 32px; border-radius:999px;
    background: rgba(255,255,255,.06); color:#fff;
    display:grid; place-items:center; font-size:14px;
    border:1px solid rgba(255,255,255,.06);
    transition:.2s background, .2s transform;
  }
  .queue-item:hover .go{ background: var(--coral); border-color: transparent; transform: rotate(-30deg) }
  .queue-item.active .go{ background: var(--coral); border-color: transparent }

  .pour-progress{
    position:absolute; left: clamp(28px, 4vw, 56px); right: clamp(28px, 4vw, 56px);
    bottom: 14px;
    height: 2px; border-radius:999px;
    background: rgba(255,255,255,.06);
    overflow:hidden; z-index: 3;
  }
  .pour-progress .bar{
    position:absolute; left:0; top:0; bottom:0; width: 0%;
    background: linear-gradient(90deg, var(--coral), var(--coral-soft));
    transition: width .15s linear;
  }

  @media (max-width: 1100px){
    .pour{ grid-template-columns: 1fr 1fr; min-height: 0 }
    .pour .rail{ grid-column: span 2; flex-direction: row; flex-wrap: wrap }
    .pour .rail .queue{ flex-direction: row; flex-wrap: wrap; gap: 10px; flex: 1 }
    .queue-item{ flex: 1 1 calc(50% - 6px); min-width: 0 }
    .pour .rail-head{ flex: 0 0 100% }
  }
  @media (max-width: 720px){
    .pour{ grid-template-columns: 1fr; gap: 24px }
    .pour .rail{ grid-column: auto }
    .pour h1{ font-size: 56px }
    .queue-item{ flex: 1 1 100% }
    .pour .museum-tag{ display: none }
  }

  /* ─── CTA ─── */
  .cta-strip{
    margin: 80px var(--pad-x) 40px; border-radius: 32px;
    background: linear-gradient(135deg, #D9A26B, #FF8A6E 50%, #FF5C3A);
    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-style:italic; color:rgba(255,255,255,.95); font-weight:400; padding:0 .03em }
  .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:#0B0B0D; 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(--coral);
    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 */
  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(--coral); 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(--coral) }
  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 ─────────── */

  /* Nav entrance */

  /* Pour section entrance */
  .pour{
    opacity: 0; transform: translateY(30px);
    animation: fadeSlideUp .8s cubic-bezier(.22,1,.36,1) .35s forwards;
  }

  @keyframes fadeSlideUp{
    to{ opacity:1; transform: translateY(0) }
  }

  /* Inside the card — plays once the age gate lifts (entry-gate.js removes
     data-gating): the copy stacks in, the bottle rises, the roster slides in. */
  @media (prefers-reduced-motion: no-preference){
    html:not([data-gating]) .pour .copy > *{ animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .5s backwards }
    html:not([data-gating]) .pour .copy > :nth-child(2){ animation-delay: .62s }
    html:not([data-gating]) .pour .copy > :nth-child(3){ animation-delay: .74s }
    html:not([data-gating]) .pour .brew-img{ animation: bottleRise 1s cubic-bezier(.22,1,.36,1) .55s backwards }
    html:not([data-gating]) .pour .rail-head{ animation: fadeUp .6s cubic-bezier(.22,1,.36,1) .6s backwards }
    html:not([data-gating]) .queue-item{ animation: slideInRight .6s cubic-bezier(.22,1,.36,1) .7s backwards }
    html:not([data-gating]) .queue-item:nth-child(2){ animation-delay: .78s }
    html:not([data-gating]) .queue-item:nth-child(3){ animation-delay: .86s }
    html:not([data-gating]) .queue-item:nth-child(4){ animation-delay: .94s }

    /* CTA heading — data-split words rise out of a mask once the strip reveals */
    [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(.2s + var(--i) * 80ms);
    }
    .s-reveal.visible [data-split] .word > span{ transform: none }
  }
  @keyframes fadeUp{ from{ opacity: 0; transform: translateY(16px) } }
  @keyframes bottleRise{ from{ opacity: 0; transform: translateY(60px) scale(.94) } }
  @keyframes slideInRight{ from{ opacity: 0; transform: translateX(24px) } }

  /* ─── Scroll-triggered reveals ─── */
  .s-reveal{
    opacity: 0;
    transform: translateY(60px);
    transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  }
  .s-reveal.visible{
    opacity: 1;
    transform: translateY(0);
  }

  /* CTA strip entrance */
  .cta-strip.s-reveal{
    opacity: 0;
    transform: translateY(40px) scale(.97);
  }
  .cta-strip.s-reveal.visible{
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* Footer columns stagger */
  footer .row.s-stagger > *{
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
  }
  footer .row.s-stagger.visible > *{
    opacity: 1;
    transform: translateY(0);
  }
  footer .row.s-stagger.visible > *:nth-child(1){ transition-delay: .05s }
  footer .row.s-stagger.visible > *:nth-child(2){ transition-delay: .12s }
  footer .row.s-stagger.visible > *:nth-child(3){ transition-delay: .19s }
  footer .row.s-stagger.visible > *:nth-child(4){ transition-delay: .26s }
  footer .row.s-stagger.visible > *:nth-child(5){ transition-delay: .33s }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) and (scripting: none){
    .pour,
    .s-reveal,
    .cta-strip.s-reveal, footer .row.s-stagger > *{
      opacity: 1 !important;
      transform: none !important;
      animation: none !important;
      transition: none !important;
    }
  }
