/* 0300 Group — site styles. Mobile-first; breakpoints at 640px, 960px, 1120px (nav). */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand tokens: visual approximations of the supplied logo artwork. */
  --forest-950: #071D14;
  --forest-900: #003B20;
  --forest-800: #00522F;
  --forest-700: #126242;
  --forest-100: #E6EEE9;
  --ink: #141A17;
  --slate: #4E5952;
  --paper: #F8F9F7;
  --paper-warm: #F5F4EF;
  --white: #FFFFFF;
  --border: #DDE3DD;
  --border-dark: rgba(255, 255, 255, 0.16);
  --focus: #91BDA3;
  --error: #A4262C;
  --error-bg: #FDF1F1;
  --success-bg: #EAF3EE;

  --on-dark: #FFFFFF;
  --on-dark-muted: #C9D6CE;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: 20px;
  --section-y: 64px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(7, 29, 20, 0.06), 0 8px 24px rgba(7, 29, 20, 0.06);
  --header-h: 72px;
}

@media (min-width: 640px) {
  :root { --gutter: 24px; --section-y: 80px; }
}
@media (min-width: 960px) {
  :root { --section-y: 104px; --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.015em; font-weight: 700; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--forest-800); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-900); text-decoration-thickness: 2px; }
ul, ol { padding: 0; margin: 0; list-style: none; }
main { display: block; }
main:focus { outline: none; }
.icon { flex: none; vertical-align: middle; }

:focus-visible { outline: 3px solid var(--forest-700); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .page-hero :focus-visible, .hero :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible, .aside-card--dark :focus-visible { outline-color: var(--focus); }

.sr-only {
  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: 12px; top: -100px; z-index: 100;
  background: var(--forest-900); color: var(--white); padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest-700); margin: 0 0 14px;
}
.section-title { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-intro { color: var(--slate); font-size: 1.125rem; max-width: 70ch; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; }
.section-link { margin-top: 36px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--forest-800);
  text-decoration: none;
}
.link-arrow .icon { transition: transform 0.2s ease; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: inherit; font-size: 0.975rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--forest-900); color: var(--white); border-color: var(--forest-900); }
.btn-primary:hover { background: var(--forest-800); border-color: var(--forest-800); color: var(--white); }
.btn-light { background: var(--white); color: var(--forest-900); border-color: var(--white); }
.btn-light:hover { background: var(--paper-warm); color: var(--forest-950); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn-outline { background: transparent; color: var(--forest-900); border-color: var(--forest-900); }
.btn-outline:hover { background: var(--forest-100); color: var(--forest-950); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 639px) { .btn-row .btn { width: 100%; } }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: block; flex: none; }
.brand img { width: 132px; height: auto; }
@media (min-width: 960px) { .brand img { width: 150px; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: var(--white); color: var(--forest-900); border: 1.5px solid var(--border); border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; display: inline-block; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Mobile nav panel (default). Without JS the menu is shown inline so it always works. */
.site-nav { display: none; }
.no-js .site-nav, .site-nav.is-open { display: block; }
.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js .site-nav { width: 100%; padding-bottom: 16px; }
.js .site-nav.is-open {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--white);
  overflow-y: auto; padding: 8px var(--gutter) 32px; border-top: 1px solid var(--border);
}
body.nav-open { overflow: hidden; }

.nav-item { border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: stretch; justify-content: space-between; }
.nav-link {
  display: flex; align-items: center; flex: 1; min-height: 52px; padding: 8px 0;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem;
}
.nav-link:hover { color: var(--forest-800); }
.nav-item.is-current > .nav-link, .nav-item.is-current > .nav-row > .nav-link { color: var(--forest-800); }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; min-height: 52px;
  background: none; border: 0; border-left: 1px solid var(--border); color: var(--forest-900); cursor: pointer;
}
.sub-toggle .icon { transition: transform 0.2s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.subnav { display: none; padding: 0 0 12px 12px; }
.no-js .subnav { display: block; }
.has-sub.is-open > .subnav { display: block; }
.subnav a {
  display: block; padding: 10px 12px; color: var(--slate); text-decoration: none; border-left: 2px solid var(--border);
  font-size: 0.975rem;
}
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--forest-900); border-left-color: var(--forest-700); background: var(--paper); }
.nav-cta { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--forest-900); }

