/* Radar App Developers - site stylesheet
   Palette: "Green Notes" theme tuned to the Radar logo.
   Radius rule: interactive controls (buttons, chips) are full pill; media + panels use --r-lg (14px); form inputs use --r-sm (10px). */

:root {
  --paper: #F4EFE4;
  --paper-2: #E9E4D8;
  --line: #D2CBBB;
  --muted: #5E5A52;
  --ink: #1E1E1E;
  --charcoal: #2E2A28;
  --forest: #1C4D36;
  --forest-2: #0F7058;
  --mint: #1D9F76;
  --amber: #EFA02A;

  --on-dark: #F4EFE4;
  --on-dark-muted: #CFC8B8;
  --line-dark: rgba(244, 239, 228, 0.18);
  --error: #A3261B;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 18px 40px -24px rgba(46, 42, 40, 0.45);

  /* z-index scale */
  --z-header: 50;
  --z-menu: 60;
  --z-skip: 70;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 1.55rem + 3.6vw, 4.4rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
p { margin: 0 0 var(--space-2); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--forest); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-2); }

:focus-visible {
  outline: 3px solid var(--forest-2);
  outline-offset: 3px;
  border-radius: 4px;
}
/* on dark surfaces the brighter mint ring keeps 3:1+ contrast */
.hero :focus-visible, .page-hero :focus-visible, .testimonials :focus-visible, .site-footer :focus-visible,
.site-header:not(.is-solid) :focus-visible { outline-color: var(--mint); }

.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;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: var(--z-skip);
  background: var(--forest);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-2); }
section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + 16px); }

.lead {
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: var(--space-2);
}
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head p { color: var(--muted); max-width: 60ch; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  font: 600 0.975rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .2s var(--ease-out);
}
.btn .icon { transition: transform .3s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--forest); color: var(--paper); }
.btn--primary:hover { background: var(--forest-2); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--forest); }
.btn--light:hover { background: #fff8ea; color: var(--forest); }
.btn--outline-light { border-color: rgba(244, 239, 228, 0.55); color: var(--paper); background: rgba(30, 30, 30, 0.18); }
.btn--outline-light:hover { border-color: var(--paper); color: var(--paper); background: rgba(30, 30, 30, 0.35); }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; color: var(--forest); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.text-link .icon { transition: transform .3s var(--ease-out); }
.text-link:hover .icon { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  color: var(--paper);
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), color .35s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 20, 0.55), rgba(20, 22, 20, 0));
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.site-header.is-solid {
  background: rgba(244, 239, 228, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-solid { background: rgba(244, 239, 228, 0.86); backdrop-filter: blur(14px) saturate(140%); }
}
.site-header.is-solid::before { opacity: 0; }
.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.brand { display: inline-flex; align-items: center; flex: none; }
/* Logo rule: full light logo over dark media, full dark logo on the solid (paper) header,
   mark-only on phones (on a paper badge over dark media). */
.brand img { height: 50px; width: auto; }
.brand .logo-dark, .brand .logo-mark, .brand .wordmark { display: none; }
.site-header.is-solid .brand .logo-light { display: none; }
.site-header.is-solid .brand .logo-dark { display: block; height: 42px; }

.primary-nav { display: flex; align-items: center; gap: var(--space-4); }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-pill);
  color: inherit;
  font: 500 0.95rem/1 var(--font-body);
  text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: background-color .2s var(--ease-out);
}
.nav-link:hover { color: inherit; background: rgba(244, 239, 228, 0.14); }
.site-header.is-solid .nav-link:hover { background: var(--paper-2); }
.nav-link[aria-current="page"], .nav-link.is-current { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.nav-link .icon { width: 0.9em; height: 0.9em; transition: transform .25s var(--ease-out); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(640px, 90vw);
  translate: -50% 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s var(--ease-out), transform .25s var(--ease-out), visibility 0s linear .25s;
}
.dropdown.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s var(--ease-out), transform .25s var(--ease-out), visibility 0s;
}
.dropdown a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.75rem;
  padding: 0.75rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.dropdown .icon { grid-row: span 2; width: 1.4rem; height: 1.4rem; color: var(--forest); margin-top: 2px; }
