/* =========================================================
   The Sixth Element — landing page
   Palette: carbon-dark base, rice/silicate stone, paddy emerald
   ========================================================= */

:root {
  /* base */
  --ink:        #0A0F0C;   /* near-black, green-tinted */
  --ink-2:      #0E1611;   /* panels */
  --ink-3:      #12201A;   /* raised cards */
  --line:       rgba(234, 231, 221, 0.10);
  --line-2:     rgba(234, 231, 221, 0.16);

  /* text */
  --paper:      #EAE7DD;   /* primary text */
  --stone:      #A7A79B;   /* muted text */
  --stone-dim:  #6E7269;   /* faint */

  /* accents */
  --paddy:      #4ADE80;   /* emerald / methane-reduction */
  --paddy-deep: #2E7D4F;
  --paddy-soft: #7ef0aa;
  --silt:       #B9A77C;   /* silicate stone / sand */
  --water:      #3FA9C9;   /* cool water / gas */

  --grad: linear-gradient(100deg, var(--silt), var(--paddy));

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --wrap: 1120px;
  --pad:  clamp(20px, 5vw, 48px);
  --r:    16px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; }

em { font-style: italic; color: var(--paper); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.u { position: relative; white-space: nowrap; }
.u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.36em;
  background: linear-gradient(transparent 60%, rgba(74,222,128,0.35) 0);
  z-index: -1;
}

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

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 780px; }

.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }

.section__kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paddy); margin-bottom: 18px;
}
.section__title { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; margin-bottom: 22px; }
.section__intro { color: var(--stone); font-size: clamp(1.02rem, 2vw, 1.18rem); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 500; font-size: 0.98rem;
  padding: 0.82em 1.5em; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s, color .3s;
  white-space: nowrap;
}
.btn--sm { padding: 0.55em 1.1em; font-size: 0.9rem; }
.btn--primary { background: var(--paddy); color: var(--ink); font-weight: 600; }
.btn--primary:hover { transform: translateY(-2px); background: var(--paddy-soft); }
.btn--ghost { border-color: var(--line-2); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paddy); color: var(--paddy); transform: translateY(-2px); }

/* ---------- periodic tile (carbon = element 6) ---------- */
.tile {
  position: relative; display: grid; place-content: center;
  width: 40px; height: 40px; border-radius: 9px;
  border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  flex: none; overflow: hidden;
}
.tile__num { position: absolute; top: 3px; left: 5px; font-family: var(--mono); font-size: 9px; color: var(--paddy); }
.tile__sym { font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--paper); }
.tile__mass { position: absolute; bottom: 2px; right: 4px; font-family: var(--mono); font-size: 6px; color: var(--stone-dim); }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad); }

/* ---------- site-wide atmosphere canvas ---------- */
#bgCanvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
/* content sits above the atmosphere; sections stay transparent so particles show through */
main, .footer { position: relative; z-index: 1; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--pad);
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 15, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__name { font-family: var(--serif); font-size: 1.12rem; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--stone); font-size: 0.95rem; position: relative; transition: color .25s; }
.nav__links a:hover { color: var(--paper); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--paddy);
  transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 16px; }

.stealth {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--stone); white-space: nowrap;
}
.stealth__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--paddy);
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px var(--pad) 80px; overflow: hidden;
}
.hero__aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(74,222,128,0.16), transparent 70%),
    radial-gradient(45% 55% at 82% 20%, rgba(63,169,201,0.12), transparent 70%),
    radial-gradient(50% 60% at 60% 90%, rgba(185,167,124,0.10), transparent 70%);
  filter: blur(10px); animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(-2%, 0, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }

.hero__inner { position: relative; z-index: 2; max-width: 940px; }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--silt); margin-bottom: 24px;
}
.hero__title { font-size: clamp(2.5rem, 6.6vw, 4.6rem); letter-spacing: -0.02em; margin-bottom: 26px; }
.hero__sub { font-size: clamp(1.05rem, 2.3vw, 1.35rem); color: var(--stone); max-width: 60ch; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__chips {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px;
}
.hero__chips li {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--stone);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px;
  background: rgba(255,255,255,0.02);
}

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero__scroll span {
  display: block; width: 22px; height: 36px; border: 1px solid var(--line-2); border-radius: 20px; position: relative;
}
.hero__scroll span::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 3px; background: var(--paddy);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; top: 6px; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; top: 18px; } }

