/* ============================================================
   S778 homepage styles. Band order is LOCKED (see STATE.md).
   Liquid port: each "section:" block maps 1:1 to sections/*.liquid.
   Two worlds only: cream outer label / charcoal inner label.
   One accent: bronze, behaving like light. Sharp corners 0-2px.
   ============================================================ */
* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--step-eyebrow);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 1.1rem;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .04em; }
h2 { font-size: var(--step-h2); line-height: 1.15; margin-bottom: 1.1rem; }
p { max-width: 52ch; }

/* ---------- band system (two worlds, no in-between greys) ---------- */
.band {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 5vw, 4rem);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band.short { min-height: 56vh; }
.light { background: var(--paper); color: var(--charcoal); }
.light-2 { background: var(--paper-warm); color: var(--charcoal); }
.dark { background: var(--charcoal); color: var(--paper); }
.dark-2 { background: var(--charcoal-soft); color: var(--paper); }
.dark .eyebrow, .dark-2 .eyebrow { color: var(--bronze); }

/* media placeholder slots (replaced by real plates/macros as they land) */
.media-slot {
  border: 1px solid rgba(34, 34, 31, .16);
  background: repeating-linear-gradient(45deg, rgba(34, 34, 31, .05) 0 8px, transparent 8px 16px);
  display: grid;
  place-items: center;
  min-height: 15vh;
}
.dark .media-slot, .dark-2 .media-slot {
  border-color: rgba(250, 247, 240, .16);
  background: repeating-linear-gradient(45deg, rgba(250, 247, 240, .06) 0 8px, transparent 8px 16px);
}
.media-slot span {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .55;
  text-align: center;
  padding: .6rem;
  line-height: 1.8;
}
.tall-slot { min-height: 46vh; }
.wide-slot { min-height: 58vh; }

/* suhozid divider: staircase silhouette, never a plain line */
.suhozid { height: 62px; background: var(--paper); }
.suhozid svg { display: block; width: 100%; height: 100%; }

/* ---------- 00 loading gate v2 (Brac stone slab, jagged break) ----------
   One slab of white limestone, S778 carved into the face. JS generates a
   jagged seam; the two .g-half copies are clipped along it so the split is
   invisible until the crack runs and the halves burst apart.
   v1 parked in parked/gate-v1.md. */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.g-half {
  position: absolute;
  inset: 0;
  will-change: transform;
  transition:
    transform 1.05s cubic-bezier(.62, .02, .86, .38),
    opacity .7s linear .45s;
}
/* sugary limestone: warm white base, fine dense grain over a soft
   large-scale mottle, faint vignette so the slab reads as one mass */
.g-slab {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: #efe9dd;
  background-image:
    radial-gradient(120% 90% at 50% 42%, rgba(255, 255, 255, 0) 55%, rgba(158, 148, 134, .22) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.52 0 0 0 0 0.50 0 0 0 0 0.46 0 0 0 0.20 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='3' seed='19' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.58 0 0 0 0 0.55 0 0 0 0 0.50 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='420' height='420' filter='url(%23m)'/%3E%3C/svg%3E");
}
/* carved monogram: three masked copies of the same glyph. The face is the
   recess floor (darker stone, shadowed near its top edge); a blurred dark
   copy peeks out above = the shadowed upper wall; a light copy peeks out
   below = the sunlit lower lip. Recessed, never embossed. */
.g-carve {
  grid-area: 1 / 1;
  width: min(46vw, 520px);
  aspect-ratio: 4615 / 2108;
  -webkit-mask: url("/assets/monogram-mask-1200.png") center / contain no-repeat;
  mask: url("/assets/monogram-mask-1200.png") center / contain no-repeat;
}
.c-dark {
  background: rgba(56, 51, 45, .5);
  transform: translateY(-2.2px);
  filter: blur(1.1px);
}
.c-lite {
  background: rgba(255, 255, 255, .9);
  transform: translateY(2.4px);
}
.c-face {
  background-color: #d8cdba;
  background-image:
    linear-gradient(rgba(56, 51, 45, .22), rgba(56, 51, 45, 0) 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='31' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.45 0 0 0 0 0.42 0 0 0 0 0.38 0 0 0 0.22 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23c)'/%3E%3C/svg%3E");
}
.g-crack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity .3s linear;
}
.g-crack path {
  fill: none;
  stroke-linejoin: miter;
  stroke-linecap: butt;
}
.g-crack .fine { stroke: rgba(43, 40, 35, .85); stroke-width: 2.5; }
.g-crack .wide { stroke: rgba(43, 40, 35, .3); stroke-width: 7; filter: blur(2.5px); }
.gate.jolt { animation: g-jolt .18s linear; }
@keyframes g-jolt {
  0% { transform: none; }
  30% { transform: translate(3px, -2px); }
  55% { transform: translate(-3px, 2px); }
  80% { transform: translate(2px, 1px); }
  100% { transform: none; }
}
.gate.break #g-left { transform: translate(-64vw, 5vh) rotate(-2.4deg); opacity: 0; }
.gate.break #g-right { transform: translate(64vw, 7vh) rotate(2.8deg); opacity: 0; }
.gate.break .g-crack { opacity: 0; }
.g-debris i {
  position: absolute;
  display: block;
  will-change: transform;
  background-color: #e9e2d3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='13' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.5 0 0 0 0 0.47 0 0 0 0 0.43 0 0 0 0.24 0'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23d)'/%3E%3C/svg%3E");
  clip-path: var(--shape);
  transition:
    transform 1.1s cubic-bezier(.32, .06, .68, .4),
    opacity 1.1s linear;
}
.g-debris i.fly {
  transform: var(--fly);
  opacity: 0;
}