@media (min-width: 1120px) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav.is-open {
    display: flex !important; align-items: center; gap: 20px; position: static; padding: 0; border: 0; overflow: visible; background: none;
  }
  .no-js .header-inner { flex-wrap: nowrap; }
  .no-js .site-nav { width: auto; padding: 0; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-item { position: relative; border: 0; }
  .nav-link { min-height: 44px; padding: 8px 9px; font-size: 0.9rem; flex: none; white-space: nowrap; }
  .nav-item.is-current > .nav-link, .nav-item.is-current > .nav-row > .nav-link { box-shadow: inset 0 -2px 0 var(--forest-700); }
  .sub-toggle { width: 22px; min-height: 44px; border: 0; margin-left: -6px; padding: 0; }
  .subnav, .no-js .subnav {
    display: none; position: absolute; top: 100%; left: 0; min-width: 300px; padding: 10px;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  }
  .has-sub.is-open > .subnav { display: block; }
  .subnav a { border-left: 0; border-radius: var(--radius); padding: 9px 12px; font-size: 0.925rem; }
  .subnav li:first-child a { font-weight: 600; color: var(--forest-900); border-bottom: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; margin-bottom: 4px; }
  .nav-cta { flex-direction: row; padding: 0; align-items: center; }
  .nav-cta .btn { min-height: 44px; padding: 10px 16px; font-size: 0.9rem; white-space: nowrap; }
  .nav-phone { display: none; }
}
@media (min-width: 1120px) and (hover: hover) {
  .has-sub:hover > .subnav { display: block; }
}

/* ---------- Media (remote photography with graceful fallback) ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--forest-800), var(--forest-950));
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-fallback img { visibility: hidden; }

/* ---------- Home hero ---------- */
.hero, .page-hero { background: var(--forest-950); color: var(--on-dark); position: relative; }
.hero { padding: 56px 0 64px; }
.hero-grid, .page-hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); letter-spacing: -0.025em; margin-bottom: 24px; }
.hero .lead, .page-hero .lead { color: var(--on-dark-muted); max-width: 60ch; }
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow, .cta-band .eyebrow { color: var(--focus); }
.hero-meta { margin-top: 28px; font-size: 0.9rem; color: var(--on-dark-muted); }
.hero-media { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .hero { padding: 88px 0; }
  .hero-grid, .page-hero-grid { grid-template-columns: 55fr 45fr; gap: 64px; }
  .hero-media { aspect-ratio: 4 / 5; max-height: 620px; }
}

/* ---------- Interior hero ---------- */
.page-hero { padding: 40px 0 56px; }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); letter-spacing: -0.022em; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 500; color: var(--white); line-height: 1.4; margin-bottom: 18px; }
.page-hero .hero-media { aspect-ratio: 16 / 10; }
.page-hero--plain .page-hero-grid { grid-template-columns: 1fr; }
.page-hero--plain .page-hero-text { max-width: 820px; }
@media (min-width: 960px) {
  .page-hero { padding: 56px 0 88px; }
  .page-hero .hero-media { aspect-ratio: 5 / 4; }
}

.breadcrumb { margin-bottom: 28px; font-size: 0.875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: 0.6; }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark { background: var(--forest-950); color: var(--on-dark); }
.section--dark .lead { color: var(--on-dark-muted); }
.section + .section--white, .section--white + .section--white { border-top: 1px solid var(--border); }
.section--paper + .section--paper { padding-top: 0; }

/* ---------- Practice cards (equal weight) ---------- */
.practice-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .practice-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.practice-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.practice-media { border-radius: 0; aspect-ratio: 16 / 8; }
.practice-body { padding: 32px 28px 36px; display: flex; flex-direction: column; flex: 1; }
.practice-body h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.practice-body h3 a { color: var(--ink); text-decoration: none; }
.practice-body h3 a:hover { color: var(--forest-800); }
.practice-desc { font-weight: 600; color: var(--forest-900); }
.practice-body > p { color: var(--slate); }
.practice-body .check-list { margin: 8px 0 28px; flex: 1; }
.practice-body .btn { align-self: flex-start; }
@media (max-width: 639px) { .practice-body .btn { align-self: stretch; } }

