/* ============================================================
   RELAY FIELD KIT — v5
   One design language, one pass.

   Rules of the system:
   · Panels are outlined 3px in ink and cast hard offset shadows.
     Shadow tiers: band 8px · panel 6px · card 4px · chip 2px.
   · Radius tiers: band 28px · panel 22px · card 16px · chip 12px.
   · Colour roles:
       paper  — default surface for content
       sage   — secondary surface (checkerboard partner to paper)
       forest — full-width statement bands (intro, teaser, CTA, footer)
       lime   — the accent; one featured element per group, buttons,
                number chips, highlights. Never more than one lime
                card in a grid.
   · Type: Space Grotesk for display, Manrope for body, DM Mono for
     kickers, numbers and small labels.
   · Motion is physical and quick: hovers press into the shadow
     (translate 2px, shadow −2px), reveals are short fades, nothing
     loops except the status dot.
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/assets/fonts/dm-mono-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* ============ TOKENS ============ */
:root {
  --bg:      #eaf1e6;
  --paper:   #f9fcf6;
  --sage:    #e3efda;
  --forest:  #21452b;
  --forest-deep: #182a1d;
  --ink:     #182a1d;
  --ink-2:   #48604e;
  --ink-3:   #64786a;
  --lime:    #b5e779;
  --lime-soft: #d9f2b4;
  --green:   #5c9d4c;
  --green-text: #437637;
  --focus:   #2f6b39;
  --rule:    rgba(24, 42, 29, 0.16);
  --rule-2:  rgba(24, 42, 29, 0.4);
  --stroke:  #182a1d;
  --shadow:  #182a1d;
  --accent-ink: #182a1d;
  --field:   #fffdf8;
  --field-focus: #f2fbe4;

  --display: "Space Grotesk", "Manrope", -apple-system, system-ui, sans-serif;
  --sans:    "Manrope", -apple-system, system-ui, "Segoe UI", sans-serif;
  --mono:    "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-chip:  12px;
  --r-card:  16px;
  --r-panel: 22px;
  --r-band:  28px;

  --sh-2: 2px 2px 0 var(--shadow);
  --sh-4: 4px 4px 0 var(--shadow);
  --sh-6: 6px 6px 0 var(--shadow);
  --sh-8: 8px 8px 0 var(--shadow);

  --pad: clamp(16px, 4vw, 64px);
  --section: clamp(44px, 5.5vw, 78px);
  /* Uniform page rhythm: the gap below the nav and the gap above the
     footer are owned by exactly one element each, on every page. */
  --space-nav: clamp(36px, 3.6vw, 52px);
  --space-footer: clamp(56px, 6vw, 84px);
  /* One visual rail. Padding lives outside it so every bordered panel
     begins and ends on the same line, from the nav to the footer. */
  --canvas: 1680px;
  --reading: 1240px;
  --max: var(--canvas);
  --frame-max: var(--canvas);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 160ms;
  --dur-medium: 420ms;
  --dur-slow: 680ms;
  --press: var(--dur-fast) var(--ease);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg:      #0d1710;
  --paper:   #17251b;
  --sage:    #203523;
  --forest:  #173423;
  --forest-deep: #07100a;
  --ink:     #eff6eb;
  --ink-2:   #c2d1c2;
  --ink-3:   #9cae9e;
  --lime:    #b5e779;
  --lime-soft: #94c861;
  --green:   #9bd46b;
  --green-text: #aee081;
  --focus:   #c6f39f;
  --rule:    rgba(239, 246, 235, 0.14);
  --rule-2:  rgba(239, 246, 235, 0.38);
  --stroke:  #708b75;
  --shadow:  #030804;
  --field:   #101b14;
  --field-focus: #203523;
}

/* ============ RESET + FIELD ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(24, 42, 29, 0.075) 1px, transparent 1.15px),
    radial-gradient(ellipse 56% 34% at 88% 8%, rgba(181, 231, 121, 0.22), transparent 72%),
    radial-gradient(ellipse 44% 28% at 6% 76%, rgba(92, 157, 76, 0.1), transparent 75%);
  background-size: 30px 30px, 100% 100%, 100% 100%;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
}
.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
.site-shell > main { flex: 1 0 auto; }
html[data-theme="dark"] body {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(239, 246, 235, 0.075) 1px, transparent 1.15px),
    radial-gradient(ellipse 56% 34% at 88% 8%, rgba(181, 231, 121, 0.12), transparent 72%),
    radial-gradient(ellipse 44% 28% at 6% 76%, rgba(92, 157, 76, 0.08), transparent 75%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--lime); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  border: 3px solid var(--accent-ink);
  border-radius: var(--r-chip);
  background: var(--lime);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--sh-4);
  transform: translateY(calc(-100% - 24px));
  transition: transform var(--press);
}
.skip-link:focus { transform: translateY(0); }

.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.max  {
  max-width: calc(var(--max) + (2 * var(--pad)));
  margin-left: auto;
  margin-right: auto;
}
.section { padding-top: var(--section); padding-bottom: var(--section); }

/* Cross-document page fade (progressive enhancement; no JS delay). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 0.14s; }
::view-transition-new(root) { animation-duration: 0.2s; }
::view-transition-group(relay-nav) { animation-duration: 0.22s; animation-timing-function: var(--ease); }

/* ============ TYPE ============ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
h1 em, h2 em, h3 em { font-style: normal; color: var(--green-text); }
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.lede { color: var(--ink-2); }

/* ============ BUTTONS + LINKS + CHIPS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 13px 18px;
  border: 3px solid var(--stroke);
  border-radius: var(--r-chip);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: var(--sh-4);
  transition: transform var(--press), box-shadow var(--press), background var(--press);
}
.btn:is(:hover, :focus-visible) { transform: translate(2px, 2px); box-shadow: var(--sh-2); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn.primary { border-color: var(--accent-ink); background: var(--lime); color: var(--accent-ink); }
.btn.primary:is(:hover, :focus-visible) { background: var(--lime-soft); }
.btn.ghost:is(:hover, :focus-visible) { background: var(--sage); }
.btn .ic { display: inline-flex; transition: transform var(--press); }
.btn:is(:hover, :focus-visible) .ic { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  border: 2px solid var(--stroke);
  border-radius: var(--r-chip);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px; font-weight: 800;
  box-shadow: var(--sh-2);
  transition: transform var(--press), box-shadow var(--press), background var(--press);
}
.text-link:is(:hover, :focus-visible) { border-color: var(--accent-ink); background: var(--lime); color: var(--accent-ink); transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--shadow); }
.text-link svg { transition: transform var(--press); }
.text-link:is(:hover, :focus-visible) svg { transform: translateX(3px); }

/* ============ NAV ============ */
.nav-wrap {
  position: relative;
  z-index: 100;
  padding: 25px var(--pad) 0;
}
.nav {
  position: relative;
  width: 100%;
  max-width: var(--canvas);
  margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-6);
  view-transition-name: relay-nav;
}
.nav-brand { display: inline-flex; align-items: baseline; gap: 8px; padding-right: 6px; }
.nav-mark { height: 16px; width: auto; transform: translateY(2px); }
.nav-mark path { fill: var(--green); }
.nav-mark path:nth-child(1) { opacity: 0.45; }
.nav-mark path:nth-child(2) { opacity: 0.72; }
.nav-brand-word, .nav-brand-sub {
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.03em;
}
.nav-brand-sub { font-weight: 700; color: var(--ink); }
.nav-links { display: flex; gap: 8px; align-items: center; margin-left: auto; margin-right: 12px; }
.nav-links a {
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: var(--r-chip);
  color: var(--ink);
  font-size: 14px; font-weight: 700;
  transition: background var(--press), border-color var(--press);
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active, .nav-links a[aria-current="page"] { border-color: var(--accent-ink); background: var(--lime); color: var(--accent-ink); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 11px 16px;
  border: 3px solid var(--accent-ink);
  border-radius: 14px;
  background: var(--lime);
  color: var(--accent-ink);
  font-size: 13px; font-weight: 800;
  box-shadow: var(--sh-2);
  transition: transform var(--press), box-shadow var(--press), background var(--press), color var(--press);
}
.nav-cta:is(:hover, :focus-visible) { background: var(--paper); color: var(--ink); transform: translate(2px, 2px); box-shadow: none; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  flex: none;
  width: 58px;
  height: 44px;
  border-radius: 999px;
}
/* In-menu variant: hidden on desktop, becomes a labelled row on mobile. */
.theme-toggle-menu { display: none; }
.theme-toggle-track {
  position: relative;
  display: block;
  width: 100%;
  height: 36px;
  overflow: hidden;
  border: 3px solid var(--accent-ink);
  border-radius: 999px;
  background: #303431;
  box-shadow: var(--sh-2);
  transition: background 0.25s var(--ease), box-shadow var(--press), transform var(--press);
}
.theme-toggle:is(:hover, :focus-visible) .theme-toggle-track { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--shadow); }
.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f9fcf6;
  color: #182a1d;
  transition: transform 0.3s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.theme-icon { position: absolute; width: 15px; height: 15px; transition: opacity 0.2s var(--ease), transform 0.3s var(--ease); }