/* ---------- section: header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
  mix-blend-mode: difference;
  color: var(--paper);
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .18em;
  color: inherit;
  text-decoration: none;
}
.hamburger { background: none; border: 0; padding: .5rem; cursor: pointer; color: inherit; }
/* the MORE element, Gin Mare mechanism: the strip is 3.5x wider than
   the window; hover glides it left through the clip (1s ease out),
   unhover glides it back. One smooth current, not a wiggle. */
.hamburger .waves {
  display: block;
  width: 30px;
  height: 22px;
  overflow: hidden;
}
.hamburger .waves svg {
  display: block;
  transform: translateX(0);
  transition: transform 1s;
}
.hamburger:hover .waves svg { transform: translateX(-42%); }
@media (prefers-reduced-motion: reduce) {
  .hamburger .waves svg { transition: none; }
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--charcoal);
  color: var(--paper);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease-settle);
}
.menu.open { opacity: 1; pointer-events: auto; }
.menu nav { display: grid; gap: 1.4rem; text-align: center; }
.menu a {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--paper);
  text-decoration: none;
  letter-spacing: .08em;
}
.menu a:hover { color: var(--bronze); }
.menu .menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- altimeter HUD ---------- */
.altimeter {
  position: fixed;
  right: clamp(.6rem, 2vw, 1.6rem);
  bottom: 2rem;
  z-index: 40;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--bronze);
  mix-blend-mode: difference;
  text-align: right;
  user-select: none;
}

/* ---------- section: hero film (01, light end-frame stage) ----------
   Stand-in for the Seedance film's final frame: bottle front and centre
   on warm off-white, copy + CTAs planted on top (they overlay the video
   once it exists). The first scroll gesture is spent on the handoff. */
.hero-film {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}
.hero-overlay { text-align: center; z-index: 2; }
.hero-overlay h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  letter-spacing: .04em;
  margin: .5rem 0 1.1rem;
}
.hero-overlay .cta-row { display: flex; gap: .8rem; justify-content: center; }
.film-stage {
  position: relative;
  width: min(52vh, 480px);
}
.film-stage .poster { filter: drop-shadow(var(--sun-shadow)); }
/* the ONE bottle image: JS re-parents it to <body> and drives left/top/
   width from scroll progress between #hero-slot and #land-slot. It grows
   as it descends. Herbs sit under it (z 1), so they pop from behind. */
#the-bottle.scrub {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  height: auto;
  pointer-events: none;
  /* sun upper-left, deeper drop than the default sun-shadow */
  filter: drop-shadow(30px 42px 38px rgba(34, 34, 31, .38));
  transform-origin: 0 0;
  will-change: transform;
}
#hero-slot { aspect-ratio: 1 / 1; } /* holds the hero space once the image is re-parented */
.film-note {
  margin-top: 1.4rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .45;
}

/* ---------- section: landing (02) + spin (03) shared centre layout ---- */
.landing, .spin { min-height: 100vh; }
.landing { position: relative; }
/* the whole composition rides a touch high of true centre so the bottom
   herb + its callout never fall off short laptop viewports */
