/* ==========================================================================
   Kairoman · main stylesheet
   ========================================================================== */
:root {
  /* CropNow black and green. Yellow and blue are the trap's own colours, used only where they mean the trap. */
  --ink: #070807;
  --ink-2: #0e110e;
  --ink-3: #171b17;
  --paper: #f1f3ec;
  --muted: rgba(241, 243, 236, 0.64);
  --faint: rgba(241, 243, 236, 0.14);
  --green: #42923e;
  --green-2: #6fc36a;
  --green-3: #17331a;
  --yellow: #ffe014;
  --blue: #1747d1;
  --blue-2: #4f7dff;
  --on-green: #061006;
  --forest: #10301a;
  --forest-2: #0b2413;
  --sheet: #efece2;

  /* Indian scripts fall back per glyph to Anek (set per language below); Latin stays Archivo */
  --f-script: "Anek Devanagari", "Anek Telugu", "Anek Kannada", "Anek Tamil";
  --f-display: "Archivo", var(--f-script), "Arial Narrow", system-ui, sans-serif;
  --f-body: "Archivo", var(--f-script), system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", var(--f-script), ui-monospace, Menlo, monospace;
  --f-serif: "Instrument Serif", var(--f-script), Georgia, serif;
  --f-hand: "Nothing You Could Do", var(--f-script), "Segoe Script", cursive;

  --pad: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vh: 1vh;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
  font-stretch: 100%;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--yellow); color: var(--ink); }

/* film grain: keeps big flat colour fields from looking synthetic */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.075;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(4) infinite;
  mix-blend-mode: overlay;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.small { font-size: 12px; line-height: 1.45; }
.muted { color: var(--muted); }
.hand { font-family: var(--f-hand); font-size: 22px; line-height: 1.25; color: var(--green-2); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); margin-right: 10px; vertical-align: middle; box-shadow: 0 0 0 4px rgba(111, 195, 106, 0.2); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(111, 195, 106, 0); } }
h2 {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.92;
  font-size: clamp(38px, 5.4vw, 92px);
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; transition: transform 0.6s var(--ease); }
.btn--y { background: var(--yellow); color: var(--ink); }
.btn--y::before { background: var(--paper); transform: translateY(101%); }
.btn--y:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--faint); color: var(--paper); }
.btn--ghost::before { background: var(--paper); transform: scaleX(0); transform-origin: left; }
.btn--ghost:hover { color: var(--ink); }
.btn--ghost:hover::before { transform: scaleX(1); }
.link { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; border-bottom: 1px dashed var(--faint); padding-bottom: 2px; }
.link:hover { border-color: var(--green-2); color: var(--green-2); }

/* ==========================================================================
   Chrome: nav, side tab, progress, cursor, preloader
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad) 20px var(--pad);
  transition: color 0.5s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { width: 28px; height: 28px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.nav__brand span { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; font-size: 15px; }
.nav__brand small { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.nav__links { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.nav__links a { position: relative; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 1px dotted currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__shop em { font-style: normal; font-size: 9px; margin-left: 3px; vertical-align: super; color: var(--green-2); letter-spacing: 0.06em; }
.nav__menu { display: none; width: 40px; height: 40px; position: relative; }
.nav__menu span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.nav__menu span:first-child { top: 16px; } .nav__menu span:last-child { top: 23px; }
body.theme-light .nav { color: var(--on-green); }
body.theme-light .nav__shop em { color: inherit; opacity: 0.7; }


.progress { position: fixed; z-index: 59; right: 0; top: 30vh; height: 40vh; width: 3px; background: transparent; }
.progress span { position: absolute; left: 0; width: 3px; height: 14%; background: var(--paper); transform-origin: top; border-radius: 2px; }
body.theme-light .progress span { background: var(--on-green); }

.cursor {
  position: fixed; z-index: 95; left: 0; top: 0;
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  pointer-events: none;
  opacity: 0; transition: opacity 0.3s;
  --bf-ink: #f4f1e6;
}
body.theme-paper .cursor, body.theme-light .cursor { --bf-ink: #15190f; }
.bf { width: 100%; height: 100%; overflow: visible; transform: rotate(var(--bf-rot, 0deg)) scale(var(--bf-s, 1)); transition: transform 0.08s linear; }
.bf path { fill: none; stroke: var(--bf-ink); transition: stroke 0.4s; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.bf .bf__body { fill: var(--bf-ink); }
.bf { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25)); }
.bf .bf__vein { stroke-width: 0.9; opacity: 0.7; }
.bf__wing { transform-box: view-box; transform-origin: 32px 32px; animation: flap var(--bf-flap, 0.5s) ease-in-out infinite alternate; }
@keyframes flap { from { transform: scaleX(1); } to { transform: scaleX(var(--bf-fold, 0.55)); } }
.cursor.is-big { --bf-s: 1.35; --bf-fold: 0.9; }
@media (hover: none) { .cursor { display: none; } }

.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--ink);
  transition: opacity 0.6s var(--ease);
}
.preloader__sheet { position: relative; width: 104px; height: 147px; border: 1px solid var(--faint); border-radius: 3px; overflow: hidden; }
.preloader__sheet::before { content: ""; position: absolute; left: 50%; top: 9px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--ink); z-index: 2; box-shadow: 0 0 0 1px var(--faint); }
.preloader__sheet span { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; background: var(--yellow); }
.preloader__count { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 44px; letter-spacing: -0.02em; line-height: 1; }
.preloader__count small { font-size: 18px; opacity: 0.5; margin-left: 2px; }
.preloader__line { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   The story (pinned stage)
   ========================================================================== */
