/* ==========================================================================
   Agrikip — design system
   1. Tokens        2. Base        3. Layout       4. Typography
   5. Buttons/tags  6. Glass       7. Header/nav   8. Hero
   9. Components   10. Sections   11. Forms       12. Footer
  13. Motion       14. Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Palette — change here to re-skin the whole site */
  --forest: #123B2A;
  --green: #1F6B45;
  --leaf: #65A96F;
  --navy: #102A43;
  --charcoal: #18222D;
  --cream: #F7F5EF;
  --sage: #E7F0E7;
  --gold: #D6A84F;
  --white: #FFFFFF;
  --grey: #617080;

  /* Derived */
  --ink: var(--charcoal);
  --ink-soft: #3C4A57;
  --line: rgba(18, 59, 42, .14);
  --line-strong: rgba(18, 59, 42, .28);
  --leaf-text: #2F7A43;          /* leaf green dark enough for text on light (5.1:1) */
  --gold-text: #8A6420;          /* gold dark enough for text on light */
  --on-dark: #F2F6F1;
  --on-dark-soft: #C5D3CA;

  /* Type */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.875rem, .85rem + .1vw, .9375rem);
  --step-0: clamp(1.0625rem, 1.02rem + .2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.12rem + .4vw, 1.375rem);
  --step-2: clamp(1.45rem, 1.3rem + .75vw, 1.85rem);
  --step-3: clamp(1.85rem, 1.55rem + 1.5vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.75rem + 2.2vw, 3.6rem);
  --step-5: clamp(2.6rem, 1.9rem + 3.3vw, 4.6rem);

  /* Space (8pt-ish scale) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --max: 1280px;

  /* Shape & depth */
  --r-sm: 12px; --r: 18px; --r-lg: 24px; --r-xl: 28px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 67, .06), 0 2px 8px rgba(16, 42, 67, .05);
  --shadow: 0 2px 6px rgba(16, 42, 67, .05), 0 18px 40px -18px rgba(16, 42, 67, .28);
  --shadow-lg: 0 30px 80px -30px rgba(16, 42, 67, .45);

  /* Glass */
  --glass-light: rgba(255, 255, 255, .72);
  --glass-light-solid: #FBFCFA;
  --glass-dark: rgba(16, 42, 67, .62);
  --glass-dark-solid: #18344F;
  --glass-border: rgba(255, 255, 255, .55);
  --glass-border-dark: rgba(255, 255, 255, .16);
  --blur: 16px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--leaf); color: var(--white); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--forest); color: var(--white); padding: var(--s-3) var(--s-5);
  border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); color: var(--white); }

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

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--sage { background: var(--sage); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--forest { background: var(--forest); color: var(--on-dark); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { display: grid; gap: var(--s-6); }
.grid-3 { display: grid; gap: var(--s-5); }
.grid-4 { display: grid; gap: var(--s-5); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--wide-media { grid-template-columns: 1.15fr .85fr; }
  .split--wide-text { grid-template-columns: .9fr 1.1fr; }
  .split--flip > :first-child { order: 2; }
  .split--top { align-items: start; }
}

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

/* 4. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.022em;
  color: var(--forest);
  text-wrap: balance;
  font-variation-settings: "wdth" 92;
}
.section--dark :is(h1, h2, h3, h4), .section--forest :is(h1, h2, h3, h4), .on-dark :is(h1, h2, h3, h4) { color: var(--white); }
h1 { font-size: var(--step-5); letter-spacing: -.035em; line-height: 1; }
h2 { font-size: var(--step-4); letter-spacing: -.03em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -.01em; }
p { max-width: 68ch; text-wrap: pretty; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.section--dark .lede, .section--forest .lede, .on-dark .lede { color: var(--on-dark-soft); }
.muted { color: var(--grey); }
.small { font-size: var(--step--1); }

/* Section kicker: a short, quiet sentence-case label that names the section */
.kicker {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--step--1); font-weight: 700; color: var(--leaf-text);
  margin-bottom: var(--s-4);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .kicker, .section--forest .kicker, .on-dark .kicker { color: #8CC694; }

.section-head { max-width: 760px; margin-bottom: var(--s-8); }
.section-head p { margin-top: var(--s-5); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: end; justify-content: space-between; }
.section-head--row > div { max-width: 720px; }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-3); margin-top: 2em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--leaf-text); }
.prose blockquote {
  border-left: 3px solid var(--leaf); padding: var(--s-2) 0 var(--s-2) var(--s-5);
  font-family: var(--font-display); font-size: var(--step-1); color: var(--forest);
}