.dropdown strong { font-weight: 600; font-size: 0.95rem; }
.dropdown span { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }

.header-cta { padding: 0.8rem 1.3rem; font-size: 0.925rem; }
.site-header:not(.is-solid) .header-cta { background: var(--paper); color: var(--forest); }
.site-header:not(.is-solid) .header-cta:hover { background: #fff8ea; }

.menu-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-toggle .icon { width: 1.5rem; height: 1.5rem; }
.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-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: var(--z-menu);
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  padding: var(--space-3) var(--gutter) var(--space-5);
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu h2 { font-size: 0.8125rem; font-family: var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: var(--space-3) 0 var(--space-1); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  min-height: 48px;
}
.mobile-menu .mobile-primary a { font-family: var(--font-display); font-size: 1.5rem; }
.mobile-menu .btn { margin-top: var(--space-4); width: 100%; justify-content: center; }

@media (max-width: 1023.98px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 767.98px) {
  :root { --header-h: 64px; }
  .brand .logo-light, .site-header.is-solid .brand .logo-dark { display: none; }
  .brand .logo-mark { display: block; height: 44px; padding: 4px; border-radius: 50%; background: var(--paper); }
  .site-header.is-solid .brand .logo-mark { height: 42px; padding: 0; background: none; }
  /* compact wordmark keeps the company name visible on phones (fits at 360px) */
  .brand { gap: 10px; }
  .brand img.wordmark-light { display: block; height: 21px; }
  .site-header.is-solid .brand img.wordmark-light { display: none; }
  .site-header.is-solid .brand img.wordmark-dark { display: block; height: 21px; }
}
/* menu open always uses the light header */
body.menu-open .site-header { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
body.menu-open .site-header::before { opacity: 0; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  color: var(--on-dark);
  background: #16211c;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 22, 20, 0.88) 0%, rgba(18, 22, 20, 0.62) 42%, rgba(18, 22, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 22, 20, 0.7) 0%, rgba(18, 22, 20, 0) 35%);
}
.hero__content { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 5rem; }
.hero h1 { max-width: 19ch; margin-bottom: var(--space-3); }
.hero__sub { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); color: var(--on-dark-muted); max-width: 36rem; margin-bottom: var(--space-4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__accent { color: var(--amber); }
.video-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(244, 239, 228, 0.4);
  background: rgba(18, 22, 20, 0.45);
  color: var(--paper);
  font: 500 0.85rem/1 var(--font-body);
  cursor: pointer;
  min-height: 44px;
}
.video-toggle:hover { background: rgba(18, 22, 20, 0.7); }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }

/* ---------- Page hero (service pages) ---------- */
.page-hero {
  position: relative;
  min-height: 78vh;
  min-height: 78dvh;
  display: grid;
  align-items: end;
  color: var(--on-dark);
  background: var(--charcoal);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 26, 23, 0.9) 0%, rgba(22, 26, 23, 0.66) 50%, rgba(22, 26, 23, 0.3) 100%),
    linear-gradient(0deg, rgba(22, 26, 23, 0.75) 0%, rgba(22, 26, 23, 0) 45%);
}
.page-hero__content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero h1 { max-width: 22ch; }
.page-hero .hero__sub { margin-bottom: var(--space-4); }
.breadcrumb { margin-bottom: var(--space-3); font-size: 0.9rem; color: var(--on-dark-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb a:hover { color: #fff; }

/* Simple hero (legal pages) */
.simple-hero { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5rem)); padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.simple-hero .breadcrumb { color: var(--muted); }
.simple-hero .breadcrumb a { color: var(--forest); }
.simple-hero p { color: var(--muted); }

/* ---------- About (home) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 2rem + 4vw, 6rem);
  align-items: center;
}
.about-copy p { color: var(--muted); max-width: 52ch; }
.about-copy p.about-lede { color: var(--ink); font-size: 1.2rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--forest);
  font-variant-numeric: tabular-nums lining-nums;
}
.stat__label { display: block; margin-top: 0.5rem; font-size: 0.95rem; color: var(--muted); }

.collage { position: relative; padding-bottom: 12%; }
.collage__main, .collage__side { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.collage__main { width: 86%; aspect-ratio: 4 / 3; }
.collage__side {
  position: absolute; right: 0; bottom: 0;
  width: 40%; aspect-ratio: 2 / 3;
  box-shadow: 0 0 0 8px var(--paper), var(--shadow-soft);
}
.collage__main img, .collage__side img, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.collage__mark {
  position: absolute; left: -18px; bottom: 6%;
  width: 84px; height: 84px;
  background: var(--paper); border-radius: 50%;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 14px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.tile:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #bfb7a5; }
.tile--wide { grid-column: span 2; }
.tile h3 { margin: 0; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem); }
.tile p { margin: 0; font-size: 0.975rem; color: var(--muted); max-width: 40ch; }
.tile__icon { position: absolute; top: clamp(1.25rem, 1rem + 1vw, 1.9rem); left: clamp(1.25rem, 1rem + 1vw, 1.9rem); width: 2rem; height: 2rem; color: var(--forest); }
.tile__arrow {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  opacity: 0.75;
  transition: transform .35s var(--ease-out), opacity .3s;
}
.tile__arrow .icon { width: 1.1rem; height: 1.1rem; }
.tile:hover .tile__arrow { transform: rotate(45deg); opacity: 1; }
.tile--photo { color: var(--on-dark); border-color: transparent; background: var(--charcoal); min-height: 320px; }
.tile--photo:hover { color: var(--on-dark); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease-out); }
.tile--photo:hover img { transform: scale(1.04); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 22, 20, 0.88) 0%, rgba(20, 22, 20, 0.35) 55%, rgba(20, 22, 20, 0.1) 100%); }
.tile--photo p { color: var(--on-dark-muted); }
.tile--photo .tile__arrow { background: var(--paper); color: var(--forest); border-color: var(--paper); opacity: 1; box-shadow: 0 4px 14px rgba(20, 22, 20, 0.35); }
.tile--forest { background: var(--forest); color: var(--on-dark); border-color: transparent; }
.tile--forest:hover { color: var(--on-dark); }
.tile--forest p { color: var(--on-dark-muted); }
.tile--forest .tile__icon { color: #7fd3b4; }
.tile--charcoal { background: var(--charcoal); color: var(--on-dark); border-color: transparent; }
.tile--charcoal:hover { color: var(--on-dark); }
.tile--charcoal p { color: var(--on-dark-muted); }
.tile--charcoal .tile__icon { color: #7fd3b4; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 2rem + 4vw, 6rem);
  align-items: start;
}
.process-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.process-aside p { color: var(--muted); max-width: 44ch; }
.process-aside .media-frame { margin-top: var(--space-4); aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; }
.steps { position: relative; padding-left: 2.5rem; }
.steps__list { list-style: none; margin: 0; padding: 0; }
.steps__track, .steps__fill { position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps__fill { background: var(--forest); transform-origin: top; transform: scaleY(1); }
.step { position: relative; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute; left: calc(-2.5rem + 1px); top: 0.45rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--forest);
}
.step h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 0.6rem; }
.step p { color: var(--muted); max-width: 54ch; }
.step__out { margin-top: 0.75rem; font-size: 0.925rem; color: var(--ink); }
.step__out strong { font-weight: 600; color: var(--forest); }

/* ---------- Work ---------- */
.work-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.work-col h3 {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--forest);
  padding-bottom: var(--space-2); margin-bottom: 0;
  border-bottom: 2px solid var(--forest);
}
.project { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.project:last-child { border-bottom: 0; }
.project h4 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.project p { font-size: 0.975rem; color: var(--muted); margin-bottom: 0.75rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: 0.8rem; font-weight: 500; padding: 0.3rem 0.7rem; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink); background: var(--paper); }

/* ---------- Marquee ---------- */
.marquee-band { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-block: 1px solid var(--line); overflow: hidden; }
.marquee-band h2 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; margin-bottom: var(--space-3); }
.marquee { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: clamp(1.5rem, 1rem + 2vw, 3rem); padding-right: clamp(1.5rem, 1rem + 2vw, 3rem); list-style: none; margin: 0; }
.marquee__group li { display: flex; align-items: center; gap: clamp(1.5rem, 1rem + 2vw, 3rem); font-family: var(--font-display); font-style: italic; font-size: clamp(1.9rem, 1.4rem + 2vw, 3.2rem); color: var(--ink); white-space: nowrap; }
.marquee__group li img { width: 28px; height: 28px; opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: marquee 38s linear infinite; }
  .marquee-band:hover .marquee { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { width: auto; }
  .marquee__group { flex-wrap: wrap; row-gap: 1rem; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* ---------- Split / Why ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 2rem + 4vw, 6rem);
  align-items: center;
}
.split--media-first .split__media { order: -1; }
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.split__media .media-frame { aspect-ratio: 4 / 5; }
.points { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.point { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; }
.point .icon { grid-row: span 2; width: 1.75rem; height: 1.75rem; color: var(--forest); margin-top: 3px; }
.point h3 { font-family: var(--font-body); font-size: 1.075rem; font-weight: 600; letter-spacing: 0; margin: 0; }
.point p { margin: 0; color: var(--muted); font-size: 0.99rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--charcoal); color: var(--on-dark); }
.testimonials h2 { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.quotes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
.quotes__stack { display: grid; gap: var(--space-5); }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 var(--space-3); }
.quote blockquote p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; color: var(--on-dark); }
.quote--large blockquote p { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem); line-height: 1.3; font-style: italic; }
.quote--large { padding-left: clamp(1.25rem, 1rem + 1vw, 2rem); border-left: 3px solid var(--amber); }
.quote figcaption { font-size: 0.95rem; color: var(--on-dark-muted); }
.quote figcaption strong { display: block; color: var(--on-dark); font-weight: 600; }
.quotes__stack .quote { padding-top: var(--space-3); border-top: 1px solid var(--line-dark); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 1.5rem + 4vw, 6rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0;
  font-weight: 600; font-size: 1.075rem;
  cursor: pointer;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 1.25rem; height: 1.25rem; color: var(--forest); transition: transform .3s var(--ease-out); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--forest); }