.story { position: relative; height: 1580vh; }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story__back { position: absolute; inset: 0; z-index: 0; background: var(--forest); }
.story__sketch { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.95; }
.story__back::after { content: ""; position: absolute; inset: 0; background: var(--bg-tint, transparent); transition: background 0.8s var(--ease); }
.wordmark {
  position: absolute;
  left: 50%; top: 13vh;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(56px, 13.2vw, 290px);
  line-height: 0.8;
  letter-spacing: -0.035em;
  color: var(--paper);
  white-space: nowrap;
  user-select: none;
}
.wordmark span[aria-hidden] { display: inline-block; color: var(--paper); }
.wordmark i { display: inline-block; font-style: normal; color: color-mix(in srgb, var(--green-2) calc(var(--k, 0) * 100%), var(--paper)); will-change: transform; }

.stage-slot { position: absolute; inset: 0; z-index: 1; }
.stage-slot canvas { width: 100% !important; height: 100% !important; }
.vision-hex {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'><path d='M14 0 L28 8.08 L28 24.25 L14 32.33 L0 24.25 L0 8.08 Z M14 32.33 L14 48.5' fill='none' stroke='rgba(111,195,106,.55)' stroke-width='1'/></svg>");
  background-size: 22px 38px;
}
.story__front { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* insect vision: the world goes dim teal, the trap becomes a beacon */
.story.is-vision .story__back { background: color-mix(in srgb, #021a12 calc(var(--vision) * 100%), var(--forest)); }
.story.is-vision .story__sketch { opacity: calc(0.95 - var(--vision) * 0.8); }
.beat { position: absolute; inset: 0; padding: calc(var(--pad) + 64px) var(--pad) var(--pad) var(--pad); opacity: 0; visibility: hidden; }
.beat.is-on { opacity: 1; visibility: visible; }
.beat__title { font-size: clamp(36px, 4.6vw, 78px); }
.beat__aside { max-width: 300px; font-size: 16px; line-height: 1.45; color: var(--paper); }

/* hero */
.hero__tag { position: absolute; left: var(--pad); top: 13vh; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; display: none; }
.hero__lede {
  position: absolute; right: var(--pad); top: 54%;
  max-width: 360px;
  font-size: clamp(20px, 1.9vw, 30px); line-height: 1.22; letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.hero__card {
  position: absolute; left: var(--pad); bottom: calc(var(--pad) + 6px);
  width: 290px;
  pointer-events: auto;
}
.hero__card p:first-child { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.hero__card hr { border: 0; border-top: 1px solid var(--faint); margin: 18px 0 12px; width: 60px; }
.hero__card .small { color: var(--muted); }

/* card beat */
.beat--card .beat__title { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); font-size: clamp(30px, 3.4vw, 58px); }
.beat--card .beat__aside { position: absolute; left: var(--pad); top: calc(50% + 7vw); }

/* layers beat */
.beat--layers .beat__intro { position: absolute; left: var(--pad); top: 18vh; }
.beat--layers .beat__title { margin-top: 14px; font-size: clamp(30px, 3.4vw, 58px); }
.callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callout-lines line { stroke: rgba(241, 243, 236, 0.7); stroke-width: 1.2; stroke-dasharray: 4 4; }
.callout-lines circle { fill: var(--green-2); stroke: var(--ink); stroke-width: 2; }
.callout-lines .is-hot line { stroke: var(--green-2); stroke-dasharray: none; }
.callouts { position: absolute; inset: 0; }
.callout {
  position: absolute; left: 0; top: 0;
  width: 250px;
  display: grid; grid-template-columns: 34px 1fr; column-gap: 6px;
  padding: 10px 0 10px 12px;
  border-left: 1px solid rgba(241, 243, 236, 0.25);
  pointer-events: auto; cursor: default;
  transition: border-color 0.4s var(--ease), opacity 0.4s var(--ease);
  will-change: transform;
}
.callout__no { font-family: var(--f-mono); font-size: 11px; color: var(--muted); padding-top: 3px; }
.callout__name { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }
.callout__line { grid-column: 2; font-size: 13px; line-height: 1.4; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease); }
.callout:hover, .callout:focus-visible, .callout.is-hot { border-color: var(--green-2); outline: none; }
.callout:hover .callout__line, .callout:focus-visible .callout__line, .callout.is-hot .callout__line { max-height: 80px; opacity: 1; }
.callout:hover .callout__no, .callout.is-hot .callout__no { color: var(--green-2); }
.callouts.has-hot .callout:not(.is-hot) { opacity: 0.4; }
.hole-tag { position: absolute; left: 0; top: 0; opacity: 0.9; transform: translate(-100%, -120%); text-align: right; }
.hole-tag .hand { font-size: 20px; }

/* peel beat */
.beat--peel .beat__title { position: absolute; left: var(--pad); bottom: 14vh; font-size: clamp(30px, 3.4vw, 58px); }
.hand--tip { position: absolute; right: calc(var(--pad) + 60px); bottom: 9vh; transform: rotate(-4deg); text-align: right; }

/* gum beat */
.beat--gum { color: var(--ink); }
.beat--gum .eyebrow { position: absolute; left: var(--pad); top: 18vh; color: rgba(7, 8, 7, 0.6); }
.beat--gum .beat__aside { color: var(--ink); }
.beat--gum .cycle circle { stroke: rgba(7, 8, 7, 0.15); }
.beat--gum .cycle .cycle__arc { stroke: var(--ink); }
.beat--gum .cycle span { color: rgba(7, 8, 7, 0.6); }
.beat--gum .beat__title { position: absolute; left: var(--pad); top: calc(18vh + 26px); font-size: clamp(22px, 2.2vw, 38px); }
.beat--gum .beat__aside { position: absolute; left: var(--pad); bottom: 12vh; max-width: 300px; font-size: 14px; }
.beat--gum .cycle svg { width: 56px; height: 56px; }
.beat--gum .cycle b { font-size: 22px; }
.cycle { position: absolute; right: var(--pad); bottom: 10vh; display: flex; align-items: center; gap: 16px; }
.cycle svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.cycle circle { fill: none; stroke: rgba(241, 243, 236, 0.18); stroke-width: 3; }
.cycle .cycle__arc { stroke: var(--green-2); stroke-dasharray: 327; stroke-dashoffset: 327; stroke-linecap: round; }
.cycle p { display: grid; }
.cycle b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 30px; line-height: 1; }
.cycle span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* colour beat */
.colour__head { position: absolute; left: var(--pad); top: 15vh; }
.colour__title { position: relative; margin-top: 14px; font-size: clamp(26px, 2.6vw, 46px); height: 1em; }
.colour__title span { position: absolute; left: 0; top: 0; white-space: nowrap; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.colour__title .is-y { color: var(--yellow); }
.colour__title .is-b { color: var(--blue-2); opacity: 0; transform: translateY(30%); }
.beat--colour.is-blue .colour__title .is-y { opacity: 0; transform: translateY(-30%); }
.beat--colour.is-blue .colour__title .is-b { opacity: 1; transform: none; }
.pests { position: absolute; top: 38vh; width: 260px; pointer-events: auto; transition: opacity 0.5s var(--ease); }
.pests--yellow { left: var(--pad); }
.pests--blue { right: var(--pad); text-align: right; opacity: 0.35; }
.beat--colour.is-blue .pests--yellow { opacity: 0.35; }
.beat--colour.is-blue .pests--blue { opacity: 1; }
.pests__line { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pests li { display: flex; flex-direction: column; padding: 9px 0; border-top: 1px solid var(--faint); cursor: default; }
.pests li span { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 18px; text-transform: uppercase; transition: color 0.3s; }
.pests li i { font-family: var(--f-serif); font-size: 15px; color: var(--muted); }
.pests--yellow li:hover span { color: var(--yellow); }
.pests--blue li:hover span { color: var(--blue-2); }
.vision-toggle {
  position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 20px 0 10px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 8, 7, 0.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  pointer-events: auto;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.vision-toggle__eye { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); border: 7px solid var(--green-2); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.vision-toggle[aria-pressed="true"] { background: var(--green-2); color: var(--on-green); }
.vision-toggle[aria-pressed="true"] .vision-toggle__eye { border-color: var(--ink); }
.formula { position: absolute; right: var(--pad); bottom: 7vh; font-family: var(--f-serif); font-size: 22px; color: var(--muted); }
.formula b { font-family: var(--f-serif); font-weight: 400; color: var(--paper); font-size: 28px; }

/* swarm beat */
.swarm__title { position: absolute; left: var(--pad); bottom: 12vh; max-width: 42vw; font-size: clamp(28px, 3.2vw, 56px); }
.swarm__title span { display: block; }
.swarm__title span + span { color: var(--green-2); }
.counter { position: absolute; right: var(--pad); bottom: 12vh; display: flex; align-items: flex-end; gap: 14px; }
.counter b { display: inline-block; font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(54px, 6vw, 104px); line-height: 0.8; font-variant-numeric: tabular-nums; transform-origin: 100% 100%; transition: color 0.4s var(--ease); }
.counter.is-bump b { animation: bump 0.35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--yellow); } }
.beat--swarm.is-done .counter b { color: var(--green-2); }
.counter { flex-wrap: wrap; justify-content: flex-end; max-width: 420px; }
.counter__time { flex-basis: 100%; text-align: right; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); min-height: 1.4em; }
.beat--swarm.is-done .counter__time { color: var(--green-2); }
.breeze { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pops { position: absolute; inset: 0; pointer-events: none; }
.pops i { position: absolute; left: 0; top: 0; margin: -10px 0 0 -8px; font-family: var(--f-display); font-stretch: 125%; font-style: normal; font-weight: 800; font-size: 15px; color: var(--yellow); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.counter span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); }
.scroll-cue i { position: relative; width: 22px; height: 22px; border: 1px solid var(--faint); border-radius: 50%; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 5px; height: 5px; margin-left: -3px; border-right: 1px solid var(--paper); border-bottom: 1px solid var(--paper); transform: rotate(45deg); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 50% { transform: translateY(4px) rotate(45deg); } }

/* ==========================================================================
   Places
   ========================================================================== */
.places { position: relative; height: calc((var(--n) + 1.4) * 100vh); background: var(--ink); }
.places__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.places__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.places__shade { position: absolute; inset: 0; pointer-events: none; background: rgba(7, 8, 7, 0.34); }
.places__head { position: absolute; left: var(--pad); top: 13vh; }
.places__head h2 { margin-top: 12px; font-size: clamp(26px, 2.6vw, 44px); }
.places__titles { position: absolute; left: var(--pad); bottom: 17vh; width: min(560px, 80vw); height: 260px; }
.place { position: absolute; left: 0; bottom: 0; opacity: 0; visibility: hidden; }
.place__no { font-family: var(--f-mono); font-size: 12px; color: var(--green-2); letter-spacing: 0.1em; }
.place__title { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.025em; line-height: 0.86; font-size: clamp(48px, 6.4vw, 118px); margin: 8px 0 18px; text-shadow: 0 4px 30px rgba(0,0,0,.55); }
.place__line { text-shadow: 0 1px 14px rgba(0,0,0,.7); }
.place__line { max-width: 390px; font-size: 17px; line-height: 1.4; margin-bottom: 18px; }
.place__facts { display: flex; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.place__facts span + span::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.place__facts span:first-child { color: var(--green-2); font-weight: 500; }
.trap-frame { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border: 1px dashed rgba(255, 255, 255, 0.85); pointer-events: none; opacity: 0; transition: opacity 0.45s var(--ease); }
.trap-frame.is-on { opacity: 1; }
.trap-frame i { position: absolute; width: 9px; height: 9px; background: var(--green-2); border: 1px solid var(--ink); }
.trap-frame i:nth-child(1) { left: -5px; top: -5px; } .trap-frame i:nth-child(2) { right: -5px; top: -5px; }
.trap-frame i:nth-child(3) { left: -5px; bottom: -5px; } .trap-frame i:nth-child(4) { right: -5px; bottom: -5px; }
.trap-frame__hint { position: absolute; left: calc(100% + 18px); top: 30%; white-space: nowrap; font-family: var(--f-hand); font-size: 24px; color: var(--green-2); text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.trap-frame__hint::before { content: ""; position: absolute; right: calc(100% + 4px); top: 50%; width: 14px; border-top: 1px solid var(--green-2); }
.places__counter { position: absolute; right: var(--pad); top: 14vh; font-family: var(--f-display); font-stretch: 125%; font-weight: 800; display: flex; align-items: baseline; gap: 6px; }
.places__counter b { font-size: 46px; line-height: 1; }
.places__counter span { font-size: 16px; opacity: 0.6; }
.places__thumbs { position: absolute; right: var(--pad); bottom: var(--pad); display: flex; gap: 8px; }
.places__thumbs button { position: relative; width: 96px; border-radius: 3px; overflow: hidden; opacity: 0.55; transform: translateY(0); transition: opacity 0.4s, transform 0.5s var(--ease), outline-color 0.4s; outline: 1px solid transparent; outline-offset: 2px; }
.places__thumbs button img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.places__thumbs button span { position: absolute; left: 6px; bottom: 4px; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.places__thumbs button:hover { opacity: 0.9; }
.places__thumbs button.is-active { opacity: 1; transform: translateY(-6px); outline-color: var(--green-2); }
.places__else { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 26px; background: rgba(7, 8, 7, 0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; visibility: hidden; }
.places__else ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; max-width: 900px; }
.places__else li { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 76px); line-height: 1; letter-spacing: -0.02em; }
.places__else li:nth-child(odd) { color: var(--green-2); }

/* ==========================================================================
   Blueprint
   ========================================================================== */
.blueprint { position: relative; height: 220vh; background: var(--forest-2); }
.blueprint__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; cursor: crosshair; }
.blueprint__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.blueprint__copy { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(400px, 27vw); }
.blueprint__copy h2 { margin: 14px 0 22px; font-size: clamp(28px, 2.9vw, 50px); }
.blueprint__lede { font-size: 16px; line-height: 1.5; color: var(--paper); }
.blueprint__compare { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--faint); font-size: 14px; line-height: 1.5; color: var(--muted); }
.blueprint__copy h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--green-2); font-stretch: 100%; }