/* 5. Buttons, badges, tags ------------------------------------------------- */
.btn {
  --btn-bg: var(--forest); --btn-fg: var(--white); --btn-bd: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8rem 1.5rem;
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --btn-bg: var(--green); --btn-bd: var(--green); color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(18, 59, 42, .6); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--forest); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--forest); --btn-bd: var(--forest); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--forest); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--sage); --btn-bd: var(--sage); --btn-fg: var(--forest); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: var(--white); --btn-fg: var(--white); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--charcoal); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: #E2B964; --btn-bd: #E2B964; --btn-fg: var(--charcoal); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--green);
  text-decoration: none; border-bottom: 1.5px solid transparent; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(3px); }
.on-dark .link-arrow, .section--dark .link-arrow, .section--forest .link-arrow { color: var(--leaf); }

.tag-list { display: flex; flex-wrap: wrap; gap: var(--s-2); padding: 0; list-style: none; }
.tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: .2rem .75rem;
  border-radius: var(--r-pill); background: var(--sage); color: var(--forest);
  font-size: .875rem; font-weight: 600; line-height: 1.3;
}
.section--sage .tag { background: var(--white); }
.section--sage .card .tag { background: var(--sage); }
.section--dark .tag, .section--forest .tag { background: rgba(255, 255, 255, .1); color: var(--on-dark); }

.badge {
  display: inline-flex; align-items: center; gap: .45em; padding: .25rem .7rem;
  border-radius: var(--r-pill); font-size: .8125rem; font-weight: 700; line-height: 1.4;
  background: var(--white); color: var(--forest); border: 1px solid var(--line);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grey); }
.badge--live::before { background: var(--leaf); box-shadow: 0 0 0 3px rgba(101, 169, 111, .25); }
.badge--progress::before { background: var(--gold); }
.badge--sample { background: #FFF6E3; border-color: #EBD3A0; color: #6B4D12; }
.badge--sample::before { background: var(--gold-text); }

/* 6. Glass ----------------------------------------------------------------- */
.glass {
  background: var(--glass-light-solid);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.glass--dark { background: var(--glass-dark-solid); border-color: var(--glass-border-dark); color: var(--on-dark); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    background: linear-gradient(140deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66));
    border-color: var(--glass-border);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    backdrop-filter: blur(var(--blur)) saturate(140%);
  }
  .glass--dark {
    background: linear-gradient(140deg, rgba(16, 42, 67, .74), rgba(18, 59, 42, .6));
    border-color: var(--glass-border-dark);
  }
}