.check-list li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 1.05em; width: 9px; height: 9px;
  border: 2px solid var(--forest-700); transform: rotate(45deg);
}
.check-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.check-list a:hover { color: var(--forest-800); text-decoration: underline; }

/* ---------- Service lists & cards ---------- */
.services-split { display: grid; gap: 48px; }
@media (min-width: 960px) { .services-split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.services-col-title { font-size: 1.35rem; padding-bottom: 14px; border-bottom: 2px solid var(--forest-900); margin-bottom: 8px; }
.services-col-title a { color: var(--ink); text-decoration: none; }
.services-col-title a:hover { color: var(--forest-800); }
.service-list .service-card a { display: block; padding: 20px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; }
.service-list .service-card-title { font-size: 1.1rem; margin-bottom: 4px; color: var(--ink); }
.service-list .service-card p { color: var(--slate); margin-bottom: 8px; }
.service-list .service-card a:hover .service-card-title { color: var(--forest-800); }

.service-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-grid .service-card a {
  display: flex; flex-direction: column; height: 100%; padding: 28px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--white); color: inherit; text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.service-grid .service-card a:hover { border-color: var(--forest-700); box-shadow: var(--shadow); }
.service-grid .service-card-title { font-size: 1.2rem; color: var(--ink); }
.service-grid .service-card p { color: var(--slate); flex: 1; margin-bottom: 18px; }

/* ---------- Industry cards ---------- */
.industry-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .industry-grid { grid-template-columns: repeat(6, 1fr); }
  .industry-grid li { grid-column: span 2; }
  .industry-grid li:nth-child(4) { grid-column: 2 / span 2; }
}
.industry-card a {
  display: flex; flex-direction: column; height: 100%; padding: 26px; background: var(--white);
  border: 1px solid var(--border); border-top: 3px solid var(--forest-900); border-radius: var(--radius);
  color: inherit; text-decoration: none; transition: box-shadow 0.18s ease;
}
.industry-card a:hover { box-shadow: var(--shadow); }
.industry-card h3 { font-size: 1.15rem; }
.industry-card p { color: var(--slate); flex: 1; margin-bottom: 16px; }

.industry-features { display: grid; gap: 24px; }
@media (min-width: 640px) { .industry-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .industry-features { grid-template-columns: repeat(3, 1fr); } }
.industry-feature { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.industry-media { border-radius: 0; aspect-ratio: 16 / 10; }
.industry-feature-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.industry-feature h2 { font-size: 1.3rem; }
.industry-feature h2 a { color: var(--ink); text-decoration: none; }
.industry-feature h2 a::after { content: ""; position: absolute; inset: 0; }
.industry-feature { position: relative; transition: box-shadow 0.18s ease; }
.industry-feature:hover { box-shadow: var(--shadow); }
.industry-feature:focus-within { outline: 3px solid var(--forest-700); outline-offset: 2px; }
.industry-feature h2 a:focus-visible { outline: none; }
.industry-feature p { color: var(--slate); flex: 1; margin-bottom: 16px; }

.related-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.related-service a {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 24px; border: 1px solid var(--border);
  border-left: 3px solid var(--forest-900); border-radius: var(--radius); text-decoration: none; color: inherit; background: var(--white);
}
.related-service a:hover { box-shadow: var(--shadow); }
.related-name { font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.related-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--forest-800); font-size: 0.925rem; font-weight: 500; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.step-num {
  display: inline-block; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; color: var(--forest-700);
  padding-bottom: 10px; margin-bottom: 16px; border-bottom: 2px solid var(--forest-700);
}
.step h2, .step h3 { font-size: 1.15rem; }
.step p { color: var(--slate); font-size: 0.975rem; }

/* ---------- About split & brand panel ---------- */
.about-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .about-split { grid-template-columns: 1.3fr 1fr; gap: 72px; } }
.fact-list { margin: 28px 0 32px; display: grid; gap: 10px; }
.fact-list li { padding-left: 22px; position: relative; color: var(--on-dark-muted); }
.fact-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border: 2px solid var(--focus); transform: rotate(45deg); }
.brand-panel { display: flex; justify-content: center; }
.brand-panel img {
  width: 100%; max-width: 420px; border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 48px rgba(0, 0, 0, 0.35);
}
.brand-panel--inline { justify-content: flex-start; margin-top: 24px; }
.brand-panel--inline img { max-width: 280px; box-shadow: var(--shadow); }

