/* ============================================================================
   AIRAGRI — Design System v2
   Warm, image-forward, optimistic. Direction: Tesla (solar) × Altana.
   Colour is locked: brand green #0D3825 and warm white/cream only.
   Sections opt into a light (warm paper) or dark (over-image) theme.
   ========================================================================== */

:root {
  /* --- Brand ------------------------------------------------------------- */
  --green: #0D3825;          /* the only green */
  --green-rgb: 13, 56, 37;
  --cream: #F5F1E9;          /* warm white / paper */
  --cream-rgb: 245, 241, 233;
  --charcoal: #16140F;       /* warm near-black */
  --ink: #1B1813;            /* text on light */
  --ink-soft: #5E5749;       /* muted warm grey on light */

  /* --- Type -------------------------------------------------------------- */
  --display: "Space Grotesk", -apple-system, system-ui, sans-serif;
  --body: "Inter", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* --- Layout ------------------------------------------------------------ */
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1280px;
  --bar-h: 74px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* --- Default (LIGHT / warm) theme tokens ------------------------------- */
  --bg: var(--cream);
  --bg-2: #ECE5D7;
  --text: var(--ink);
  --muted: var(--ink-soft);
  --accent: var(--green);
  --line: rgba(var(--green-rgb), .14);
  --line-strong: rgba(var(--green-rgb), .30);
  --btn-bg: var(--green);
  --btn-text: var(--cream);
  --field-bg: #FFFFFF;
}

/* --- LIGHT theme (explicit — resets tokens back to warm paper even inside a
       dark ancestor, e.g. a form card on an image panel) -------------------- */
.theme-light {
  --bg: var(--cream);
  --bg-2: #ECE5D7;
  --text: var(--ink);
  --muted: var(--ink-soft);
  --accent: var(--green);
  --line: rgba(var(--green-rgb), .14);
  --line-strong: rgba(var(--green-rgb), .30);
  --btn-bg: var(--green);
  --btn-text: var(--cream);
  --field-bg: #FFFFFF;
}

/* --- DARK theme (over images / charcoal sections) ------------------------ */
.theme-dark {
  --bg: var(--charcoal);
  --bg-2: #1F1C15;
  --text: var(--cream);
  --muted: rgba(var(--cream-rgb), .68);
  --accent: var(--cream);
  --line: rgba(var(--cream-rgb), .18);
  --line-strong: rgba(var(--cream-rgb), .36);
  --btn-bg: var(--cream);
  --btn-text: var(--green);
  --field-bg: rgba(var(--cream-rgb), .06);
}

/* ----------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--cream); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body { font-family: var(--body); background: var(--cream); color: var(--ink); line-height: 1.7; font-size: 1rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--green); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* --------------------------------------------------------------- layout -- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { background: var(--bg); color: var(--text); padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.band { --bg: var(--bg-2); }

/* --------------------------------------------------------------- type ---- */
.kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: .7; }
.kicker.kicker--nodash::before { display: none; }

.display-1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 1.03; letter-spacing: -.022em; }
.display-2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.07; letter-spacing: -.018em; }
.display-3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.45rem, 2.3vw, 1.95rem); line-height: 1.14; letter-spacing: -.01em; }
.lead { font-size: clamp(1.075rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.body-muted { color: var(--muted); }
.measure { max-width: 58ch; }
.em { color: var(--accent); }

.stat { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1; color: var(--text); letter-spacing: -.02em; }
.stat-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------- buttons - */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.7rem; font-family: var(--mono); font-size: .73rem; letter-spacing: .15em; text-transform: uppercase; border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-text); border-radius: 3px; transition: opacity .3s ease, background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover { opacity: .88; }
.btn:hover .arr { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.btn--ghost:hover { opacity: 1; border-color: var(--accent); background: rgba(var(--green-rgb), .05); }
.theme-dark .btn--ghost:hover { background: rgba(var(--cream-rgb), .08); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); transition: opacity .3s ease; }
.link-arrow .arr { transition: transform .3s var(--ease); }
.link-arrow:hover { opacity: .7; }
.link-arrow:hover .arr { transform: translateX(4px); }

/* --------------------------------------------------------------- topbar -- */
/* The bar floats over a dark image hero (cream text) and turns into a warm
   cream bar on scroll (green logo, ink links). */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--bar-h); display: flex; align-items: center; transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease; border-bottom: 1px solid transparent; color: var(--cream); }
