/* Navigant Networks — public site styles.
   Motif: the plan sheet. Thin rules, mono eyebrow labels, crop marks on
   figures, a faint survey grid on dark bands. */

@layer reset, tokens, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
  ul[class], ol[class] { padding: 0; list-style: none; }
  img, picture, svg { display: block; max-width: 100%; }
  img { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; }
}

@layer tokens {
  :root {
    --navy-900: #0B1F3A;
    --navy-800: #0F2A4E;
    --navy-700: #123A6B;
    --blue-600: #1F5AA6;
    --orange-500: #F2711C;
    --orange-700: #B4440A;
    --paper: #F6F4EF;
    --stone-200: #E4E0D8;
    --stone-300: #CFC9BD;
    --ink: #14202E;
    --slate-600: #4A5868;
    --white: #FFFFFF;
    --pale: #B9C7DA;
    --error: #A3261B;

    --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
    --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;

    --container: 75rem;
    --prose: 45rem;
    --radius: 4px;
    --shadow: 0 1px 2px rgb(11 31 58 / 0.06), 0 8px 24px rgb(11 31 58 / 0.08);
    --header-h: 4.5rem;
    --grid: linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px) 0 0 / 32px 32px,
            linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px) 0 0 / 32px 32px;
  }
}

@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
  body {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, .h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--navy-700);
    text-wrap: balance;
  }
  h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
  h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); margin-bottom: var(--s-4); }
  h3, .h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: 0; }
  p { text-wrap: pretty; }
  a { color: var(--blue-600); text-underline-offset: 0.18em; }
  a:hover { color: var(--navy-700); }
  :focus-visible { outline: 3px solid var(--orange-700); outline-offset: 2px; border-radius: 2px; }
  code { font-family: var(--font-mono); font-size: 0.9em; background: var(--paper); padding: 0.1em 0.3em; border-radius: 3px; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
}