/* =========================================================
   PROBLEM
   ========================================================= */
.problem { border-top: 1px solid var(--line); }
.problem__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.problem__lead h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 20px; }
.problem__lead p { color: var(--stone); max-width: 44ch; }

.stats { display: grid; gap: 22px; }
.stat { border-left: 2px solid var(--paddy); padding-left: 20px; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; color: var(--paper); }
.stat__label { color: var(--stone); font-size: 0.98rem; margin-top: 6px; max-width: 30ch; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { border-top: 1px solid var(--line); }
.flow { position: relative; margin-top: 56px; }
.flow__line { position: absolute; top: 34px; left: 0; width: 100%; height: 60px; z-index: 0; display: none; }
.flow__line #flowPath { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.6s var(--ease); }
.flow.is-in .flow__line #flowPath { stroke-dashoffset: 0; }

.flow__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.step {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px 28px;
  position: relative; transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.step:hover { transform: translateY(-6px); border-color: var(--line-2); background: linear-gradient(180deg, rgba(74,222,128,0.05), transparent); }
.step__icon {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-content: center;
  background: rgba(74,222,128,0.08); color: var(--paddy); margin-bottom: 18px;
}
.step__icon svg { width: 30px; height: 30px; }
.step__n { font-family: var(--mono); font-size: 12px; color: var(--stone-dim); letter-spacing: 0.1em; }
.step h3 { font-size: 1.35rem; margin: 6px 0 10px; }
.step p { color: var(--stone); font-size: 0.96rem; }

/* =========================================================
   MEASUREMENT
   ========================================================= */
.measure { border-top: 1px solid var(--line); }
.measure__grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 56px;
  max-width: 640px; margin-inline: auto;
}
.card {
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.card--full { grid-column: 1 / -1; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--stone); font-size: 0.96rem; }
.card figcaption { margin-top: 18px; }

.chart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--silt); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 10px;
}

/* dome */
.dome__svg { width: 100%; height: auto; display: block; }
#domeGas circle { animation: floatgas 3.6s ease-in-out infinite; transform-origin: center; }
#domeGas circle:nth-child(2) { animation-delay: .5s; }
#domeGas circle:nth-child(3) { animation-delay: 1s; }
#domeGas circle:nth-child(4) { animation-delay: 1.5s; }
#domeGas circle:nth-child(5) { animation-delay: 2s; }
@keyframes floatgas { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-8px); opacity: 1; } }

/* chart */
.chart { width: 100%; height: auto; display: block; }
.axlabel { font-family: var(--mono); font-size: 11px; fill: var(--stone-dim); }
#controlLine, #treatedLine { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.8s var(--ease); }
.card--chart.is-in #controlLine { stroke-dashoffset: 0; }
.card--chart.is-in #treatedLine { stroke-dashoffset: 0; transition-delay: .4s; }
.card--chart.is-in #reduceArea { opacity: 1; transition: opacity 1s ease 1.4s; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; font-size: 0.85rem; color: var(--stone); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot--control { background: var(--silt); }
.dot--treated { background: var(--paddy); }
.chart__gap { color: var(--stone-dim); font-style: italic; }

.chart__legend { user-select: none; }

/* side-by-side fields (control emits / treatment absorbs) */
.fields__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 3vw, 26px); margin: 6px 0 4px; }
.field {
  position: relative; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  padding: 18px 18px 0; min-height: 250px; display: flex; flex-direction: column;
}
.field--control   { background: linear-gradient(180deg, rgba(185,167,124,0.07), rgba(185,167,124,0.015)); }
.field--treatment { background: linear-gradient(180deg, rgba(74,222,128,0.08), rgba(74,222,128,0.015)); }
.field--treatment::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 52% at 50% 44%, rgba(74,222,128,0.12), transparent 72%);
}
.field__label {
  position: relative; z-index: 2; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper);
}
.field__label span { display: block; color: var(--stone-dim); font-size: 10px; letter-spacing: 0.06em; margin-top: 2px; text-transform: none; }
.field__tagline {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
}
.field__tagline--out { color: var(--silt); }
.field__tagline--in  { color: var(--paddy); }
.field__scene { margin-top: auto; position: relative; z-index: 1; }
.field__scene svg { width: 100%; height: auto; display: block; }

