/* ============================================================
   Terra Mali — pre-launch
   Ported from the Claude Design canvas source. Every value here
   comes from the design; see reference/original/ for the baseline.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:      #171b19;   /* near-black green, the dark ground */
  --cream:    #efece6;   /* the light ground */
  --teal:     #005259;
  --flame:    #f1563c;
  --charcoal: #2a312d;
  --sand:     #cec3bb;
  --line:     #d6cfc4;   /* hairline on cream */
  --rust:     #8f4a2b;   /* botanical script on cream */

  --font-display: "Prata", "Times New Roman", serif;   /* one weight only - see rule below */
  --font-body:    "Quicksand", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-script:  "Sacramento", "Prata", serif;

  --gutter: clamp(20px, 3.4vw, 52px);
  --ease:   cubic-bezier(.2, .7, .2, 1);

  /* Quicksand sets ~6%% narrower than the original face; this recovers the
     line breaks the design was composed with. */
  --body-tracking: .022em;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: var(--body-tracking);
}

img { max-width: 100%; }
[hidden] { display: none !important; }   /* must beat the display rules below */
/* display:contents keeps absolutely-placed imgs anchored to their own stage
   rather than the <picture> box - but it also promotes <source> into a
   phantom zero-width flex/grid item, so hide those explicitly. */
picture { display: contents; }
picture > source { display: none; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--flame); }
input, button { font: inherit; letter-spacing: inherit; }
input::placeholder { color: #8f9a95; }
::selection { background: var(--flame); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 14px 20px;
  background: var(--flame);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; color: var(--ink); }

.page { position: relative; overflow: hidden; background: var(--ink); }

/* ---------- Motion ---------- */
@keyframes tmCue   { 0%, 100% { transform: translateY(0); opacity: .3 } 50% { transform: translateY(10px); opacity: 1 } }
@keyframes tmSpin  { to { transform: rotate(360deg) } }
@keyframes tmFloatA { 0%, 100% { transform: translate3d(0,0,0) rotate(0deg) } 50% { transform: translate3d(0,-22px,0) rotate(-2.5deg) } }
@keyframes tmFloatB { 0%, 100% { transform: translate3d(0,0,0) rotate(0deg) } 50% { transform: translate3d(0,18px,0) rotate(3deg) } }
@keyframes tmRise  { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #a8b0aa;
}
.eyebrow--rule  { display: flex; align-items: center; gap: 14px; font-size: 9.5px; letter-spacing: .32em; }
.eyebrow__rule  { flex: 0 0 auto; width: clamp(26px, 5vw, 70px); height: 1px; background: var(--flame); }
.eyebrow--dark  { color: #6b6459; }
.eyebrow--pale  { font-size: 9px; color: var(--sand); }
.eyebrow--teal  { color: #9fc4c6; }
.eyebrow--warm  { color: #f0b8ab; }
.eyebrow--faint { color: #a09689; }
.eyebrow--dim   { color: #7f8781; }

.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }
.script--md { font-size: 21px; color: var(--sand); }
.script--lg { font-size: clamp(21px, 2.1vw, 29px); line-height: 1.05; color: var(--cream); }
.script--xl { font-size: 33px; line-height: 1.1; color: var(--teal); }

.dot { color: var(--flame); }

/* Prata has exactly one weight. Body copy runs at 700 for Quicksand, so any
   display-face element inheriting that would be faux-bolded by the browser. */
.hero__title, .btn__figure, .range__heading, .card__name, .creed__text,
.harvest__heading, .join__heading, .seal__figure, .offerbar__badge {
  font-weight: 400;
}

/* ---------- Grain ---------- */
.grain {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background-image: url("../assets/img/grain.webp");
  background-size: 180px 180px;
}
.grain--soft   { opacity: .08; mix-blend-mode: soft-light; }
.grain--strong { opacity: .2;  mix-blend-mode: overlay; }

/* ============================================================
   Masthead
   ============================================================ */
.masthead {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.6vw, 34px) var(--gutter);
}
.masthead__brand { display: block; }
.masthead__brand img { width: clamp(96px, 9vw, 140px); height: auto; display: block; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 20px;
  border: 1px solid rgba(239, 236, 230, .26);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  line-height: 1;
  transition: transform .5s var(--ease), background .5s ease, color .5s ease, border-color .5s ease;
}
.pill:hover { background: var(--flame); border-color: var(--flame); color: var(--ink); transform: translateY(-2px); }
.pill__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--flame); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  min-height: 100svh;
  padding: clamp(152px, 18vh, 210px) var(--gutter) clamp(48px, 9vh, 100px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 80% at 76% 40%, rgba(0, 82, 89, .5) 0%, rgba(23, 27, 25, 0) 60%),
    radial-gradient(80% 70% at 4% 100%, rgba(241, 86, 60, .22) 0%, rgba(23, 27, 25, 0) 65%);
}

.hero__copy {
  position: relative;
  z-index: 20;
  flex: 1 1 460px;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vh, 46px);
  max-width: 780px;
  perspective: 1300px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.9vw, 96px);
  line-height: 1.02;
  letter-spacing: -.028em;
  text-wrap: balance;
  color: var(--cream);
  transform-style: preserve-3d;
  transition: transform .7s var(--ease);
}
.hero__line { display: block; transform-style: preserve-3d; animation: tmRise 1s var(--ease) both; }
.hero__line--late { animation-delay: .16s; }
.hero__plane { display: block; }
.hero__plane--near { transform: translateZ(6px); }
.hero__plane--far  { transform: translateZ(64px); color: var(--sand); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(20px, 3vw, 48px); }
.hero__lede { flex: 1 1 260px; max-width: 400px; font-size: 15px; line-height: 1.7; color: #b8bfb9; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn--accent {
  padding: 15px 26px 15px 17px;
  min-height: 52px;
  background: var(--flame);
  color: var(--ink);
  font-size: 10.5px;
  letter-spacing: .24em;
  box-shadow: 0 26px 40px -20px rgba(241, 86, 60, .8);
  transition: background .5s ease, color .5s ease, transform .5s var(--ease), box-shadow .5s ease;
}
.btn--accent:hover {
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 34px 50px -20px rgba(0, 0, 0, .6);
}
.btn__figure { font-family: var(--font-display); font-size: 19px; letter-spacing: 0; line-height: 1; }

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: #6f766f;
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.scroll-cue__arrow { display: inline-flex; animation: tmCue 2.6s ease-in-out infinite; }