.topbar.is-scrolled { background: rgba(var(--cream-rgb), .9); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom-color: rgba(var(--green-rgb), .12); color: var(--ink); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; }
.brand .logo { height: 26px; width: auto; }
.brand .logo--green { display: none; }
.topbar.is-scrolled .logo--white { display: none; }
.topbar.is-scrolled .logo--green { display: block; }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links > a, .nav-trigger { font-size: .9rem; color: currentColor; opacity: .82; position: relative; transition: opacity .3s ease; }
.nav-links > a::after, .nav-trigger::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links > a:hover, .nav-trigger:hover { opacity: 1; }
.nav-links > a:hover::after, .nav-trigger:hover::after, .nav-links [aria-current="page"]::after { transform: scaleX(1); }
.nav-links [aria-current="page"] { opacity: 1; }

/* dropdown triggers + Altana-style full-width mega menu */
.nav-item { position: static; display: flex; align-items: center; }
.nav-trigger { display: inline-flex; align-items: center; gap: .42rem; cursor: pointer; }
.caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); opacity: .75; }
.nav-item.open .caret, .nav-item:focus-within .caret { transform: rotate(225deg) translateY(-1px); }

.mega { position: fixed; left: 0; right: 0; top: var(--bar-h); z-index: 95; background: var(--charcoal); color: var(--cream); border-top: 1px solid rgba(var(--cream-rgb), .10); box-shadow: 0 50px 90px -40px rgba(0,0,0,.7); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s; }
.nav-item.open > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: 300px 1fr; gap: 3.5rem; padding-block: 2.5rem 2.8rem; align-items: start; }
.mega-eyebrow { font-family: var(--mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(var(--cream-rgb), .5); margin-bottom: 1rem; }
.mega-title { font-family: var(--display); font-weight: 500; font-size: 1.55rem; line-height: 1.08; letter-spacing: -.01em; color: var(--cream); margin-bottom: .8rem; }
.mega-blurb { color: rgba(var(--cream-rgb), .62); font-size: .92rem; line-height: 1.55; margin-bottom: 1.4rem; max-width: 32ch; }
.mega-intro .link-arrow { color: var(--cream); opacity: .9; }
.mega-intro .link-arrow:hover { opacity: 1; }
.mega-grid { display: grid; gap: .15rem; }
.mega-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mega-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mega-item { display: flex; gap: .85rem; align-items: flex-start; padding: .7rem .85rem; border-radius: 10px; transition: background .2s ease; }
.mega-item:hover { background: rgba(var(--cream-rgb), .06); }
.mega-ic { flex: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid rgba(var(--cream-rgb), .16); display: grid; place-items: center; color: var(--cream); }
.mega-ic svg { width: 18px; height: 18px; }
.mega-it { display: flex; flex-direction: column; gap: .18rem; }
.mega-it b { font-family: var(--display); font-weight: 500; font-size: .95rem; color: var(--cream); }
.mega-it span { font-size: .8rem; color: rgba(var(--cream-rgb), .55); line-height: 1.4; }

.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
/* topbar buttons adapt to the floating (cream-on-dark) vs scrolled (green-on-cream) state */
.topbar .btn { padding: .62rem 1.2rem; font-size: .68rem; }
.topbar .nav-cta-ghost { background: transparent; color: currentColor; border-color: currentColor; opacity: .9; }
.topbar .nav-cta-ghost:hover { opacity: 1; }
.topbar .nav-cta-primary { background: var(--cream); color: var(--green); border-color: var(--cream); }
.topbar.is-scrolled .nav-cta-primary { background: var(--green); color: var(--cream); border-color: var(--green); }

.burger { display: none; width: 30px; height: 30px; position: relative; color: inherit; }
.burger span { position: absolute; left: 3px; right: 3px; height: 1.6px; background: currentColor; transition: transform .35s ease, opacity .25s ease; }
.burger span:nth-child(1) { top: 11px; } .burger span:nth-child(2) { top: 18px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* --------------------------------------------------------- mobile menu --- */
.menu-overlay { position: fixed; inset: 0; z-index: 90; background: var(--charcoal); color: var(--cream); --accent: var(--cream); --btn-bg: var(--cream); --btn-text: var(--green); --line-strong: rgba(var(--cream-rgb), .4); padding: calc(var(--bar-h) + 1.4rem) var(--gutter) 2.5rem; display: flex; flex-direction: column; justify-content: flex-start; gap: .1rem; opacity: 0; visibility: hidden; overflow-y: auto; transition: opacity .4s ease, visibility .4s ease; }
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-scroll { display: flex; flex-direction: column; width: 100%; }
.menu-link { font-family: var(--display); font-weight: 500; font-size: clamp(1.55rem, 6.5vw, 2.2rem); line-height: 1.5; color: var(--cream); display: block; border-top: 1px solid rgba(var(--cream-rgb), .12); padding: .5rem 0; transition: opacity .3s ease; }
.menu-link:hover { opacity: .65; }
.menu-group { border-top: 1px solid rgba(var(--cream-rgb), .12); }
.menu-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 500; font-size: clamp(1.55rem, 6.5vw, 2.2rem); line-height: 1.5; color: var(--cream); padding: .5rem 0; }
.menu-group summary::-webkit-details-marker { display: none; }
.menu-group summary .pm { font-family: var(--mono); font-size: 1.25rem; color: rgba(var(--cream-rgb), .55); transition: transform .3s ease; }
.menu-group[open] summary .pm { transform: rotate(45deg); }
.menu-sub { display: grid; gap: .1rem; padding: .2rem 0 1rem; }
.menu-sub a { display: flex; flex-direction: column; gap: .1rem; padding: .5rem 0; transition: opacity .2s ease; }
.menu-sub a b { font-family: var(--body); font-weight: 600; font-size: 1rem; color: rgba(var(--cream-rgb), .92); }
.menu-sub a span { font-size: .82rem; color: rgba(var(--cream-rgb), .5); line-height: 1.35; }
.menu-sub a:hover { opacity: .7; }
.menu-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.menu-cta .btn { font-size: .76rem; }
.menu-cta .menu-cta-2 { background: transparent; color: var(--cream); border-color: rgba(var(--cream-rgb), .4); }
.menu-foot { margin-top: 2.2rem; font-family: var(--mono); font-size: .76rem; color: rgba(var(--cream-rgb), .6); letter-spacing: .08em; }

/* ---------------------------------------------- full-bleed image panel --- */
.panel { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--cream); --accent: var(--cream); --muted: rgba(var(--cream-rgb), .76); }
.panel--mid { min-height: 86svh; }
.panel--center { align-items: center; text-align: center; }
.panel-media { position: absolute; inset: 0; z-index: -2; }
.panel-media img, .panel-media video { width: 100%; height: 100%; object-fit: cover; }
.panel-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,20,15,.5) 0%, rgba(22,20,15,.05) 22%, rgba(22,20,15,0) 45%, rgba(22,20,15,.55) 76%, rgba(22,20,15,.92) 100%), linear-gradient(90deg, rgba(22,20,15,.7) 0%, rgba(22,20,15,.1) 58%, transparent 100%); }
.panel-scrim--center { background: radial-gradient(120% 90% at 50% 50%, rgba(22,20,15,.35) 0%, rgba(22,20,15,.6) 100%), linear-gradient(180deg, rgba(22,20,15,.4) 0%, transparent 35%, rgba(22,20,15,.6) 100%); }
.panel-inner { width: 100%; padding-block: clamp(3rem, 8vh, 6.5rem); }
.panel-inner.has-bar { padding-top: calc(var(--bar-h) + 2rem); }
.panel h1, .panel h2 { max-width: 17ch; }
.panel--center h1, .panel--center h2 { margin-inline: auto; }
.panel .lead { color: rgba(var(--cream-rgb), .9); }
.panel--center .lead { margin-inline: auto; }