.landing .spin-center { translate: 0 -4vh; }
.landing-copy {
  position: absolute;
  left: max(3vw, 2rem);
  top: 50%;
  translate: 0 -50%;
  max-width: 19rem;
  text-align: left;
  z-index: 5;
}
.landing-copy h2 { font-size: clamp(1.25rem, .95rem + 1.2vw, 1.7rem); }
@media (max-width: 900px) {
  .landing-copy { position: static; translate: none; max-width: 42rem; text-align: center; margin: 0 auto 1rem; }
}
.spin-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
}
.spin-copy { text-align: center; max-width: 42rem; }
.spin-copy h2 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); }
.spin-stage {
  position: relative;
  width: min(980px, 94vw);
  display: grid;
  justify-items: center;
}
/* where the descending bottle lands: bigger than the hero slot, so the
   image grows as it comes down and takes up more of the screen */
.land-slot {
  width: min(66vh, 620px);
  aspect-ratio: 1 / 1;
}
/* botanicals hide AT the centre, behind the bottle (z 1 vs bottle z 60);
   herbs-in sends each to its own offset. Reversible: removing the class
   tucks them back behind the bottle. */
.herbs { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.herb {
  position: absolute;
  left: 50%;
  top: 42%;
  width: var(--hw);
  margin-left: calc(var(--hw) / -2);
  opacity: 0;
  transform: translate(0, 0) scale(.45) rotate(var(--hr, 0deg));
  transition: opacity .4s linear, transform .65s var(--ease-settle);
  transition-delay: var(--hd, 0s);
}
.landing.herbs-in .herb {
  opacity: 1;
  transform: translate(var(--dx, 0), var(--dy, 0)) scale(1) rotate(var(--hr, 0deg));
}
.herb .iw { display: block; }
.herb img {
  display: block;
  width: 100%;
  height: auto;
  /* popped out of the screen: soft one-sun shadow well below the cutout */
  filter: drop-shadow(24px 36px 26px rgba(34, 34, 31, .44));
  animation: herb-float var(--hf, 7s) ease-in-out calc(var(--hd, 0s) * 4) infinite alternate;
}
@keyframes herb-float {
  from { transform: translate(0, -7px) rotate(-1.6deg); }
  to { transform: translate(0, 9px) rotate(1.8deg); }
}
/* hover: jelly wobble (opus CTA feel) + technical-annotation callout.
   The wobble lives on the .iw wrapper (float keeps running on the img
   inside it) and is driven by a JS class removed on animationend, so
   leaving the herb mid-wobble never cancels it: it always settles. */
.landing.herbs-in .herb { pointer-events: auto; cursor: default; }
.herb .iw.wob { animation: herb-wobble .7s var(--ease-settle); }
@keyframes herb-wobble {
  0% { transform: scale(1, 1); }
  22% { transform: scale(1.13, .87) rotate(-2.5deg); }
  44% { transform: scale(.9, 1.1) rotate(2.5deg); }
  64% { transform: scale(1.07, .95) rotate(-1.2deg); }
  82% { transform: scale(.97, 1.03); }
  100% { transform: scale(1, 1); }
}
/* callout: dot -> 45deg line -> horizontal line -> label. Extends AWAY
   from the bottle: default variant to the right, .cl mirrors left. */
.note {
  position: absolute;
  top: 60%;
  left: calc(100% + 4px);
  pointer-events: none;
  /* the herb span is tilted by --hr; undo it so the annotation stays
     technical: true 45deg diagonal, true horizontal, level text */
  transform: rotate(calc(-1 * var(--hr, 0deg)));
  transform-origin: 0 0;
}
.herb.cl .note { left: auto; right: calc(100% + 4px); transform-origin: 100% 0; }
.note i { position: absolute; display: block; background: var(--bronze); }
.note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  translate: -50% -50%;
  transform: scale(0);
  transition: transform .18s var(--ease-settle);
}
.note .l45 {
  width: 46px;
  height: 1.5px;
  transform-origin: 0 50%;
  transform: rotate(45deg) scaleX(0);
  transition: transform .22s linear;
}
.herb.cl .note .l45 {
  right: 0;
  transform-origin: 100% 50%;
  transform: rotate(-45deg) scaleX(0);
}
.note .lh {
  left: 32px;
  top: 32.5px;
  width: var(--lhw, 96px);
  height: 1.5px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform .24s linear;
}
.herb.cl .note .lh { left: auto; right: 32px; transform-origin: 100% 50%; }
.note .tag {
  position: absolute;
  left: calc(40px + var(--lhw, 96px));
  top: 32.5px;
  translate: 0 -50%;
  max-width: 180px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s linear, transform .25s var(--ease-settle);
}
.herb.cl .note .tag { left: auto; right: calc(40px + var(--lhw, 96px)); text-align: right; }
.note .tag b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .92rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.note .tag small {
  display: block;
  font-size: .74rem;
  line-height: 1.35;
  opacity: .75;
}
/* staggered draw on hover; collapses with no delay on leave */
.herb:hover .note .dot { transform: scale(1); }
.herb:hover .note .l45 { transform: rotate(45deg) scaleX(1); transition-delay: .12s; }
.herb.cl:hover .note .l45 { transform: rotate(-45deg) scaleX(1); }
.herb:hover .note .lh { transform: scaleX(1); transition-delay: .3s; }
.herb:hover .note .tag { opacity: 1; transform: none; transition-delay: .5s; }
.spin-bottle {
  position: relative;
  width: min(38vw, 48vh);
  aspect-ratio: 1200 / 1725; /* turntable frame aspect, do not change */
  justify-self: center;
  cursor: grab;
  touch-action: pan-y; /* vertical scroll stays free; horizontal drag spins */
  user-select: none;
}
.spin-bottle.dragging { cursor: grabbing; }
.spin-bottle .poster { position: absolute; inset: 0; }
.spin-bottle canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.spin-bottle.ready canvas { opacity: 1; }
.spin-bottle.ready .poster { opacity: 0; }
.drag-hint {
  position: absolute;
  bottom: -2.2rem;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .4;
  white-space: nowrap;
}
/* ---- the lens (loupe): magnifies only what it hovers ---- */
.spin-viewer { justify-self: center; display: grid; justify-items: center; }
.lens {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(200, 155, 123, .8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(34, 34, 31, .3);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease-settle);
  translate: -50% -50%;
  z-index: 5;
  background: var(--charcoal-soft);
}
.lens canvas { width: 100%; height: 100%; display: block; }
.spin-bottle:hover .lens.on { opacity: 1; }
@media (hover: none) { .lens { display: none; } }

