/* ==========================================================================
   Tropiyo — tokens
   ========================================================================== */
:root {
  --paper: #F6F3EC;
  --paper-2: #EFEAE0;
  --ink: #14110F;
  --ink-2: #4F4943;
  --ink-3: #8A837A;
  --line: rgba(20, 17, 15, 0.12);
  --light: #FFFBF5;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 22px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: italic; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: currentColor;
  opacity: 0;
  transition: opacity .3s;
}
.btn:hover::after { opacity: .08; }
.btn:active { scale: .97; }

.btn--solid { background: var(--btn-bg); color: var(--btn-fg); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--ink); }

.btn.is-added { scale: .97; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--paper);
}
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__mark {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
}
.loader__bar {
  width: 160px; height: 1px; background: var(--line); overflow: hidden;
}
.loader__fill {
  display: block; width: 100%; height: 100%;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.loader__pct {
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
html:not(.js) .loader { display: none; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; z-index: 100;
  top: 16px; left: 0; right: 0;
  margin-inline: auto;
  width: min(calc(100% - 2 * 16px), 980px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 40px -12px rgba(20, 17, 15, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  transition: transform .6s var(--ease-out), opacity .4s;
}
.nav.is-hidden { transform: translateY(calc(-100% - 24px)); }

.nav__brand {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600; font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  position: relative;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 12px 0;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__bag {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 8px 0 20px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 600;
  transition: transform .4s var(--ease-out);
}
.nav__bag:active { transform: scale(.96); }
.nav__count {
  display: grid; place-items: center;
  min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: 12px; font-variant-numeric: tabular-nums;
}
.nav__count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.3); } }

/* ==========================================================================
   Rail (flavour progress)
   ========================================================================== */
.rail {
  position: fixed; z-index: 90;
  right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  opacity: 0; visibility: hidden;
  transition: opacity .5s, visibility .5s;
  pointer-events: none;
}
.rail.is-visible { opacity: 1; visibility: visible; }
.rail ol { display: grid; gap: 14px; }
.rail li { display: grid; justify-items: end; gap: 6px; }
.rail__label {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rail-ink, var(--ink));
  opacity: .45;
  transition: opacity .4s, color .4s;
}
.rail li.is-active .rail__label { opacity: 1; }
.rail__track {
  width: 44px; height: 2px; border-radius: 2px;
  background: color-mix(in srgb, var(--rail-ink, var(--ink)) 20%, transparent);
  overflow: hidden;
  transition: background .4s;
}
.rail__fill {
  display: block; height: 100%; width: 100%;
  background: var(--rail-ink, var(--ink));
  transform: scaleX(0); transform-origin: left;
  transition: background .4s;
}
.rail.on-dark { --rail-ink: var(--light); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(104px, 13vh, 150px) var(--gutter) 32px;
  max-width: var(--max);
  margin: 0 auto;
  overflow: clip;
}
.hero__copy { text-align: center; position: relative; z-index: 2; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 14px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

.hero__title {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, min(11vw, 15vh), 176px);
  line-height: .88;
  letter-spacing: -0.035em;
}
.hero__title em { font-weight: 400; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line__inner { display: inline-block; }

.hero__sub {
  max-width: 460px;
  margin: 28px auto 0;
  font-size: 17px;
  color: var(--ink-2);
}

.hero__lineup {
  align-self: end;
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(0px, 1.5vw, 24px);
  margin-top: clamp(24px, 4vh, 56px);
  position: relative;
}
.hero__lineup::after {
  /* soft floor shadow */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 2%; height: 28px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(20,17,15,.14), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}
.bottle {
  width: clamp(76px, min(12vw, 19vh), 210px);
  /* blend on the figure: GSAP transforms make it a stacking context,
     which would isolate a blend set on the img */
  mix-blend-mode: multiply;
}
.bottle img {
  width: 100%;
  -webkit-mask-image: radial-gradient(60% 56% at 50% 48%, #000 72%, transparent 100%);
  mask-image: radial-gradient(60% 56% at 50% 48%, #000 72%, transparent 100%);
  animation: float 6s var(--ease-in-out) infinite;
  animation-delay: calc(var(--d) * -1.4s);
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(.6deg); }
}

.hero__scroll {
  position: absolute;
  left: var(--gutter); bottom: 32px;
  display: grid; justify-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3);
}
.hero__scroll-line {
  width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(-100%);
  animation: drip 2.2s var(--ease-in-out) infinite;
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(120px, 22vh, 240px) var(--gutter);
  text-align: center;
}
.manifesto__text {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.manifesto__text .w { display: inline-block; }

/* ==========================================================================
   Chapters (scroll-scrubbed frame sequences)
   ========================================================================== */
.flavours {
  position: relative;
  background: var(--ink);
}
/* All four chapters share one pinned viewport and are layered in order;
   each new one opens over the last. */
html.js:not(.reduced) .flavours {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
html.js:not(.reduced) .flavours .chapter {
  position: absolute;
  inset: 0;
}
.chapter { position: relative; }
.chapter__dim {
  position: absolute; inset: 0; z-index: 3;
  background: #0C0806;
  opacity: 0;
  pointer-events: none;
}
.chapter__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #fff;
  --beat-ink: var(--ink);
  --beat-ink-2: var(--ink-2);
}
.chapter[data-ink="light"] .chapter__stage { --beat-ink: var(--light); --beat-ink-2: rgba(255, 251, 245, .82); }

.chapter__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  transform-origin: 50% 50%;
}

.chapter__scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
}
.chapter[data-ink="dark"] .chapter__scrim {
  background: linear-gradient(270deg, rgba(255, 250, 238, .78) 0%, rgba(255, 250, 238, .38) 32%, rgba(255, 250, 238, 0) 56%);
}
.chapter[data-ink="light"] .chapter__scrim {
  background: linear-gradient(270deg, rgba(28, 8, 16, .55) 0%, rgba(28, 8, 16, .22) 34%, rgba(28, 8, 16, 0) 58%);
}

.beat {
  position: absolute;
  z-index: 2;
  color: var(--beat-ink);
}

/* Intro beat sits on the white opening frames, so it's always dark ink. */
.beat--intro {
  left: var(--gutter);
  top: 50%;
  translate: 0 -50%;
  color: var(--ink);
  max-width: 44vw;
}
.beat__index {
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2);
}
.beat__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 188px);
  line-height: .86;
  letter-spacing: -0.04em;
}
#watermelon .beat__title { font-size: clamp(48px, 7vw, 124px); }
.beat__title .mask { display: inline-block; overflow: hidden; padding-bottom: .08em; vertical-align: top; }
.beat__title .char { display: inline-block; }
.beat__tag {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  color: var(--ink-2);
}

