/* ============================================================
   Longstream site styles, shared by every public page. Page-only
   styles live beside it with their own prefix (order.css ord-,
   products.css px-, blonde.css bl-, sawmill.css sm-).
   ============================================================ */

:root {
  --bg: #0e100d;
  --bg-2: #151814;
  --panel: #1b1f1a;
  --ink: #ece9df;
  --muted: #9a988c;
  --gold: #c9a85c;
  --gold-2: #e6cf94;
  /* Copper: the Club buttons, next to gold for Order and the range. */
  --copper: #c47a4e;
  --copper-2: #e7a983;
  --green: #2c4a3a;
  --line: rgba(201, 168, 92, 0.22);
  --font-head: 'Playfair Display', serif;
  --font-body: 'Jost', system-ui, sans-serif;
}

* { box-sizing: border-box; }
/* scrollbar-gutter reserves the scrollbar's space permanently, so the modal
   and the age gates can lock body scroll without the page jumping sideways. */
html { scroll-behavior: smooth; scrollbar-gutter: stable; }

/* Inset scrollbars — a thin gold thumb floating inside a transparent track.
   The transparent border + content-box clip is what insets the thumb. */
* { scrollbar-width: thin; scrollbar-color: rgba(201, 168, 92, 0.32) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 92, 0.32); background-clip: content-box;
  border: 3px solid transparent; border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(201, 168, 92, 0.55); background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); line-height: 1.75; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.75rem; }

/* Anchor targets land exactly under the sticky header. _navscroll.pug only
   intercepts links starting with "#", so ones like /#range and /#club are
   handled natively by the browser, which uses this margin. --header-h is the
   header's real height, set by _navscroll.pug; these are its measured
   heights as a fallback. */
:root { --header-h: 78px; }
section[id] { scroll-margin-top: var(--header-h); }
/* Sections land with their content 2rem under the header (the centred rule,
   or Our Story's photo and text): it starts 6.5rem of padding plus the 1px
   top border into the section. */
.story[id], .range[id], .experimental[id], .club[id] { scroll-margin-top: calc(var(--header-h) + 2rem - 6.5rem - 1px); }

/* gold hairline helper */
.rule {
  width: 64px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 0 1.5rem;
}
.rule.center { margin: 0 auto 1.5rem; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* header */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(14, 16, 13, 0.72); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.75rem; }
.brand {
  display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink);
  /* matches the label branding line: Jost, bold, uppercase, wide tracking */
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.brand img {
  width: 28px;
  height: 28px;
  /* filter: drop-shadow(0 0 6px rgba(201, 168, 92, 0.5)); */
  position: relative;
  bottom: 2px;
}
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a {
  text-decoration: none; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(236, 233, 223, 0.82);
}
.nav a:hover { color: var(--gold-2); }
/* hamburger toggle — hidden on desktop, shown on mobile via the media query */
.navtoggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem;
  margin: -0.5rem 0; line-height: 0;
}
.navtoggle-bar {
  display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.navtoggle-bar + .navtoggle-bar { margin-top: 5px; }
.navtoggle.is-open .navtoggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle.is-open .navtoggle-bar:nth-child(2) { opacity: 0; }
.navtoggle.is-open .navtoggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Nav buttons, matching the hero pair at a smaller size: Order is solid gold
   like Discover the range, Club a copper outline like Join the Club. Both keep
   their colours on hover and lift slightly. */
.btn {
  border: 1px solid var(--gold); background: var(--gold); color: var(--bg) !important; font-weight: 600;
  padding: 0.6rem 1.3rem; border-radius: 3px; font-size: 0.72rem !important; letter-spacing: 0.18em;
  transition: transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-alt { border-color: var(--copper); background: rgba(10, 11, 9, 0.55); color: var(--copper-2) !important; }

/* hero */
.hero {
  position: relative; text-align: center; padding: clamp(4.5rem, 12vh, 8.5rem) 0; overflow: hidden;
  display: flex; align-items: center; min-height: calc(100svh - 5rem);
  /* Plain background: a gold haze at the top washed out the bottle's dark cap. */
  background: var(--bg);
}
/* A pool of warm light where the bottle stands, like a spotlight on a bar top.
   It sits low, behind the bright base, so it doesn't show through the dark
   glass (the bottle blends with "lighten") and wash it out. */
.hero-glow {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 1000px; height: 46%; z-index: 0; max-width: 160vw; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 82%, rgba(201,168,92,0.2), rgba(201,168,92,0.07) 50%, transparent 100%);
  filter: blur(20px);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
/* A light scrim behind the text: just enough to calm the bottle under it. */
.hero .wrap::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 110%; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(10,11,9,0.5) 0%, rgba(10,11,9,0.25) 45%, transparent 70%);
}
/* The four parts: the eyebrow sits close to the heading it labels, the line
   under the heading a little further, and the buttons have the most room. */