/* ---- sun dial: rotation control, centred = front ---- */
.sundial {
  position: relative;
  width: min(30vw, 340px);
  height: 2.6rem;
  margin-top: 1.6rem;
  cursor: pointer;
  touch-action: none;
}
.sundial .track {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: rgba(200, 155, 123, .35);
}
.sundial .track::before, .sundial .track::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: rgba(200, 155, 123, .5);
}
.sundial .track::before { left: 0; }
.sundial .track::after { right: 0; }
.sundial .sun {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  color: var(--bronze);
  cursor: grab;
  transition: color .3s var(--ease-settle);
}
.sundial .sun:hover { color: var(--paper); }
.sundial.dragging .sun { cursor: grabbing; }
.sundial .sun svg { display: block; }

/* ---------- chapters (03 more, 04 botanika) ---------- */
.ch-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.ch-lead { margin-bottom: 2rem; }
.herbarium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
@media (max-width: 760px) {
  .ch-grid { grid-template-columns: 1fr; }
  .herbarium { grid-template-columns: 1fr 1fr; }
  .spin-bottle { width: min(60vw, 44vh); }
  .herb { --hw: 90px !important; } /* herbs shrink on small screens */
}

/* ---------- section: summit (06, 778 stone only) ---------- */
.summit .numeral {
  font-size: clamp(5rem, 18vw, 13rem);
  line-height: .95;
  letter-spacing: .02em;
  color: var(--stone); /* placeholder; becomes limestone texture fill */
  margin-bottom: 1rem;
}
.summit-macros { margin-top: 2.4rem; align-items: stretch; }

/* ---------- section: sampion (07) ---------- */
.sampion { text-align: center; align-items: center; }
.sampion .marks { font-size: .95rem; opacity: .75; }

/* ---------- section: shop (08, no hard sell here) ---------- */
.shop { text-align: center; align-items: center; }
.formats {
  display: flex;
  align-items: flex-end; /* shared ground line */
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 4rem);
  margin-top: 2.6rem;
}
.format { text-align: center; cursor: pointer; }
.format img { margin: 0 auto; filter: drop-shadow(var(--sun-shadow-soft)); width: auto; }
/* true relative scale: heights proportional to real bottle sizes */
.format.f075 img { height: min(54vh, 470px); }
.format.f02 img { height: min(36vh, 318px); }
.format.f01 img { height: min(28vh, 248px); }
.format .name { font-family: var(--font-display); letter-spacing: .1em; margin-top: 1rem; }