.stalk { transform-box: fill-box; transform-origin: bottom center; animation: sway 6.5s ease-in-out infinite; }
.stalk--firm { animation-name: sway-firm; animation-duration: 7.5s; }
@keyframes sway      { 0%,100% { transform: rotate(-1.8deg); } 50% { transform: rotate(1.8deg); } }
@keyframes sway-firm { 0%,100% { transform: rotate(-0.7deg); } 50% { transform: rotate(0.7deg); } }

/* =========================================================
   IMPACT
   ========================================================= */
.impact { border-top: 1px solid var(--line); }
.impact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.ic {
  border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px;
  transition: transform .4s var(--ease), border-color .4s;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.ic:hover { transform: translateY(-6px); border-color: var(--line-2); }
.ic__mark { width: 48px; height: 48px; color: var(--paddy); margin-bottom: 20px; }
.ic__mark svg { width: 100%; height: 100%; }
.ic h3 { font-size: 1.4rem; margin-bottom: 12px; }
.ic p { color: var(--stone); font-size: 0.97rem; }

/* =========================================================
   CREDITS
   ========================================================= */
.credits { border-top: 1px solid var(--line); text-align: center; }
.credits__quote { font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.18; max-width: 20ch; margin: 8px auto 24px; }
.credits__sub { color: var(--stone); max-width: 52ch; margin-inline: auto; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { border-top: 1px solid var(--line); }
.contact__card {
  border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(74,222,128,0.08), transparent 60%),
    linear-gradient(180deg, rgba(18,32,26,0.72), rgba(14,22,17,0.72));
  text-align: center;
}
.contact__card h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 10px 0 16px; }
.contact__lead { color: var(--stone); max-width: 46ch; margin: 0 auto 30px; }
.signup { display: flex; gap: 10px; max-width: 460px; margin-inline: auto; flex-wrap: wrap; }
.signup input {
  flex: 1 1 220px; min-width: 0; background: rgba(0,0,0,0.35); border: 1px solid var(--line-2);
  border-radius: 100px; padding: 0.85em 1.3em; color: var(--paper); font-family: var(--sans); font-size: 1rem;
  transition: border-color .25s;
}
.signup input::placeholder { color: var(--stone-dim); }
.signup input:focus { outline: none; border-color: var(--paddy); }
.signup button { flex: 0 0 auto; }
.signup__note { min-height: 1.4em; margin-top: 14px; font-size: 0.9rem; color: var(--paddy); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 56px; }
.footer__inner { display: grid; gap: 22px; }
.brand--footer .brand__name { font-size: 1.2rem; }
.footer__tag { color: var(--stone); max-width: 44ch; }
.footer__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--stone-dim); font-size: 0.85rem; padding-top: 20px; border-top: 1px solid var(--line); }
.footer__meta .stealth { color: var(--stone-dim); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* stagger children within a group */
.hero__inner .reveal:nth-child(2) { transition-delay: .06s; }
.hero__inner .reveal:nth-child(3) { transition-delay: .12s; }
.hero__inner .reveal:nth-child(4) { transition-delay: .18s; }
.hero__inner .reveal:nth-child(5) { transition-delay: .24s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 900px) { .flow__line { display: block; } }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .problem__grid { grid-template-columns: 1fr; }
  .flow__steps { grid-template-columns: repeat(2, 1fr); }
  .measure__grid { grid-template-columns: 1fr; }
  .impact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .flow__steps { grid-template-columns: 1fr; }
  .field { min-height: 190px; padding: 14px 12px 0; }
  .field__tagline { top: 12px; right: 12px; font-size: 10px; }
  .nav__right .btn { display: none; }
  .hero__chips li { font-size: 11px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  #controlLine, #treatedLine { stroke-dashoffset: 0 !important; transition: none !important; }
  #reduceArea { opacity: 1 !important; }
  .flow__line #flowPath { stroke-dashoffset: 0 !important; }
  .stalk, .stealth__dot, #domeGas circle, .hero__aurora, .hero__scroll span::after { animation: none !important; }
}

/* =========================================================
   TRIAL DETAILS  (added — extends existing tokens only)
   ========================================================= */
.trial { border-top: 1px solid var(--line); }

/* keyboard focus, scoped to the new section so existing design is unchanged */
#trial a:focus-visible, #trial .btn:focus-visible {
  outline: 2px solid var(--paddy); outline-offset: 3px; border-radius: 8px;
}