/* ==========================================================================
   How to use
   ========================================================================== */
.is-paper { --paper: #15190f; --muted: rgba(21, 25, 15, 0.66); --faint: rgba(21, 25, 15, 0.16); --green-2: #2e7a2b; background: var(--sheet); color: var(--paper); }
.is-paper .size-toggle button[aria-selected="true"], .is-paper .btn--ghost:hover { color: var(--sheet); }
.is-paper .btn--y::before { background: var(--paper); }
.is-paper .btn--y:hover { color: var(--sheet); }
.use { position: relative; padding: 20vh var(--pad) 16vh; }
.use__inner { max-width: 1320px; margin: 0 auto; }
.use__head h2 { margin-top: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 10vh; border-top: 1px solid var(--faint); }
.step { position: relative; padding: 26px 26px 34px 0; border-right: 1px solid var(--faint); }
.step + .step { padding-left: 26px; }
.step:last-child { border-right: 0; }
.step__no { font-family: var(--f-mono); font-size: 12px; color: var(--green-2); }
.step__icon { width: 108px; height: 108px; margin: 26px 0 30px; }
.step__icon path, .step__icon circle { fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 270px; }
.season { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12vh; border-top: 1px solid var(--faint); border-bottom: 1px solid var(--faint); }
.season__item { padding: 30px 26px 30px 0; display: flex; align-items: baseline; gap: 18px; }
.season__item + .season__item { padding-left: 26px; border-left: 1px solid var(--faint); }
.season__item b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(36px, 4vw, 64px); line-height: 1; white-space: nowrap; }
.season__item span { color: var(--muted); max-width: 190px; }
.planner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin-top: 12vh; border-top: 1px solid var(--paper); border-bottom: 1px solid var(--faint); }
.planner__q, .planner__a { padding: 40px; }
.planner__a { border-left: 1px solid var(--faint); display: grid; align-content: center; gap: 14px; }
.planner__q h3 { margin: 12px 0 34px; font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 42px); line-height: 0.95; }
.planner__field { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.planner__field span { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.planner__field output { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 22px; min-width: 110px; text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; }
/* a hard colour stop, not a blend: the filled part is solid green */
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--green-2) var(--fill, 10%), var(--faint) var(--fill, 10%)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--faint); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--green-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--green-2); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--green-2); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--green-2); border: 4px solid var(--ink); }
.planner__sheets { display: flex; align-items: baseline; gap: 14px; }
.planner__sheets b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(60px, 7vw, 112px); line-height: 0.85; font-variant-numeric: tabular-nums; }
.planner__sheets span { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.planner__mix { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.planner__mix b { font-variant-numeric: tabular-nums; }
.sw { width: 12px; height: 16px; border-radius: 2px; display: inline-block; }
.sw--y { background: var(--yellow); } .sw--b { background: var(--blue-2); margin-left: 12px; }
.planner__packs { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em; }
.planner__cost { color: var(--muted); }
.planner__cost b { color: var(--paper); }

/* ==========================================================================
   Packs
   ========================================================================== */
.packs { position: relative; height: 200vh; }
.packs__sticky::before { content: ""; position: absolute; right: -12vw; top: 50%; width: 62vw; height: 62vw; max-height: 120vh; max-width: 120vh; transform: translateY(-50%); border-radius: 50%; background: var(--green); }
.packs__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-slot--packs { left: 34%; }
.packs__inner { position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(470px, 90vw); }
.packs__inner h2 { margin: 14px 0 34px; }
.size-toggle { display: inline-flex; padding: 4px; border-radius: 99px; border: 1px solid var(--faint); margin-bottom: 26px; }
.size-toggle button { display: flex; flex-direction: column; align-items: center; padding: 10px 24px; border-radius: 99px; font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 18px; line-height: 1; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.size-toggle small { font-family: var(--f-mono); font-weight: 400; font-stretch: 100%; font-size: 9px; letter-spacing: 0.06em; margin-top: 4px; opacity: 0.7; }
.size-toggle button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.pack__for { font-size: 18px; }
.pack__best { color: var(--muted); margin: 4px 0 22px; }
.pack__options li { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--faint); }
.pack__options li:last-child { border-bottom: 1px solid var(--faint); }
.pack__options strong { display: block; font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 17px; }
.pack__options span { font-size: 13px; color: var(--muted); }
.price { text-align: right; }
.price b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 30px; line-height: 1; }
.price s { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.packs__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 14px; }

/* ==========================================================================
   Purpose (light)
   ========================================================================== */
.purpose { position: relative; overflow: hidden; background: var(--green); color: var(--on-green); padding: 22vh var(--pad) 18vh; }
.purpose .eyebrow { color: rgba(6, 16, 6, 0.7); }
.purpose__leaves {
  position: absolute; inset: -10% -10% auto auto; width: 75vw; height: 110vh; pointer-events: none;
  background: url("../img/leaves.webp") center / contain no-repeat;
  opacity: 0.3; filter: blur(10px); mix-blend-mode: multiply;
  transform-origin: 70% 0%;
  animation: sway 9s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: rotate(-2.5deg) translateX(0); } to { transform: rotate(2.5deg) translateX(-2%); } }