/* 7. Header & navigation --------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: var(--s-3); }
.site-header__bar {
  display: flex; align-items: center; gap: var(--s-5); justify-content: space-between;
  min-height: 64px; padding: .4rem .5rem .4rem 1.1rem; border-radius: var(--r-pill);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled .site-header__bar { box-shadow: var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--forest); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em; }
.brand:hover { color: var(--forest); }
.brand svg { width: 30px; height: 30px; }

.nav { display: none; }
.nav__list { display: flex; gap: .15rem; list-style: none; padding: 0; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: var(--r-pill);
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .975rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: var(--sage); color: var(--forest); }
.nav__link[aria-current="page"] { color: var(--forest); background: var(--sage); box-shadow: inset 0 -2px 0 var(--leaf); }
.header-cta { display: none; }
.header-cta.btn { min-height: 48px; padding-inline: 1.25rem; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.1rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white);
  font-weight: 700; color: var(--forest); cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed; inset: 88px var(--gutter) auto; z-index: 99;
  padding: var(--s-4); border-radius: var(--r-lg);
  max-height: calc(100dvh - 104px); overflow-y: auto;
  opacity: 0; transform: translateY(-8px); visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-nav ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 var(--s-4);
  border-radius: var(--r-sm); text-decoration: none; color: var(--forest); font-weight: 700; font-size: 1.125rem;
}
.mobile-nav a:not(.btn):hover, .mobile-nav a[aria-current="page"] { background: var(--sage); }
.mobile-nav a[aria-current="page"]::after { content: "You are here"; font-size: .8125rem; font-weight: 600; color: var(--leaf-text); }
.mobile-nav .btn { width: 100%; margin-top: var(--s-3); }
.nav-scrim { position: fixed; inset: 0; z-index: 98; background: rgba(16, 42, 67, .35); opacity: 0; visibility: hidden; transition: opacity .2s; }
.nav-scrim.is-open { opacity: 1; visibility: visible; }

@media (min-width: 1100px) {
  .nav, .header-cta { display: flex; }
  .menu-toggle, .mobile-nav, .nav-scrim { display: none; }
}

/* 8. Hero ------------------------------------------------------------------ */
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--green); z-index: 0; }
.contours path { fill: none; stroke: currentColor; stroke-width: 1; opacity: .12; vector-effect: non-scaling-stroke; }
.section--dark .contours, .section--forest .contours { color: var(--leaf); }
.section--dark .contours path, .section--forest .contours path { opacity: .16; }

.hero { position: relative; padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); overflow: hidden; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); }
.hero__copy h1 { max-width: 15ch; }
.hero__copy .lede { margin-top: var(--s-5); }
.hero__copy .btn-row { margin-top: var(--s-6); }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

.trust { display: grid; gap: var(--s-3); margin-top: var(--s-7); padding: 0; list-style: none; }
.trust li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: .975rem; color: var(--ink-soft); line-height: 1.45; }
.trust svg { flex: none; width: 22px; height: 22px; color: var(--leaf-text); margin-top: 1px; }
.trust strong { color: var(--forest); }

/* Example field record — the hero's signature panel */
.record {
  position: relative; margin: -5.5rem var(--s-4) 0; padding: var(--s-5);
  max-width: 400px;
}
.record__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.record__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--forest); letter-spacing: -.01em; }
.record__label { font-size: .75rem; font-weight: 700; color: var(--gold-text); background: #FFF6E3; padding: .15rem .55rem; border-radius: var(--r-pill); }
.record dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem var(--s-4); font-size: .9375rem; }
.record dt { color: var(--grey); }
.record dd { color: var(--charcoal); font-weight: 600; }
.record__status { display: flex; align-items: center; gap: .5rem; margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-soft); }
.record__status svg { width: 18px; height: 18px; color: var(--leaf-text); }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; border-radius: var(--r-pill); font-size: .875rem; font-weight: 700; color: var(--forest);
}
.chip svg { width: 18px; height: 18px; color: var(--leaf-text); }
.chip--a { top: 1.25rem; left: 1.25rem; }
.chip--b { top: 4.25rem; left: 1.25rem; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.02fr .98fr; gap: var(--s-8); align-items: center; }
  .hero__photo { aspect-ratio: 5 / 6; }
  .record { position: absolute; left: -2.25rem; bottom: 2.5rem; margin: 0; width: 350px; }
  .chip--a { left: auto; right: 1.25rem; top: 1.5rem; }
  .chip--b { left: auto; right: 1.25rem; top: 4.5rem; }
  .trust { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin-top: 0; padding-top: var(--s-6); border-top: 1px solid var(--line); }
}

/* Interior page hero */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero__grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); align-items: end; }
.page-hero h1 { font-size: var(--step-4); max-width: 16ch; }
.page-hero .lede { margin-top: var(--s-5); }
.page-hero__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-8); align-items: center; }
  .page-hero--text .page-hero__grid { grid-template-columns: 1fr; }
}