.hero__media {
  position: relative;
  z-index: 20;
  flex: 1 1 clamp(300px, 38vw, 620px);
  align-self: stretch;
  min-height: clamp(400px, 62svh, 900px);
  overflow: hidden;
  margin: calc(-1 * clamp(152px, 18vh, 210px)) calc(-1 * var(--gutter)) calc(-1 * clamp(48px, 9vh, 100px)) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 7%, #000 26%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 7%, #000 26%);
}
.hero__photo {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 54% 46%;
  will-change: transform;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,27,25,.5) 0%, rgba(23,27,25,0) 34%, rgba(23,27,25,.18) 68%, rgba(23,27,25,.72) 100%);
}
.hero__caption {
  position: absolute;
  left: clamp(22px, 3vw, 52px);
  right: clamp(18px, 2.4vw, 44px);
  bottom: clamp(26px, 5vh, 60px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  will-change: transform;
}
.hero__specimen { display: flex; flex-direction: column; gap: 9px; }
.hero__caption-rule { width: 34px; height: 1px; background: var(--flame); }
.hero__mark { width: clamp(34px, 3.4vw, 54px); height: auto; filter: brightness(0) invert(1); opacity: .72; }

/* ============================================================
   The range
   ============================================================ */
.range {
  position: relative;
  background: var(--cream);
  color: var(--charcoal);
  padding: clamp(84px, 13vh, 180px) var(--gutter) clamp(70px, 11vh, 150px);
  overflow: hidden;
}
.range__watermark {
  position: absolute;
  right: -6%;
  top: 8%;
  width: clamp(220px, 34vw, 620px);
  height: auto;
  opacity: .035;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, rgba(0,0,0,.5) 55%, transparent 85%);
          mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, rgba(0,0,0,.5) 55%, transparent 85%);
}
.range__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vh, 84px);
}
.range__intro { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 80px); align-items: flex-end; }
.range__intro-left { flex: 1 1 300px; max-width: 460px; display: flex; flex-direction: column; gap: 18px; }
.range__blurb { font-size: 16px; line-height: 1.74; color: #4c534f; text-wrap: pretty; }
.range__heading {
  flex: 1 1 340px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--teal);
}
.range__caption { padding-bottom: clamp(12px, 2vh, 22px); }