.trial__specs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 52px; }
.spec {
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.spec__num { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1; color: var(--paper); }
.spec__label { color: var(--stone); font-size: 0.83rem; margin-top: 10px; line-height: 1.45; }

.rcbd { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 72px; }
.rcbd__map { border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px; background: linear-gradient(180deg, rgba(18,32,26,0.5), rgba(10,15,12,0.5)); }
.rcbd__map svg { width: 100%; height: auto; display: block; }
.rcbd__copy h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.rcbd__copy p { color: var(--stone); max-width: 48ch; }
.rcbd__legend { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--stone); text-transform: uppercase; }
.rcbd__legend span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.swatch--t { background: rgba(74,222,128,0.28); border: 1px solid rgba(74,222,128,0.6); }
.swatch--c { background: rgba(185,167,124,0.24); border: 1px solid rgba(185,167,124,0.55); }

.gallery { margin-top: 80px; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2.4vw, 22px); margin-top: 30px; }
.shot { position: relative; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--ink-2); transition: transform .4s var(--ease), border-color .4s; }
.shot:hover { transform: translateY(-4px); border-color: var(--paddy); }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.shot figcaption { display: flex; align-items: baseline; gap: 10px; padding: 15px 16px 17px; }
.shot__n { font-family: var(--mono); font-size: 11px; color: var(--paddy); letter-spacing: 0.1em; flex: none; }
.shot figcaption p { color: var(--stone); font-size: 0.9rem; margin: 0; line-height: 1.45; }
.shot__tag { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); background: rgba(10,15,12,0.6); border: 1px solid var(--line-2); padding: 4px 9px; border-radius: 100px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.cadence { margin-top: 84px; }
.cadence__track { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 44px; position: relative; }
.cadence__track::before { content: ""; position: absolute; top: 6px; left: 8%; right: 8%; height: 2px; background: var(--grad); opacity: 0.55; }
.phase { position: relative; padding-right: 18px; }
.phase__dot { display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--paddy); border: 3px solid var(--ink); box-shadow: 0 0 0 1px var(--line-2); position: relative; z-index: 1; margin-bottom: 20px; }
.phase__n { font-family: var(--mono); font-size: 11px; color: var(--stone-dim); letter-spacing: 0.1em; }
.phase h4 { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; margin: 5px 0 9px; line-height: 1.2; }
.phase p { color: var(--stone); font-size: 0.86rem; max-width: 24ch; line-height: 1.5; }

.trial__close { margin-top: 84px; border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(30px, 4vw, 48px); background: radial-gradient(80% 140% at 0% 0%, rgba(74,222,128,0.08), transparent 60%), linear-gradient(180deg, rgba(18,32,26,0.6), rgba(14,22,17,0.6)); }
.trial__close h3 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); max-width: 24ch; margin-bottom: 14px; }
.trial__close p { color: var(--stone); max-width: 56ch; margin-bottom: 26px; }
.trial__close .hero__cta { margin-top: 0; }

@media (max-width: 900px) {
  .trial__specs { grid-template-columns: repeat(3, 1fr); }
  .rcbd { grid-template-columns: 1fr; }
  .cadence__track { grid-template-columns: 1fr; gap: 26px; }
  .cadence__track::before { display: none; }
  .phase { padding-left: 28px; padding-right: 0; }
  .phase__dot { position: absolute; left: 0; top: 3px; margin-bottom: 0; }
}
@media (max-width: 560px) {
  .trial__specs { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
}