.breadcrumbs { margin-bottom: var(--s-5); font-size: var(--step--1); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; color: var(--grey); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--grey); }
.breadcrumbs a:hover { color: var(--forest); }
.breadcrumbs [aria-current] { color: var(--forest); font-weight: 600; }

/* 9. Components ------------------------------------------------------------ */
/* Media frame with fallback (shown if an image fails or is slow) */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(101, 169, 111, .45), transparent 60%),
    linear-gradient(160deg, var(--green), var(--forest));
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.media.is-broken img { opacity: 0; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x10 { aspect-ratio: 16 / 10; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--1x1 { aspect-ratio: 1; }
.media--tall { aspect-ratio: 4 / 5; }
.hero__photo, .page-hero__media { background: linear-gradient(160deg, var(--green), var(--forest)); }

.card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-6); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.card h3 { font-size: var(--step-1); letter-spacing: -.015em; }
.card p { color: var(--ink-soft); }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--sage); color: var(--green);
}
.card__icon svg { width: 26px; height: 26px; }
.section--sage .card__icon { background: var(--cream); }
.section--dark .card, .section--forest .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--dark .card p, .section--forest .card p { color: var(--on-dark-soft); }
.section--dark .card__icon, .section--forest .card__icon { background: rgba(101, 169, 111, .16); color: var(--leaf); }