/* ---------- Rail ---------- */
.rail { position: relative; margin: 0 calc(-1 * var(--gutter)); }
.rail__viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.rail__viewport::-webkit-scrollbar { height: 0; width: 0; }
.rail__track {
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 1.8vw, 30px);
  padding: 88px var(--gutter) 46px;
  perspective: 1500px;
  width: max-content;
}

.card {
  flex: 0 0 clamp(200px, 21vw, 286px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vh, 22px);
  scroll-snap-align: start;
}
.card__stage { position: relative; height: clamp(250px, 27vw, 372px); }
.card__shadow {
  position: absolute;
  z-index: 1;
  left: 19%; right: 19%; bottom: 25%;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(94,70,48,.4), rgba(94,70,48,0));
  transition: transform .8s var(--ease), opacity .8s ease;
  pointer-events: none;
}
.card__plant {
  position: absolute;
  z-index: 2;
  left: 20%; bottom: 34%;
  width: 58%; height: 58%;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(.82);
  transform-origin: 50% 100%;
  transition: opacity .7s var(--ease), transform .85s cubic-bezier(.16, .84, .24, 1);
  pointer-events: none;
}
.card__pouch {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 27%;
  width: 100%; height: 52%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 22px 26px rgba(94, 70, 48, .26));
  transition: transform .8s var(--ease), filter .8s ease;
}
.card__reflection {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 27%;
  width: 100%; height: 52%;
  object-fit: contain;
  object-position: bottom center;
  transform: translateY(100%) scaleY(-1);
  opacity: .22;
  -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.28) 16%, transparent 34%);
          mask-image: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.28) 16%, transparent 34%);
  transition: opacity .8s ease, transform .8s var(--ease);
  pointer-events: none;
}
.card__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding-top: clamp(12px, 1.6vh, 18px);
  border-top: 1px solid var(--line);
}
.card__index { font-size: 9.5px; letter-spacing: .28em; color: #6d6459; }
.card__name  { font-family: var(--font-display); font-size: clamp(15px, 1.4vw, 20px); line-height: 1.15; }
.card__latin { font-size: 17px; line-height: 1; color: var(--rust); }

.rail__fade {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: clamp(40px, 6vw, 110px);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(239, 236, 230, 0), var(--cream));
}
.rail__nav {
  position: absolute;
  z-index: 6;
  top: 44%;
  transform: translateY(-50%);
  width: clamp(46px, 3.6vw, 54px);
  height: clamp(46px, 3.6vw, 54px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(239, 236, 230, .88);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 30px -18px rgba(42, 49, 45, .5);
  transition: background .4s ease, color .4s ease, border-color .4s ease, transform .4s var(--ease), opacity .4s ease;
}
.rail__nav:hover { background: var(--teal); border-color: var(--teal); color: var(--cream); transform: translateY(-50%) scale(1.06); }
.rail__nav--prev { left: clamp(10px, 1.4vw, 22px); }
.rail__nav--next { right: clamp(10px, 1.4vw, 22px); }

.rail__meter { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); margin-top: clamp(2px, 1vh, 12px); }
.rail__track-line { position: relative; flex: 1 1 auto; height: 1px; background: var(--line); }
.rail__progress {
  position: absolute;
  left: 0; top: -1px;
  height: 3px;
  width: 14%;
  background: var(--teal);
  transition: width .35s var(--ease);
}
.rail__count { flex: 0 0 auto; font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: #6d6459; }

/* ============================================================
   Narrative
   ============================================================ */
.creed {
  position: relative;
  background: var(--cream);
  color: var(--charcoal);
  padding: 0 var(--gutter) clamp(80px, 13vh, 170px);
}
.creed__inner { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; }
.creed__line {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  align-items: flex-start;
  padding: clamp(22px, 3.6vh, 46px) 0;
  border-top: 1px solid var(--line);
  transition: padding-left .6s var(--ease);
}
.creed__line:hover { padding-left: clamp(8px, 2vw, 38px); }
.creed__line--last { border-bottom: 1px solid var(--line); }
.creed__num { font-size: 9.5px; letter-spacing: .28em; color: #6d6459; padding-top: 12px; }
.creed__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.024em;
}
.creed__text--accent { color: var(--teal); }

/* ============================================================
   Harvest
   ============================================================ */
.harvest {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 13vh, 170px) var(--gutter);
}
.harvest__scene { position: absolute; inset: 0; overflow: hidden; }
.harvest__plate {
  position: absolute;
  right: 0; bottom: 0;
  width: clamp(300px, 66%, 1180px);
  aspect-ratio: 1672 / 941;
  max-height: 82%;
  overflow: hidden;
  -webkit-mask-image:
    radial-gradient(72% 78% at 58% 54%, #000 0%, #000 30%, rgba(0,0,0,.7) 56%, rgba(0,0,0,.26) 80%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 9%, #000 22%, #000 74%, rgba(0,0,0,.5) 90%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    radial-gradient(72% 78% at 58% 54%, #000 0%, #000 30%, rgba(0,0,0,.7) 56%, rgba(0,0,0,.26) 80%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 9%, #000 22%, #000 74%, rgba(0,0,0,.5) 90%, transparent 100%);
          mask-composite: intersect;
}
.harvest__photo {
  position: absolute;
  inset: -5% 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(.86) saturate(1);
  will-change: transform;
}
.harvest__plate-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(74% 80% at 58% 54%, rgba(23,27,25,0) 26%, rgba(23,27,25,.42) 62%, rgba(23,27,25,.9) 86%, var(--ink) 100%),
    linear-gradient(180deg, var(--ink) 0%, rgba(23,27,25,.72) 7%, rgba(23,27,25,0) 20%, rgba(23,27,25,0) 76%, rgba(23,27,25,.72) 92%, var(--ink) 100%);
}
.harvest__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,27,25,.96) 0%, rgba(23,27,25,.8) 34%, rgba(23,27,25,.12) 72%, rgba(23,27,25,.3) 100%);
}
.harvest__inner {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.harvest__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: clamp(22px, 4vh, 44px); max-width: 660px; }
.harvest__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 70px);
  line-height: 1.04;
  letter-spacing: -.024em;
}
.harvest__sig { display: flex; align-items: center; gap: 14px; }
.harvest__sig-rule { width: 60px; height: 1px; background: rgba(239, 236, 230, .35); }