/* carved buttons: sharp corners, bronze as light */
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.4rem;
  border: 1px solid var(--bronze);
  color: var(--charcoal);
  background: transparent;
  cursor: pointer;
  transition: background .4s var(--ease-settle), color .4s var(--ease-settle);
}
.btn.primary { background: var(--bronze); color: var(--charcoal); }
.btn.primary:hover { background: var(--paper); }
.btn.ghost:hover { background: rgba(200, 155, 123, .18); }
.dark .btn, .dark-2 .btn { color: var(--paper); }
.dark .btn.primary, .dark-2 .btn.primary { color: var(--charcoal); }

/* ---------- section: horizon close (09, the departure) ---------- */
.horizon { position: relative; min-height: 150vh; overflow: clip; }
.horizon-stage { position: sticky; top: 0; height: 100vh; overflow: clip; }
.horizon .sky, .horizon .sea {
  position: absolute;
  inset: 0;
  background-image: var(--plate);
  background-size: cover;
  background-position: center;
}
.horizon .sky { z-index: 0; }
.horizon .sea {
  z-index: 2;
  -webkit-mask-image: var(--plate-mask);
  mask-image: var(--plate-mask);
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.horizon .monogram {
  position: absolute;
  left: 50%;
  top: var(--anchor, 43%);
  translate: -50% -80%;
  width: min(54vw, 880px);
  z-index: 1;
  will-change: transform;
}
.horizon .monogram img { width: 100%; opacity: .85; }
.horizon .h-bottle {
  position: absolute;
  left: var(--bottle-x, 50%); /* off-centre: the spit stays visible */
  bottom: 13vh;
  translate: -50% 0;
  z-index: 3;
}
.horizon .h-bottle {
  height: min(56vh, 520px);
  aspect-ratio: 1200 / 1725;
}
.horizon .h-bottle .poster,
.horizon .h-bottle canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(var(--sun-shadow));
  /* true transparent glass: 240-frame alpha turntable (2026-08-25) */
}
.horizon .h-bottle canvas { opacity: 0; }
.horizon .h-bottle.ready canvas { opacity: 1; }
.horizon .h-bottle.ready .poster { opacity: 0; }
.horizon .caption {
  position: absolute;
  z-index: 4;
  bottom: 6vh;
  right: clamp(1.5rem, 8vw, 7rem);
  text-align: center;
}
.horizon .caption .eyebrow { color: var(--paper); opacity: .9; text-shadow: 0 1px 8px rgba(34, 34, 31, .5); }

/* ---------- section: newsletter + footer (10, inner label) ----------
   The closing surface IS the inner-label artwork: paper grain, faint
   compass rose, Brac silhouette with the 778 peak. Cover-cropped so
   the island anchors the middle of the band; the form sits above it,
   the footer below it, like text printed on the same label. */
.inner-label {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--charcoal);
  background-image: url("/assets/label-inner.webp");
  /* the webp is the retouched label-inner-notagline.png: the artwork's
     right-side script text is patched out, so cover can show the full
     height (compass complete) and crop only the sides on any viewport */
  background-size: cover;
  background-position: center;
  color: var(--stone);
}
.inner-label .closing {
  text-align: center;
  padding: 4.5rem 1.5rem 0;
}
.inner-label .closing h2 { color: var(--paper); }
.closing form {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.4rem;
}
.closing input[type="email"] {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .9rem 1.2rem;
  border: 1px solid var(--stone-shadow);
  background: rgba(34, 34, 31, .45); /* keeps the field legible over the grain */
  color: var(--paper);
  min-width: min(20rem, 70vw);
}
.site-footer {
  background: none; /* the inner-label artwork is the surface */
  color: var(--stone);
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
}
.site-footer .signature {
  font-family: var(--font-display);
  color: var(--paper);
  letter-spacing: .06em;
  margin-bottom: 1.6rem;
}
.site-footer nav { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.site-footer a { color: var(--stone); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--bronze); }
.site-footer .fine { font-size: .78rem; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  .horizon .monogram { transform: none !important; }
  html { scroll-behavior: auto; }
}