/* Whole-card link pattern: the heading link stretches over the card */
.card--link { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card--link h3 a { color: inherit; text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card--link:hover .media img { transform: scale(1.04); }
.card--link:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.card--link h3 a:focus-visible { outline: none; }

/* Solution card (image + content) */
.solution { padding: 0; overflow: hidden; gap: 0; }
.solution .media { border-radius: 0; aspect-ratio: 16 / 10; }
.solution__body { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6); flex: 1; }
.solution__body .link-arrow { margin-top: auto; padding-top: var(--s-2); }
.solution__for { font-size: .9375rem; color: var(--grey); }

/* Browser mockup used instead of stock photos for web projects */
.mock {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: radial-gradient(110% 80% at 80% 0%, rgba(214, 168, 79, .28), transparent 55%), linear-gradient(150deg, var(--navy), var(--forest));
  display: grid; place-items: center; padding: 8% 9% 0;
}
.mock__window { width: 100%; height: 100%; background: var(--cream); border-radius: 12px 12px 0 0; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .4); overflow: hidden; align-self: end; }
.mock__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #E9ECE6; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9CFC6; }
.mock__url { margin-left: 10px; flex: 1; max-width: 60%; height: 14px; border-radius: 7px; background: #fff; font-size: 9px; line-height: 14px; padding-left: 8px; color: var(--grey); font-style: normal; overflow: hidden; white-space: nowrap; }
.mock__page { padding: 7% 8%; display: grid; gap: 8px; }
.mock__page b { display: block; height: 10px; border-radius: 5px; background: var(--forest); width: 55%; }
.mock__page b:nth-child(2) { width: 75%; height: 6px; background: #C9D3CB; }
.mock__page b:nth-child(3) { width: 62%; height: 6px; background: #C9D3CB; }
.mock__page i { display: block; height: 0; padding-bottom: 26%; border-radius: 6px; margin-top: 8px; background: linear-gradient(120deg, var(--leaf), var(--green)); }
.mock__page span { display: flex; gap: 6px; margin-top: 6px; }
.mock__page span::before, .mock__page span::after { content: ""; width: 54px; height: 16px; border-radius: 8px; background: var(--green); }
.mock__page span::after { background: transparent; border: 1.5px solid var(--green); }
.mock__phone {
  position: absolute; right: 9%; bottom: -8%; width: 26%; aspect-ratio: 9 / 18; border-radius: 16px;
  background: var(--charcoal); padding: 6px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6);
}
.mock__phone::before { content: ""; display: block; height: 100%; border-radius: 11px; background: linear-gradient(var(--sage) 0 22%, var(--cream) 22% 100%); }
.mock--app .mock__window { display: none; }
.mock--app .mock__phone { position: relative; right: auto; bottom: auto; width: 34%; align-self: end; margin-bottom: -6%; }
.mock--app .mock__phone::before {
  background:
    linear-gradient(var(--forest) 0 0) 12% 12% / 50% 5% no-repeat,
    linear-gradient(#C9D3CB 0 0) 12% 22% / 76% 3% no-repeat,
    linear-gradient(var(--white) 0 0) 50% 42% / 80% 14% no-repeat,
    linear-gradient(var(--white) 0 0) 50% 60% / 80% 14% no-repeat,
    linear-gradient(var(--leaf) 0 0) 50% 82% / 80% 8% no-repeat,
    var(--sage);
}

/* Feature list (icon + text, no card) */
.feature { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.feature h3 { font-size: var(--step-1); margin-bottom: var(--s-2); }
.feature p { color: var(--ink-soft); }
.section--dark .feature p, .section--forest .feature p { color: var(--on-dark-soft); }

/* Tech card: glass on dark */
.tech-card { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); border-radius: var(--r-lg); }
.tech-card h3 { font-size: var(--step-1); }
.tech-card p { color: var(--on-dark-soft); }
.tech-card__q { font-size: .9375rem; color: var(--white); padding-top: var(--s-3); border-top: 1px solid rgba(255, 255, 255, .14); margin-top: auto; }
.tech-card__q strong { color: var(--leaf); font-weight: 700; }

/* Process steps — a true sequence, so numbered */
.steps { list-style: none; padding: 0; display: grid; gap: var(--s-4); counter-reset: step; }
.step { position: relative; padding: var(--s-6); padding-top: calc(var(--s-6) + 8px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.step__no {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; margin-bottom: var(--s-4);
}
.step h3 { font-size: var(--step-1); margin-bottom: var(--s-2); }
.step p { color: var(--ink-soft); font-size: 1rem; }
@media (min-width: 1024px) {
  .steps--row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); }
  .steps--row .step { padding: var(--s-5); }
  .steps--row .step::after {
    content: ""; position: absolute; top: calc(var(--s-5) + 30px); left: calc(var(--s-5) + 52px); right: var(--s-5);
    height: 2px; background: repeating-linear-gradient(90deg, var(--leaf) 0 6px, transparent 6px 12px);
  }
  .steps--row .step:last-child::after { display: none; }
}

/* Outcome list */
.outcomes { display: grid; gap: 0; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.outcomes li { display: grid; gap: var(--s-2); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.outcomes h3 { font-size: var(--step-1); }
.outcomes p { color: var(--ink-soft); }
@media (min-width: 720px) { .outcomes li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s-6); align-items: baseline; } }

/* Case-study card */
.case { padding: 0; overflow: hidden; gap: 0; }
.case .media, .case .mock { border-radius: 0; }
.case__body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); flex: 1; }
.case__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); align-items: center; font-size: var(--step--1); color: var(--grey); }
.case__facts { display: grid; gap: var(--s-3); }
.case__facts div { display: grid; gap: 2px; }
.case__facts dt { font-size: .875rem; font-weight: 700; color: var(--leaf-text); }
.case__facts dd { color: var(--ink-soft); font-size: 1rem; }
.case__actions { margin-top: auto; padding-top: var(--s-2); }
.case--feature { display: grid; }
@media (min-width: 960px) {
  .case--feature { grid-template-columns: 1.05fr 1fr; }
  .case--feature .mock, .case--feature .media { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .case--feature .case__body { padding: var(--s-7); }
}

/* Article card */
.article-card { padding: 0; overflow: hidden; gap: 0; }
.article-card .media { border-radius: 0; aspect-ratio: 16 / 10; }
.article-card__body { padding: var(--s-5) var(--s-6) var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.article-card__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; font-size: .875rem; color: var(--grey); }
.article-card h3 { font-size: var(--step-1); line-height: 1.2; }
.article-card--soon { background: transparent; border-style: dashed; box-shadow: none; }
.article-card--soon .article-card__body { padding-top: var(--s-6); }

/* Person / bio */
.person { display: grid; gap: var(--s-6); padding: var(--s-6); align-items: start; }
.person__avatar {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--leaf), var(--forest)); color: var(--white);
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -.04em;
}
.person h3 { font-size: var(--step-2); }
.person__role { color: var(--leaf-text); font-weight: 700; margin-top: var(--s-1); }
@media (min-width: 720px) { .person { grid-template-columns: auto 1fr; padding: var(--s-7); } }