.purpose__inner { position: relative; max-width: 1320px; margin: 0 auto; }
.purpose__big { margin: 22px 0 30px; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: none; letter-spacing: -0.045em; line-height: 0.82; font-size: clamp(60px, 13vw, 240px); }
.purpose__big span { display: block; }
.purpose__big span:last-child { color: var(--paper); padding-left: 0.6em; }
.purpose__lede { max-width: 520px; font-size: 19px; line-height: 1.45; }
.purpose__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 12vh; border-top: 1px solid rgba(6, 16, 6, 0.35); }
.pcard { padding: 26px 28px 10px 0; min-height: 230px; display: flex; flex-direction: column; gap: 14px; }
.pcard + .pcard { padding-left: 28px; border-left: 1px solid rgba(6, 16, 6, 0.2); }
.pcard img { width: 56px; height: 56px; object-fit: contain; margin-top: auto; }
.pcard h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1; }
.pcard p:last-child { color: rgba(6, 16, 6, 0.78); max-width: 320px; }
.pcard img { filter: brightness(0); opacity: 0.82; }
.purpose__goals { margin-top: 10vh; display: grid; gap: 18px; }
.purpose__goals ul { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.purpose__goals li { display: flex; align-items: baseline; gap: 8px; font-size: 16px; }
.purpose__goals li b { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 22px; color: var(--paper); }

/* ==========================================================================
   Soon, contact, footer
   ========================================================================== */
.soon { padding: 18vh var(--pad) 14vh; }
.soon > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.soon header h2 { margin-top: 14px; }
.soon__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8vh; }
.soon__item { position: relative; padding: 0 0 6px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; border-top: 1px solid var(--paper); transform-style: preserve-3d; }
.soon__item img { height: 150px; width: auto; max-width: 80%; object-fit: contain; margin: 10px auto 18px; filter: drop-shadow(0 16px 18px rgba(21, 25, 15, 0.18)); }
.soon__item h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 19px; }
.soon__item p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.soon__item .tag { position: absolute; top: 12px; right: 0; font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--green-2); }