.beat--story,
.beat--notes,
.beat--cta {
  right: calc(var(--gutter) + 128px);
  top: 50%;
  width: min(380px, 30vw);
  translate: 0 -50%;
}
.beat--story h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.beat--story > p:last-child {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--beat-ink-2);
}
.beat .eyebrow { color: var(--beat-ink-2); }

.beat--notes dl { display: grid; gap: 0; }
.beat--notes dl > div {
  padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--beat-ink) 22%, transparent);
}
.beat--notes dl > div:last-child { border-bottom: 1px solid color-mix(in srgb, var(--beat-ink) 22%, transparent); }
.beat--notes dt {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--beat-ink-2);
}
.beat--notes dd {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

.beat__big {
  font-family: var(--serif);
  font-size: clamp(48px, 5.6vw, 92px);
  line-height: .95;
  letter-spacing: -0.03em;
}
.beat__buy {
  margin-top: 28px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.price {
  font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.price small { font-size: 14px; font-weight: 500; opacity: .75; }
.chapter[data-ink="light"] .btn--solid { --btn-bg: var(--light); --btn-fg: var(--ink); }

/* JS hides beats before animating them in; without JS they'd overlap. */
html.js:not(.reduced) .beat--story,
html.js:not(.reduced) .beat--notes,
html.js:not(.reduced) .beat--cta { opacity: 0; visibility: hidden; }

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head { text-align: center; }
.section-head h2 {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 100px);
  line-height: .95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ==========================================================================
   Word-mask heading reveal
   ========================================================================== */
.wmask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .06em .12em;
  margin: 0 -.06em -.12em;
}
.wword { display: inline-block; will-change: transform; }

/* ==========================================================================
   Collection — horizontal gallery
   ========================================================================== */
.collection {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.collection__track {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  height: 100vh;
  height: 100svh;
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.collection__intro {
  flex: none;
  width: min(30vw, 440px);
  margin-right: clamp(24px, 4vw, 72px);
}
.collection__intro h2 {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 5.6vw, 92px);
  line-height: .95;
  letter-spacing: -0.03em;
}
.collection__lede { margin-top: 24px; max-width: 340px; color: var(--ink-2); font-size: 17px; }
.collection__hint {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3);
}
.collection__hint svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  animation: nudge 1.8s var(--ease-in-out) infinite;
}
@keyframes nudge { 50% { transform: translateX(6px); } }

.panel {
  position: relative;
  flex: none;
  width: min(62vw, 1060px);
  height: min(74svh, 700px);
  border-radius: clamp(20px, 2vw, 32px);
  overflow: hidden;
  isolation: isolate;
  color: var(--light);
  box-shadow: 0 40px 80px -40px rgba(20, 17, 15, .35);
}
.panel__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.panel__media img {
  position: absolute;
  top: 0; left: -8%;
  width: 116%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 42% 50%;
  transition: scale 1.2s var(--ease-out);
}
.panel:hover .panel__media img { scale: 1.04; }
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(14, 8, 6, .62) 0%, rgba(14, 8, 6, .2) 34%, rgba(14, 8, 6, 0) 55%),
    linear-gradient(90deg, rgba(14, 8, 6, .25) 0%, rgba(14, 8, 6, 0) 40%);
}
.panel__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; gap: 4px;
  padding: clamp(24px, 3vw, 44px);
}
.panel__no { font-size: 12px; font-weight: 600; letter-spacing: .2em; opacity: .85; }
.panel__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 7.4vw, 128px);
  line-height: .9;
  letter-spacing: -0.04em;
}
.panel__note { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); opacity: .92; }
.panel__buy { margin-top: 18px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.btn--glass {
  color: var(--light);
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { background: var(--light); color: var(--ink); border-color: var(--light); }
.btn--glass:hover::after { opacity: 0; }

.collection__progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  height: 2px; border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.collection__progress span {
  display: block; height: 100%; width: 100%;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
}

/* Stacked gallery: phones and reduced motion */
@media (max-width: 767px) {
  .collection__track {
    flex-direction: column; align-items: stretch;
    width: auto; height: auto;
    padding: clamp(96px, 16vh, 140px) var(--gutter) 80px;
    gap: 16px;
  }
  .collection__intro { width: auto; margin: 0 0 32px; }
  .collection__hint, .collection__progress { display: none; }
  .panel { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .panel__media img { left: 0; width: 100%; object-position: 40% 50%; }
}
html.reduced .collection__track {
  flex-direction: column; align-items: stretch;
  width: auto; height: auto;
  padding: 120px var(--gutter) 80px;
}
html.reduced .collection__intro { width: auto; margin: 0 0 32px; }
html.reduced .collection__hint, html.reduced .collection__progress { display: none; }
html.reduced .panel { width: 100%; height: auto; aspect-ratio: 16 / 10; }

/* ==========================================================================
   Ribbon — words and fruit, endlessly
   ========================================================================== */
.ribbon {
  overflow: hidden;
  padding: clamp(28px, 5vh, 56px) 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.ribbon__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ribbon__group {
  display: flex; align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  padding-right: clamp(20px, 2.4vw, 40px);
  font-family: var(--serif);
  font-size: clamp(52px, 8.4vw, 140px);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.pill {
  flex: none;
  width: 1.5em; height: .82em;
  border-radius: 999px;
  overflow: hidden;
  transform: translateY(.04em);
}
.pill img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Craft — colour cards
   ========================================================================== */
.craft {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(120px, 20vh, 220px) var(--gutter) clamp(120px, 18vh, 200px);
}
.craft__grid {
  margin-top: clamp(56px, 9vh, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  align-items: start;
}
.rule {
  display: grid;
  gap: 12px;
  padding: 10px;
  border-radius: clamp(20px, 1.8vw, 28px);
  background: var(--tint);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.rule:nth-child(even) { margin-top: clamp(0px, 7vw, 96px); }
.rule:hover { box-shadow: 0 36px 70px -36px rgba(20, 17, 15, .35); }
.rule__media {
  aspect-ratio: 4 / 5;
  border-radius: clamp(14px, 1.3vw, 20px);
  overflow: hidden;
}
.rule__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease-out);
}
.rule:hover .rule__media img { scale: 1.06; }
.rule__body { padding: 10px 12px 16px; }
.rule__top { display: flex; justify-content: space-between; align-items: center; }
.rule__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .7);
}
.rule__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.rule__num { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--ink-2); }
.rule h3 {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.05;
}
.rule p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

@media (max-width: 1080px) {
  .craft__grid { grid-template-columns: repeat(2, 1fr); }
  .rule:nth-child(even) { margin-top: 56px; }
  .rule:nth-child(3) { margin-top: -56px; }
}
@media (max-width: 560px) {
  .craft__grid { grid-template-columns: 1fr; }
  .rule:nth-child(n) { margin-top: 0; }
  .rule__media { aspect-ratio: 16 / 11; }
}

/* ==========================================================================
   Finale — collage on ink
   ========================================================================== */
.finale {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: clamp(140px, 22vh, 240px) var(--gutter);
  background: var(--ink);
  color: var(--paper);
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
  --mx: 0; --my: 0;
}
.finale__glow {
  position: absolute; left: 50%; top: 50%; z-index: -2;
  width: min(80vw, 900px); aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 30% 32%, #F2C94C, transparent),
    radial-gradient(closest-side at 72% 30%, #E2533F, transparent),
    radial-gradient(closest-side at 70% 72%, #9B3A72, transparent),
    radial-gradient(closest-side at 28% 70%, #F29A2E, transparent);
  filter: blur(70px);
  opacity: .42;
  animation: spin 24s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

.finale__tiles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tile {
  position: absolute;
  width: clamp(84px, 12vw, 210px);
  aspect-ratio: 3 / 4;
  rotate: var(--r);
  translate: calc(var(--mx) * var(--depth) * 1px) calc(var(--my) * var(--depth) * 1px);
  transition: translate 1.2s var(--ease-out);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: clamp(12px, 1.4vw, 22px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.tile--1 { left: 6%;  top: 9%; }
.tile--2 { right: 8%; top: 6%; width: clamp(76px, 10vw, 170px); }
.tile--3 { left: 13%; bottom: 8%; width: clamp(76px, 10.5vw, 180px); }
.tile--4 { right: 5%; bottom: 12%; }
.tile--5 { left: -1%; top: 44%; width: clamp(64px, 8vw, 140px); }
.tile--6 { right: 22%; bottom: -3%; width: clamp(64px, 8.5vw, 150px); }

.finale__inner { position: relative; max-width: 620px; }
.finale__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(60px, 10.5vw, 184px);
  line-height: .9;
  letter-spacing: -0.04em;
}
.finale__sub {
  max-width: 440px;
  margin: 28px auto 0;
  color: rgba(246, 243, 236, .78);
  font-size: 17px;
}
.signup {
  max-width: 520px;
  margin: 48px auto 0;
  text-align: left;
}
.signup label {
  display: block;
  margin: 0 0 10px 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(246, 243, 236, .78);
}
.signup__row {
  display: flex; gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(246, 243, 236, .24);
  background: rgba(20, 17, 15, .45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color .3s;
}
.signup__row:focus-within { border-color: rgba(246, 243, 236, .7); }
.signup input {
  flex: 1; min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  border: 0; outline: 0;
  background: transparent;
  color: var(--paper);
  font: inherit; font-size: 16px;
}
.signup input::placeholder { color: rgba(246, 243, 236, .5); }
.signup .btn--solid { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.signup__msg { min-height: 24px; margin: 12px 0 0 22px; font-size: 14px; color: rgba(246, 243, 236, .85); }
.signup__msg.is-error { color: #F4A99B; }

@media (max-width: 760px) {
  .tile--5, .tile--6 { display: none; }
  .tile--1 { left: 4%; top: 3%; }
  .tile--2 { right: 4%; top: 5%; }
  .tile--3 { left: 4%; bottom: 3%; }
  .tile--4 { right: 4%; bottom: 4%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 0 var(--gutter) 32px;
}
.footer__strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto;
  height: 3px; border-radius: 3px; overflow: hidden;
}
.footer__strip span:nth-child(1) { background: #F2C94C; }
.footer__strip span:nth-child(2) { background: #F29A2E; }
.footer__strip span:nth-child(3) { background: #E2533F; }
.footer__strip span:nth-child(4) { background: #B5578F; }
.footer__top {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap;
  padding: 72px 0 48px;
}
.footer__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(80px, 15vw, 240px);
  line-height: .85;
  letter-spacing: -0.04em;
  padding-right: .08em;
  background: linear-gradient(90deg, #F2C94C, #F29A2E, #E2533F, #B5578F, #F2C94C, #F29A2E);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__cols { display: flex; gap: clamp(32px, 6vw, 96px); }
.footer__cols div { display: grid; gap: 4px; align-content: start; }
.footer__h {
  margin-bottom: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(246, 243, 236, .6);
}
.footer__cols a {
  padding: 6px 0;
  font-size: 15px;
  color: rgba(246, 243, 236, .86);
  transition: color .25s;
}
.footer__cols a:hover { color: var(--paper); }
.footer__bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 243, 236, .14);
  font-size: 13px;
  color: rgba(246, 243, 236, .62);
}
.footer__top-link { padding: 4px 0; }
.footer__top-link:hover { color: var(--paper); }

@media (max-width: 760px) {
  .footer__cols { gap: 32px; flex-wrap: wrap; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .beat--story, .beat--notes, .beat--cta { right: var(--gutter); width: min(380px, 38vw); }
  .rail { display: none; }
}

@media (max-width: 760px) {
  .nav { padding-left: 20px; gap: 12px; }
  .nav__links { display: none; }

  .hero { padding-top: 112px; }
  .hero__scroll { display: none; }
  .hero__sub { font-size: 16px; }

  /* On narrow screens the bottle owns the centre, so copy moves to the
     top (intro) and bottom (later beats) with a stronger scrim. */
  .beat--intro {
    top: 96px; left: var(--gutter); right: var(--gutter);
    translate: none;
    max-width: none;
  }
  .beat--story, .beat--notes, .beat--cta {
    top: auto; bottom: 32px;
    left: var(--gutter); right: var(--gutter);
    width: auto;
    translate: none;
  }
  .beat--story > p:last-child { font-size: 16px; }
  .beat--notes dl > div { padding: 12px 0; }
  .chapter[data-ink="dark"] .chapter__scrim {
    background: linear-gradient(0deg, rgba(255, 250, 238, .9) 0%, rgba(255, 250, 238, .55) 36%, rgba(255, 250, 238, 0) 62%);
  }
  .chapter[data-ink="light"] .chapter__scrim {
    background: linear-gradient(0deg, rgba(28, 8, 16, .72) 0%, rgba(28, 8, 16, .35) 38%, rgba(28, 8, 16, 0) 64%);
  }




}

/* ==========================================================================
   Reduced motion — chapters become static, readable panels
   ========================================================================== */
html.reduced .chapter__stage {
  height: auto;
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 40px;
  padding: 120px var(--gutter) 80px;
}
html.reduced .chapter__scrim { opacity: 1; background: rgba(255, 250, 238, .72); }
html.reduced .chapter[data-ink="light"] .chapter__scrim { background: rgba(28, 8, 16, .62); }
html.reduced .chapter[data-ink="light"] .beat--intro,
html.reduced .chapter[data-ink="light"] .beat__index,
html.reduced .chapter[data-ink="light"] .beat__tag { color: var(--light); }
html.reduced .beat {
  position: relative; inset: auto; transform: none; translate: none;
  width: auto; max-width: 640px;
  opacity: 1; visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