/* Values */
.value { padding-top: var(--s-5); border-top: 2px solid var(--forest); }
.value h3 { font-size: var(--step-1); margin-bottom: var(--s-2); }
.value p { color: var(--ink-soft); }

/* Comparison: what we do / don't do */
.scope { display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .scope { grid-template-columns: 1fr 1fr; } }
.scope__col { padding: var(--s-6); border-radius: var(--r-lg); }
.scope__col h3 { font-size: var(--step-1); margin-bottom: var(--s-4); display: flex; gap: var(--s-2); align-items: center; }
.scope__col h3 svg { width: 24px; height: 24px; }
.scope__col ul { display: grid; gap: var(--s-3); padding: 0; list-style: none; }
.scope__col li { display: flex; gap: var(--s-3); }
.scope__col li svg { flex: none; width: 20px; height: 20px; margin-top: 4px; }
.scope__col--yes { background: var(--white); border: 1px solid var(--line); }
.scope__col--yes svg { color: var(--leaf-text); }
.scope__col--no { background: transparent; border: 1.5px dashed var(--line-strong); }
.scope__col--no svg { color: var(--grey); }

/* FAQ */
.faq { display: grid; gap: var(--s-3); }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5) var(--s-6); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--forest); letter-spacing: -.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123B2A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 var(--s-6) var(--s-6); color: var(--ink-soft); }
.faq details > div p + p { margin-top: var(--s-3); }

/* CTA banner */
.cta-banner { background: var(--forest); position: relative; overflow: hidden; border-radius: var(--r-xl); isolation: isolate; color: var(--on-dark); }
.cta-banner__bg { position: absolute; inset: 0; z-index: -2; }
.cta-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16, 42, 67, .94) 0%, rgba(18, 59, 42, .86) 50%, rgba(18, 59, 42, .45) 100%); }
.cta-banner__inner { padding: clamp(2rem, 1rem + 5vw, 5rem); max-width: 720px; }
.cta-banner h2 { color: var(--white); font-size: var(--step-3); }
.cta-banner p { margin-top: var(--s-4); color: var(--on-dark-soft); font-size: var(--step-1); }
.cta-banner .btn-row { margin-top: var(--s-6); }

/* Notice for editors (visible only where useful, clearly styled) */
.note {
  display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--r);
  background: #FFF6E3; border: 1px solid #EBD3A0; color: #5C4210; font-size: .9375rem;
}
.note svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }

/* 10. Section-specific ------------------------------------------------------ */
.intro-band { padding-block: var(--s-8); border-block: 1px solid var(--line); background: var(--white); }
.intro-band__grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .intro-band__grid { grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: var(--s-6); align-items: start; } }
.intro-band__lead { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.15; color: var(--forest); letter-spacing: -.02em; }
.intro-band h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.intro-band p { color: var(--ink-soft); font-size: 1rem; }

.tech-section { overflow: hidden; }
.tech-section__media { background: linear-gradient(160deg, var(--green), var(--forest)); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: calc(-1 * var(--s-9)); position: relative; z-index: 0; }
.tech-section__media img { width: 100%; height: 100%; object-fit: cover; }
.tech-section__cards { position: relative; z-index: 1; padding-inline: var(--s-4); }
@media (max-width: 719px) { .tech-section__media { margin-bottom: calc(-1 * var(--s-7)); aspect-ratio: 4 / 3; } .tech-section__cards { padding-inline: 0; } }

.photo-stack { position: relative; }
.photo-stack .media + .media {
  position: absolute; right: -4%; bottom: -10%; width: 46%; border: 6px solid var(--cream); box-shadow: var(--shadow);
}
.section--sage .photo-stack .media + .media { border-color: var(--sage); }
@media (max-width: 959px) { .photo-stack { margin-bottom: var(--s-7); } .photo-stack .media + .media { right: 4%; } }