.faq-item .faq-body { padding: 0 2.5rem 1.5rem 0; color: var(--muted); max-width: 62ch; }

/* ---------- Service page blocks ---------- */
.overview-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 1.5rem + 4vw, 6rem); align-items: start; }
.overview-grid .big-copy { font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + 1vw, 2.05rem); line-height: 1.35; color: var(--ink); max-width: 30ch; margin-bottom: var(--space-3); }
.overview-grid .big-copy + p { color: var(--muted); max-width: 58ch; }
.facts { margin: 0; padding: var(--space-3); border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line); }
.facts div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 0.2rem; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0.2rem; }
.facts dt { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.2rem; }
.facts dd { margin: 0; font-weight: 600; }

.capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 1.5rem + 3vw, 4.5rem); list-style: none; margin: 0; padding: 0; }
.capability { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.1rem; padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.capability .icon { grid-row: span 2; width: 2rem; height: 2rem; color: var(--forest); }
.capability h3 { margin: 0; font-size: 1.4rem; }
.capability p { margin: 0; color: var(--muted); }

.approach-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: none; }
.approach-list li { padding-left: 1.25rem; border-left: 2px solid var(--line); transition: border-color .3s; }
.approach-list li:hover { border-left-color: var(--forest); }
.approach-list h3 { font-family: var(--font-body); font-size: 1.075rem; font-weight: 600; letter-spacing: 0; margin: 0 0 0.25rem; }
.approach-list p { margin: 0; color: var(--muted); font-size: 0.99rem; }