/* --------------------------------------------------------------- hero ---- */
.hero { min-height: 100svh; }
.hero h1 { margin: 1.5rem 0 0; max-width: 16ch; }
.hero .lead { margin-top: 1.5rem; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.3rem; }
.hero-media img { object-position: center 42%; }

.telemetry { margin-top: clamp(2.4rem, 6vh, 3.6rem); border-top: 1px solid rgba(var(--cream-rgb), .2); padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; align-items: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(var(--cream-rgb), .72); }
.telemetry .live { color: var(--cream); display: inline-flex; align-items: center; gap: .5rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 0 rgba(var(--cream-rgb), .6); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,241,233,.5);} 70%{ box-shadow: 0 0 0 9px rgba(245,241,233,0);} 100%{ box-shadow:0 0 0 0 rgba(245,241,233,0);} }

/* --------------------------------------------------- section header ------ */
.sec-head { max-width: 64ch; }
.sec-head .kicker { margin-bottom: 1.3rem; }
.sec-head h2 { margin-bottom: 1.1rem; }
.sec-head--split { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 3rem; } }

/* --------------------------------------------------- stat band ----------- */
.stat-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 2rem; }
@media (min-width: 760px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-item .stat { display: block; }
.stat-item .stat-label { margin-top: .7rem; display: block; max-width: 22ch; }

/* --------------------------------------------------- feature blocks ------ */
.feature-block { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 940px) { .feature-block { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .feature-block.flip .fb-media { order: -1; } }
.fb-media { border-radius: 10px; overflow: hidden; position: relative; box-shadow: 0 40px 100px -50px rgba(0,0,0,.5); }
.fb-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fb-tag { position: absolute; top: 16px; left: 16px; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); background: rgba(22,20,15,.5); backdrop-filter: blur(6px); border: 1px solid rgba(var(--cream-rgb), .25); padding: 5px 10px; border-radius: 3px; }
.feature-block h2, .feature-block h3 { margin-bottom: 1rem; }
.feature-block .idx { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; color: var(--accent); display: block; margin-bottom: 1rem; }
.fb-list { display: grid; gap: .8rem; margin-top: 1.5rem; }
.fb-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); font-size: .96rem; }
.fb-list li .ck { color: var(--accent); flex: none; margin-top: 2px; font-weight: 600; }