.hero-eyebrow {
  font-size: 1rem; letter-spacing: 0.34em; text-transform: uppercase;
  margin: 0 0 20px;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 500; font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 1.02; margin: 0 0 40px; letter-spacing: 0.01em;
}
.hero h1 .gold { color: var(--gold-2); font-style: italic; }
.hero-sub { max-width: 38rem; margin: 0 auto 60px; font-size: 1.08rem; }
/* The text sits over the lit bottle: cream rather than grey (which matched the
   amber's brightness), and a soft dark shadow. */
.hero-eyebrow, .hero-sub { color: rgba(236,233,223,0.88); font-weight: 500; }
.hero-eyebrow, .hero h1, .hero-sub { text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 0 12px rgba(0,0,0,0.75); }
.hero-bottle {
  /* Fit the entire bottle in the hero, including on short laptop screens.
     Width alone made the tall source image overflow the hero at 100% zoom. */
  position: absolute; left: 50%; top: calc(1.5rem + 2%); transform: translateX(-50%);
  width: clamp(250px, 32.5vw, 402px); max-width: 86%;
  /* 96% of the space that's left after 1.5rem above the cap and ~2.2rem below the base, centred. */
  height: calc(96% - 3.7rem); object-fit: contain; z-index: 1; pointer-events: none;
  /* The photo is on black, which is darker than the page: "lighten" lets the
     page and glow show through the black, with no cut-out edges. */
  mix-blend-mode: lighten;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* The hero buttons keep their colours and size on hover and lift slightly.
   A whole-pixel move keeps the text sharp (scaling blurred it). */
.hero-actions > a { border-radius: 3px; transition: transform 0.2s ease; }
.hero-actions > a:hover { transform: translateY(-3px); }
.hero-actions > .btn-solid:hover { background: var(--gold); color: var(--bg) !important; }
.hero-actions > .btn-outline:hover { background: rgba(10, 11, 9, 0.55); color: var(--gold-2) !important; }
.hero-actions > .btn-outline.copper:hover { background: rgba(10, 11, 9, 0.55); color: var(--copper-2) !important; }
.btn-solid {
  background: var(--gold); color: var(--bg) !important; border: 1px solid var(--gold);
  padding: 0.85rem 1.9rem; border-radius: 1px; text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  transition: all 0.3s ease; cursor: pointer;
}
.btn-solid:hover { background: transparent; color: var(--gold-2) !important; }
.btn-ghost {
  border: 1px solid var(--line); color: var(--ink) !important; padding: 0.85rem 1.9rem;
  border-radius: 1px; text-decoration: none; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; transition: all 0.3s ease; cursor: pointer; background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2) !important; }
/* Gold outline: the secondary partner to .btn-solid. A dark see-through
   fill keeps it readable where it sits over the hero bottle. */
.btn-outline {
  border: 1px solid var(--gold); color: var(--gold-2) !important; background: rgba(10, 11, 9, 0.55);
  padding: 0.85rem 1.9rem; border-radius: 1px; text-decoration: none; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; transition: all 0.3s ease; cursor: pointer;
}
.btn-outline:hover { background: var(--gold); color: var(--bg) !important; }
/* Copper variant, for Join the Club next to the gold Discover the range. */
.btn-outline.copper { border-color: var(--copper); color: var(--copper-2) !important; }
.btn-outline.copper:hover { background: var(--copper); color: var(--bg) !important; }