.theme-icon-sun { opacity: 1; transform: rotate(0) scale(1); }
.theme-icon-moon { opacity: 0; transform: rotate(-20deg) scale(0.55); }
html[data-theme="dark"] .theme-toggle-track { background: #eff6eb; }
html[data-theme="dark"] .theme-toggle-thumb { transform: translateX(22px); background: #08110b; color: #eff6eb; }
html[data-theme="dark"] .theme-icon-sun { opacity: 0; transform: rotate(30deg) scale(0.55); }
html[data-theme="dark"] .theme-icon-moon { opacity: 1; transform: rotate(0) scale(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 2px solid var(--stroke);
  border-radius: var(--r-chip);
  background: var(--paper);
  flex-direction: column; justify-content: center; align-items: center; gap: 4.5px;
  box-shadow: var(--sh-2);
  transition: transform var(--press), box-shadow var(--press), background var(--press);
}
.nav-toggle:is(:hover, :focus-visible) { background: var(--sage); }
.nav-toggle[aria-expanded="true"] { border-color: var(--accent-ink); background: var(--lime); color: var(--accent-ink); transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--shadow); }
.nav-toggle span {
  display: block; width: 16px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.16s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: absolute;
  top: calc(100% + 10px); left: 50%;
  width: min(360px, calc(100vw - 28px));
  transform: translateX(-50%) translateY(-8px);
  padding: 10px;
  border: 3px solid var(--stroke);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--sh-6);
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 60;
}
.nav-mobile.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-mobile a {
  padding: 13px 14px;
  border: 2px solid transparent;
  border-radius: 11px;
  color: var(--ink);
  font-size: 15px; font-weight: 800;
  transition: background var(--press), border-color var(--press);
}
.nav-mobile a:hover, .nav-mobile a:focus-visible, .nav-mobile a.active, .nav-mobile a[aria-current="page"] { border-color: var(--accent-ink); background: var(--lime); color: var(--accent-ink); }

@media (max-width: 920px) {
  /* Keep the dropdown in the normal mobile stacking tree. Safari can otherwise
     trap it inside the named view-transition layer beneath the following hero. */
  .nav { view-transition-name: none; }
  .nav-links { display: none; }
  .nav > .theme-toggle { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .theme-toggle-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: auto;
    padding: 12px 14px;
    margin-top: 4px;
    border-top: 1px solid var(--rule);
    border-radius: 0 0 11px 11px;
  }
  .theme-toggle-menu .theme-toggle-menu-label { color: var(--ink); font-size: 15px; font-weight: 800; }
  .theme-toggle-menu .theme-toggle-track { width: 52px; flex: none; }
}
@media (max-width: 480px) { .nav-cta { display: none; } }

/* ============ HOME HERO ============ */
.editorial-hero { padding: var(--space-nav) 0 clamp(40px, 5vw, 60px); }
.home-hero-wrap { max-width: calc(var(--canvas) + (2 * var(--pad))); }
.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 48vw, 620px);
  overflow: hidden;
  border: 3px solid var(--stroke);
  border-radius: var(--r-band);
  background: #285131;
  box-shadow: var(--sh-8);
}
.hero-stage-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: -2;
  opacity: 0.72;
  filter: saturate(0.75) contrast(1.08);
  transition: transform 1.1s var(--ease);
}
.hero-stage-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(16, 37, 23, 0.96) 0%, rgba(21, 55, 31, 0.83) 44%, rgba(20, 54, 30, 0.22) 75%);
}
.hero-stage-copy { position: relative; max-width: 720px; padding: clamp(34px, 5vw, 66px); color: #f7faf4; }
.hero-stage-kicker {
  display: flex; align-items: center; gap: 9px;
  width: max-content; max-width: 100%;
  margin: 0; padding: 8px 12px;
  border: 2px solid rgba(249, 252, 246, 0.88);
  border-radius: 999px;
  background: rgba(23, 51, 30, 0.55);
  box-shadow: 3px 3px 0 rgba(7, 20, 11, 0.75);
  color: #f9fcf6;
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-stage-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero-stage-copy h1 {
  max-width: 13ch;
  margin: 27px 0 0;
  color: #f9fcf6;
  font-size: clamp(50px, 5.9vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-shadow: 3px 3px 0 rgba(8, 20, 11, 0.4);
}
.hero-stage-copy h1 em { color: var(--lime); }
.hero-lede {
  max-width: 44ch;
  margin: 22px 0 0;
  color: #edf7e7;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stage-approach {
  position: absolute;
  right: clamp(22px, 4vw, 56px); bottom: clamp(23px, 4vw, 48px);
  width: min(300px, 29vw);
  padding: 17px 18px;
  border: 3px solid var(--stroke);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--sh-6);
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-stage-approach span {
  display: block;
  color: var(--green-text);
  font-family: var(--mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-stage-approach p {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 15px; font-weight: 700;
  line-height: 1.32; letter-spacing: -0.02em;
}

/* ============ HOME — HOW RELAY HELPS ============ */
.home-help { padding-top: clamp(18px, 2vw, 34px); padding-bottom: 0; }
.editorial-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 3vw, 44px) clamp(28px, 6vw, 96px);
  align-items: end;
  padding: clamp(30px, 4vw, 54px);
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-6);
}
.editorial-intro .kicker { grid-column: 1 / -1; }
.editorial-intro h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 0.98;
}
.editorial-intro > p:last-child {
  margin: 0 0 4px;
  color: var(--ink-2);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.58;
  max-width: 44ch;
}

.ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.way {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 200px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-6);
  transition: transform var(--press), box-shadow var(--press), background var(--press);
}
.way:nth-child(2), .way:nth-child(3) { background: var(--sage); }
.way:focus-visible { transform: translate(2px, 2px); box-shadow: var(--sh-4); }
.way-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.way-index {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 2px solid var(--accent-ink);
  border-radius: 50%;
  background: var(--lime);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
}
.way-go {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 2px solid var(--stroke);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--sh-2);
  transition: transform var(--press), box-shadow var(--press), background var(--press);
}
.way:focus-visible .way-go { border-color: var(--accent-ink); background: var(--lime); color: var(--accent-ink); transform: translate(1px, 1px) rotate(-45deg); box-shadow: 1px 1px 0 var(--shadow); }
.way h3 { font-size: clamp(23px, 2.2vw, 31px); line-height: 1.04; max-width: 17ch; }
.way > p {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 14px; font-weight: 500;
  line-height: 1.55;
  max-width: 52ch;
}