.contact { position: relative; padding: 14vh var(--pad) 18vh; overflow: hidden; background: var(--forest); }

.contact__inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 4vw; }
.contact__mascot { width: min(420px, 90%); justify-self: center; padding: 5%; border-radius: 50%; background: var(--green); transform-origin: 50% 100%; }
.contact__copy h2 { margin: 16px 0 36px; font-size: clamp(32px, 3.9vw, 66px); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.langs { margin-top: 34px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.langs [data-langs] { position: relative; display: inline-block; height: 1.6em; min-width: 120px; overflow: hidden; }
.langs em { position: absolute; left: 0; top: 0; font-style: normal; color: var(--green-2); font-size: 16px; text-transform: none; letter-spacing: 0; opacity: 0; transform: translateY(100%); transition: transform 0.6s var(--ease), opacity 0.6s var(--ease); }
.langs em.is-on { opacity: 1; transform: none; }

.footer { position: relative; padding: 4vh var(--pad) 30px; border-top: 1px solid var(--faint); overflow: hidden; }
.footer__word { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 13.6vw; text-align: center; line-height: 0.8; letter-spacing: -0.045em; color: transparent; -webkit-text-stroke: 1px rgba(241, 243, 236, 0.35); white-space: nowrap; margin-left: -0.6vw; user-select: none; }
.footer__word:hover { -webkit-text-stroke-color: var(--green-2); }
.footer__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: end; margin-top: 4vh; }
.footer__row > p:first-child { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; }
.footer__row nav { display: flex; gap: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer__row nav a:hover { color: var(--green-2); }
.footer__row > p:last-child { text-align: right; }

/* specimen hover card */
  position: fixed; z-index: 80; left: 0; top: 0;
  display: grid; grid-template-columns: 120px 220px; gap: 4px; align-items: center;
  padding: 10px 16px 10px 6px; border-radius: 4px;
  background: rgba(7, 8, 7, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  pointer-events: none; opacity: 0; transform: translate(-50%, -110%) scale(0.92);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

/* split text helpers */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .soon__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 14px; }
  .nav { padding-right: var(--pad); }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px; background: rgba(16, 48, 26, 0.98); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
  .nav__links a { font-size: 16px; }
  body.menu-open .nav__links { opacity: 1; visibility: visible; }
  body.menu-open .nav__menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.menu-open .nav__menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__menu { display: block; }
  .nav__brand small { display: none; }
  .story { height: 1360vh; }
  .wordmark { top: 14vh; font-size: 12.4vw; }
  .hero__lede { left: var(--pad); right: var(--pad); top: auto; bottom: 23vh; max-width: none; font-size: 20px; }
  .hero__card { display: none; }
  .beat--card .beat__title { top: 18vh; transform: none; }
  .beat--card .beat__aside { right: auto; left: var(--pad); top: auto; bottom: 14vh; transform: none; }
  .beat--layers .beat__intro { top: 14vh; }
  .callout { width: 170px; }
  .callout__line { display: none; }
  .hole-tag { display: none; }
  .hand--tip { right: var(--pad); bottom: 30vh; font-size: 18px; }
  .cycle { right: var(--pad); bottom: 24vh; }
  .colour__head { top: 13vh; }
  .pests { top: auto; bottom: 18vh; width: 44vw; }
  .pests li { padding: 6px 0; }
  .pests li span { font-size: 13px; }
  .pests li i { display: none; }
  .pests--blue { right: var(--pad); }
  .formula { display: none; }
  .vision-toggle { bottom: 8vh; }
  .counter { right: var(--pad); bottom: auto; top: 16vh; }
  .places__titles { bottom: 16vh; }
  .place__line { font-size: 15px; }
  .places__thumbs { left: var(--pad); right: var(--pad); justify-content: space-between; }
  .places__thumbs button { width: 15%; }
  .places__thumbs button span { display: none; }
  .places__counter { right: var(--pad); }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--faint); }
  .season { grid-template-columns: 1fr; }
  .season__item + .season__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--faint); }
  .planner { grid-template-columns: 1fr; }
  .planner__a { border-left: 0; border-top: 1px solid var(--faint); }
  .planner__q, .planner__a { padding: 26px; }
  .planner__field { grid-template-columns: 1fr; }
  .planner__field output { text-align: left; }
  .packs { height: auto; }
  .packs__sticky { position: relative; height: auto; padding: 14vh 0 10vh; }
  .stage-slot--packs { position: relative; left: 0; height: 52vh; }
  .packs__inner { position: relative; top: 0; transform: none; padding: 0 var(--pad); width: 100%; }
  .purpose__grid { grid-template-columns: 1fr; }
  .pcard, .pcard + .pcard { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(6, 16, 6, 0.2); min-height: 0; }
  .soon__list { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__mascot { width: 62%; }
  .footer__row { grid-template-columns: 1fr; }
  .footer__row > p:last-child { text-align: left; }
  .footer__row nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* places: flip the hint when the trap sits near the right edge */
.trap-frame.hint-left .trap-frame__hint { left: auto; right: calc(100% + 18px); }
.trap-frame.hint-left .trap-frame__hint::before { right: auto; left: calc(100% + 4px); }

/* shop placeholder */
.shop { min-height: 100vh; padding: 20vh var(--pad) 12vh; }
.shop__inner { max-width: 1100px; margin: 0 auto; }
.shop__title { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.82; font-size: clamp(64px, 12vw, 200px); margin: 18px 0 30px; }
.shop__lede { max-width: 460px; font-size: 18px; }
.shop__packs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8vh 0 4vh; }
.shop__pack { position: relative; padding: 22px 0 0; border-top: 1px solid var(--paper); }
.shop__pack header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.shop__pack header b { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 44px; line-height: 1; }
.shop__pack header span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.shop__pack .pack__options { margin-top: 18px; }
@media (max-width: 820px) { .shop__packs { grid-template-columns: 1fr; } }