/* section common */
.kicker {
  font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 1rem;
}
.story h2, .range h2, .experimental h2, .club h2 {
  font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1; margin: 0 0 1.25rem;
}

/* story */
.story { padding: 6.5rem 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.story-figure {
  aspect-ratio: 4/5; overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 3px;
}
.story-figure img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) sepia(0.15); }
.story-figure::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 90px rgba(0,0,0,0.7); pointer-events: none;
}
.story p { color: var(--muted); margin: 0 0 1.1rem; }
.story p strong { color: var(--gold-2); font-weight: 500; }
.story .pull {
  font-family: var(--font-head); font-style: italic; font-size: 1.4rem; color: var(--gold-2);
  border-left: 2px solid var(--gold); padding-left: 1.25rem; margin: 1.75rem 0 0;
}

/* range + experimental cards */
.range { padding: 6.5rem 0; text-align: center; border-top: 1px solid var(--line); }
.experimental { padding: 6.5rem 0; text-align: center; background: var(--bg-2); border-top: 1px solid var(--line); }
.range-head { max-width: 40rem; margin: 0 auto 3.5rem; }
.range-head p { color: var(--muted); margin: 0; }
/* The extra row gap leaves room for each card's Read more, which sits below it. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 1.5rem; }
.card {
  position: relative; background: linear-gradient(180deg, var(--panel), #12150f);
  border: 1px solid var(--line); border-radius: 3px; padding: 2rem 1.75rem 1.5rem; text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex; flex-direction: column;
  /* A fixed width, so every card matches whatever its text; it narrows only
     when its column is narrower. Auto margins centre it in wider tracks — the
     range grid, the modal column and the single-column mobile layout. */
  width: 320px; max-width: 100%; margin-inline: auto;
  /* Keeps .card-bottle's lighten blend inside the card, so it resolves
     against this gradient and not whatever section sits behind it. */
  isolation: isolate;
}
/* cards are anchor triggers on the homepage — open the modal on click */
a.card { text-decoration: none; color: inherit; cursor: pointer; }
.card:hover {
  transform: translateY(-6px); border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.card-bottle {
  /* Ross's mockups are portrait photographs cut out on pure black, not the
     square transparent renders these cards used to carry — but the box stays
     220x220 so the card keeps its original proportions. The explicit size also
     reserves the space before the image loads (with height:auto the card
     collapsed and then jumped once it arrived), and `contain` letterboxes the
     portraits to one shared bottle height whatever their frame. */
  width: 220px; height: 220px; object-fit: contain; margin: 0 auto 1rem; display: block;
  /* The bottle drawn at 90% inside the same 220px box, so the card layout is unchanged. */
  padding: 11px;
}
/* Bottle photos still on black (bottleOnBlack in src/server.js) blend into the
   background with lighten, which also lifts the black label and cap, so they
   look faded. The cleaned-up bottles are transparent cut-outs and need none. */
.card-bottle.on-black, .spirit-bottle.on-black, .ord-item-img.on-black { mix-blend-mode: lighten; }
/* Card bottles at 85%, so they settle into the card instead of looking
   sharper than everything around them (the popup shows them at full strength). */
.card .card-bottle { opacity: 0.85; }
/* Style line under the name — LONDON DRY GIN, LIMONCELLO, OAK AGED CRAFT GIN.
   Same order as the label reads. */
.card-style {
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold) !important; margin: 0 0 0.6rem !important;
}
/* Coming-soon / sold-out bottles render at full strength like the rest — the
   "Coming soon" badge and the footer meta already carry the availability. */
.card h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; margin: 0 0 0.5rem; }
.card p { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.75rem; }
.card-serve { font-style: italic; color: var(--gold-2) !important; opacity: 0.85; }
/* Serve line hidden for now. The copy is untouched — still in the `serve:`
   field in src/server.js and still in the markup — so deleting this one rule
   brings it back exactly as it was. */