/* ============================================================
   Invitation
   ============================================================ */
.join {
  position: relative;
  background: var(--teal);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(80px, 13vh, 180px) var(--gutter) clamp(60px, 9vh, 120px);
}
.join__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 80% at 82% 18%, rgba(241,86,60,.34) 0%, rgba(0,82,89,0) 62%),
    radial-gradient(70% 60% at 0% 100%, rgba(0,0,0,.4) 0%, rgba(0,82,89,0) 70%);
}
.join__leaf { position: absolute; height: auto; pointer-events: none; }
.join__leaf--a { right: 6%; top: 42%; width: clamp(120px, 15vw, 240px); opacity: .5; animation: tmFloatA 13s ease-in-out infinite; }
.join__leaf--b { right: 2%; bottom: 2%; width: clamp(110px, 13vw, 200px); opacity: .45; animation: tmFloatB 16s ease-in-out infinite; }

.join__inner {
  position: relative;
  z-index: 20;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}
.join__copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: clamp(20px, 3vh, 34px); }
.join__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -.024em;
  color: var(--cream);
}
.join__lede { max-width: 420px; font-size: 15px; line-height: 1.7; color: #cfe1e2; }
.join__meta { display: flex; align-items: center; gap: 12px; }
.join__meta-rule { width: clamp(24px, 4vw, 54px); height: 1px; background: rgba(241, 86, 60, .8); }

.join__stage {
  position: relative;
  flex: 1 1 340px;
  min-width: 0;
  perspective: 1400px;
  display: flex;
  justify-content: center;
  padding: 22px clamp(16px, 2.4vw, 34px);
}
.join__card {
  position: relative;
  width: 100%;
  max-width: 480px;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.join__frame {
  position: absolute;
  inset: -14px -14px 22px 22px;
  border: 1px solid rgba(241, 86, 60, .55);
  border-radius: 4px;
  transform: translateZ(-60px);
}
.join__panel {
  position: relative;
  background: var(--cream);
  color: var(--charcoal);
  border-radius: 4px;
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: 0 80px 130px -50px rgba(0, 0, 0, .75);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.join__logo { width: clamp(104px, 11vw, 140px); height: auto; }
.join__sprig {
  position: absolute;
  left: -13%; bottom: 6%;
  width: clamp(80px, 9vw, 130px);
  height: auto;
  transform: translateZ(130px);
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .45));
  animation: tmFloatA 10s ease-in-out infinite;
}

.seal {
  position: absolute;
  top: -26px; right: -20px;
  width: clamp(84px, 9vw, 104px);
  height: clamp(84px, 9vw, 104px);
  border-radius: 50%;
  background: var(--flame);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transform: rotate(-9deg);
  box-shadow: 0 26px 40px -20px rgba(0, 0, 0, .6);
}
.seal__ring { position: absolute; inset: 7px; border: 1px solid rgba(23, 27, 25, .34); border-radius: 50%; }
.seal__figure { font-family: var(--font-display); font-size: clamp(23px, 2.4vw, 29px); line-height: 1; }
.seal__word { font-size: 8px; letter-spacing: .26em; text-transform: uppercase; }

/* ---------- Sign-up form ---------- */
.signup { display: flex; flex-direction: column; gap: 16px; }
.signup__label { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: #545a56; }
.signup__input {
  width: 100%;
  border: 1px solid #cfc7bb;
  background: #f6f4ef;
  border-radius: 999px;
  outline: none;
  font-size: 16px;                 /* 16px stops iOS zooming on focus */
  color: var(--charcoal);
  /* Chrome floors an input's content box at the font's natural line box, so
     line-height alone can't match the original here - set the height itself. */
  height: 47px;
  padding: 0 20px;
  transition: border-color .4s ease, box-shadow .4s ease, background .4s ease;
}
.signup__input:focus { border-color: var(--teal); background: #fffdf9; box-shadow: 0 0 0 4px rgba(0, 82, 89, .14); }
.signup__error { font-size: 12.5px; color: #c4381f; }
.signup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.signup__submit {
  border: 0;
  cursor: pointer;
  background: var(--flame);
  color: var(--ink);
  border-radius: 999px;
  padding: 16px 26px;
  min-height: 48px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 22px 34px -18px rgba(241, 86, 60, .8);
  transition: transform .45s var(--ease), background .45s ease, box-shadow .45s ease;
}
.signup__submit:hover { background: #d8452c; transform: translateY(-3px); box-shadow: 0 30px 44px -18px rgba(241, 86, 60, .85); }
.signup__submit:active { transform: translateY(0); }
.signup__submit[disabled] { cursor: default; opacity: .8; }

.spinner {
  width: 13px; height: 13px;
  border: 1.5px solid rgba(239, 236, 230, .45);
  border-top-color: var(--cream);
  border-radius: 50%;
  display: inline-block;
  animation: tmSpin .8s linear infinite;
}

.signup__fineprint { font-size: 12px; line-height: 1.6; color: #656a5f; }

.signup__done {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
  animation: tmRise .8s var(--ease) both;
}
.signup__done-body { font-size: 14.5px; line-height: 1.65; color: #4c534f; }
.signup__done-body strong { font-weight: inherit; letter-spacing: .08em; color: var(--teal); }

/* ============================================================
   Colophon & offer bar
   ============================================================ */
.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  padding: clamp(28px, 5vh, 58px) var(--gutter);
}
.colophon__mark { width: clamp(84px, 8vw, 116px); height: auto; }

.offerbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 85;
  padding: 0 clamp(14px, 3vw, 40px) clamp(14px, 2.4vh, 26px);
  pointer-events: none;
  transform: translateY(140%);
  transition: transform .8s var(--ease);
}
.offerbar--shown { transform: translateY(0); }
/* The dialog precedes the bar in the DOM, so this suppresses it whenever the
   popup is open - declaratively, no matter what opened it. */
.offer[open] ~ .offerbar { transform: translateY(140%); }
.offerbar__card {
  pointer-events: auto;
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  background: var(--cream);
  color: var(--charcoal);
  border-radius: 999px;
  padding: 10px 12px 10px clamp(14px, 2vw, 22px);
  box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .62);
}
.offerbar__badge {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--flame);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offerbar__text { flex: 1 1 200px; min-width: 0; font-size: 14px; line-height: 1.45; color: #3c433f; }
.offerbar__cta {
  flex: 0 0 auto;
  background: var(--teal);
  color: var(--cream);
  border-radius: 999px;
  padding: 13px 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: background .45s ease, transform .45s var(--ease);
}
.offerbar__cta:hover { background: #00676f; color: var(--cream); transform: translateY(-2px); }
.offerbar__close {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7d766c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .4s ease, color .4s ease;
}
.offerbar__close:hover { background: #e2dbcf; color: var(--charcoal); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  /* Stacked: the bleed panel must not pull up over the copy it now sits below. */
  .hero__media {
    margin: clamp(24px, 4vh, 44px) calc(-1 * var(--gutter)) calc(-1 * clamp(48px, 9vh, 100px));
    min-height: clamp(320px, 52svh, 520px);
    flex: 1 1 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 6%, #000 20%);
            mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 6%, #000 20%);
  }
  .hero { min-height: 0; }
  .harvest__plate { width: 118%; right: -9%; max-height: 58%; }
  .join__frame { inset: -9px -9px 14px 14px; }
  .rail__nav { width: 44px; height: 44px; }
  .rail__nav--prev { left: 6px; }
  .rail__nav--next { right: 6px; }
}

@media (max-width: 720px) {
  /* The pill can't hold four items on one line - become a card, not a wrapped pill. */
  .offerbar__card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 13px;
    row-gap: 13px;
    border-radius: 20px;
    padding: 15px 15px 15px 14px;
  }
  .offerbar__text { font-size: 13.5px; padding-right: 42px; }
  .offerbar__cta { grid-column: 1 / -1; justify-content: center; width: 100%; letter-spacing: .22em; }
  .offerbar__close { position: absolute; top: 9px; right: 9px; width: 34px; height: 34px; }
}

@media (max-width: 560px) {
  .rail__nav { display: none; }
  .seal { top: -18px; right: -8px; }
  .offerbar__text { font-size: 13px; }
}

/* ============================================================
   Reduced motion — the design's own "quiet" mode
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__line,
  .join__leaf,
  .join__sprig,
  .scroll-cue__arrow,
  .signup__done { animation: none !important; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .spinner { animation: tmSpin .8s linear infinite !important; }
}

/* Without JavaScript the reveal never fires, so nothing may start hidden. */
.no-js [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ============================================================
   The offer dialog

   Two panels: the product on the brand's teal, the offer and form
   on cream. Leads with the discount because that is the hook - the
   previous version pitched a newsletter, which is a weaker trade.
   ============================================================ */
.offer {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: min(94vw, 820px);
  max-height: 92svh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.offer::backdrop {
  background: rgba(23, 27, 25, .74);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.offer[open] { animation: tmRise .8s var(--ease) both; }
.offer[open]::backdrop { animation: offerFade .5s ease both; }
@keyframes offerFade { from { opacity: 0 } to { opacity: 1 } }

.offer__frame {
  position: absolute;
  inset: -14px -14px 22px 22px;
  border: 1px solid rgba(241, 86, 60, .55);
  border-radius: 4px;
  pointer-events: none;
}
.offer__panel {
  position: relative;
  display: grid;
  grid-template-columns: 42% 58%;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 80px 130px -50px rgba(0, 0, 0, .75);
  max-height: 92svh;
}
.offer__panel:focus { outline: none; }

.offer__close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 4;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7d766c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .4s ease, color .4s ease;
}
.offer__close:hover { background: #e2dbcf; color: var(--charcoal); }

/* ---------- left: the product ---------- */
.offer__stage {
  position: relative;
  background: var(--teal);
  overflow: hidden;
  min-height: 330px;
}
.offer__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 22%, rgba(241,86,60,.34) 0%, rgba(0,82,89,0) 68%),
    radial-gradient(70% 60% at 20% 100%, rgba(0,0,0,.42) 0%, rgba(0,82,89,0) 72%);
}
.offer__pouch {
  position: absolute;
  left: 52%;
  bottom: 7%;
  width: 58%;
  max-height: 78%;
  object-fit: contain;
  object-position: bottom center;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 40px 44px rgba(0, 0, 0, .5));
}
.offer__sprig {
  position: absolute;
  left: -10%;
  bottom: 4%;
  width: 44%;
  max-height: 62%;
  object-fit: contain;
  object-position: bottom center;
  height: auto;
  opacity: .85;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .4));
  animation: tmFloatA 12s ease-in-out infinite;
}
.offer__seal {
  top: 18px;
  right: 16px;
  left: auto;
  width: clamp(74px, 8vw, 88px);
  height: clamp(74px, 8vw, 88px);
  z-index: 3;
}

/* ---------- right: the offer ---------- */
.offer__body {
  padding: clamp(26px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}
.offer__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--teal);
}
.offer__accent { font-size: 27px; line-height: 1; color: var(--rust); }
.offer__lede { font-size: 14.5px; line-height: 1.65; color: #4c534f; }
.offer__form { margin-top: 2px; }

/* ---------- stacked ---------- */
@media (max-width: 720px) {
  .offer { width: min(94vw, 460px); }
  .offer__panel { grid-template-columns: 1fr; }
  .offer__stage { min-height: 240px; order: -1; }
  .offer__pouch { width: 34%; bottom: 6%; max-height: 84%; }
  .offer__sprig { width: 24%; left: 24%; bottom: 7%; max-height: 62%; }   /* tucks behind the pouch */
  .offer__seal { width: 70px; height: 70px; top: 14px; right: 12px; }
  .offer__frame { inset: -9px -9px 14px 14px; }
  .offer__title { font-size: clamp(24px, 6.4vw, 30px); }
}

@media (prefers-reduced-motion: reduce) {
  .offer[open] { animation: offerFade .3s ease both; }
  .offer__sprig { animation: none !important; }
}