/* soft scrim behind the fixed nav so links stay legible over any section */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(16, 48, 26, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--faint); opacity: 0; transition: opacity 0.5s var(--ease); }
body.is-scrolled .nav::before { opacity: 1; }
body.theme-light .nav::before { background: rgba(66, 146, 62, 0.94); border-color: rgba(6, 16, 6, 0.15); }
body.theme-paper .nav, .page-shop .nav { color: #15190f; }
body.theme-paper .nav::before, .page-shop .nav::before { background: rgba(239, 236, 226, 0.94); border-color: rgba(21, 25, 15, 0.12); }
body.theme-paper .progress span { background: #15190f; }
body.theme-paper .lang__btn, .page-shop .lang__btn { border-color: rgba(21, 25, 15, 0.25); }

/* ==========================================================================
   Language menu
   ========================================================================== */
.lang { position: relative; margin-left: 26px; }
.lang__btn { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 10px; border: 1px solid var(--faint); border-radius: 99px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s; }
.lang__btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.lang__btn:hover, .lang.is-open .lang__btn { background: var(--green); border-color: var(--green); color: var(--on-green); }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; background: var(--ink-2); border: 1px solid var(--faint); border-radius: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0.25s; color: var(--paper); }
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 6px; font-size: 16px; font-weight: 500; }
.lang__list a:hover { background: var(--ink-3); }
.lang__list a[aria-current] { background: var(--green); color: var(--on-green); }
.lang__list a[aria-current]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--on-green); }
body.theme-light .lang__btn { border-color: rgba(6, 16, 6, 0.3); }