/* ============ HOME — WORK TEASER (forest band) ============ */
.work-teaser {
  width: min(var(--canvas), calc(100% - (2 * var(--pad))));
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: clamp(50px, 5.5vw, 74px) 0;
  border: 3px solid var(--stroke);
  border-radius: var(--r-band);
  background: linear-gradient(125deg, #1a3926 0%, #315f39 100%);
  box-shadow: var(--sh-8);
  position: relative; isolation: isolate; overflow: hidden;
  color: #e3f0df;
}
.work-teaser::before {
  content: "";
  position: absolute; z-index: -1;
  width: 340px; height: 340px; right: -80px; top: -190px;
  border: 1px solid rgba(181, 231, 121, 0.34);
  border-radius: 50%;
}
.work-teaser::after {
  content: "";
  position: absolute; z-index: -1;
  width: 240px; height: 240px; left: 24%; bottom: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 231, 121, 0.2), transparent 68%);
}
.work-teaser .max {
  max-width: var(--reading);
  padding-left: clamp(24px, 4vw, 64px);
  padding-right: clamp(24px, 4vw, 64px);
}
.work-teaser .kicker { color: var(--lime); }
.teaser-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(30px, 7vw, 130px);
  align-items: end;
  margin-top: 20px;
}
.teaser-grid h2 { color: #f9fcf6; font-size: clamp(42px, 5.2vw, 80px); line-height: 0.95; }
.teaser-grid h2 em { color: var(--lime); }
.teaser-grid p { margin: 0 0 26px; color: #e3f0df; font-size: 16px; font-weight: 500; line-height: 1.6; }

/* ============ INTERIOR PAGE HERO ============ */
.page-hero { padding: var(--space-nav) var(--pad) clamp(16px, 2vw, 24px); }
.page-hero-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1.64fr);
  grid-template-areas:
    "eyebrow title"
    ". lede"
    ". actions";
  column-gap: clamp(28px, 5vw, 90px);
  width: 100%;
  max-width: var(--canvas);
  margin: 0 auto;
  padding: clamp(30px, 3.4vw, 50px) clamp(24px, 4vw, 64px);
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-6);
  text-align: left;
}
.page-hero-inner > .eyebrow { grid-area: eyebrow; align-self: start; margin-top: 8px; }
.page-hero h1 {
  grid-area: title;
  max-width: 18ch;
  margin: 0;
  font-size: clamp(40px, 4.2vw, 66px);
  line-height: 0.96;
}
.page-hero .lede {
  grid-area: lede;
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.6;
}
.page-hero .hero-actions { grid-area: actions; justify-content: flex-start; }

/* Paper heroes (work, privacy, 404) stack the eyebrow above the title —
   the two-column editorial split is reserved for the decorated bands. */
.page-work .page-hero-inner,
.page-privacy .page-hero-inner,
.page-404 .page-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "eyebrow" "title" "lede" "actions";
}
.page-work .page-hero-inner > .eyebrow,
.page-privacy .page-hero-inner > .eyebrow,
.page-404 .page-hero-inner > .eyebrow { margin: 0 0 18px; }