.stack-band { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem); background: var(--paper-2); border-block: 1px solid var(--line); }
.stack-band__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: var(--space-4); align-items: center; }
.stack-band h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 0.55rem 1.05rem; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; }

.pull-quote { max-width: 56rem; margin: 0 auto; text-align: left; }
.pull-quote blockquote { margin: 0 0 var(--space-3); padding-left: clamp(1.25rem, 1rem + 1vw, 2rem); border-left: 3px solid var(--amber); }
.pull-quote blockquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem); line-height: 1.35; }
.pull-quote figcaption { padding-left: clamp(1.25rem, 1rem + 1vw, 2rem); color: var(--muted); font-size: 0.95rem; }
.pull-quote figcaption strong { display: block; color: var(--ink); }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.related li + li { border-left: 1px solid var(--line); }
.related a {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: var(--space-4) var(--space-3);
  color: var(--ink); text-decoration: none; height: 100%;
  transition: background-color .3s var(--ease-out);
}
.related a:hover { background: var(--paper-2); color: var(--ink); }
.related strong { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.related span { color: var(--muted); font-size: 0.95rem; }
.related .icon { color: var(--forest); transition: transform .3s var(--ease-out); }
.related a:hover .icon { transform: translate(3px, -3px); }

/* ---------- Contact ---------- */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: start; }
.contact-copy > p { color: var(--muted); max-width: 44ch; }
.contact-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.9rem; align-items: start; }
.contact-list .icon { grid-row: span 2; width: 1.4rem; height: 1.4rem; color: var(--forest); margin-top: 3px; }
.contact-list small { font-size: 0.85rem; color: var(--muted); }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--forest); text-decoration: underline; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.925rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--ink);
  background: #FBF8F1;
  border: 1.5px solid #857D6B;
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #75705F; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(29, 159, 118, 0.35); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: 0.875rem; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-foot p { font-size: 0.875rem; color: var(--muted); margin: 0; max-width: 34ch; }
.form-status { margin-top: 1.25rem; padding: 0.9rem 1.1rem; border-radius: var(--r-sm); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { background: #DCEBE2; color: #123826; border: 1px solid #A9CDB9; }
.form-status.is-error { background: #F6E0DC; color: #7A1C13; border: 1px solid #E3B3AA; }
.form-status.is-pending { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
/* no-JS fallback messages shown via :target after contact.php redirects back */
.static-status { display: none; }
.static-status:target { display: block; }

/* ---------- Legal ---------- */
.legal-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 1.5rem + 4vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 2rem); font-size: 0.925rem; }
.toc h2 { font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-2); }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--forest); text-decoration: underline; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem); margin-top: var(--space-5); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3A3833; }
.prose ul { padding-left: 1.2rem; margin: 0 0 var(--space-2); }
.prose li { margin-bottom: 0.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-muted); padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); font-size: 0.975rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.footer-brand img { width: 210px; height: auto; margin-bottom: var(--space-3); }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-contact li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.footer-contact .icon { width: 1.15rem; height: 1.15rem; color: #7fd3b4; margin-top: 4px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  /* 2-column bento: first and last photo tiles span the row, the six others pair up */
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); }
  .bento .tile--wide { grid-column: span 1; }
  .bento .tile:first-child, .bento .tile:last-child { grid-column: span 2; }
  .tile--photo { min-height: 280px; }
  .tile:not(.tile--photo) { justify-content: flex-start; padding-top: calc(clamp(1.25rem, 1rem + 1vw, 1.9rem) + 3.25rem); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .about-grid, .process-grid, .split, .quotes, .faq-grid, .overview-grid, .contact-grid, .legal-layout, .stack-band__inner { grid-template-columns: minmax(0, 1fr); }
  .process-aside, .toc { position: static; }
  .work-cols { grid-template-columns: minmax(0, 1fr); }
  .split--media-first .split__media { order: 0; }
  .split__media .media-frame { aspect-ratio: 4 / 3; }
  .related { grid-template-columns: minmax(0, 1fr); }
  .related li + li { border-left: 0; border-top: 1px solid var(--line); }
  .collage { max-width: 560px; }
}
@media (max-width: 767.98px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(220px, auto); }
  .tile--wide { grid-column: auto; }
  .capabilities { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__content { padding-bottom: 6rem; }
  .hero::after {
    background: linear-gradient(0deg, rgba(18, 22, 20, 0.92) 0%, rgba(18, 22, 20, 0.7) 50%, rgba(18, 22, 20, 0.45) 100%);
  }
  .stats { gap: var(--space-3); }
  .collage__mark { width: 64px; height: 64px; left: -8px; padding: 9px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media print {
  .site-header, .mobile-menu, .video-toggle, .contact form { display: none !important; }
}

/* ---------- No-JS fallbacks ---------- */
html:not(.js) [data-dropdown]:hover .dropdown,
html:not(.js) [data-dropdown]:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition: none; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .video-toggle { display: none; }