/* ==========================================================================
   Hero: the field plan drawn under the page
   ========================================================================== */

/* ==========================================================================
   Scent beat
   ========================================================================== */
.beat--scent .scent { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scent__trail { fill: none; stroke: var(--green-2); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 12; vector-effect: non-scaling-stroke; animation: drift 1.6s linear infinite; }
.scent__trail:nth-child(2) { animation-duration: 2.1s; stroke: var(--paper); opacity: 0.55; }
.scent__trail:nth-child(3) { animation-duration: 1.8s; stroke: var(--blue-2); }
@keyframes drift { to { stroke-dashoffset: -52; } }
.scent__sources li { position: absolute; left: var(--pad); top: var(--y); transform: translateY(-140%); font-family: var(--f-hand); font-size: 21px; color: var(--green-2); }
.scent__sources li:nth-child(2) { color: var(--paper); }
.scent__sources li:nth-child(3) { color: var(--blue-2); }
.scent__copy { position: absolute; left: var(--pad); bottom: 10vh; max-width: 470px; }
.scent__copy .beat__title { margin: 14px 0 18px; font-size: clamp(30px, 3.4vw, 58px); }
.scent__copy .beat__aside { max-width: 440px; color: rgba(241, 243, 236, 0.86); }
.senses { position: absolute; right: var(--pad); bottom: 10vh; width: 300px; display: grid; gap: 16px; margin: 0; }
.senses div { padding-top: 12px; border-top: 1px solid var(--faint); }
.senses dt { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 15px; }
.senses dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.senses__eye { width: 16px; height: 16px; border-radius: 50%; border: 4px solid var(--yellow); }
.senses__nose { width: 16px; height: 16px; border-radius: 4px; background: var(--green-2); transform: rotate(45deg) scale(0.8); }
.senses__lure { font-family: var(--f-hand); color: var(--green-2); font-size: 19px; line-height: 1.3; }

/* ==========================================================================
   Places: why it is needed here
   ========================================================================== */
.places__why { position: absolute; right: var(--pad); top: 26vh; width: min(330px, 25vw); }
.why { position: absolute; right: 0; top: 0; width: 100%; opacity: 0; visibility: hidden; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75); }
.why__title { margin: 0 0 10px; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.05; color: var(--green-2); }
.why__text { font-size: 15px; line-height: 1.55; color: var(--paper); }
.why__catches { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Blueprint: field notes you collect with the cursor
   ========================================================================== */
.notes { position: absolute; inset: 0; pointer-events: none; --atlas-w: 1600px; }
.note {
  position: absolute; left: 0; top: 0;
  transform: translate(calc(var(--x, -999px) - 50%), calc(var(--y, -999px) - 50%)) rotate(var(--rot));
  padding: 6px 10px;
  font-family: var(--f-hand); font-size: clamp(14px, calc(var(--atlas-w) * 0.0145), 28px); line-height: 1.15;
  color: var(--paper); white-space: nowrap;
  opacity: var(--o, 0);
  pointer-events: auto; cursor: crosshair;
  transition: color 0.3s;
}
.note span::before { content: ""; display: inline-block; width: 0; height: 6px; margin-right: 0; border-radius: 50%; background: var(--green-2); vertical-align: middle; transition: width 0.4s var(--ease), margin 0.4s var(--ease); }
.note.is-found span::before { width: 6px; margin-right: 8px; }
.note.is-hot { color: var(--yellow); }
.note:focus-visible { outline: 1px dashed var(--green-2); --o: 1; }
.note-card {
  position: absolute; left: 0; top: 0; z-index: 3; width: 270px;
  color: var(--paper); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
  pointer-events: none; opacity: 0;
  transform: translate(var(--cx, 0px), calc(var(--cy, 0px) + 10px));
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
}
.note-card.is-on { opacity: 1; transform: translate(var(--cx, 0px), var(--cy, 0px)); }
.note-card__label { display: none; }
.note-card__tip { font-size: 15px; line-height: 1.5; }
.if-touch { display: none; }
@media (hover: none) { .if-fine { display: none; } .if-touch { display: inline; } }

/* ==========================================================================
   Pack shapes: A4 is landscape, A5 is portrait
   ========================================================================== */
.size-toggle__shape { display: block; margin-bottom: 7px; border: 1.5px solid currentColor; border-radius: 2px; }
.size-toggle__shape--a4 { width: 24px; height: 17px; }
.size-toggle__shape--a5 { width: 12px; height: 17px; }
.pack__shape { margin: -2px 0 10px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.shop__shape { position: absolute; right: 26px; top: 28px; border: 1.5px solid var(--green-2); border-radius: 3px; }
.shop__pack--a4 .shop__shape { width: 46px; height: 32px; }
.shop__pack--a5 .shop__shape { width: 23px; height: 32px; }

/* ==========================================================================
   Indian scripts: no tracking (it breaks conjuncts), taller lines for matras
   ========================================================================== */
:root:not([data-lang="en"]) body *:not(.wordmark, .wordmark *, .footer__word) { letter-spacing: 0 !important; }
:root:not([data-lang="en"]) body { line-height: 1.6; }
:root:not([data-lang="en"]) :is(h1, h2, h3, .beat__title, .place__title, .places__else li, .callout__name, .pests li span, .pcard h3, .soon__item h3, .why__title, .note-card__label, .hero__card p:first-child, .pack__options strong, .senses dt, .footer__row > p:first-child, .shop__title) { line-height: 1.2; font-stretch: 100%; }
:root:not([data-lang="en"]) .purpose__big { line-height: 1.12; font-stretch: 100%; font-size: clamp(52px, 10vw, 190px); }
/* :where keeps these at element weight, so each section's own size still applies */
:where(:root:not([data-lang="en"])) h2 { font-size: clamp(32px, 4.6vw, 78px); }
:root:not([data-lang="en"]) .place__title { font-size: clamp(40px, 5.4vw, 96px); }
:root:not([data-lang="en"]) .beat__title { font-size: clamp(26px, 3vw, 52px); }
:root:not([data-lang="en"]) .colour__title { font-size: clamp(24px, 2.4vw, 42px); }
:root:not([data-lang="en"]) .blueprint__copy h2 { font-size: clamp(26px, 2.6vw, 46px); }
:root:not([data-lang="en"]) .line-mask { padding: 0.16em 0 0.24em; margin: -0.16em 0 -0.24em; }
:root:not([data-lang="en"]) .hand, :root:not([data-lang="en"]) .note, :root:not([data-lang="en"]) .scent__sources li, :root:not([data-lang="en"]) .senses__lure, :root:not([data-lang="en"]) .trap-frame__hint, :root:not([data-lang="en"]) .spec figcaption { font-weight: 500; }
:root:not([data-lang="en"]) .note { font-size: clamp(13px, calc(var(--atlas-w) * 0.0112), 22px); }
:root:not([data-lang="en"]) .eyebrow, :root:not([data-lang="en"]) .nav__links a { font-size: 12.5px; }
:where(:root[data-lang="ta"]) h2 { font-size: clamp(28px, 3.9vw, 66px); }
:root:not([data-lang="en"])[data-lang="ta"] .beat__title { font-size: clamp(24px, 2.6vw, 44px); }
:root:not([data-lang="en"])[data-lang="ta"] .place__title { font-size: clamp(34px, 4.4vw, 80px); }
:root:not([data-lang="en"])[data-lang="ta"] .blueprint__copy h2 { font-size: clamp(22px, 2.2vw, 38px); }
:root:not([data-lang="en"])[data-lang="ta"] .purpose__big { font-size: clamp(44px, 8vw, 150px); }
:root:not([data-lang="en"])[data-lang="ta"] .note { font-size: clamp(12px, calc(var(--atlas-w) * 0.0095), 19px); }

@media (max-width: 820px) {
  .lang { margin-left: auto; margin-right: 6px; }
  .lang__btn span { display: none; }
  .lang__btn { padding: 0 9px; }
  .places__why { left: var(--pad); right: var(--pad); top: 10vh; width: auto; }
  .places__head, .places__counter { display: none; }
  .why__title { font-size: 19px; margin-bottom: 4px; }
  .why__text { font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .why__catches { margin-top: 4px; font-size: 12px; }
  .places__head h2 { display: none; }
  .scent__sources { display: none; }
  .scent__copy { bottom: 8vh; right: var(--pad); }
  .senses { left: var(--pad); right: var(--pad); top: 13vh; bottom: auto; width: auto; grid-template-columns: 1fr 1fr; gap: 10px; }
  .senses__lure { display: none; }
  .note-card { width: min(300px, calc(100vw - var(--pad) * 2)); }
  .blueprint__copy { bottom: 6vh; right: var(--pad); }
  .blueprint__copy h2 { font-size: 24px; }
}

/* read the sheet: captions under each week, fixed to the drawing */
.reading { position: absolute; left: 0; top: 0; width: calc(var(--atlas-w) * 0.183); transform: translate(calc(var(--x, -999px) - 50%), var(--y, -999px)); }
.reading__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--faint); }
.reading__head b { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 15px; }
.reading__head span { font-family: var(--f-mono); font-size: 12px; color: var(--yellow); }
.reading__body { display: grid; margin-top: 8px; }
.reading__body > * { grid-area: 1 / 1; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.reading__line { font-size: 14px; line-height: 1.45; color: rgba(241, 243, 236, 0.82); }
.reading__note { font-size: 14px; line-height: 1.45; color: var(--paper); opacity: 0; transform: translateY(6px); }
.reading__note b { display: block; margin-bottom: 2px; font-family: var(--f-hand); font-weight: 400; font-size: 20px; color: var(--yellow); }
.reading.is-note .reading__line { opacity: 0; transform: translateY(-6px); }
.reading.is-note .reading__note { opacity: 1; transform: none; }
.reading__gap { position: absolute; left: 0; top: 0; transform: translate(calc(var(--x, -999px) - 50%), calc(var(--y, -999px) - 50%)); font-family: var(--f-hand); font-size: 19px; color: var(--muted); white-space: nowrap; }
@media (max-width: 820px) {
  .blueprint__copy { top: 9vh; transform: none; width: auto; right: var(--pad); bottom: auto; }
  .blueprint__lede, .blueprint__compare { display: none; }
  .reading { width: calc(var(--atlas-w) * 0.19); }
  .reading__gap { display: none; }
  .reading__line { font-size: 12.5px; }
}