@layer layout {
  .container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
  .section { padding-block: clamp(var(--s-7), 8vw, var(--s-9)); }
  .section--tight { padding-block: var(--s-6); }
  .section--paper { background: var(--paper); }
  .section--navy { background: var(--grid), var(--navy-900); color: var(--white); }
  .section--navy h2, .section--navy h3 { color: var(--white); }
  .section__lede { max-width: var(--prose); font-size: 1.1875rem; color: var(--slate-600); margin-bottom: var(--s-6); }
  .section--navy .section__lede { color: var(--pale); }
  .prose { max-width: var(--prose); }
  .prose > * + * { margin-top: var(--s-4); }
  .prose h2 { margin-top: var(--s-6); margin-bottom: 0; }
  .prose ul { padding-left: 1.25rem; }
  .prose li + li { margin-top: var(--s-2); }

  .split { display: grid; gap: var(--s-6); align-items: center; }
  @media (min-width: 60em) {
    .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
    .split--wide { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
    .split--flip > :first-child { order: 2; }
  }
}

@layer components {
  .skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--white); padding: var(--s-3) var(--s-4); }
  .skip-link:focus { left: var(--s-3); top: var(--s-3); }

  .eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange-700);
    margin-bottom: var(--s-3);
  }
  .eyebrow--light { color: var(--orange-500); }

  .icon { width: 1.125em; height: 1.125em; flex: none; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: var(--s-2);
    padding: 0.8125rem 1.375rem;
    font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
    border: 2px solid transparent; border-radius: var(--radius);
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  }
  .btn--sm { padding: 0.5625rem 1rem; font-size: 0.9375rem; }
  /* Orange carries navy text: white on this orange fails contrast. */
  .btn--primary { background: var(--orange-500); color: var(--navy-900); }
  .btn--primary:hover { background: #FF8A3D; color: var(--navy-900); }
  .btn--secondary { border-color: var(--navy-700); color: var(--navy-700); }
  .btn--secondary:hover { background: var(--navy-700); color: var(--white); }
  .btn--ghost-light { border-color: rgb(255 255 255 / 0.55); color: var(--white); }
  .btn--ghost-light:hover { background: var(--white); color: var(--navy-900); }
  .text-link { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; text-decoration: none; }
  .text-link:hover { text-decoration: underline; }

  /* Header */
  .site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--stone-200); }
  .site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s-4); }
  .brand img { width: 198px; height: 45px; }
  .nav-toggle { display: none; background: none; border: 1px solid var(--stone-300); border-radius: var(--radius); padding: var(--s-2); color: var(--navy-900); }
  .nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
  .nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

  .nav__list { display: flex; align-items: center; gap: var(--s-1); }
  .nav__item { position: relative; display: flex; align-items: center; }
  .nav__link { display: block; padding: var(--s-3); color: var(--ink); font-weight: 500; font-size: 0.9688rem; text-decoration: none; }
  .nav__link:hover, .nav__link[aria-current] { color: var(--blue-600); }
  .nav__link[aria-current] { box-shadow: inset 0 -2px 0 var(--orange-500); }
  .nav__caret { background: none; border: 0; padding: var(--s-1); margin-left: -0.5rem; color: var(--slate-600); display: flex; }
  .nav__caret .icon { width: 1rem; height: 1rem; transition: transform 0.15s; }
  .nav__item--cta { margin-left: var(--s-3); }

  .menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 22rem;
    background: var(--white); border: 1px solid var(--stone-200); border-top: 3px solid var(--orange-500);
    border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: var(--s-3);
  }
  .menu ul { list-style: none; padding: 0; margin: 0; }
  .menu--wide { min-width: 44rem; left: -8rem; }
  .menu--wide ul { display: grid; grid-template-columns: 1fr 1fr; }
  .menu--compact { min-width: 13rem; }
  .menu a { display: block; padding: var(--s-3); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
  .menu a:hover, .menu a:focus-visible { background: var(--paper); }
  .menu strong { display: block; font-weight: 600; font-size: 0.9688rem; color: var(--navy-700); }
  .menu span { display: block; font-size: 0.875rem; line-height: 1.4; color: var(--slate-600); }
  .has-menu:hover > .menu, .has-menu:focus-within > .menu, .has-menu.is-open > .menu { display: block; }
  .has-menu:hover .nav__caret .icon, .has-menu.is-open .nav__caret .icon { transform: rotate(180deg); }

  @media (max-width: 66em) {
    .nav-toggle { display: flex; }
    .nav {
      display: none; position: fixed; inset: var(--header-h) 0 0 0; overflow-y: auto;
      background: var(--white); padding: var(--s-4) 1.25rem var(--s-8); border-top: 1px solid var(--stone-200);
    }
    .nav.is-open { display: block; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--stone-200); }
    .nav__link { flex: 1; padding: var(--s-4) 0; font-size: 1.0625rem; }
    .nav__link[aria-current] { box-shadow: none; }
    .nav__caret { padding: var(--s-3); margin: 0; }
    .nav__caret .icon { width: 1.25rem; height: 1.25rem; }
    .menu, .menu--wide { position: static; min-width: 0; width: 100%; border: 0; box-shadow: none; padding: 0 0 var(--s-3); }
    .menu--wide ul { grid-template-columns: 1fr; }
    .has-menu:hover > .menu, .has-menu:focus-within > .menu { display: none; }
    .has-menu.is-open > .menu { display: block; }
    .nav__item--cta { border: 0; margin: var(--s-5) 0 0; }
    .nav__item--cta .btn { width: 100%; justify-content: center; }
  }

  /* Heroes */
  .hero { position: relative; }
  .hero--photo { display: grid; min-height: clamp(26rem, 62vh, 40rem); color: var(--white); background: var(--navy-900); isolation: isolate; }
  .hero--photo > * { grid-area: 1 / 1; }
  .hero--photo picture, .hero__img { width: 100%; height: 100%; }
  .hero__img { object-fit: cover; object-position: 70% 50%; }
  .hero--photo picture { position: absolute; inset: 0; z-index: -2; }
  .hero--photo > .ph { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto !important; border: 0; }
  .hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(11 31 58 / 0.92) 0%, rgb(11 31 58 / 0.78) 42%, rgb(11 31 58 / 0.18) 100%); }
  .hero__body { align-self: center; padding-block: var(--s-8); }
  .hero__body > * { max-width: 44rem; }
  .hero--photo h1 { color: var(--white); }
  .hero .lede { margin-top: var(--s-5); font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; }
  .hero--photo .lede { color: #E6ECF5; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
  .hero--text { background: var(--paper); border-bottom: 1px solid var(--stone-200); }
  .hero--text .hero__body { padding-block: clamp(var(--s-7), 7vw, var(--s-8)); }
  .hero--text .lede { color: var(--slate-600); }
  @media (max-width: 40em) {
    .hero__shade { background: linear-gradient(180deg, rgb(11 31 58 / 0.88) 0%, rgb(11 31 58 / 0.72) 100%); }
  }

  .crumbs { margin-bottom: var(--s-5); font-size: 0.875rem; }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; }
  .crumbs li + li::before { content: "/"; margin-right: var(--s-2); opacity: 0.6; }
  .crumbs a { color: inherit; }
  .hero--text .crumbs { color: var(--slate-600); }
  .hero--photo .crumbs { color: var(--pale); }

  /* Proof strip */
  .proof { background: var(--navy-900); color: var(--white); border-top: 1px solid rgb(255 255 255 / 0.12); }
  .proof__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
  .proof__cell { display: block; padding: var(--s-5) var(--s-5) var(--s-5) 0; text-decoration: none; color: var(--white); border-left: 1px solid rgb(255 255 255 / 0.14); padding-left: var(--s-5); }
  .proof__cell:first-child { border-left: 0; padding-left: 0; }
  .proof__cell strong { display: block; font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; margin-bottom: var(--s-1); }
  .proof__cell span { display: block; font-size: 0.9375rem; line-height: 1.45; color: var(--pale); }
  .proof__cell:hover strong { color: var(--orange-500); }
  @media (max-width: 40em) { .proof__cell { border-left: 0; padding-left: 0; border-top: 1px solid rgb(255 255 255 / 0.14); } .proof__cell:first-child { border-top: 0; } }

  /* Pillars */
  .pillars { display: grid; gap: var(--s-6); margin-top: var(--s-6); }
  @media (min-width: 56em) { .pillars { grid-template-columns: repeat(3, 1fr); } }
  .pillar { border-top: 1px solid var(--ink); padding-top: var(--s-4); }
  .pillar__num { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.1em; color: var(--orange-700); }
  .pillar h3 { margin: var(--s-3) 0; }
  .pillar p { color: var(--slate-600); margin-bottom: var(--s-4); }

  /* Cards */
  .cards { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
  .card { background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.15s, border-color 0.15s; }
  .card:hover, .card:focus-within { box-shadow: var(--shadow); border-color: var(--stone-300); }
  .card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
  .card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
  .card__media picture, .card__img { width: 100%; height: 100%; }
  .card__img { object-fit: cover; object-position: 80% 50%; }
  .card__media .ph { aspect-ratio: auto !important; height: 100%; border: 0; }
  .card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-5); }
  .card__body h3 { margin-bottom: var(--s-3); }
  .card__body p:not(.eyebrow) { color: var(--slate-600); font-size: 1rem; margin-bottom: var(--s-4); }
  .card__more { margin-top: auto; display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--blue-600); }

  /* Tiles and link grids */
  .tiles { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); margin-top: var(--s-5); }
  .tile { display: flex; flex-direction: column; height: 100%; padding: var(--s-5); background: var(--white); border: 1px solid var(--stone-200); border-top: 3px solid var(--navy-700); border-radius: var(--radius); color: inherit; text-decoration: none; }
  a.tile:hover { border-top-color: var(--orange-500); box-shadow: var(--shadow); }
  .tile h3 { margin-bottom: var(--s-3); }
  .tile p { color: var(--slate-600); font-size: 1rem; margin-bottom: var(--s-4); }
  .tiles--plain .tile p { margin-bottom: 0; }

  .link-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin-top: var(--s-5); }
  .link-grid a { position: relative; display: block; height: 100%; padding: var(--s-4) var(--s-7) var(--s-4) var(--s-4); background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius); text-decoration: none; color: inherit; }
  .link-grid a:hover { border-color: var(--navy-700); }
  .link-grid strong { display: block; color: var(--navy-700); }
  .link-grid span { display: block; font-size: 0.9375rem; line-height: 1.45; color: var(--slate-600); margin-top: var(--s-1); }
  .link-grid .icon { position: absolute; right: var(--s-4); top: var(--s-4); color: var(--orange-700); }

  /* Checklist */
  .checklist { display: grid; gap: var(--s-5) var(--s-7); margin-top: var(--s-6); }
  @media (min-width: 52em) { .checklist { grid-template-columns: 1fr 1fr; } }
  .checklist li { display: flex; gap: var(--s-4); }
  .checklist .icon { margin-top: 0.2rem; width: 1.375rem; height: 1.375rem; color: var(--orange-700); }
  .checklist h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
  .checklist p { color: var(--slate-600); }

  /* Process timeline */
  .timeline { display: grid; gap: var(--s-5); margin-block: var(--s-6); counter-reset: step; }
  @media (min-width: 48em) { .timeline { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 72em) { .timeline { grid-template-columns: repeat(3, 1fr); gap: var(--s-6) var(--s-5); } }
  .timeline__step { position: relative; padding-top: var(--s-5); border-top: 1px solid var(--ink); }
  .timeline__step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--orange-500); }
  .timeline__num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-700); }
  .timeline__step h3 { margin: var(--s-2) 0 var(--s-3); }
  .timeline__step p { color: var(--slate-600); font-size: 1rem; }

  /* Figures, gallery and image placeholders */
  .figure, .gallery figure, .founders__photo { position: relative; }
  .figure picture, .figure__img, .gallery__img, .founders__img { width: 100%; border-radius: var(--radius); }
  .figure::before, .figure::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--orange-500); pointer-events: none; }
  .figure::before { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
  .figure::after { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }
  .gallery { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin-top: var(--s-6); }
  .gallery figcaption, .founders figcaption, .map figcaption { margin-top: var(--s-3); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pale); }
  .gallery--light figcaption, .founders figcaption, .map figcaption { color: var(--slate-600); }
  .gallery__img { border: 1px solid rgb(255 255 255 / 0.18); }

  .ph {
    position: relative; display: grid; place-items: center; width: 100%; overflow: hidden;
    background: var(--grid), linear-gradient(135deg, var(--navy-800), var(--navy-900));
    border: 1px dashed rgb(255 255 255 / 0.3); border-radius: var(--radius); color: var(--pale);
  }
  .ph::after {
    content: ""; position: absolute; inset: 0; opacity: 0.1;
    background: center / min(38%, 9rem) no-repeat url("/img/logo-mark.svg"); filter: brightness(0) invert(1);
  }
  .ph__label { position: relative; z-index: 1; display: grid; gap: 2px; max-width: 92%; padding: var(--s-3) var(--s-4); background: rgb(11 31 58 / 0.86); border: 1px solid var(--orange-500); border-radius: var(--radius); font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.4; text-align: left; color: var(--white); }
  .ph__label strong { color: var(--orange-500); font-size: 0.8125rem; }
  .hero--photo .ph__label { position: absolute; right: var(--s-4); bottom: var(--s-4); }
  @media (max-width: 40em) { .hero--photo .ph__label { top: var(--s-3); bottom: auto; right: var(--s-3); } }

  /* Founders */
  .founders { display: grid; gap: var(--s-6); align-items: start; margin-block: var(--s-5); }
  @media (min-width: 56em) { .founders { grid-template-columns: minmax(0, 30rem) 1fr; gap: var(--s-7); } }
  .founders__photo { max-width: 30rem; }
  .founders__img { box-shadow: var(--shadow); }
  .founders__bios { display: grid; gap: var(--s-5); }
  .founders__bios h3 { margin-bottom: var(--s-2); }
  .founders__bios p { color: var(--slate-600); }

  /* Tools */
  .chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
  .chips li { padding: var(--s-2) var(--s-4); border: 1px solid var(--stone-300); border-radius: 999px; background: var(--white); font-size: 0.9375rem; font-weight: 500; }

  /* Boundary box, FAQ, facts */
  .boundary { max-width: 52rem; padding: var(--s-5) var(--s-6); border: 1px solid var(--stone-300); border-left: 4px solid var(--orange-500); background: var(--paper); border-radius: var(--radius); }
  .boundary h2 { margin-bottom: var(--s-3); }
  .boundary p + p { margin-top: var(--s-3); }
  .faq > div { padding-block: var(--s-4); border-top: 1px solid var(--stone-200); }
  .faq dt { font-family: var(--font-serif); font-weight: 600; font-size: 1.1875rem; color: var(--navy-700); margin-bottom: var(--s-2); }
  .faq dd { color: var(--slate-600); }
  .facts { margin-top: var(--s-5); border-top: 1px solid var(--ink); }
  .facts > div { display: grid; gap: var(--s-1) var(--s-5); padding-block: var(--s-4); border-bottom: 1px solid var(--stone-300); }
  @media (min-width: 48em) { .facts > div { grid-template-columns: 14rem 1fr; } }
  .facts dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-700); padding-top: 0.3rem; }
  .facts__asof { margin-top: var(--s-4); font-size: 0.875rem; color: var(--slate-600); }

  /* Region map */
  .map svg { width: 100%; height: auto; border: 1px solid var(--stone-200); border-radius: var(--radius); background: var(--paper); }
  .map__state { fill: var(--stone-300); stroke: var(--paper); stroke-width: 1; }
  .map__state--focus { fill: var(--navy-700); stroke: rgb(255 255 255 / 0.55); }
  .map__radius { fill: none; stroke: var(--orange-500); stroke-width: 1.75; stroke-dasharray: 6 4; }
  .map__city { fill: var(--white); stroke: var(--navy-900); stroke-width: 1; }
  .map__home { fill: var(--orange-500); stroke: var(--white); stroke-width: 1.5; }
  .map__home-ring { fill: none; stroke: var(--orange-500); stroke-width: 1.5; }
  .map__label { font-family: var(--font-sans); font-size: 12px; font-weight: 500; fill: var(--white); paint-order: stroke; stroke: var(--navy-900); stroke-width: 3px; stroke-linejoin: round; }
  .map__label--home { font-size: 14px; font-weight: 700; }

  /* CTA band */
  .cta-band { background: var(--grid), var(--navy-900); color: var(--white); padding-block: clamp(var(--s-7), 7vw, var(--s-8)); }
  .cta-band__inner { display: grid; gap: var(--s-6); align-items: center; }
  @media (min-width: 60em) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } .cta-band__actions { justify-content: flex-end; } }
  .cta-band h2 { color: var(--white); }
  .cta-band p:not(.eyebrow) { color: var(--pale); max-width: 38rem; }
  .cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

  /* Forms */
  .form { display: grid; gap: var(--s-5); }
  .form__row { display: grid; gap: var(--s-5); }
  @media (min-width: 40em) { .form__row { grid-template-columns: 1fr 1fr; } }
  .field label { display: block; font-weight: 600; font-size: 0.9688rem; margin-bottom: var(--s-2); }
  .field__opt { font-weight: 400; color: var(--slate-600); font-size: 0.875rem; }
  .field input, .field select, .field textarea { width: 100%; padding: 0.75rem 0.875rem; border: 1px solid var(--stone-300); border-radius: var(--radius); background: var(--white); }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); outline: 3px solid rgb(31 90 166 / 0.25); outline-offset: 0; }
  .field textarea { resize: vertical; min-height: 9rem; }
  .field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
  .field__error { margin-top: var(--s-2); color: var(--error); font-size: 0.9375rem; }
  .field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .form__alert, .form__ok { padding: var(--s-4); border-radius: var(--radius); border: 1px solid; }
  .form__alert { color: var(--error); border-color: var(--error); background: #FCF1EF; }
  .form__ok { color: #14532D; border-color: #14532D; background: #EFF8F1; }
  .form .btn { justify-self: start; }

  .contact-aside { padding: var(--s-6); background: var(--paper); border: 1px solid var(--stone-200); border-radius: var(--radius); }
  .contact-aside h2 { margin-bottom: var(--s-4); }
  .contact-aside h2:not(:first-child) { margin-top: var(--s-6); }
  .contact-list { display: grid; gap: var(--s-3); }
  .contact-list li { display: flex; align-items: center; gap: var(--s-3); }
  .contact-list .icon { color: var(--orange-500); }
  .contact-list a { color: inherit; }
  .steps { list-style: decimal; padding-left: 1.25rem; display: grid; gap: var(--s-3); color: var(--slate-600); }

  /* Footer */
  .site-footer { background: var(--navy-900); color: var(--pale); padding-top: var(--s-8); font-size: 0.9688rem; }
  .site-footer a { color: var(--pale); text-decoration: none; }
  .site-footer a:hover { color: var(--white); text-decoration: underline; }
  .site-footer__grid { display: grid; gap: var(--s-7) var(--s-6); }
  @media (min-width: 48em) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 72em) { .site-footer__grid { grid-template-columns: 1.5fr 1.3fr 1.2fr 0.8fr; } }
  .site-footer__brand img { width: 198px; height: 45px; margin-bottom: var(--s-4); }
  .site-footer__brand p { max-width: 24rem; margin-bottom: var(--s-5); }
  .site-footer h2 { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: var(--s-4); }
  .site-footer h2 a { color: var(--white); }
  .site-footer__sub { margin-top: var(--s-6); }
  .site-footer__col ul { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
  .site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-block: var(--s-5); border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 0.875rem; }

  /* Dev-only TODO markers */
  .todo { display: inline-block; margin: var(--s-2) 0; padding: 2px var(--s-2); background: #FFF3A3; color: #4A3B00; border: 1px dashed #A68A00; border-radius: 3px; font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.4; }
}

@layer utilities {
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  .hero--photo { color: var(--ink); background: none; min-height: 0; }
  .hero--photo h1 { color: var(--navy-700); }
  .hero__shade, .hero--photo picture, .hero--photo > .ph { display: none; }
}