/* ---------- Info cards ---------- */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card-grid--1 { max-width: 820px; }
.info-card { padding: 30px 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.info-card h2, .info-card h3 { font-size: 1.3rem; }
.info-card p { color: var(--slate); }
.info-card--deliverables { border-left: 4px solid var(--forest-900); }
.info-card--note { background: var(--paper-warm); }
.info-card--large h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.info-card--large p { font-size: 1.125rem; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; } }
.detail-main { max-width: 760px; }
.detail-block { padding: 32px 0; border-bottom: 1px solid var(--border); }
.detail-block:first-child { padding-top: 0; }
.detail-block:last-child { border-bottom: 0; }
.detail-block h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); }
.detail-block p { color: var(--slate); font-size: 1.0625rem; }
.detail-block .check-list { margin-top: 16px; }
.detail-block--deliverables {
  background: var(--forest-100); border: 0; border-left: 4px solid var(--forest-900); border-radius: var(--radius);
  padding: 28px; margin: 16px 0;
}
.detail-block--deliverables p { color: var(--ink); }
.detail-block--note { background: var(--paper-warm); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin: 16px 0; }
.detail-block--terms h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--forest-800); }
.detail-block--terms p { font-size: 0.975rem; }
.detail-aside { display: grid; gap: 20px; }
@media (min-width: 960px) { .detail-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.aside-card h2 { font-size: 1.15rem; }
.aside-card--dark { background: var(--forest-900); color: var(--on-dark); border-color: var(--forest-900); }
.aside-card--dark p { color: var(--on-dark-muted); font-size: 0.975rem; }
.aside-card--dark .btn { margin-top: 20px; }
.aside-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--white); font-weight: 600; text-decoration: none; }
.aside-phone:hover { color: var(--white); text-decoration: underline; }
.aside-license { margin-top: 14px; font-size: 0.85rem; color: var(--on-dark-muted); }
.aside-links { margin-bottom: 18px; }
.aside-links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; font-size: 0.975rem; }
.aside-links a:hover { color: var(--forest-800); }

/* ---------- Catch-all band ---------- */
.catch-all {
  display: grid; gap: 24px; align-items: center; padding: 36px 28px; background: var(--white);
  border: 1px solid var(--border); border-left: 4px solid var(--forest-900); border-radius: var(--radius-lg);
}
.catch-all h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.catch-all p { color: var(--slate); max-width: 64ch; }
@media (min-width: 960px) { .catch-all { grid-template-columns: 1fr auto; padding: 44px 48px; gap: 48px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; font-size: 1.1rem; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--forest-800); border-bottom: 2px solid var(--forest-800); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item p { padding: 0 0 24px; color: var(--slate); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest-900); color: var(--on-dark); padding: 72px 0; }
.cta-inner { display: grid; gap: 12px; align-items: center; }
.cta-band h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); margin-bottom: 14px; }
.cta-band p { color: var(--on-dark-muted); max-width: 60ch; font-size: 1.125rem; }
@media (min-width: 960px) {
  .cta-band { padding: 96px 0; }
  .cta-inner { grid-template-columns: 1fr auto; gap: 56px; }
  .cta-inner .btn-row { margin-top: 0; flex-direction: column; }
}

/* ---------- Editorial (About) ---------- */
.editorial-row { display: grid; gap: 12px; padding: 40px 0; border-bottom: 1px solid var(--border); }
.editorial-row:first-child { padding-top: 0; }
.editorial-row:last-child { border-bottom: 0; }
.editorial-row h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); }
.editorial-row p { color: var(--slate); font-size: 1.125rem; max-width: 68ch; }
@media (min-width: 960px) { .editorial-row { grid-template-columns: 340px 1fr; gap: 64px; } }