.pillars { display: grid; gap: var(--s-4); list-style: none; padding: 0; margin-top: var(--s-6); }
.pillars li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.pillars .card__icon { width: 44px; height: 44px; border-radius: 14px; }
.pillars .card__icon svg { width: 22px; height: 22px; }
.pillars h3 { font-size: 1.125rem; margin-bottom: 2px; }
.pillars p { color: var(--ink-soft); font-size: 1rem; }

/* Solutions detail blocks */
.solution-detail { display: grid; gap: var(--s-7); padding-block: var(--s-8); border-top: 1px solid var(--line); }
.solution-detail:first-of-type { border-top: 0; padding-top: 0; }
.solution-detail__head h2 { font-size: var(--step-3); }
.solution-detail__head p { margin-top: var(--s-4); }
.ps { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.ps div { padding: var(--s-5); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.ps dt { font-weight: 700; color: var(--forest); margin-bottom: var(--s-1); display: flex; gap: var(--s-2); align-items: center; }
.ps dt svg { width: 20px; height: 20px; color: var(--leaf-text); }
.ps dd { color: var(--ink-soft); font-size: 1rem; }
.checklist { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.checklist li { display: flex; gap: var(--s-3); align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6B45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--sage .checklist li::before { background-color: var(--white); }
@media (min-width: 960px) {
  .solution-detail { grid-template-columns: .95fr 1.05fr; gap: var(--s-8); align-items: start; }
  .solution-detail__aside { position: sticky; top: 110px; }
}

/* Sub-nav (in-page) */
.subnav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); padding: 0; list-style: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--forest); font-size: .975rem; }
.subnav a:hover { border-color: var(--forest); }

/* Article page */
.article-header { padding-block: clamp(2rem, 1rem + 3vw, 4rem) var(--s-7); }
.article-header h1 { font-size: var(--step-4); max-width: 20ch; }
.article-header .lede { margin-top: var(--s-5); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-5); color: var(--grey); font-size: var(--step--1); }
.article-hero { border-radius: var(--r-xl); aspect-ratio: 21 / 9; }
.article-body { padding-block: var(--s-8) var(--section); }
.keypoints { padding: var(--s-6); border-radius: var(--r-lg); background: var(--sage); }
.keypoints h2 { font-size: var(--step-1); margin: 0 0 var(--s-3); }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound__code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 700; line-height: .9; color: var(--sage); -webkit-text-stroke: 2px var(--green); letter-spacing: -.05em; }

/* 11. Forms ---------------------------------------------------------------- */
.contact-layout { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: .85fr 1.15fr; gap: var(--s-8); align-items: start; } }
.form-panel { padding: clamp(1.25rem, .8rem + 2.5vw, 2.75rem); }
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label, .field legend { font-weight: 700; color: var(--forest); font-size: 1rem; }
.field .hint { font-size: .9rem; color: var(--grey); margin-top: -4px; }
.field .optional { font-weight: 400; color: var(--grey); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid #B9C4BD; background: var(--white); color: var(--charcoal);
  font-size: 1.0625rem; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.select { appearance: none; padding-right: 2.75rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123B2A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 18px no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--grey); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(101, 169, 111, .3); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #B3261E; }
.error-msg { display: none; gap: .4rem; align-items: flex-start; color: #A1251B; font-size: .9375rem; font-weight: 600; }
.error-msg svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.field.has-error .error-msg, .check.has-error .error-msg { display: flex; }

.check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); }
.check label { font-weight: 400; color: var(--ink-soft); font-size: 1rem; }

