:root {
  --green: #469700;
  --green-dark: #254f00;
  --green-light: #e0ffc4;
  --cream: #f9f9f9;
  --ink: #151515;
  --muted: #6f6666;
  --serif: "Azurio Trial", "Azurio", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --panel-h: min(960px, 100svh);
  --viewport-h: 100svh;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --page-pad: clamp(20px, 6vw, 96px);
  --content-max: 1440px;
  --dock-height: 39px;
  --dock-bottom: 46px;
  --dock-top: 41px;
  --dock-y: calc(100svh - var(--dock-bottom) - var(--dock-height));
}

@font-face {
  font-family: "Azurio Trial";
  src: url("/assets/fonts/AzurioTrial-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter_18pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter_18pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
canvas,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 130;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--cream);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Full-bleed background videos ── */
.bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: var(--panel-h);
  display: grid;
  place-items: center;
  overflow: clip;
  color: #f9f9f9;
  background-color: #469700;
  background-image: url("/assets/figma/hero-graphic.webp");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

/* Figma: subtle green tint over the video for richer, darker tones */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(21, 44, 0, 0.24);
  pointer-events: none;
}

.hero .bg-video {
  filter: brightness(0.9) saturate(1.12);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 40px));
  display: grid;
  justify-items: center;
  gap: 36px;
  padding: 36px 0 120px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 166px;
  height: 34px;
  object-fit: contain;
}

.brand.dark {
  color: var(--green-dark);
  justify-content: flex-start;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 545px;
  font-size: 60px;
  line-height: 0.95;
  text-wrap: balance;
  color: #f9f9f9;
}