/* ---------- Contact ---------- */
/* Mobile order: contact details, form, then guidance notes. Desktop: details + notes left, form right. */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 16px; align-items: start;
    grid-template-areas: "primary form" "notes form";
  }
  .contact-note--primary { grid-area: primary; }
  .contact-grid > .form-card { grid-area: form; }
  .contact-grid > .contact-info { grid-area: notes; }
}
/* On phones the contact hero photo only adds scroll before the form. */
@media (max-width: 959px) { .page-contact .page-hero .hero-media { display: none; } }
.contact-info { display: grid; gap: 16px; }
.contact-note { padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.contact-note h2 { font-size: 1.15rem; margin-bottom: 8px; }
.contact-note p { color: var(--slate); font-size: 0.975rem; }
.contact-note--primary { background: var(--forest-900); border-color: var(--forest-900); color: var(--on-dark); padding: 28px; }
.contact-note--primary h2 { font-size: 1.4rem; }
.contact-note--primary p { color: var(--on-dark-muted); }
.contact-note--warn { border-left: 4px solid var(--forest-800); background: var(--paper-warm); }
.contact-methods { margin: 20px 0 8px; display: grid; gap: 4px; }
.contact-methods a, .contact-method-text { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--white); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-methods a:hover { text-decoration: underline; color: var(--white); }
.contact-license { font-size: 0.85rem; margin-top: 8px; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 40px; } }
@media (min-width: 960px) { .form-card { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Form ---------- */
.form-title { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); }
.form-intro { color: var(--slate); font-size: 0.95rem; margin-bottom: 24px; }
.form-row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.req { color: var(--error); }
.optional { font-weight: 400; color: var(--slate); }
.field-hint { font-size: 0.875rem; color: var(--slate); margin: 0 0 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #9AA59E; border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%23003B20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-800); box-shadow: 0 0 0 3px rgba(18, 98, 66, 0.25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.875rem; font-weight: 600; margin: 6px 0 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 500 !important; }
.field--choices .choice {
  padding: 11px 16px; border: 1.5px solid #9AA59E; border-radius: var(--radius); min-height: 48px; align-items: center; margin: 0;
}
.field--choices .choice:has(input:checked) { border-color: var(--forest-800); background: var(--forest-100); }
.field--choices.is-invalid .choice { border-color: var(--error); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest-800); flex: none; }
.choice--consent { font-size: 0.95rem; line-height: 1.5; }
.btn-submit { width: 100%; margin-top: 4px; min-height: 52px; font-size: 1rem; }
.btn-submit[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.form-fallback { margin-top: 18px; font-size: 0.925rem; color: var(--slate); text-align: center; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; font-weight: 500; }
.form-status:focus { outline: 3px solid var(--forest-700); outline-offset: 2px; }
.form-status--error { background: var(--error-bg); border: 1px solid #E7B8BA; color: #6E1A1E; }
.form-status--error ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.form-status--error a { color: #6E1A1E; }
.form-success { padding: 8px 0; }
.form-success h2 { font-size: 1.6rem; }
.form-success-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--success-bg); color: var(--forest-800); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.form-success p { color: var(--slate); }

/* ---------- Prose / legal ---------- */
.prose section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.prose section:first-child { padding-top: 0; }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: 1.4rem; }
.prose p { color: var(--slate); }
.plain-list li { padding: 6px 0; }
.prose .plain-list { margin-top: 12px; color: var(--slate); }
.prose .plain-list li { padding-left: 18px; position: relative; }
.prose .plain-list li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 6px; height: 6px; background: var(--forest-700); transform: rotate(45deg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: var(--on-dark-muted); padding: 72px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 48px; } }
.footer-logo { width: 180px; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); margin-bottom: 20px; }
.footer-tagline { color: var(--white); font-weight: 600; }
.footer-legal { font-size: 0.875rem; line-height: 1.6; }
.footer-heading { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white); margin-bottom: 14px; }
.footer-heading a { color: var(--white); text-decoration: none; }
.footer-heading a:hover { text-decoration: underline; }
.footer-heading--spaced { margin-top: 32px; }
.footer-col li { padding: 5px 0; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact a, .footer-contact-text { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; word-break: break-word; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 12px; padding-top: 24px; padding-bottom: 32px;
  border-top: 1px solid var(--border-dark); font-size: 0.85rem;
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (min-width: 960px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .detail-aside { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero .lead, .page-hero .lead, .breadcrumb a, .breadcrumb li { color: #000; }
}