/* --------------------------------------------------- step cards (photos) - */
.steps { display: grid; gap: 1.5rem; }
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { display: flex; flex-direction: column; gap: 1rem; }
.step-media { border-radius: 8px; overflow: hidden; position: relative; }
.step-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step .idx { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; color: var(--accent); }
.step h3 { font-family: var(--display); font-weight: 500; font-size: 1.18rem; }
.step p { color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* --------------------------------------------------- feature cards ------- */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--field-bg); border: 1px solid var(--line); border-radius: 10px; padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: .85rem; transition: border-color .3s ease, transform .3s ease; scroll-margin-top: calc(var(--bar-h) + 1.5rem); }
.card:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.theme-dark .card { background: rgba(var(--cream-rgb), .04); }
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card .ic { color: var(--accent); }
.card h3 { font-family: var(--display); font-weight: 500; font-size: 1.12rem; }
.card p { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.card .kicker { margin-bottom: .2rem; }

/* --------------------------------------------------- feature rows -------- */
.feature-rows { display: flex; flex-direction: column; gap: 1.3rem; }
.feature-rows .fr { display: flex; gap: 1.1rem; align-items: flex-start; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.feature-rows .fr:last-child { border-bottom: none; }
.feature-rows .fr .ic { color: var(--accent); flex: none; margin-top: 2px; }
.feature-rows .fr h4 { font-family: var(--display); font-weight: 500; font-size: 1.05rem; margin-bottom: .25rem; }
.feature-rows .fr p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* --------------------------------------------------- showcase grid ------- */
.showcase-grid { display: grid; gap: 2.8rem; align-items: center; }
@media (min-width: 960px) { .showcase-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .showcase-grid.flip .sg-media { order: -1; } }
.sg-media { border-radius: 10px; overflow: hidden; box-shadow: 0 40px 100px -50px rgba(0,0,0,.5); }
.sg-media img { width: 100%; object-fit: cover; }

/* --------------------------------------------------- trust --------------- */
.trust-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.trust-item .ic { color: var(--accent); margin-bottom: .9rem; }
.trust-item h4 { font-family: var(--display); font-weight: 500; font-size: 1rem; margin-bottom: .4rem; }
.trust-item p { color: var(--muted); font-size: .88rem; line-height: 1.55; }

/* --------------------------------------------------- quote --------------- */
.quote blockquote { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.3; letter-spacing: -.01em; color: var(--text); }
.quote blockquote::before { content: "“"; color: var(--accent); }
.quote blockquote::after { content: "”"; color: var(--accent); }
.quote .by { margin-top: 1.5rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

/* --------------------------------------------------- pricing ------------- */
.price-card { border: 1px solid var(--line-strong); background: var(--field-bg); border-radius: 12px; padding: clamp(2rem, 4vw, 3.2rem); position: relative; overflow: hidden; }
.theme-dark .price-card { background: rgba(var(--cream-rgb), .04); }
.price-amount { display: flex; align-items: baseline; gap: .6rem; margin: 1.3rem 0 .4rem; }
.price-amount .num { font-family: var(--mono); font-weight: 500; font-size: clamp(3rem, 7vw, 4.4rem); line-height: 1; color: var(--text); letter-spacing: -.02em; }
.price-amount .per { font-family: var(--mono); font-size: .85rem; color: var(--muted); letter-spacing: .05em; }
.price-list { display: grid; gap: .8rem; margin: 1.8rem 0; }
@media (min-width: 620px) { .price-list--2 { grid-template-columns: 1fr 1fr; } }
.price-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--text); }
.price-list li .ck { color: var(--accent); flex: none; margin-top: 3px; font-weight: 600; }

/* --------------------------------------------------- faq ----------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; gap: 2rem; font-family: var(--display); font-weight: 500; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { color: var(--accent); font-family: var(--mono); transition: transform .3s ease; flex: none; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 0 1.6rem; color: var(--muted); max-width: 64ch; }

/* --------------------------------------------------- forms --------------- */
.form { display: grid; gap: 1.1rem; }
.form .row2 { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-family: var(--mono); font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { background: var(--field-bg); border: 1px solid var(--line-strong); border-radius: 4px; padding: .85rem .95rem; color: var(--text); font-family: var(--body); font-size: .95rem; transition: border-color .3s ease; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field 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'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235E5749' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95rem center; }
.form-note { font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; color: var(--muted); opacity: .85; }
.form-success { display: none; border: 1px solid var(--line-strong); border-radius: 8px; padding: 1.6rem; background: rgba(var(--green-rgb), .05); }
.theme-dark .form-success { background: rgba(var(--cream-rgb), .06); }
.form-success.show { display: block; }
.form-success .hd { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--text); margin-bottom: .5rem; }
.form-success .hd .ck { color: var(--accent); }
.form-success p { color: var(--muted); }
.is-submitted .form { display: none; }

/* --------------------------------------------------- contact ------------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.contact-method { display: flex; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-method:last-child { border-bottom: none; }
.contact-method .ic { color: var(--accent); flex: none; margin-top: 3px; }
.contact-method h4 { font-family: var(--display); font-weight: 500; font-size: 1.05rem; margin-bottom: .2rem; }
.contact-method a, .contact-method p { color: var(--muted); font-size: .95rem; }
.contact-method a:hover { color: var(--accent); }

/* --------------------------------------------------- values -------------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } .split.flip .split-media { order: -1; } }
.split-media { border-radius: 10px; overflow: hidden; box-shadow: 0 40px 100px -50px rgba(0,0,0,.5); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.value-list .v { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.value-list .v:last-child { border-bottom: none; }
.value-list .v .n { font-family: var(--mono); font-size: .75rem; color: var(--accent); letter-spacing: .14em; padding-top: 4px; }
.value-list .v h3 { font-family: var(--display); font-weight: 500; font-size: 1.18rem; margin-bottom: .4rem; }
.value-list .v p { color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------- eyebrow list -------- */
.eyebrow-list { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow-list span { display: inline-flex; align-items: center; gap: .55rem; }
.eyebrow-list span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* --------------------------------------------------- footer -------------- */
.footer { background: var(--charcoal); color: var(--cream); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer .logo { height: 24px; }
.footer h5 { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(var(--cream-rgb), .6); margin-bottom: 1.2rem; }
.footer-col a { display: block; color: rgba(var(--cream-rgb), .78); font-size: .92rem; padding: .32rem 0; transition: color .3s ease; }
.footer-col a:hover { color: var(--cream); }
.footer-brand p { color: rgba(var(--cream-rgb), .72); font-size: .92rem; max-width: 34ch; margin-top: 1.1rem; }
.footer-sub { display: flex; gap: .5rem; margin-top: 1.1rem; }
.footer-sub input { flex: 1; background: rgba(var(--cream-rgb), .06); border: 1px solid rgba(var(--cream-rgb), .18); border-radius: 4px; padding: .7rem .85rem; color: var(--cream); font-size: .9rem; }
.footer-sub input::placeholder { color: rgba(var(--cream-rgb), .5); }
.footer-sub input:focus { outline: none; border-color: var(--cream); }
.footer-sub button { padding: .7rem 1.1rem; background: var(--cream); color: var(--green); border-radius: 4px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; transition: opacity .3s ease; }
.footer-sub button:hover { opacity: .85; }
.footer-base { margin-top: 3.2rem; padding-top: 1.8rem; border-top: 1px solid rgba(var(--cream-rgb), .14); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; color: rgba(var(--cream-rgb), .5); }
.footer-base .flag { color: rgba(var(--cream-rgb), .75); }

/* --------------------------------------------------- closing ------------- */
.closing { text-align: center; }
.closing .display-1 { max-width: 18ch; margin-inline: auto; }
.closing .lead { margin-inline: auto; text-align: center; }
.closing .hero-actions { justify-content: center; }

/* lead-gen form card sitting on a full-bleed image panel */
.lead-card { max-width: 660px; margin: 2.2rem auto 0; background: var(--cream); color: var(--ink); border-radius: 14px; padding: clamp(1.6rem, 4vw, 2.6rem); text-align: left; box-shadow: 0 50px 120px -40px rgba(0,0,0,.6); }

/* legal / prose pages (privacy, terms) */
.wrap--narrow { max-width: 880px; }
.legal-hero { background: var(--charcoal); color: var(--cream); --accent: var(--cream); padding-top: calc(var(--bar-h) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.legal-hero .display-2 { margin-top: 1rem; }
.legal-meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--cream-rgb), .6); margin-top: 1rem; }
.page-legal { background: var(--cream); color: var(--ink); padding-block: clamp(3rem, 6vw, 4.5rem) clamp(4rem, 9vw, 7rem); }
.prose { max-width: 74ch; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2.3vw, 1.65rem); letter-spacing: -.01em; color: var(--ink); margin: 2.6rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--display); font-weight: 500; font-size: 1.12rem; color: var(--ink); margin: 1.8rem 0 .6rem; }
.prose p { color: #403a30; line-height: 1.78; margin: 0 0 1rem; }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.3rem; list-style: disc; }
.prose li { color: #403a30; line-height: 1.7; margin: .4rem 0; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal { display: inline-flex; gap: .7rem; }
.footer-legal a { color: rgba(var(--cream-rgb), .6); transition: color .2s ease; }
.footer-legal a:hover { color: var(--cream); }

/* --------------------------------------------------- utilities ----------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }

/* --------------------------------------------------- reveal -------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------- responsive nav ------ */
@media (max-width: 1024px) {
  .nav-links, .nav-actions .nav-cta { display: none; }
  .burger { display: block; }
}