.page-services .page-hero-inner {
  min-height: clamp(300px, 25vw, 420px);
  align-content: center;
  border-radius: var(--r-band);
  background: linear-gradient(125deg, #183521 0%, #315f39 100%);
  box-shadow: var(--sh-8);
}
.page-services .page-hero-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  right: -120px;
  top: -285px;
  border: 1px solid rgba(181, 231, 121, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(181, 231, 121, 0.045);
}
.page-services .page-hero-inner::after {
  content: "///";
  position: absolute;
  right: clamp(26px, 4vw, 62px);
  bottom: clamp(18px, 2.8vw, 42px);
  color: rgba(181, 231, 121, 0.18);
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 148px);
  font-weight: 700;
  line-height: 0.65;
  letter-spacing: -0.13em;
  transform: skewX(-8deg);
}
.page-services .page-hero h1 { max-width: 15ch; color: #f9fcf6; }
.page-services .page-hero h1 em { color: var(--lime); }
.page-services .page-hero .lede { max-width: 62ch; color: #d9e8d7; }
.page-services .page-hero .eyebrow { color: var(--lime); }

/* ============ SERVICES ============ */
.services-section { padding-top: clamp(18px, 2.5vw, 34px); padding-bottom: 0; }

.services-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.service-offering {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(112px, 0.24fr) minmax(280px, 0.9fr) minmax(340px, 1.12fr);
  grid-template-rows: auto 1fr;
  gap: 14px clamp(28px, 4vw, 68px);
  min-height: 0;
  padding: clamp(28px, 3.2vw, 48px);
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-6);
  transition: background 0.22s var(--ease);
}
.service-offering:nth-child(even) { background: var(--sage); }
.service-offering::after {
  content: "///";
  position: absolute;
  z-index: -1;
  top: -13px;
  right: 20px;
  color: rgba(92, 157, 76, 0.1);
  font-family: var(--display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.16em;
  transform: skewX(-8deg);
}
.service-head {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  padding-right: clamp(18px, 2.5vw, 36px);
  border-right: 2px solid var(--rule-2);
}
.service-number {
  display: grid; place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border: 2px solid var(--accent-ink);
  border-radius: 50%;
  background: var(--lime);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  box-shadow: var(--sh-2);
  transition: transform 0.24s var(--ease);
}
.service-label { color: var(--ink-2); font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1.45; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.service-offering h2 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  max-width: 14ch;
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 0.98;
}
.service-lede {
  grid-column: 2;
  grid-row: 2;
  max-width: 40ch;
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.58;
}
.service-includes {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: stretch;
  margin: 0;
  padding: clamp(22px, 2.6vw, 34px);
  border-left: 3px solid var(--stroke);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: var(--sage);
}
.service-offering:nth-child(even) .service-includes { background: var(--paper); }
.service-includes-rule { display: none; }
.service-includes > p {
  margin: 0;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.service-includes ul { display: flex; flex-direction: column; gap: 11px; list-style: none; margin: 15px 0 0; padding: 0; }
.service-includes li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 14px; line-height: 1.52; }
.service-includes li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 2px;
  background: var(--green);
}

.services-proof {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.82fr) auto;
  gap: clamp(24px, 4vw, 70px);
  align-items: end;
  margin-top: 20px;
  padding: clamp(28px, 3.4vw, 48px);
  border: 3px solid var(--accent-ink);
  border-radius: var(--r-panel);
  background: var(--lime);
  box-shadow: var(--sh-6);
  color: var(--accent-ink);
}
.services-proof::after {
  content: "///";
  position: absolute;
  z-index: -1;
  top: -24px;
  right: 22%;
  color: rgba(24, 42, 29, 0.1);
  font-family: var(--display);
  font-size: 110px;
  font-weight: 700;
  letter-spacing: -0.16em;
  transform: skewX(-8deg);
}
.services-proof .kicker { color: var(--accent-ink); opacity: 0.72; }
.services-proof h2 { max-width: 16ch; margin: 12px 0 0; color: var(--accent-ink); font-size: clamp(30px, 3.2vw, 48px); line-height: 0.98; }
.services-proof h2 em { color: #315f39; }
.services-proof > p { max-width: 52ch; margin: 0; color: #294132; font-size: 14px; font-weight: 600; line-height: 1.58; }
.services-proof .text-link { border-color: var(--accent-ink); background: #f9fcf6; color: var(--accent-ink); }

/* Support pair: When to call + How it works */
.services-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  margin-top: 20px;
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-6);
}
.services-support > section {
  padding: clamp(27px, 3.4vw, 42px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.services-fit { background: var(--paper); }
.services-process { border-left: 3px solid var(--stroke) !important; background: var(--sage); }
.services-fit h2, .services-process h2 { max-width: 13ch; margin: 12px 0 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.0; }
.services-fit-list { display: grid; margin-top: 22px; border-top: 2px solid var(--rule-2); }
.services-fit-list article { padding: 15px 0; border-bottom: 1px solid var(--rule); }
.services-fit-list article:last-child { border-bottom: 0; padding-bottom: 0; }
.services-fit-list h3 { margin: 0; font-size: 18px; line-height: 1.15; }
.services-fit-list p { max-width: 50ch; margin: 6px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.services-process ol { display: grid; list-style: none; margin: 22px 0 0; padding: 0; border-top: 2px solid var(--rule-2); }
.services-process li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.services-process li:last-child { border-bottom: 0; padding-bottom: 0; }
.services-process li > span { color: var(--green-text); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; padding-top: 3px; }
.services-process h3 { margin: 0; font-size: 16px; line-height: 1.25; }
.services-process p { max-width: 46ch; margin: 5px 0 0; color: var(--ink-2); font-size: 12px; line-height: 1.5; }

/* Engagement band */
.services-engagement {
  margin-top: 20px;
  padding: clamp(30px, 4vw, 52px);
  border: 3px solid var(--stroke);
  border-radius: var(--r-band);
  background: linear-gradient(125deg, #1d3f29 0%, #2c5636 100%);
  box-shadow: var(--sh-8);
  color: #f7fbf4;
}
.services-engagement-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 8%; align-items: end; }
.services-engagement-heading .kicker { grid-column: 1 / -1; color: #d0e5cc; }
.services-engagement-heading h2 { max-width: 12ch; margin: 0; color: #f7fbf4; font-size: clamp(34px, 4vw, 56px); line-height: 0.98; }
.services-engagement-heading h2 em { color: var(--lime); }
.services-engagement-heading > p:last-child { max-width: 38ch; margin: 0; color: #d0e5cc; font-size: 14px; font-weight: 500; line-height: 1.56; }
.services-engagement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(26px, 3.5vw, 44px); }
.services-engagement-grid article {
  min-height: 0;
  padding: 22px clamp(20px, 2.4vw, 34px);
  border: 0;
  border-left: 1px solid rgba(249, 252, 246, 0.3);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.services-engagement-grid article:first-child { border-left: 0; }
.engagement-type { margin: 0; color: var(--lime); font-family: var(--mono); font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; }
.services-engagement-grid h3 { margin: 18px 0 0; color: #f9fcf6; font-size: clamp(21px, 2vw, 28px); line-height: 1.05; }
.services-engagement-grid article > p:last-child { max-width: 40ch; margin: 9px 0 0; color: #d0e5cc; font-size: 13px; line-height: 1.55; }
.services-engagement-grid .is-care {
  border: 2px solid var(--accent-ink);
  border-radius: var(--r-card);
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--shadow);
}
.services-engagement-grid .is-care .engagement-type,
.services-engagement-grid .is-care h3,
.services-engagement-grid .is-care > p:last-child { color: var(--accent-ink); }
.care-scope-note {
  max-width: 76ch;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(249, 252, 246, 0.28);
  color: #d0e5cc;
  font-size: 12px;
  line-height: 1.55;
}

/* ============ WORK — PROJECT CARDS ============ */
.section.short { padding-top: clamp(14px, 2vw, 28px); padding-bottom: 0; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card {
  position: relative;
  display: grid;
  grid-template-rows: clamp(190px, 20vw, 250px) 1fr;
  overflow: hidden;
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-6);
  transition: transform var(--press), box-shadow var(--press);
}
.project-card.is-interactive { cursor: pointer; }
.project-card:first-child { grid-column: 1 / -1; grid-template-rows: clamp(230px, 24vw, 320px) 1fr; }
.project-card.is-interactive:focus-within { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--shadow); }
.project-visual { position: relative; isolation: isolate; overflow: hidden; background: #1d3525; border-bottom: 3px solid var(--stroke); }
.project-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(8, 20, 13, 0.16), transparent 58%); }
.project-visual span {
  position: absolute; z-index: 3; left: 22px; bottom: 19px;
  color: rgba(247, 250, 244, 0.85);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase;
}
.project-visual-grid {
  position: absolute; inset: 0; opacity: 0.38;
  background-image: linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(135deg, transparent 0%, #000 62%);
  mask-image: linear-gradient(135deg, transparent 0%, #000 62%);
}
.project-visual-orb {
  position: absolute;
  width: 58%; aspect-ratio: 1;
  border-radius: 50%; right: -9%; top: -23%;
  border: 1px solid rgba(221, 249, 193, 0.46);
  box-shadow: 0 0 0 28px rgba(165, 220, 126, 0.07), 0 0 0 60px rgba(165, 220, 126, 0.04);
  transition: transform 0.8s var(--ease);
}
.project-visual-panel {
  position: absolute; right: 9%; bottom: -24%;
  width: 34%; height: 92%;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(155deg, rgba(247, 250, 244, 0.37), rgba(247, 250, 244, 0.06));
  box-shadow: 0 18px 32px rgba(8, 20, 13, 0.16);
  transform: rotate(-8deg);
  transition: transform 0.8s var(--ease);
}
.project-card.is-interactive:focus-within .project-visual-orb { transform: translate(-11px, 14px) scale(1.08); }
.project-card.is-interactive:focus-within .project-visual-panel { transform: translateY(-15px) rotate(-4deg); }
.project-visual-arcana { background: linear-gradient(120deg, #1d3826, #426f42 54%, #8fbc67); }
.project-visual-arcana .project-visual-orb { width: 40%; right: 17%; top: -36%; background: radial-gradient(circle at 55% 45%, rgba(219, 249, 189, 0.78), rgba(165, 220, 126, 0.08) 54%, transparent 55%); }
.project-visual-arcana .project-visual-panel { right: 8%; width: 22%; height: 95%; background: linear-gradient(160deg, rgba(248, 247, 232, 0.7), rgba(76, 111, 58, 0.38)); }
.project-visual-portfolio { background: linear-gradient(135deg, #2a4933, #6e9c6a); }
.project-visual-portfolio .project-visual-panel { left: 17%; right: auto; width: 58%; height: 70%; bottom: -12%; transform: rotate(4deg); background: rgba(245, 248, 241, 0.72); }
.project-visual-portfolio .project-visual-panel::before { content: ""; position: absolute; inset: 18% 14%; border-top: 4px solid #1d3525; border-bottom: 1px solid #8eaa8c; }
.project-visual-portfolio .project-visual-orb { background: rgba(164, 220, 126, 0.3); right: -19%; top: 10%; }
.project-visual-store { background: linear-gradient(145deg, #11251a, #355b3d); }
.project-visual-store .project-visual-grid { -webkit-mask-image: none; mask-image: none; opacity: 0.22; }
.project-visual-store .project-visual-panel { right: 15%; width: 55%; height: 55%; bottom: 12%; border-radius: 14px; background: linear-gradient(90deg, rgba(238, 247, 230, 0.85) 0 30%, rgba(110, 156, 106, 0.68) 30% 65%, rgba(238, 247, 230, 0.85) 65%); }
.project-visual-store .project-visual-orb { width: 36%; right: -12%; top: -12%; background: rgba(165, 220, 126, 0.19); }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 24px 24px; }
.project-copy .card-meta { margin: 0 0 16px; }
.project-copy h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.02; }
.project-copy p { margin: 9px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.project-focus {
  margin-top: 20px; padding-top: 15px; width: 100%;
  border-top: 2px solid var(--rule);
  color: var(--ink-2);
  font-size: 13px; font-weight: 600; line-height: 1.45;
}
.project-card:first-child .project-copy { padding: 25px 30px 29px; }
.project-card:first-child .project-copy h2 { font-size: clamp(32px, 3.4vw, 48px); }
.project-read-more { margin-top: 18px; }
.project-read-more::after { content: ""; position: absolute; inset: 0; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px;
  border: 2px solid var(--stroke);
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.status-pill.is-active { border-color: var(--accent-ink); background: var(--lime); color: var(--accent-ink); }
.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-text);
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--green-text);
  border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { opacity: 0.55; transform: scale(0.35); }
  72%, 100% { opacity: 0; transform: scale(1.35); }
}

/* ============ ARCANA CASE STUDY ============ */
.case-hero { padding: var(--space-nav) var(--pad) 0; }
.case-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  width: 100%;
  max-width: var(--canvas);
  min-height: clamp(460px, 38vw, 600px);
  margin-inline: auto;
  overflow: hidden;
  border: 3px solid var(--stroke);
  border-radius: var(--r-band);
  background: linear-gradient(125deg, #183521 0%, #315f39 100%);
  box-shadow: var(--sh-8);
}
.case-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 72px);
}
.case-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.case-hero-meta .eyebrow { color: #cfe9bf; }
.case-hero-copy h1 { max-width: 13ch; margin: 26px 0 0; color: #f9fcf6; font-size: clamp(46px, 5.2vw, 78px); line-height: 0.94; }
.case-hero-copy h1 em { color: var(--lime); }
.case-hero-copy > p { max-width: 52ch; margin: 22px 0 0; color: #d9e8d7; font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; line-height: 1.6; }
.case-hero-copy .text-link { width: max-content; margin-top: 30px; border-color: var(--accent-ink); background: #f9fcf6; color: var(--accent-ink); }
.case-sealed-art {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  overflow: hidden;
  border-left: 3px solid var(--stroke);
  background:
    linear-gradient(rgba(249, 252, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 252, 246, 0.1) 1px, transparent 1px),
    linear-gradient(145deg, #21452b 0%, #5c9d4c 100%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
}
.case-sealed-glow {
  position: absolute;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  top: -24%;
  right: -20%;
  border: 2px solid rgba(181, 231, 121, 0.68);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(181, 231, 121, 0.08), 0 0 0 92px rgba(181, 231, 121, 0.05);
}
.case-sealed-sheet {
  position: absolute;
  inset: 11% 11% 12% 10%;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 28px);
  padding: clamp(22px, 3vw, 38px);
  overflow: hidden;
  border: 3px solid #182a1d;
  border-radius: 20px;
  background: #f9fcf6;
  box-shadow: 12px 12px 0 rgba(24, 42, 29, 0.92);
  transform: rotate(-2.5deg);
}
.case-sealed-sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 22%, rgba(249, 252, 246, 0.72) 50%, transparent 76%);
  pointer-events: none;
}
.case-sealed-sheet-head { display: flex; align-items: center; gap: 12px; }
.case-sealed-dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid #182a1d;
  border-radius: 50%;
  background: #b5e779;
}
.case-redaction {
  display: block;
  width: 88%;
  height: 12px;
  border-radius: 999px;
  background: #294832;
}
.case-redaction-medium { width: 68%; }
.case-redaction-short { width: 42%; }
.case-sealed-preview {
  display: grid;
  flex: 1;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 150px;
  filter: blur(6px);
  opacity: 0.82;
}
.case-sealed-preview span {
  border: 2px solid rgba(24, 42, 29, 0.78);
  border-radius: 12px;
  background: linear-gradient(145deg, #d9f2b4, #76a86b);
}
.case-sealed-preview span:first-child {
  grid-row: 1 / 3;
  background: linear-gradient(145deg, #274f31 0%, #9fc978 100%);
}
.case-sealed-lines { display: grid; gap: 11px; filter: blur(2.5px); opacity: 0.8; }
.case-sealed-stamp {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 9%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 3px solid #182a1d;
  border-radius: 14px;
  background: #b5e779;
  color: #182a1d;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 #182a1d;
  transform: rotate(3deg);
}
.case-sealed-stamp svg { width: 20px; height: 20px; }

.case-study { padding-top: 20px; padding-bottom: 0; }
.case-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-6);
}
.case-snapshot > div { padding: 24px clamp(20px, 2.6vw, 36px); border-left: 2px solid var(--rule-2); }
.case-snapshot > div:first-child { border-left: 0; }
.case-snapshot dt { color: var(--ink-2); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.case-snapshot dd { margin: 8px 0 0; color: var(--ink); font-family: var(--display); font-size: clamp(16px, 1.5vw, 21px); font-weight: 700; line-height: 1.2; }
.case-snapshot-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.case-progress {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  margin-top: 20px;
  padding: clamp(30px, 4vw, 52px);
  border: 3px solid var(--accent-ink);
  border-radius: var(--r-panel);
  background: var(--lime);
  box-shadow: var(--sh-6);
  color: var(--accent-ink);
}
.case-progress .kicker { color: var(--accent-ink); opacity: 0.72; }
.case-progress h2 { max-width: 14ch; margin: 12px 0 0; color: var(--accent-ink); font-size: clamp(32px, 3.6vw, 52px); line-height: 0.98; }
.case-progress h2 em { color: #315f39; }
.case-progress > p { max-width: 48ch; margin: 0; color: #294132; font-size: 15px; font-weight: 600; line-height: 1.6; }

/* ============ CTA BAND ============ */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  width: 100%;
  max-width: var(--canvas);
  margin: clamp(34px, 4vw, 60px) auto 0;
  padding: clamp(30px, 3.6vw, 46px) clamp(28px, 4vw, 52px);
  border: 3px solid var(--stroke);
  border-radius: var(--r-band);
  background: linear-gradient(125deg, #1a3926 0%, #315f39 100%);
  box-shadow: var(--sh-8);
}
.cta::before {
  content: "";
  position: absolute; z-index: -1;
  width: 280px; height: 280px; right: -80px; top: -165px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 231, 121, 0.35), transparent 69%);
}
.cta::after {
  content: "";
  position: absolute; z-index: -1;
  width: 210px; height: 210px; right: 15%; bottom: -150px;
  border: 1px solid rgba(181, 231, 121, 0.25);
  border-radius: 50%;
}
.cta .eyebrow { color: #cfe9bf; }
.cta h2 { max-width: 18ch; margin: 10px 0 0; color: #f9fcf6; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.0; }
.cta h2 em { color: var(--lime); }
.cta p { max-width: 47ch; margin: 12px 0 0; color: #d0e5cc; font-size: 14px; font-weight: 500; line-height: 1.55; }
.cta-actions { display: grid; grid-template-columns: 1fr; gap: 12px; min-width: min(100%, 300px); max-width: 330px; }
.cta-actions .btn { width: 100%; }

/* ============ CONTACT ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  overflow: hidden;
  align-items: stretch;
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-8);
}
.form-grid > div { padding: clamp(28px, 4vw, 58px); }
.form-grid h1, .form-grid h2 { margin-top: 16px; font-size: clamp(32px, 3.6vw, 48px); max-width: 14ch; line-height: 1.02; }
.section.short.contact-section { padding-top: var(--space-nav); }
.form-grid .form-intro-copy { margin-top: 20px; color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.6; max-width: 40ch; }
.contact-meta { display: flex; flex-direction: column; gap: 26px; margin: 36px 0 0; }
.contact-meta dt {
  margin-bottom: 8px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.contact-meta dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.contact-meta a { transition: color var(--press); }
.contact-meta a:is(:hover, :focus-visible) { color: var(--green-text); }

.form {
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border: 0;
  border-left: 3px solid var(--stroke);
  border-radius: 0;
  background: var(--sage);
  box-shadow: none;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  padding: 13px 15px;
  border: 2px solid var(--stroke);
  border-radius: 10px;
  background: var(--field);
  color: var(--ink);
  font: inherit; font-size: 15px;
  outline: none;
  transition: background var(--press), box-shadow var(--press);
}
.field input:focus, .field select:focus, .field textarea:focus { background: var(--field); box-shadow: var(--sh-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: 0.86; }
.field textarea { resize: vertical; min-height: 120px; font-family: var(--sans); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-width: 0; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-foot span { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.form-foot a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--rule-2); transition: color var(--press), border-color var(--press); }
.form-foot a:is(:hover, :focus-visible) { color: var(--green-text); border-bottom-color: var(--green-text); }

.submission-notice {
  position: fixed; z-index: 40;
  right: clamp(18px, 3vw, 42px); bottom: clamp(18px, 3vw, 42px);
  display: flex; align-items: flex-start; gap: 14px;
  width: min(440px, calc(100% - 36px));
  padding: 17px 17px 17px 19px;
  border: 3px solid var(--stroke);
  border-radius: 18px;
  background: var(--forest);
  box-shadow: var(--sh-6);
  color: #f5f8f1;
  animation: notice-in 0.4s var(--ease);
}
.submission-notice[hidden] { display: none; }
.submission-notice > div { display: flex; gap: 12px; align-items: flex-start; }
.submission-notice-mark {
  display: grid; flex: none; place-items: center;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--accent-ink);
  font-size: 15px; font-weight: 800;
}
.submission-notice strong { display: block; font-size: 14px; letter-spacing: -0.02em; }
.submission-notice p { margin: 5px 0 0; color: #d0e5cc; font-size: 12px; line-height: 1.5; }
.submission-notice button {
  flex: none; width: 44px; height: 44px;
  margin: -10px -10px -10px auto;
  color: #d0e5cc;
  font-size: 23px; line-height: 1;
}
.submission-notice button:is(:hover, :focus-visible) { color: var(--lime); }
@keyframes notice-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ============ LEGAL ============ */
.legal {
  max-width: none;
  margin: 0 auto;
  padding:
    clamp(32px, 4vw, 56px)
    max(clamp(26px, 5vw, 74px), calc((100% - 820px) / 2));
  border: 3px solid var(--stroke);
  border-radius: var(--r-panel);
  background: var(--paper);
  box-shadow: var(--sh-6);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}
.legal-meta {
  display: inline-block;
  margin-bottom: 34px;
  padding: 6px 12px;
  border: 2px solid var(--stroke);
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
}
.legal h2 { margin: 44px 0 14px; font-size: clamp(21px, 2.2vw, 26px); }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin: 0 0 16px; }
.legal p + ul { margin-top: -6px; }
.legal ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; background: var(--green); }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--rule-2); transition: color var(--press), border-color var(--press); }
.legal a:is(:hover, :focus-visible) { color: var(--green-text); border-bottom-color: var(--green-text); }

/* ============ 404 ============ */
.not-found-hero { padding-bottom: 0; }
.not-found-hero .hero-actions { margin-top: 30px; }

/* ============ FOOTER ============ */
.footer-shell {
  width: 100%;
  max-width: calc(var(--canvas) + (2 * var(--pad)));
  margin: var(--space-footer) auto clamp(26px, 3vw, 42px);
  padding: 0 var(--pad) 8px;
}
.footer {
  width: 100%;
  max-width: var(--canvas);
  margin-inline: auto;
  padding: clamp(28px, 3.5vw, 46px);
  border: 3px solid var(--stroke);
  border-radius: var(--r-band);
  background: var(--forest);
  box-shadow: var(--sh-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.85fr) minmax(130px, 0.38fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
  padding-bottom: 30px;
}
.footer .nav-brand {
  width: max-content;
  padding: 8px 12px;
  border: 2px solid var(--paper);
  border-radius: var(--r-chip);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--shadow);
}
.footer-tagline { margin: 17px 0 0; color: #dbead8; font-size: 14px; font-weight: 500; line-height: 1.55; }
.footer-action {
  padding: 18px;
  border: 2px solid var(--paper);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--shadow);
}
.footer-action p {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.025em;
}
.footer-action .btn { width: 100%; padding: 11px 13px; box-shadow: 3px 3px 0 var(--shadow); }
.footer-links h4 {
  margin: 3px 0 14px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-links ul a {
  display: inline-flex;
  padding: 4px 0;
  color: #f9fcf6;
  font-size: 14px; font-weight: 700;
  transition: color var(--press), transform var(--press);
}
.footer-links ul a:is(:hover, :focus-visible) { color: var(--lime); transform: translateX(3px); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 18px;
  padding-top: 18px;
  border-top: 2px solid rgba(249, 252, 246, 0.28);
  color: #dbead8;
  font-size: 10px;
}
.footer-bottom .footer-place { color: var(--lime); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }

/* ============ REVEAL + LOAD MOTION ============ */
.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal {
  transition: opacity var(--dur-medium) var(--ease), transform var(--dur-medium) var(--ease);
}
.motion-ready .reveal:not(.in) { opacity: 0; transform: translateY(10px); }
.motion-ready .reveal.in { opacity: 1; transform: translateY(0); }
.motion-ready .reveal[data-delay="1"] { transition-delay: 60ms; }
.motion-ready .reveal[data-delay="2"] { transition-delay: 120ms; }
.motion-ready .reveal[data-delay="3"] { transition-delay: 180ms; }

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .hero-stage .hero-stage-kicker,
  .motion-ready .hero-stage .hero-stage-copy h1,
  .motion-ready .hero-stage .hero-lede,
  .motion-ready .hero-stage .hero-actions,
  .motion-ready .hero-stage .hero-stage-approach {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--dur-medium) var(--ease), transform var(--dur-medium) var(--ease);
  }
  .motion-ready .hero-stage.hero-ready .hero-stage-kicker,
  .motion-ready .hero-stage.hero-ready .hero-stage-copy h1,
  .motion-ready .hero-stage.hero-ready .hero-lede,
  .motion-ready .hero-stage.hero-ready .hero-actions,
  .motion-ready .hero-stage.hero-ready .hero-stage-approach {
    opacity: 1;
    transform: translateY(0);
  }
  .motion-ready .hero-stage .hero-stage-copy h1 { transition-delay: 55ms; }
  .motion-ready .hero-stage .hero-lede { transition-delay: 110ms; }
  .motion-ready .hero-stage .hero-actions { transition-delay: 165ms; }
  .motion-ready .hero-stage .hero-stage-approach { transition-delay: 210ms; }
  .way.reveal.in .way-index,
  .service-offering.reveal.in .service-number { animation: stamp 0.45s cubic-bezier(0.15, 0.9, 0.25, 1) both 0.15s; }
}
@keyframes stamp {
  from { opacity: 0; transform: scale(0.45) rotate(-18deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (hover: hover) and (pointer: fine) {
  .hero-stage:hover .hero-stage-image { transform: scale(1.02); }
  .motion-ready .hero-stage.hero-ready:hover .hero-stage-approach { transform: translate(-2px, -2px); box-shadow: var(--sh-8); }
  .way:hover { transform: translate(2px, 2px); box-shadow: var(--sh-4); }
  .way:hover .way-go { border-color: var(--accent-ink); background: var(--lime); color: var(--accent-ink); transform: translate(1px, 1px) rotate(-45deg); box-shadow: 1px 1px 0 var(--shadow); }
  .service-offering:hover .service-number { transform: translateY(-3px) rotate(-4deg); }
  .project-card.is-interactive:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--shadow); }
  .project-card.is-interactive:hover .project-visual-orb { transform: translate(-11px, 14px) scale(1.08); }
  .project-card.is-interactive:hover .project-visual-panel { transform: translateY(-15px) rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready .reveal,
  .motion-ready .reveal:not(.in),
  .motion-ready .hero-stage .hero-stage-kicker,
  .motion-ready .hero-stage .hero-stage-copy h1,
  .motion-ready .hero-stage .hero-lede,
  .motion-ready .hero-stage .hero-actions,
  .motion-ready .hero-stage .hero-stage-approach { opacity: 1; transform: none; transition: none; }
  .status-dot::after { animation: none; opacity: 0; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .ways { grid-template-columns: 1fr; }
  .way { min-height: 0; }
  .service-offering {
    grid-template-columns: minmax(92px, 0.25fr) minmax(230px, 0.75fr);
    grid-template-rows: auto auto auto;
  }
  .service-head { grid-row: 1 / 4; }
  .service-offering h2 { grid-column: 2; grid-row: 1; }
  .service-lede { grid-column: 2; grid-row: 2; }
  .service-includes {
    grid-column: 2;
    grid-row: 3;
    margin-top: 12px;
    border-top: 2px solid var(--rule-2);
    border-left: 0;
    border-radius: 0;
  }
  .services-engagement-grid { grid-template-columns: repeat(2, 1fr); }
  .services-engagement-grid article:nth-child(odd) { border-left: 0; }
  .services-engagement-grid article:nth-child(n + 3):not(.is-care) { border-top: 1px solid rgba(249, 252, 246, 0.3); }
}
@media (max-width: 780px) {
  body { background-size: 24px 24px, 100% 100%, 100% 100%; }
  .nav-wrap { padding: 14px var(--pad) 0; }
  .nav { padding: 10px 12px; border-radius: 20px; box-shadow: var(--sh-4); }
  .nav-brand-sub { display: none; }

  .editorial-hero { padding: var(--space-nav) 0 36px; }
  .hero-stage { min-height: 0; border-radius: 23px; box-shadow: var(--sh-6); }
  .hero-stage-shade { background: linear-gradient(180deg, rgba(8, 17, 11, 0.55) 0%, rgba(8, 17, 11, 0.78) 35%, rgba(8, 17, 11, 0.96) 100%); }
  .hero-stage-image { object-position: 59% center; }
  .hero-stage:hover .hero-stage-image { transform: none; }
  .hero-stage-copy { position: relative; inset: auto; display: flex; flex-direction: column; min-height: 590px; max-width: none; padding: 24px 20px; }
  .hero-stage-copy h1 { margin-top: 26px; max-width: 11ch; font-size: clamp(44px, 12vw, 62px); }
  .hero-stage-kicker { font-size: 9px; }
  .hero-lede { margin-top: 16px; font-size: 14px; }
  .hero-actions { margin-top: auto; gap: 12px; }
  .hero-stage-approach { display: none; }

  .home-help { margin-inline: 0; }
  .editorial-intro { grid-template-columns: 1fr; padding: 25px 20px; border-radius: 19px; box-shadow: var(--sh-4); align-items: start; }
  .editorial-intro > p:last-child { margin-bottom: 0; }
  .ways { gap: 14px; margin-top: 14px; }
  .way { padding: 22px 18px; border-radius: 18px; box-shadow: var(--sh-4); }

  .work-teaser { margin: 36px auto 0; border-radius: 23px; box-shadow: var(--sh-6); }
  .work-teaser .max { padding-inline: 20px; }
  .teaser-grid { grid-template-columns: 1fr; gap: 24px; }

  .page-hero { padding: var(--space-nav) var(--pad) 12px; }
  .page-hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lede"
      "actions";
    row-gap: 0;
    padding: 24px 20px;
    border-radius: 18px;
    box-shadow: var(--sh-4);
  }
  .page-hero-inner > .eyebrow { margin: 0 0 16px; }
  .page-hero h1 { font-size: clamp(36px, 9.6vw, 50px); }
  .page-hero .lede { font-size: 15px; }
  .page-services .page-hero-inner { min-height: 0; padding: 30px 22px 34px; border-radius: 21px; box-shadow: var(--sh-6); }
  .page-services .page-hero-inner::after { right: 18px; bottom: 14px; font-size: 74px; }

  .services-section { padding-top: 12px; }
  .services-list { gap: 14px; }
  .service-offering {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
    padding: 24px 20px;
    border-radius: 18px;
    box-shadow: var(--sh-4);
  }
  .service-head {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 2px solid var(--rule-2);
  }
  .service-number { width: 36px; height: 36px; }
  .service-offering h2 { grid-column: 1; grid-row: auto; margin-top: 22px; font-size: clamp(28px, 8vw, 36px); }
  .service-lede { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .service-includes {
    grid-column: 1;
    grid-row: auto;
    margin-top: 22px;
    padding: 20px 0 0;
    border-top: 2px solid var(--rule-2);
    background: transparent !important;
  }
  .services-support { grid-template-columns: 1fr; margin-top: 14px; }
  .services-support > section { padding: 25px 20px; }
  .services-process { border-top: 3px solid var(--stroke) !important; border-left: 0 !important; }
  .services-engagement { margin-top: 14px; padding: 25px 20px; border-radius: 20px; box-shadow: var(--sh-6); }
  .services-engagement-heading { grid-template-columns: 1fr; gap: 14px; }
  .services-engagement-grid { grid-template-columns: 1fr; gap: 0; }
  .services-engagement-grid article {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid rgba(249, 252, 246, 0.28);
  }
  .services-engagement-grid .is-care { margin-top: 8px; padding: 19px; }
  .services-proof { grid-template-columns: 1fr; gap: 20px; margin-top: 14px; padding: 25px 20px; border-radius: 18px; box-shadow: var(--sh-4); }
  .services-proof::after { top: -10px; right: 8px; font-size: 78px; }
  .services-proof .text-link { width: max-content; }

  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card, .project-card:first-child { grid-column: auto; grid-template-rows: 190px 1fr; border-radius: 19px; box-shadow: var(--sh-4); }
  .project-copy, .project-card:first-child .project-copy { padding: 20px 20px 22px; }
  .project-card:first-child .project-copy h2 { font-size: 32px; }
  .project-visual span { left: 18px; bottom: 15px; }

  .case-hero { padding: var(--space-nav) var(--pad) 0; }
  .case-hero-panel { grid-template-columns: 1fr; min-height: 0; border-radius: 21px; box-shadow: var(--sh-6); }
  .case-hero-copy { padding: 30px 22px 34px; }
  .case-hero-meta { align-items: flex-start; }
  .case-hero-copy h1 { margin-top: 24px; font-size: clamp(39px, 10.8vw, 54px); }
  .case-hero-copy > p { margin-top: 18px; font-size: 15px; }
  .case-hero-copy .text-link { margin-top: 24px; }
  .case-sealed-art { min-height: 310px; border-top: 3px solid var(--stroke); border-left: 0; }
  .case-sealed-sheet { inset: 10% 12% 13% 10%; padding: 22px; box-shadow: 8px 8px 0 rgba(24, 42, 29, 0.92); }
  .case-sealed-preview { min-height: 118px; }
  .case-sealed-stamp { right: 8%; bottom: 9%; }
  .case-study { padding-top: 14px; }
  .case-snapshot { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; box-shadow: var(--sh-4); }
  .case-snapshot > div { padding: 20px 17px; }
  .case-snapshot > div:nth-child(odd) { border-left: 0; }
  .case-snapshot > div:nth-child(n + 3) { border-top: 2px solid var(--rule-2); }
  .case-snapshot-compact { grid-template-columns: 1fr; }
  .case-snapshot-compact > div { border-left: 0; }
  .case-snapshot-compact > div:nth-child(n + 2) { border-top: 2px solid var(--rule-2); }
  .case-progress { grid-template-columns: 1fr; gap: 20px; margin-top: 14px; padding: 26px 20px; border-radius: 18px; box-shadow: var(--sh-4); }

  .cta { grid-template-columns: 1fr; margin: 30px 0 0; padding: 28px 22px; gap: 24px; border-radius: 20px; box-shadow: var(--sh-6); }
  .cta h2 { font-size: clamp(32px, 9.5vw, 46px); }
  .cta-actions { width: 100%; max-width: none; }

  .form-grid { grid-template-columns: 1fr; border-radius: 19px; box-shadow: var(--sh-4); }
  .form-grid > div { padding: 26px 20px; }
  .form { padding: 22px 18px; border-top: 3px solid var(--stroke); border-left: 0; }
  .field input, .field select, .field textarea { font-size: 16px; }

  .legal { padding: 24px 18px; border-radius: 18px; box-shadow: var(--sh-4); }

  .footer-shell { margin: var(--space-footer) auto 22px; padding: 0 var(--pad) 6px; }
  .footer { padding: 24px 18px; border-radius: 22px; box-shadow: var(--sh-4); }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 22px; }
  .footer-links ul { flex-flow: row wrap; gap: 10px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 14px; }
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
@media (max-width: 380px) {
  .nav { padding-inline: 9px; }
  .nav-brand-word { font-size: 16px; }
  .footer-action .btn { font-size: 12px; }
}

/* ============ DARK MODE — BAND CONTRAST ============
   Lift the statement bands off the dark field so the boxes-on-a-field
   layering reads as clearly as it does in light mode. */
html[data-theme="dark"] .work-teaser,
html[data-theme="dark"] .cta {
  background: linear-gradient(125deg, #1d4029 0%, #386840 100%);
}