.form-status { display: none; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--r); font-weight: 600; }
.form-status svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.form-status.is-visible { display: flex; }
.form-status--success { background: var(--sage); color: var(--forest); border: 1px solid rgba(31, 107, 69, .3); }
.form-status--error { background: #FCEDEB; color: #8C1D15; border: 1px solid #F0C0BA; }
.form-status p { font-weight: 400; margin-top: 2px; }
.form__footer { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.form__footer .small { max-width: 44ch; }

.contact-list { list-style: none; padding: 0; display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: center; }
.contact-list .card__icon { width: 48px; height: 48px; }
.contact-list span { display: block; font-size: .875rem; color: var(--grey); }
.contact-list a, .contact-list strong { font-weight: 700; color: var(--forest); font-size: 1.0625rem; }

.next-steps { list-style: none; padding: 0; display: grid; gap: var(--s-4); counter-reset: ns; margin-top: var(--s-5); }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 34px 1fr; gap: var(--s-3); color: var(--ink-soft); }
.next-steps li::before { content: counter(ns); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--green); color: var(--green); font-weight: 700; font-size: .95rem; }
.next-steps strong { color: var(--forest); display: block; }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { background: var(--forest); color: var(--on-dark-soft); padding-block: var(--s-9) var(--s-6); position: relative; overflow: hidden; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { position: relative; z-index: 1; display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); } }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand svg rect { fill: var(--green); }
.footer-brand p { margin-top: var(--s-4); max-width: 36ch; font-size: 1rem; }
.footer-col h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: 0; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.footer-col li { font-size: 1rem; }
.footer-col a { display: inline-block; padding-block: 3px; }
.footer-bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9375rem; }

/* 13. Motion --------------------------------------------------------------- */
/* Content is visible by default; JS opts in to a single gentle reveal. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-in { animation: hero-in .9s var(--ease) both; }
.hero-in--2 { animation-delay: .12s; }
.hero-in--3 { animation-delay: .24s; }
.hero-in--4 { animation-delay: .4s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.record.hero-in { animation-name: record-in; animation-delay: .6s; }
@keyframes record-in { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 14. Utilities ------------------------------------------------------------ */
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; margin-inline: auto; }
.relative { position: relative; z-index: 1; }

@media print {
  .site-header, .site-footer, .mobile-nav, .nav-scrim, .cta-banner { display: none !important; }
  body { background: #fff; }
}

/* Hero record panel needs near-solid glass so text stays readable over any photo */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .record, .chip { background: linear-gradient(140deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .84)); }
}
@media (min-width: 860px) { .steps:not(.steps--row) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps:not(.steps--row) .step:last-child { grid-column: 1 / -1; } }
.section--dark .breadcrumbs, .section--dark .breadcrumbs a { color: var(--on-dark-soft); }
.section--dark .breadcrumbs [aria-current] { color: var(--white); }
.section--dark .breadcrumbs li + li::before { color: rgba(255, 255, 255, .35); }
.header-cta[aria-current="page"] { box-shadow: 0 0 0 3px var(--sage), 0 0 0 5px var(--leaf); }
.section--forest .pillars p, .section--dark .pillars p { color: var(--on-dark-soft); }
.section--forest .pillars .card__icon, .section--dark .pillars .card__icon { background: rgba(101, 169, 111, .16); color: var(--leaf); }
.site-header > .container { position: relative; z-index: 101; }
.mobile-nav { z-index: 100; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .mobile-nav { background: rgba(251, 252, 250, .97); }
}
/* Hide browser alt-text rendering if a photo fails; the gradient frame shows instead */
.media img, .hero__photo img, .page-hero__media img, .tech-section__media img, .cta-banner__bg img { color: transparent; }

/* Real website screenshot in a browser frame */
.shot { margin: 0; position: relative; overflow: hidden; display: grid; align-items: end; padding: 7% 7% 0;
  background: radial-gradient(110% 80% at 80% 0%, rgba(214, 168, 79, .28), transparent 55%), linear-gradient(150deg, var(--navy), var(--forest)); }
.shot__window { border-radius: 12px 12px 0 0; overflow: hidden; background: var(--cream); box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .45); }
.shot img { display: block; width: 100%; height: auto; }
.case--feature .shot { align-items: center; padding: 7%; }
.case--feature .shot__window { border-radius: 12px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); }