.card-serve { display: none; }
.card-foot { margin-top: auto; }
.card-meta {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  border-top: 1px solid var(--line); padding-top: 1rem;
}
.card .card-meta { margin-bottom: 0; }
/* Just below the card, outside its border. It stays inside the card's link,
   so it opens the same popup (which drops it from its copy of the card). */
.card-more {
  position: absolute; top: 100%; left: 0; right: 0; margin-top: 0.9rem;
  font-size: 0.68rem; letter-spacing: 0.18em; text-align: center;
  text-transform: uppercase; color: var(--gold); transition: color 0.3s ease;
}
.card:hover .card-more { color: var(--gold-2); }
.badge {
  position: absolute; top: 1rem; right: 1rem; font-size: 0.6rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--bg); background: var(--gold); padding: 0.28rem 0.6rem;
  font-weight: 700;
}

/* ---- spirit popup ---- */
/* Opens in two stages: the JS unhides the modal, then adds .is-open on the
   next frame so these transitions actually run. On close .is-open comes off
   first and the content is only cleared once the fade has finished.
   The container itself never animates (fading it flattened the whole subtree
   every frame); the scrim and the dialog each animate on their own layer. */
.modal {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
/* Scrim as a pseudo-element so its fade is independent of the dialog's. No
   backdrop-filter: re-blurring the viewport every frame was too expensive. */
.modal::before {
  content: ''; position: absolute; inset: 0; background: rgba(6, 7, 5, 0.88);
  opacity: 0; transition: opacity 0.2s ease; will-change: opacity;
}
.modal.is-open::before { opacity: 1; }
.modal[hidden] { display: none; }
/* Two panels: the bottle on a dark stage, and the details beside it, which
   scroll on their own so the bottle and the Order now button stay put. */
.modal-dialog {
  position: relative; z-index: 1; width: 100%; max-width: 1040px;
  height: min(720px, calc(100svh - 4rem));
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.75);
  opacity: 0; transform: translate3d(0, 14px, 0) scale(0.985);
  transition: opacity 0.2s ease, transform 0.24s cubic-bezier(0.22, 0.7, 0.3, 1);
  will-change: transform, opacity;
}
.modal.is-open .modal-dialog { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .modal::before, .modal-dialog { transition-duration: 0.01ms; }
  .modal-dialog { transform: none; }
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 5;
  width: 2.4rem; height: 2.4rem; display: flex; align-items: center; justify-content: center;
  background: rgba(14, 16, 13, 0.7); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer; padding: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.modal-close:hover { color: var(--gold-2); border-color: var(--gold); }
.modal-body { height: 100%; }

.spirit { display: grid; grid-template-columns: 5fr 7fr; height: 100%; }
/* The stage: the bottle standing in a pool of warm light, as in the hero. The
   cleaned-up bottles are transparent cut-outs, so the light shows around them. */
.spirit-stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 3rem 2rem; isolation: isolate;
  background:
    radial-gradient(60% 34% at 50% 88%, rgba(201, 168, 92, 0.2), transparent 72%),
    #0b0c0a;
  border-right: 1px solid var(--line);
}
.spirit-bottle { height: 100%; max-height: 560px; width: auto; max-width: 100%; object-fit: contain; }
.spirit-status {
  position: absolute; top: 1.25rem; left: 1.25rem; padding: 0.3rem 0.65rem; border-radius: 3px;
  background: var(--gold); color: var(--bg); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.spirit-body { overflow-y: auto; padding: 3.25rem 3.25rem 3rem; overscroll-behavior: contain; }
.spirit-range {
  margin: 0 0 0.9rem; font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
}
.spirit-name {
  font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.05; margin: 0 2.5rem 0.6rem 0;
}
.spirit-style { margin: 0 0 1.1rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.spirit-tagline { margin: 0 0 1.75rem; font-family: var(--font-head); font-style: italic; font-size: 1.2rem; color: var(--gold-2); }
/* Size · Strength · Price, as three columns between hairlines. */
.spirit-specs {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 1.5rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.spirit-specs div { padding: 0.9rem 0 0.95rem; }
.spirit-specs div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.spirit-specs dt { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.spirit-specs dd { margin: 0; font-size: 1.05rem; color: var(--ink); }
/* Order now: always shown and always goes to the order page. */
.spirit-order {
  display: block; text-align: center; text-decoration: none; padding: 0.95rem 1.5rem; border-radius: 3px;
  background: var(--gold); border: 1px solid var(--gold); color: var(--bg);
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  transition: transform 0.2s ease;
}
.spirit-order:hover { transform: translateY(-2px); }
.spirit-section { margin-top: 2.5rem; }
.spirit-heading {
  margin: 0 0 1rem; font-family: var(--font-body); font-weight: 500;
  font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 1rem;
}
.spirit-heading::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.spirit-section p { color: var(--muted); font-size: 0.96rem; line-height: 1.75; margin: 0 0 0.9rem; }
.spirit-section p:last-child { margin-bottom: 0; }
/* Best served: the serving photo, then the steps as label / text rows. The
   photos are on black, so they blend into the panel. */
.spirit-photo {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 1.25rem;
  border-radius: 3px; mix-blend-mode: lighten;
}
.spirit-steps { margin: 0; }
.spirit-steps div {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.7rem 0;
  border-bottom: 1px solid rgba(201, 168, 92, 0.12);
}
.spirit-steps div:first-child { border-top: 1px solid rgba(201, 168, 92, 0.12); }
.spirit-steps dt { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding-top: 0.2rem; }
.spirit-steps dd { margin: 0; color: var(--ink); font-size: 0.95rem; }
.spirit-section .spirit-note { margin-top: 1rem; font-size: 0.9rem; font-style: italic; }

/* "Behind the label" / "Behind the name" link at the end of the details. */
.story-link {
  display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem;
  padding: 0.85rem 1rem; text-decoration: none; border-radius: 3px;
  border: 1px solid var(--line); background: rgba(201, 168, 92, 0.04);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.story-link:hover { border-color: var(--gold); background: rgba(201, 168, 92, 0.09); }
.story-link-thumb {
  flex: none; width: 56px; height: 56px; object-fit: cover; object-position: 50% 30%;
  border-radius: 2px; background: #000;
}
.story-link-text { display: block; flex: 1; min-width: 0; }
.story-link-kicker {
  display: block; font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.2rem;
}
.story-link-title { display: block; font-size: 0.9rem; line-height: 1.4; color: var(--ink); }
.story-link-arrow { flex: none; color: var(--gold); font-size: 1.1rem; line-height: 1; }
.story-link:hover .story-link-arrow { color: var(--gold-2); }

/* club / newsletter */
.club { padding: 6.5rem 0; text-align: center; border-top: 1px solid var(--line); }
/* The Club section is copper: its gold tokens become copper, so the rule,
   kicker, field, Join button, links and messages all follow. */
.club {
  --gold: var(--copper); --gold-2: var(--copper-2);
  --line: rgba(196, 122, 78, 0.3);
}
.club .lead { color: var(--muted); max-width: 36rem; margin: 0 auto 2rem; }
.club-msg { max-width: 32rem; margin: 0 auto 1.5rem; padding: 0.85rem 1.25rem; border-radius: 1px; font-size: 0.95rem; }
.club-msg.ok { color: var(--gold-2); border: 1px solid var(--gold); background: rgba(196,122,78,0.08); }
.club-msg.err { color: #f0b4b4; border: 1px solid rgba(229,85,85,0.5); background: rgba(229,85,85,0.08); }
.club-form { max-width: 30rem; margin: 0 auto; }
.club-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
/* Join matches the hero and nav buttons: 3px corners, and on hover it keeps
   its colours and lifts slightly. */
.club-row .btn-solid { border-radius: 3px; transition: transform 0.2s ease; }
.club-row .btn-solid:hover { background: var(--gold); color: var(--bg) !important; transform: translateY(-2px); }
.club-form input[type="email"] {
  flex: 1; min-width: 200px; padding: 0.85rem 1rem; border-radius: 3px;
  border: 1px solid var(--line); background: rgba(196, 122, 78, 0.06); color: var(--ink);
  font-size: 0.95rem; font-family: var(--font-body);
}
.club-form input::placeholder { color: var(--muted); }
.club-form input:focus { outline: none; border-color: var(--gold); }
/* honeypot — hidden from humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* hide the floating reCAPTCHA badge — branding shown inline under the form instead */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note {
  margin: 1rem auto 0; max-width: 30rem; font-size: 0.72rem; line-height: 1.5; color: var(--muted);
}
.recaptcha-note a { color: var(--gold); text-decoration: none; }
.recaptcha-note a:hover { color: var(--gold-2); }

/* footer */
.footer { background: #090a08; color: var(--muted); padding: 3.5rem 0 4rem; text-align: center; border-top: 1px solid var(--line); }
.footer .foot-brand { font-family: var(--font-head); font-size: 1.5rem; color: var(--gold-2); margin-bottom: 0.5rem; }
.footer p { margin: 0.35rem 0; font-size: 0.88rem; }
.foot-warn { color: var(--gold); letter-spacing: 0.04em; }
.footer a {
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 92, 0.35); padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer a:hover { color: var(--gold-2); border-bottom-color: var(--gold-2); }

/* ---- 18+ age gate ---- */
.agegate {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(6, 7, 5, 0.92); backdrop-filter: blur(8px);
}
.agegate[hidden] { display: none; }
.agegate-card {
  max-width: 460px; width: 100%; text-align: center;
  background: linear-gradient(180deg, var(--panel), #10120d);
  border: 1px solid var(--gold); border-radius: 2px;
  padding: 3rem 2.25rem; box-shadow: 0 40px 90px rgba(0,0,0,0.7);
}
.agegate-card h2 { font-family: var(--font-head); font-weight: 500; font-size: 1.9rem; margin: 0.4rem 0 0.75rem; }
.agegate-card p { color: var(--muted); margin: 0 0 1.5rem; }
.agegate-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.agegate-deny { color: #f0b4b4 !important; margin: 1.5rem 0 0 !important; font-size: 0.9rem; }
.agegate-deny[hidden] { display: none; }

/* switcher */
.vswitch {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  z-index: 60; display: flex; gap: 0.35rem; align-items: center;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(6px); border: 1px solid var(--line);
  padding: 0.4rem 0.5rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.vswitch a { text-decoration: none; color: #cfcabb; font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 999px; }
.vswitch a.active { background: var(--gold); color: #111; }
.vswitch .vswitch-label { color: #777; font-size: 0.68rem; padding-left: 0.5rem; }

@media (max-width: 900px) {
  :root { --header-h: 67px; }
  .story .wrap { grid-template-columns: 1fr; }
  .story-figure { order: -1; max-width: 380px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  /* mobile nav: hamburger reveals a full-width dropdown under the header */
  .navtoggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14, 16, 13, 0.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.95rem 1.75rem; font-size: 0.82rem; }
  .nav a.btn {
    margin: 0.6rem 1.75rem 0.4rem; padding: 0.85rem 1.3rem; text-align: center;
    font-size: 0.78rem !important;
  }
  /* The popup becomes a full-height sheet: a shorter stage on top, and the
     whole sheet scrolls. */
  .modal { padding: 0; align-items: stretch; }
  .modal-dialog { max-width: none; height: 100%; border: 0; border-radius: 0; overflow-y: auto; }
  /* Sticky, so Close stays at the top while the sheet scrolls. */
  .modal-close { position: sticky; top: 1rem; margin: 1rem 1rem -3.4rem auto; }
  .modal-body { height: auto; }
  .spirit { display: block; height: auto; }
  .spirit-stage { height: 42svh; min-height: 260px; padding: 2rem 1.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .spirit-body { overflow: visible; padding: 2rem 1.5rem 2.5rem; }
  .spirit-steps div { grid-template-columns: 5.5rem 1fr; }
  /* size the hero to the initial visible viewport (toolbars shown), not the full vh */
  .hero { min-height: 88svh; }
}