.hero p {
  max-width: 537px;
  margin: 0;
  color: #f9f9f9;
  font-size: 18px;
  line-height: 1.32;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button.ghost {
  overflow: clip;
  border-radius: 46px;
  background: rgba(249, 249, 249, 0.1);
  color: white;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

.button.ghost:hover {
  background: rgba(249, 249, 249, 0.14);
}

.button.solid {
  background: rgba(37, 79, 0, 0.6);
  color: #f9f9f9;
  font-size: 20px;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

.button.pill-light {
  min-height: 39px;
  padding: 0 22px;
  background: rgba(224, 255, 196, 0.6);
  color: var(--green-dark);
  font-size: 18px;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

/* ── Dock nav: fixed on viewport, rises with hero, locks at top ── */
.dock-nav-wrap {
  position: fixed;
  z-index: 200;
  left: 0;
  right: 0;
  top: var(--dock-y, calc(100svh - var(--dock-bottom) - var(--dock-height)));
  pointer-events: none;
}

.dock-nav-wrap.is-docked {
  top: var(--dock-top);
}

.dock-nav {
  pointer-events: auto;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: space-between;
  width: min(739px, calc(100% - 40px));
  min-height: 39px;
  margin: 0 auto;
  padding: 0 8px;
  overflow: hidden;
  border-radius: 19.5px;
  background: rgba(37, 79, 0, 0.6);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

.dock-nav a {
  padding: 12px 22px;
  color: #f9f9f9;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.dock-nav a:hover,
.dock-nav a:focus-visible {
  opacity: 0.7;
  outline: none;
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  color: var(--green-dark);
  font-size: clamp(44px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 0.95;
  text-wrap: balance;
}

h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1;
  text-wrap: balance;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  text-wrap: pretty;
}

/* ── Problem / Compare ── */
.problem-section {
  display: grid;
  /* Remove hard pixel minimums so columns compress gracefully */
  grid-template-columns: 0.76fr 1fr;
  gap: clamp(32px, 4vw, 86px);
  align-items: center;
  min-height: 960px;
  height: 960px;
  padding: 0 var(--page-pad);
  background: var(--cream);
  overflow: clip;
}

.problem-copy {
  max-width: 710px;
}

.problem-heading {
  display: grid;
  gap: clamp(40px, 4.3vw, 74px);
}

/* Fluid font: 50px at 1024 px → 60px at 1726px */
.problem-copy h2,
.problem-lead,
.problem-subhead {
  margin: 0;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: clamp(44px, calc(35.4px + 1.42vw), 60px);
  line-height: 0.95;
  text-wrap: balance;
}

.problem-copy p {
  max-width: 591px;
  margin: clamp(40px, 4.3vw, 74px) 0 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: normal;
}

.compare-card {
  container-type: inline-size;
  container-name: compare-card;
  display: flex;
  justify-content: flex-end;
}

.compare-frame {
  --split: 50%;
  position: relative;
  width: min(710px, 100%);
  height: 534px;
  overflow: hidden;
  border-radius: 10px;
  cursor: ew-resize;
  touch-action: none;
  isolation: isolate;
}

.compare-side {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.compare-before {
  right: auto;
  width: var(--split);
  background: #d9d9d9;
  border-radius: 10px 0 0 10px;
}

.compare-after {
  left: auto;
  width: calc(100% - var(--split));
  background: #e0ffc4;
  border-radius: 0 10px 10px 0;
}

.compare-header {
  position: absolute;
  z-index: 3;
  top: 33px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-before .compare-header {
  left: 50%;
  transform: translateX(-50%);
}

.compare-header--after {
  right: 37px;
  left: auto;
}

.compare-label {
  font-family: var(--serif);
  font-size: 28px;
  line-height: normal;
  color: var(--ink);
  white-space: nowrap;
}

.compare-label.dark {
  color: var(--green-dark);
}

.compare-brand {
  width: 166px;
  height: 34px;
  object-fit: contain;
}

.compare-book {
  position: absolute;
  top: 133px;
  left: 50%;
  width: 279px;
  margin: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 28px rgba(34, 36, 22, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

/*
 * Both features blocks anchored at the same top offset so their titles
 * always align at identical Y on both sides regardless of pill height.
 * top: 323px keeps them just below the book (book bottom ≈ 287px).
 */
.compare-features {
  position: absolute;
  left: 24px;
  right: 20px;
  top: 323px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.compare-features-title {
  flex-shrink: 0;
  margin: 0 0 10px;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.25;
  color: var(--ink);
}

.compare-features--after .compare-features-title {
  color: var(--green-dark);
}

.compare-features ul {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.compare-features li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 10px 4px 6px;
  border-radius: 17px;
  font-size: clamp(11px, 0.85vw, 13px);
  line-height: 1.25;
  color: var(--ink);
}

.compare-features--before li {
  background: rgba(111, 111, 102, 0.4);
}

.compare-features--after li {
  background: rgba(70, 151, 0, 0.4);
}

.icon-x,
.icon-check {
  position: relative;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(62, 62, 56, 0.55);
}

.icon-x::before,
.icon-check::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #f9f9f9;
}

.icon-x::before {
  content: "×";
}

.icon-check {
  background: rgba(37, 79, 0, 0.75);
}

.icon-check::before {
  content: "✓";
  font-size: 10px;
}

/*
 * Compact / expanded states, driven by JS as the split moves past ~35% on
 * either side. Header + pills always disappear together (never partially
 * cut off), and the side that gains room shows a larger book with the
 * three pills laid out in a row instead of stacked.
 */
.compare-header,
.compare-features {
  transition: opacity 200ms var(--ease);
}

.compare-book {
  transition: transform 260ms var(--ease);
}

.compare-side.is-compact .compare-header,
.compare-side.is-compact .compare-features {
  opacity: 0;
  pointer-events: none;
}

.compare-side.is-expanded .compare-book {
  transform: translateX(-50%) scale(1.16);
}

.compare-side.is-expanded .compare-features {
  left: 24px;
  right: 24px;
}

.compare-side.is-expanded .compare-features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.compare-side.is-expanded .compare-features li {
  flex: 0 1 auto;
}

/*
 * Container queries: scale compare internals when the card column is
 * narrower than the 710px design width. Two breakpoints cover the range
 * from 1440px (card ≈ 650px) down to 1024px (card ≈ 460px).
 */

/* Medium screens: card 500–650px → proportional 75% scale */
@container compare-card (max-width: 650px) {
  .compare-frame { height: 455px; }
  .compare-header { top: 26px; }
  .compare-label { font-size: 23px; }
  .compare-brand { width: 137px; height: 28px; }
  .compare-book { top: 113px; width: 237px; }
  .compare-features { top: 274px; }
}

/* Small screens: card ≤ 500px → proportional 67% scale */
@container compare-card (max-width: 500px) {
  .compare-frame { height: 400px; }
  .compare-header { top: 22px; }
  .compare-label { font-size: 19px; }
  .compare-brand { width: 112px; height: 23px; }
  .compare-book { top: 98px; width: 195px; }
  /* Move features higher (book bottom ≈ 192px) for more pill room */
  .compare-features { top: 200px; bottom: 12px; left: 16px; right: 12px; }
  .compare-features-title { font-size: 10px; margin-bottom: 6px; }
  .compare-features ul { gap: 5px; }
  .compare-features li { font-size: 10px; padding: 3px 8px 3px 5px; gap: 5px; }
  .icon-x, .icon-check { width: 13px; height: 13px; }
  .icon-x::before, .icon-check::before { font-size: 9px; }
}

.compare-line {
  position: absolute;
  inset: 0 auto 0 var(--split);
  z-index: 4;
  width: 1px;
  background: rgba(30, 34, 15, 0.22);
  transform: translateX(-50%);
}

/* Figma: ellipse 119px, avatar 71px, chevrons on both sides */
.compare-handle {
  position: absolute;
  z-index: 5;
  top: 28%;
  left: var(--split);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 119px;
  height: 119px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: white;
  background: rgba(37, 79, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 18px 44px rgba(29, 39, 12, 0.2);
  transform: translate(-50%, -50%);
  cursor: grab;
}

.compare-handle:active {
  cursor: grabbing;
}

.compare-handle img {
  width: 71px;
  height: 71px;
  border-radius: 50%;
  object-fit: cover;
  /* Prevent native image drag from hijacking pointer capture mid-drag */
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.compare-handle .chev {
  font-size: 30px;
  line-height: 1;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.compare-handle-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
}

.compare-tap-hint {
  display: none;
}

/* ── Solution sticky scroll ── */
.solution-scroll {
  background: var(--green-light) url("/assets/figma/solution-bg.svg") center / cover;
  overflow-x: visible;
  overflow-y: clip;
}

.solution-track {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(480px, 1fr);
  gap: clamp(40px, 5vw, 80px);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  overflow: visible;
}

.solution-track > * {
  min-width: 0;
}

.solution-copy {
  position: sticky;
  top: 108px;
  align-self: start;
  padding: 108px 0 0;
  height: fit-content;
}

.solution-copy h2 {
  max-width: 620px;
  margin-bottom: 24px;
}

.solution-copy p {
  max-width: 590px;
  margin: 0 0 16px;
}

/*
 * The five cards arrive within 2.5 viewports. Keep only a short final
 * pause afterwards so the transition to the products section stays natural.
 */
.solution-panels {
  position: relative;
  height: calc(4 * var(--panel-h));
  overflow: visible;
}

/*
 * Single sticky stage — stays at top:0 for the whole scroll range.
 * All 5 cards live here; JS drives each card's translateY from
 * below the viewport down to its stacked resting position.
 */
.solution-stage {
  position: sticky;
  top: 0;
  height: var(--panel-h);
  overflow: visible;
  padding: 0 12px 0 96px;
  box-sizing: border-box;
  pointer-events: none;
}

/*
 * Shells carry transforms and drop-shadows. Inner cards can be masked
 * without clipping the shadow at the header boundary.
 */
.solution-card-shell {
  position: absolute;
  top: 0;
  right: 12px;
  width: min(558px, calc(100% - 12px));
  pointer-events: auto;
  will-change: transform;
  filter: drop-shadow(-3px -3px 2.5px rgba(0, 0, 0, 0.05));
}

.solution-card-shell[data-card="5"] {
  width: min(711px, calc(100% - 12px));
  filter: drop-shadow(-3px -3px 8.9px rgba(0, 0, 0, 0.11));
}

[data-card="1"] { z-index: 1; }
[data-card="2"] { z-index: 2; }
[data-card="3"] { z-index: 3; }
[data-card="4"] { z-index: 4; }
[data-card="5"] { z-index: 5; }

.solution-card,
.solution-final {
  position: relative;
  width: 100%;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: none;
}

.solution-card.is-header-only,
.solution-final.is-header-only {
  position: relative;
}

.solution-card.is-header-only::after,
.solution-final.is-header-only::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-clip, 104px);
  bottom: 0;
  border-radius: 0 0 10px 10px;
  pointer-events: none;
}

.solution-card.is-header-only::after {
  background: #f9f9f9;
}

.solution-final.is-header-only::after {
  background: #ffd2c4;
}

.solution-card {
  min-height: 236px;
  padding: 24px 30px 30px 80px;
}

.solution-card h3 {
  font-size: 28px;
  margin-bottom: 32px;
  text-align: center;
}

.solution-card p {
  margin: 0;
  font-size: 18px;
  color: var(--green-dark);
}

.solution-icon {
  position: absolute;
  left: 29px;
  top: 30px;
  width: 29px;
  height: 29px;
  display: block;
  object-fit: contain;
}

.solution-final {
  display: grid;
  gap: 32px;
  min-height: 509px;
  padding: 37px 46px 50px;
  background: #ffd2c4;
}

.solution-final-list {
  margin: 0;
  padding: 0 0 0 60px;
  list-style: none;
  display: grid;
  gap: 44px;
}

.solution-final-list li {
  position: relative;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.4;
  color: #4f0000;
  text-wrap: balance;
}

.solution-final-list .solution-icon {
  position: absolute;
  left: -58px;
  top: 8px;
  width: 29px;
  height: 29px;
}

.solution-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}

.solution-final-cta p {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.solution-final-cta .button.solid {
  background: rgba(188, 54, 38, 0.6);
  color: #f9f9f9;
}

/* ── Products sticky scroll ── */
.products-scroll {
  background: var(--cream);
  overflow: clip;
  height: calc(2 * var(--panel-h));
}

.products-track {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1fr);
  gap: clamp(40px, 5vw, 80px);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: 100%;
  min-height: 0;
  overflow: clip;
}

.products-intro {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 80px 0;
  height: fit-content;
}

.products-intro h2 {
  margin-bottom: 20px;
}

.products-intro p {
  max-width: 572px;
}

.portfolio-list {
  display: grid;
  align-content: start;
  gap: 48px;
  padding: 280px 0 160px;
}

.portfolio-card {
  position: relative;
  min-height: 0;
  padding: 24px 32px 26px 36px;
  border-radius: 10px;
}

.portfolio-card.storytellrs {
  background: #ffd2c4;
}

.portfolio-card.storytellrs p {
  color: #4f0000;
}

.portfolio-card.phototales {
  background: #f1d789;
}

.portfolio-card.phototales p {
  color: #361801;
}

.portfolio-card.more {
  min-height: 220px;
  background: url("/assets/figma/more-card-bg.svg") center / cover, #e0ffc4;
}

.portfolio-card.more h3 {
  font-size: 48px;
  margin-top: 8px;
}

.portfolio-card.more p {
  color: var(--green-dark);
  margin-top: 32px;
}

.portfolio-logo {
  display: block;
  width: min(304px, 64%);
  height: auto;
  margin-bottom: 24px;
}

.portfolio-logo.small {
  width: min(204px, 48%);
}

.portfolio-cta {
  position: absolute;
  top: 34px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 30px;
  color: #f9f9f9;
  font-size: 20px;
  text-decoration: none;
}

.portfolio-card.storytellrs .portfolio-cta {
  background: rgba(188, 54, 38, 0.6);
  color: #f9f9f9;
}

.portfolio-card.phototales .portfolio-cta {
  background: rgba(221, 102, 48, 0.68);
  color: #f9f9f9;
}

.portfolio-card.more .portfolio-cta {
  background: rgba(37, 79, 0, 0.6);
}

.portfolio-card p {
  max-width: 401px;
  font-size: 18px;
  margin: 0 0 16px;
}

.portfolio-card ul {
  display: grid;
  gap: 4px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  list-style: none;
}

.portfolio-card li::before {
  content: "→ ";
}

/* ── Scale sticky scroll ── */
.scale-scroll {
  background: var(--green-light);
  overflow: clip;
  height: 1511px;
  min-height: 1511px;
}

.scale-track {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1fr);
  gap: clamp(40px, 5vw, 80px);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-pad) 120px;
  height: 100%;
  min-height: 0;
  overflow: clip;
}

.scale-intro {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 80px;
  height: fit-content;
}

.scale-intro h2 {
  margin-bottom: 20px;
}

.scale-intro p {
  max-width: 589px;
}

.scale-cards {
  display: grid;
  gap: 113px;
  padding-top: 251px;
}

.scale-cards article {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px 100px;
  align-content: center;
  min-height: 261px;
  padding: 48px 40px 48px 47px;
  border-radius: 10px;
  background: #f9f9f9;
}

.scale-cards strong {
  grid-column: 1;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.02;
}

.scale-metric {
  grid-column: 1;
  color: var(--green-dark);
  font-size: 20px;
  text-wrap: balance;
}

.scale-cards article p {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  max-width: 321px;
  margin: 0;
  font-size: 18px;
}

.scale-cards article p em {
  font-style: normal;
  font-weight: 500;
  color: var(--green-dark);
}

.page-dots {
  display: none;
}

/* ── Contact (full-bleed video, pill form) ── */
.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 346px;
  gap: clamp(56px, 8vw, 140px);
  align-items: start;
  min-height: var(--panel-h);
  height: var(--panel-h);
  padding: 168px var(--page-pad) 100px;
  background-color: var(--cream);
  background-position: center;
  background-size: cover;
  overflow: clip;
  isolation: isolate;
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  margin-bottom: 24px;
  color: #4f0000;
}

.contact-copy p {
  max-width: 537px;
  margin: 0 0 8px;
}

.contact-form {
  display: grid;
  gap: 17px;
  padding-top: 364px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 19.5px;
  padding: 10px 21px;
  background: rgba(255, 210, 196, 0.64);
  color: #4f0000;
  font: 15px var(--sans);
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234f0000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
  cursor: pointer;
}

.contact-form select:invalid {
  color: var(--muted);
}

.contact-form textarea {
  min-height: 88px;
  border-radius: 22px;
  padding-top: 12px;
  line-height: 1.4;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 1px solid #4f0000;
}

.contact-form-status {
  margin: 0;
  font: 14px/1.4 var(--sans);
  color: #4f0000;
}

.contact-form-status[data-state="error"] {
  color: #8a1a1a;
}

.contact-form .button {
  justify-self: end;
  min-width: 121px;
  min-height: 49px;
  margin-top: 22px;
  background: rgba(255, 210, 196, 0.64);
  color: #4f0000;
  font-size: 15px;
}

.contact-form .button:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* ── Story ── */
.story-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.72fr) minmax(520px, 1fr);
  gap: clamp(56px, 8vw, 130px);
  align-items: center;
  min-height: var(--panel-h);
  padding: 150px 0 150px var(--page-pad);
  background: var(--green-dark);
  color: white;
  overflow: hidden;
}

.story-section h2 {
  color: #e0ffc4;
  margin-bottom: 38px;
}

.story-section p {
  color: #f9f9f9;
  font-size: 18px;
  max-width: 587px;
  margin: 0 0 16px;
}

.story-carousel {
  position: relative;
  min-width: 0;
}

.story-carousel-track {
  display: flex;
  gap: 46px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.story-carousel-track::-webkit-scrollbar {
  display: none;
}

.story-carousel-track img {
  flex: 0 0 min(710px, 90%);
  height: 521px;
  object-fit: cover;
  border-radius: 10px;
  scroll-snap-align: start;
}

.story-carousel .page-dots {
  display: flex;
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  gap: 8px;
  width: fit-content;
  margin: 0;
  padding: 8px 12px;
  border-radius: 50px;
  transform: translateX(-50%);
  background: rgba(106, 111, 102, 0.44);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.story-carousel .page-dots span {
  background: #e0ffc4;
}

.story-carousel .page-dots button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.story-carousel .page-dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0ffc4;
  opacity: 0.35;
}

.story-carousel .page-dots button.is-active::before {
  opacity: 1;
}

/* ── Desktop refinements ── */
/* Keep these adjustments scoped away from the mobile composition below. */
@media (min-width: 901px) {
  .products-intro .section-kicker,
  .scale-intro .section-kicker {
    display: none;
  }

  .solution-scroll {
    overflow: visible;
  }

  .solution-track,
  .solution-panels,
  .solution-stage {
    overflow: visible;
  }


  .products-track {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
  }

  .portfolio-logo {
    width: min(304px, 64%);
    height: 87px;
    object-fit: contain;
    object-position: left center;
  }

  .portfolio-logo.small {
    width: min(204px, 48%);
    height: 62px;
  }

  .contact-form {
    padding-top: 300px;
  }

  .story-carousel-track img {
    /* Leave the next slide peeking into the viewport, as in the desktop
       prototype, while keeping the track fluid on narrower laptops. */
    flex-basis: calc(100% - 140px);
    min-width: 0;
    max-width: none;
  }
}

/* ── FAQ ── */
.faq-section {
  background: var(--cream);
  padding: 120px var(--page-pad) 150px;
  height: calc(2 * var(--panel-h));
  min-height: calc(2 * var(--panel-h));
  overflow: clip;
}

.faq-scroll {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1fr);
  gap: clamp(54px, 7vw, 110px);
  max-width: var(--content-max);
  margin: 0 auto;
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
}

.faq-intro h2 {
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  gap: 42px;
}

.faq-list details {
  padding: 20px 35px 16px;
  border-radius: 10px;
  background: #f1d789;
  color: var(--green-dark);
}

.faq-list summary {
  cursor: pointer;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  padding: 10px 0;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 12px 0 20px;
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.45;
}

.still-questions {
  border-radius: 10px;
  padding: 36px 35px;
  background: #f1d789;
  color: var(--green-dark);
}

.still-questions h3 {
  color: var(--green-dark);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 20px;
}

.still-questions p {
  color: var(--green-dark);
  font-size: 18px;
  max-width: 625px;
  margin: 0;
}

/* ── Final CTA (full-bleed footer video) ── */
.final-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: var(--panel-h);
  overflow: hidden;
  background-color: var(--green-light);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.final-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.final-card {
  width: min(497px, calc(100vw - 44px));
  min-height: 313px;
  padding: 33px 26px 43px;
  border-radius: 19.5px;
  background: rgba(224, 255, 196, 0.46);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  text-align: center;
}

.final-card .brand {
  justify-content: center;
  margin-bottom: 46px;
}

.final-card .brand img {
  width: 180px;
  height: 37px;
}

.final-card h2 {
  max-width: 445px;
  margin: 0 auto;
  font-size: 36px;
  line-height: 0.95;
}

.final-actions {
  display: flex;
  gap: 28px;
}

/* ── Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Panel sections stay visible — opacity:0 on tall blocks caused white void while scrolling */
main > section[data-reveal] {
  opacity: 1;
  transform: none;
}

.hero[data-reveal],
.hero .hero-content[data-reveal] {
  opacity: 1;
  transform: none;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  :root {
    --panel-h: 100svh;
    --viewport-h: 100svh;
  }

  @supports (height: 100dvh) {
    :root {
      --panel-h: 100dvh;
      --viewport-h: 100dvh;
    }
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: var(--viewport-h);
    height: auto;
    overflow: hidden;
    background-color: #469700;
    background-image: url("/assets/figma/hero-graphic-mobile.webp");
  }

  /* Brighter hero on mobile — closer to Figma expected tones */
  .hero::after {
    background: rgba(21, 44, 0, 0.1);
  }

  .hero .bg-video {
    filter: brightness(1) saturate(1.2);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 274px);
    min-height: var(--viewport-h);
    margin: 0 auto;
    padding:
      calc(77px + var(--safe-top))
      0
      calc(96px + var(--safe-bottom));
    gap: 0;
    text-align: center;
  }

  .brand {
    display: block;
    margin-bottom: 0;
  }

  .brand img {
    width: 166px;
    height: 34px;
    margin: 0 auto;
  }

  h1 {
    max-width: 274px;
    margin: clamp(64px, 20svh, 206px) auto 0;
    font-size: 40px;
    line-height: 0.95;
  }

  .hero p {
    max-width: 267px;
    margin: 24px auto 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-actions {
    display: grid;
    justify-items: center;
    gap: 19px;
    margin-top: auto;
    padding-top: clamp(32px, 10svh, 79px);
  }

  .button {
    min-height: 28px;
    padding-inline: 18px;
    font-size: 12px;
    border-radius: 35px;
  }

  .dock-nav-wrap {
    display: none;
  }

  /* Figma mobile nav: 51×36, 28px from bottom, 20px from right */
  .mobile-menu-toggle {
    position: fixed;
    z-index: 250;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(28px + var(--safe-bottom));
    top: auto;
    display: grid;
    place-items: center;
    gap: 3.5px;
    width: 51px;
    height: 36px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 0;
    border-radius: 999px;
    background: rgba(37, 79, 0, 0.6);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-toggle span {
    width: 100%;
    max-width: 11px;
    height: 1.5px;
    border-radius: 1px;
    background: #fff;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 249;
    right: 20px;
    bottom: 76px;
    display: grid;
    min-width: 210px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(37, 79, 0, 0.9);
    color: white;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 14px 18px;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 12px;
  }

  .problem-section {
    position: relative;
    display: block;
    height: auto;
    min-height: var(--panel-h);
    padding: 72px 20px;
    overflow: visible;
  }

  .problem-heading {
    gap: 24px;
  }

  .problem-copy h2,
  .problem-lead,
  .problem-subhead {
    font-size: 40px;
  }

  .problem-copy p {
    margin-top: 24px;
    font-size: 12px;
  }

  .compare-card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: block;
    margin-top: 36px;
  }

  .compare-frame {
    height: 305px;
    min-height: 305px;
    width: 100%;
    cursor: pointer;
    touch-action: manipulation;
    background: #d9d9d9;
  }

  .compare-before {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }

  .compare-after {
    display: none;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }

  .compare-side {
    padding: 0;
  }

  .compare-before .compare-header,
  .compare-after .compare-header {
    top: 17px;
    left: 13px;
    right: auto;
    width: 72px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    transform: none;
  }

  .compare-label {
    max-width: none;
    font-size: 12px;
    line-height: 0.95;
    text-align: left;
    white-space: normal;
  }

  .compare-brand {
    width: 72px;
    height: 15px;
    object-fit: contain;
    object-position: left center;
  }

  .compare-book,
  .compare-side.is-expanded .compare-book {
    top: 10px;
    left: clamp(65px, 19.7vw, 77px);
    width: min(267px, calc(100% - 72px));
    margin: 0;
    transform: none;
  }

  .compare-features {
    top: 167px;
    right: 0;
    bottom: 12px;
    left: clamp(65px, 19.7vw, 77px);
    display: flex;
    padding: 0;
  }

  .compare-features-title {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1;
    text-align: center;
  }

  .compare-features ul {
    gap: 6px;
  }

  .compare-features li {
    font-size: 12px;
    padding: 3px 8px 3px 5px;
    gap: 5px;
    line-height: 1.15;
  }

  .compare-line,
  .compare-handle-desktop {
    display: none;
  }

  .compare-handle {
    top: 92px;
    right: auto;
    bottom: auto;
    left: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    cursor: pointer;
    pointer-events: none;
  }

  .compare-tap-hint {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(210, 210, 210, 0.88);
    box-shadow: 0 6px 16px rgba(29, 39, 12, 0.1);
    animation: compare-tap-bounce 1.5s ease-in-out infinite;
  }

  @keyframes compare-tap-bounce {
    0%, 100% {
      transform: translateY(0) scale(1);
    }

    50% {
      transform: translateY(4px) scale(0.94);
    }
  }

  .compare-frame.is-mobile-after {
    background: var(--green-light);
  }

  .compare-frame.is-mobile-after .compare-before {
    display: none;
  }

  .compare-frame.is-mobile-after .compare-after {
    display: block;
    background: var(--green-light);
  }

  .compare-frame.is-mobile-after .compare-after .compare-header {
    top: 17px;
    left: 13px;
    width: 72px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .solution-track {
    position: relative;
    display: block;
    height: auto;
    padding: 0 20px;
    overflow: visible;
  }

  .solution-scroll {
    position: relative;
    height: auto;
    padding-bottom: 80px;
    overflow: visible;
    background: var(--green-light) url("/assets/figma/solution-bg.svg") center / cover;
  }

  .solution-scroll::before {
    display: none;
  }

  .solution-copy {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 48px 0 12px;
    background: var(--green-light);
  }

  .solution-copy h2 {
    font-size: 40px;
  }

  .solution-copy p {
    font-size: 12px;
    max-width: 362px;
  }

  .solution-copy p:last-child {
    margin-bottom: 0;
  }

  .solution-panels {
    position: relative;
    inset: auto;
    z-index: 1;
    width: 100%;
    height: 1760px;
    margin-top: 0;
    pointer-events: none;
    overflow: visible;
  }

  .solution-stage {
    position: sticky;
    top: var(--solution-sticky-top, 220px);
    height: calc(100svh - var(--solution-sticky-top, 220px));
    max-height: 520px;
    padding: 0 0 18px;
    overflow: hidden;
    pointer-events: none;
    box-sizing: border-box;
  }

  .solution-card-shell {
    left: 14px;
    right: 14px;
    width: auto;
    z-index: 1;
    filter: drop-shadow(-3px -3px 2.5px rgba(0, 0, 0, 0.05));
  }

  .solution-card-shell[data-card="2"] { z-index: 2; }
  .solution-card-shell[data-card="3"] { z-index: 3; }
  .solution-card-shell[data-card="4"] { z-index: 4; }
  .solution-card-shell[data-card="5"] {
    width: auto;
    z-index: 5;
    filter: drop-shadow(-3px -3px 8.9px rgba(0, 0, 0, 0.11));
  }

  .solution-card,
  .solution-final {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    margin: 0;
    opacity: 1;
    transition: none;
  }

  .solution-card {
    min-height: 156px;
    padding: 20px 22px 20px 54px;
  }

  .solution-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    text-align: left;
  }

  .solution-card p {
    max-width: none;
    margin: 0;
    font-size: 12px;
    text-align: left;
  }

  .solution-icon {
    left: 16px;
    top: 18px;
    width: 20px;
    height: 20px;
  }

  .solution-final {
    min-height: 336px;
    padding: 25px 30px 30px 40px;
    background: #ffd2c4;
  }

  .solution-final-list {
    gap: 25px;
    padding-left: 42px;
  }

  .solution-final-list li {
    font-size: 18px;
    line-height: 1.4;
  }

  .solution-final-list .solution-icon {
    left: -42px;
    top: 2px;
    width: 20px;
    height: 20px;
  }

  .solution-final-cta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .solution-final-cta p {
    font-size: 12px;
  }

  .solution-final-cta .button {
    justify-self: start;
    min-height: 28px;
    font-size: 12px;
  }

  .products-track {
    position: relative;
    display: block;
    height: 100%;
    min-height: 0;
    padding: 0 20px;
  }

  .products-intro .section-kicker,
  .scale-intro .section-kicker {
    display: none;
  }

  .products-scroll {
    height: auto;
    min-height: auto;
  }

  .products-intro {
    position: relative;
    top: auto;
    padding: 75px 0 0;
  }

  .products-intro h2 {
    font-size: 40px;
    max-width: 349px;
  }

  .products-intro p {
    font-size: 12px;
    max-width: 362px;
    margin-bottom: 0;
  }

  .portfolio-list {
    gap: 32px;
    padding: 45px 0 80px;
  }

  .portfolio-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-items: start;
    column-gap: 12px;
    row-gap: 0;
    height: auto;
    min-height: 0;
    padding: 17px 18px 20px;
    overflow: visible;
  }

  .portfolio-card.more {
    height: auto;
    min-height: 0;
  }

  .portfolio-logo,
  .portfolio-logo.small {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    max-width: 154px;
    height: auto;
    max-height: 45px;
    margin: 0 0 24px;
    object-fit: contain;
    object-position: left center;
  }

  .portfolio-logo.small {
    max-width: 82px;
    max-height: 25px;
  }

  .portfolio-card.more h3 {
    grid-column: 1;
    grid-row: 1;
    font-size: 18px;
    margin: 0 0 24px;
  }

  .portfolio-cta {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    top: auto;
    right: auto;
    padding: 7px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .portfolio-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    font-size: 12px;
    margin: 0 0 0;
  }

  .portfolio-card ul {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 30px;
    font-size: 10px;
    line-height: 1.45;
  }

  .portfolio-card.more p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }

  .scale-scroll {
    height: var(--panel-h);
    min-height: var(--panel-h);
  }

  .scale-track {
    display: block;
    height: 100%;
    min-height: 0;
    padding: 0 0 40px;
  }

  .scale-intro {
    position: relative;
    top: auto;
    padding: 75px 20px 0;
  }

  .scale-intro h2 {
    font-size: 40px;
    max-width: 349px;
  }

  .scale-intro p {
    font-size: 12px;
  }

  .scale-cards {
    display: flex;
    gap: 20px;
    padding: 45px 20px 0;
    overflow-x: auto;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .scale-cards::-webkit-scrollbar {
    display: none;
  }

  .scale-cards article {
    flex: 0 0 267px;
    display: block;
    min-height: 455px;
    scroll-snap-align: start;
    padding: 47px 31px;
  }

  .scale-cards strong {
    display: block;
    font-size: 36px;
    line-height: 0.95;
    margin-bottom: 10px;
  }

  .scale-metric {
    display: block;
    font-size: 12px;
    line-height: 20px;
  }

  .scale-cards article p {
    max-width: 206px;
    margin-top: 96px;
    font-size: 12px;
  }

  .page-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 34px auto 0;
    padding: 8px 12px;
    border-radius: 50px;
    background: rgba(70, 151, 0, 0.44);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: fit-content;
  }

  .page-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-dark);
    opacity: 0.3;
  }

  .page-dots span.is-active {
    opacity: 1;
  }

  .contact-panel {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    padding: 68px 20px calc(48px + var(--safe-bottom));
    min-height: 0;
    gap: 28px;
    overflow: hidden;
    align-content: start;
  }

  .contact-copy h2 {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .contact-copy p {
    font-size: 14px;
    line-height: 1.45;
  }

  /* Full-width stacked form — same pill language, usable tap targets */
  .contact-form {
    width: 100%;
    max-width: 420px;
    margin-left: 0;
    padding-top: 8px;
    gap: 12px;
  }

  .contact-form-row {
    display: contents;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 16px; /* avoid iOS input zoom */
    border-radius: 24px;
  }

  .contact-form select {
    padding-right: 42px;
  }

  .contact-form textarea {
    min-height: 110px;
    border-radius: 24px;
  }

  .contact-form .button,
  .contact-form .button.pill-light {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin-top: 8px;
    padding: 0 18px;
    font-size: 15px;
    color: #4f0000;
    background: rgba(255, 210, 196, 0.92);
  }

  .story-section {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    min-height: var(--panel-h);
    padding: 68px 0 100px;
    align-content: start;
    overflow: visible;
  }

  .story-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    padding: 0 20px;
  }

  .story-section p {
    font-size: 12px;
    line-height: 1.15;
    max-width: 362px;
    margin-bottom: 10px;
    padding: 0 20px;
  }

  .story-carousel {
    margin-top: 28px;
  }

  .story-carousel-track {
    gap: 19px;
    padding: 0 20px;
    scroll-padding-inline: 20px;
  }

  .story-carousel-track img {
    flex: 0 0 311px;
    width: 311px;
    min-width: 311px;
    max-width: 311px;
    height: 303px;
    scroll-snap-align: start;
  }

  .story-carousel .page-dots {
    display: flex;
    position: static;
    transform: none;
    margin: 24px auto 0;
    padding: 7px 14px;
    border-radius: 50px;
    background: rgba(106, 111, 102, 0.44);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: fit-content;
  }

  .story-carousel .page-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0ffc4;
    opacity: 0.35;
  }

  .story-carousel .page-dots span.is-active {
    opacity: 1;
  }

  .faq-section {
    height: auto;
    min-height: 934px;
    padding: 75px 20px;
    overflow: visible;
  }

  .faq-scroll {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .faq-intro {
    position: relative;
    top: auto;
  }

  .faq-intro h2 {
    font-size: 40px;
    max-width: 349px;
  }

  .faq-list {
    gap: 28px;
  }

  .faq-list details {
    padding: 4px 24px 6px;
    min-height: 48px;
  }

  .faq-list summary {
    font-size: 20px;
    color: var(--green-dark);
    padding: 10px 0;
  }

  .faq-list p {
    font-size: 12px;
    margin: 4px 0 12px;
  }

  .still-questions {
    height: 48px;
    min-height: 48px;
    padding: 14px 24px 18px;
    overflow: hidden;
  }

  .still-questions h3 {
    font-size: 20px;
    color: var(--green-dark);
    margin-bottom: 10px;
  }

  .still-questions p {
    display: none;
  }

  .final-cta {
    height: var(--panel-h);
    min-height: var(--panel-h);
  }

  .final-card {
    width: min(339px, calc(100vw - 40px));
    min-height: 360px;
    padding: 21px 28px 40px;
  }

  .final-card .brand {
    justify-content: flex-start;
    margin-bottom: 36px;
  }

  .final-card h2 {
    max-width: 274px;
    margin: 0;
    font-size: 36px;
    text-align: left;
  }

  .final-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    width: min(339px, calc(100vw - 40px));
  }

  .button.pill-light {
    min-height: 29px;
    padding: 0 18px;
    font-size: 12px;
    color: var(--green-dark);
  }
}

/* ── Portrait-phone video rotation ──
   Flip landscape bg-videos 180° on portrait mobile so the Figma mobile comp
   alignment is preserved and the coloured outer rings stay in frame. */
@media (max-width: 900px) and (orientation: portrait) {
  .hero .bg-video,
  .contact-panel .bg-video,
  .final-cta .bg-video {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 100svh;
    height: 100vw;
    max-width: none;
    max-height: none;
    object-fit: cover;
    transform: translate(-50%, -50%) rotate(90deg) rotate(180deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .bg-video {
    display: none;
  }

  .contact-panel {
    background-image: url("/assets/figma/contact-graphic.webp");
  }

  .final-cta {
    background-image: url("/assets/figma/footer-graphic.webp");
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .contact-panel {
    background-image: url("/assets/figma/contact-graphic-mobile.webp");
  }

  .final-cta {
    background-image: url("/assets/figma/footer-graphic-mobile.webp");
  }
}
