/* Brandon Valley Technology website styles.
   Tokens and base components come from the OpenDesign project (.requirements/opendesign-source); section layouts are responsive versions of its screens. */


/* Self hosted fonts (SIL Open Font License, downloaded from Google Fonts) */
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/zilla-slab-500.woff2") format("woff2");
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/zilla-slab-600.woff2") format("woff2");
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/zilla-slab-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-var.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-italic-var.woff2") format("woff2");
}

:root {
  /* Brand palette: Lynx red with prairie neutrals */
  --quartzite: #A6192E;          /* primary: buttons, mark, key emphasis */
  --prairie-gold: #D4A13A;       /* restrained accent: fills and highlights only */
  --river-slate: #7F1223;        /* secondary: links, focus, icons */
  --limestone: #F7F2EA;          /* page background */
  --dry-prairie: #E9DFD0;        /* surface: bands, chips, quiet fills */
  --warm-ink: #2A2522;           /* body text and headings */

  /* Derived red system */
  --quartzite-hover: #7F1223;                   /* button hover, darker so white text gains contrast */
  --quartzite-press: #650E1C;
  --quartzite-soft: #F6E4E7;                    /* tinted wash behind red details */
  --quartzite-facet: #C94A5B;                   /* lighter facet inside the mark */
  --gold-soft: oklch(0.92 0.06 85);            /* highlight wash */
  --gold-text: oklch(0.50 0.10 75);            /* gold when it must be text (5.3:1 on limestone) */
  --river-hover: #650E1C;                      /* link hover, darker */
  --river-soft: #F7E8EA;
  --river-deep: #7F1223;                       /* photo slot tint */
  --paper: oklch(0.99 0.006 80);               /* card face, a touch lighter than limestone */
  --muted: oklch(0.45 0.015 55);               /* secondary text (6.5:1 on limestone, 5.4:1 on dry prairie) */
  --border: oklch(0.86 0.02 70);
  --border-strong: oklch(0.62 0.02 60);        /* input borders, 3:1 against paper */
  --ink-soft: oklch(0.33 0.01 50);             /* footer surface */
  --on-dark: #F7F2EA;
  --on-dark-muted: oklch(0.82 0.015 70);

  /* State colors */
  --error: oklch(0.47 0.16 25);
  --error-soft: oklch(0.95 0.025 25);
  --success: oklch(0.45 0.08 150);
  --success-soft: oklch(0.94 0.03 150);
  --focus-ring: 0 0 0 3px var(--limestone), 0 0 0 6px var(--river-slate);

  /* Semantic roles */
  --bg: var(--limestone);
  --surface: var(--dry-prairie);
  --fg: var(--warm-ink);
  --accent: var(--prairie-gold);
  --primary: var(--quartzite);
  --link: var(--river-slate);

  /* Type */
  --font-display: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;

  --text-xs: 0.8125rem;   /* 13 captions, credits */
  --text-sm: 0.9375rem;   /* 15 meta, helper text */
  --text-base: 1.125rem;  /* 18 body */
  --text-lg: 1.3125rem;   /* 21 lead */
  --text-xl: 1.625rem;    /* 26 card titles */
  --text-2xl: 2.25rem;    /* 36 mobile h1, desktop h3 */
  --text-3xl: 3rem;       /* 48 section titles */
  --text-4xl: 4rem;       /* 64 hero */

  --leading-tight: 1.08;
  --leading-snug: 1.25;
  --leading-body: 1.55;
  --tracking-caps: 0.14em;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --gutter-desktop: 80px;
  --gutter-mobile: 20px;
  --container: 1280px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows (warm, low) */
  --shadow-sm: 0 1px 2px oklch(0.26 0.01 50 / 0.08);
  --shadow-md: 0 2px 4px oklch(0.26 0.01 50 / 0.06), 0 8px 24px oklch(0.26 0.01 50 / 0.08);
  --shadow-lg: 0 4px 8px oklch(0.26 0.01 50 / 0.08), 0 24px 48px oklch(0.26 0.01 50 / 0.14);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration: 160ms;

  /* Sizing */
  --control-h: 48px;
  --header-h: 80px;
  --header-h-mobile: 64px;
}


*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--river-hover); text-decoration-thickness: 2.5px; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}


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

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.brand:hover { color: var(--fg); }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.005em; }
.brand-sub { font-weight: 700; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--river-slate); margin-top: 5px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  background: oklch(0.963 0.012 80 / 0.96);
  border-bottom: 1px solid var(--border);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a.nav-link {
  display: inline-flex; align-items: center; height: 44px; padding: 0 12px;
  color: var(--river-slate); text-decoration: none; font-weight: 600; font-size: 17px; border-radius: var(--radius-sm);
}
.site-nav a.nav-link:hover { background: #EFD3D8; color: var(--river-slate); }
.site-nav a.nav-link:active { background: #EFD3D8; color: var(--river-slate); }
.site-nav a.nav-link:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.site-nav a.nav-link[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--river-slate); border-radius: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--control-h); padding: 0 24px;
  font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1;
  border-radius: var(--radius-md); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--quartzite); color: #FFFFFF; }
.btn-primary:hover { background: var(--quartzite-hover); color: #FFFFFF; }
.btn-primary:active { background: var(--quartzite-press); transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--river-slate); border-color: var(--river-slate); }
.btn-secondary:hover { background: var(--river-soft); color: var(--river-hover); border-color: var(--river-hover); }
.btn-secondary:active { background: #EFD3D8; }
.btn[disabled] { background: var(--dry-prairie); color: var(--muted); border-color: transparent; cursor: not-allowed; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; }

/* Eyebrow + the river wave: the one flourish, used as a short mark and as the hero underline */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--river-slate);
}
.eyebrow::before {
  content: ""; width: 36px; height: 10px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='10' viewBox='0 0 36 10'%3E%3Cpath d='M1.5 5 C 6 1, 10.5 1, 15 5 S 24 9, 28.5 5 S 33 2, 34.5 3' fill='none' stroke='%23D4A13A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.wave-underline {
  padding-bottom: 0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 6 C 6 1.5, 18 1.5, 24 6 S 42 10.5, 48 6' fill='none' stroke='%23D4A13A' stroke-width='4'/%3E%3C/svg%3E") repeat-x left bottom / 0.75em 0.19em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Section heading block */
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-title { font-size: var(--text-3xl); }
.section-lead { font-size: var(--text-lg); color: var(--muted); line-height: 1.5; }

/* Photo placeholder slot: a tinted block, never a fake photo */
.photo-slot {
  position: relative;
  overflow: hidden; overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg, oklch(1 0 0 / 0.045) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #9A1A2C, var(--river-deep));
  color: var(--on-dark);
  display: grid; place-items: center;
}
.photo-slot-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 24px; }
.photo-slot-inner svg { width: 40px; height: 40px; opacity: 0.85; }
.photo-slot-label { font-weight: 700; font-size: 15px; letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.photo-slot-note { font-size: 15px; color: var(--on-dark-muted); max-width: 30ch; }
.photo-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-caption {
  position: absolute; left: 16px; bottom: 16px; right: auto;
  background: oklch(0.99 0.006 80 / 0.94); color: var(--fg);
  padding: 8px 12px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  font-size: var(--text-xs); line-height: 1.35; max-width: calc(100% - 32px);
}
.photo-caption strong { display: block; font-size: 14px; }

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--river-soft); color: var(--river-slate);
}
.card-icon svg { width: 26px; height: 26px; }
.card-title { font-size: var(--text-xl); line-height: var(--leading-snug); }
.card-kicker { font-weight: 700; color: var(--quartzite); font-size: 16px; }
.card-body { color: var(--fg); font-size: 17px; line-height: 1.5; }
.card-meta { font-size: var(--text-sm); color: var(--muted); }
.card-meta strong { color: var(--fg); }

/* Chips */
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  background: var(--dry-prairie); color: var(--fg); border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
}
.chip-home { background: var(--quartzite); color: #FFFFFF; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-wide { grid-template-columns: 1.3fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.label { font-weight: 700; font-size: 16px; color: var(--fg); }
.label .optional { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; height: var(--control-h); padding: 0 14px;
  font: inherit; font-size: 17px; color: var(--fg);
  background: var(--paper); border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: oklch(0.55 0.015 55); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--river-slate); border-radius: var(--radius-md); }
.textarea { height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.select-wrap { position: relative; }
.select { appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.help { font-size: var(--text-sm); color: var(--muted); }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--error); border-width: 2px; background: var(--error-soft); }
.field-hint { display: block; margin-top: 6px; color: var(--muted); font-size: var(--text-sm); line-height: 1.4; }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-size: var(--text-sm); font-weight: 600; color: var(--error); line-height: 1.35; }
.field-error svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

.choice-group { display: flex; gap: 12px; }
.choice {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 16px 0 14px; flex: 1;
  background: var(--paper); border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  font-weight: 600; font-size: 16px; cursor: pointer;
}
.choice:hover { border-color: var(--muted); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--paper); flex: none; }
.choice.is-checked { border-color: var(--river-slate); background: var(--river-soft); }
.choice.is-checked .dot { border-color: var(--river-slate); box-shadow: inset 0 0 0 4px var(--paper); background: var(--river-slate); }
.choice small { font-weight: 400; color: var(--muted); }

.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); font-size: 16px; line-height: 1.4; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert-error { background: var(--error-soft); color: var(--error); border: 1.5px solid var(--error); font-weight: 600; }
.send-error-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.btn[aria-busy="true"] { cursor: progress; }

/* FAQ accordion */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 4px;
  font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--quartzite); }
.faq .faq-toggle {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--dry-prairie); color: var(--fg);
  transition: transform var(--duration) var(--ease);
}
.faq .faq-toggle svg { width: 16px; height: 16px; }
.faq details[open] .faq-toggle { transform: rotate(45deg); background: var(--quartzite); color: #FFFFFF; }
.faq .faq-answer { padding: 0 52px 20px 4px; color: var(--fg); font-size: 17px; line-height: 1.55; }

/* Footer */
.site-footer { background: var(--warm-ink); color: var(--on-dark); }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #FFFFFF; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand-sub { color: var(--prairie-gold); }
.footer-meta { color: var(--on-dark-muted); font-size: 15px; }

/* Mobile */
.m-header {
  height: var(--header-h-mobile); padding: 0 var(--gutter-mobile);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
}
.m-header .brand { gap: 10px; }
.m-header .brand img { width: 36px; height: 36px; }
.m-header .brand-name { font-size: 19px; }
.m-header .brand-sub { font-size: 9.5px; letter-spacing: 0.3em; margin-top: 4px; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px 0 12px;
  background: var(--paper); color: var(--fg); border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
}
.menu-btn:hover { background: var(--dry-prairie); }
.menu-btn svg { width: 20px; height: 20px; }
.m-pad { padding: 0 var(--gutter-mobile); }

/* Header CTA: outlined so the page's single solid primary stays in the content */
.btn-outline { background: transparent; color: var(--quartzite); border-color: var(--quartzite); }
.btn-outline:hover { background: var(--quartzite-soft); color: var(--quartzite-hover); border-color: var(--quartzite-hover); }
.btn-outline:active { background: oklch(0.89 0.04 40); }

/* ------------------------------------------------------------------ */
/* Page layout (responsive versions of the OpenDesign screens)         */
/* ------------------------------------------------------------------ */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
[hidden] { display: none !important; }
.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: 16px; top: -100px; z-index: 100; background: var(--paper); color: var(--fg); padding: 10px 16px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); font-weight: 700; }
.skip-link:focus { top: 12px; }

.section { padding: 96px 0; }
.section-band { background: var(--dry-prairie); }
.section-head { margin-bottom: 40px; }

/* Header: the mobile menu button and sheet are hidden on desktop */
.site-header .menu-btn { display: none; }
.mobile-menu { display: none; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 72px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-title { font-size: clamp(2.25rem, 1.2rem + 3.2vw, 3.875rem); line-height: 1.06; letter-spacing: -0.015em; }
.hero-sub { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); line-height: 1.5; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 22px; padding-top: 28px; margin-top: 8px; border-top: 1px solid var(--border); }
.hero-facts li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.hero-facts svg { width: 20px; height: 20px; color: var(--river-slate); flex: none; }
.hero-photo { margin: 0; aspect-ratio: 10 / 11; min-height: 320px; }

/* What we build */
.services-head { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 64px; max-width: none; }
.services-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.services-head .section-lead { max-width: 44ch; font-size: 19px; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.offer { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; }
.offer-top { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.offer .card-title { font-size: 24px; }
.offer .card-body { font-size: 16.5px; }
.offer .card-meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.offer-feature { grid-row: 1 / span 2; padding: 30px; gap: 12px; background: var(--quartzite); border-color: var(--quartzite); color: #FFFFFF; }
.offer-feature .card-icon { background: oklch(1 0 0 / 0.14); color: #FFFFFF; width: 56px; height: 56px; }
.offer-feature .card-title { font-size: 32px; }
.offer-feature .card-kicker { color: var(--gold-soft); font-size: 18px; }
.offer-feature .card-body { color: #FFFFFF; font-size: 17px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.feature-list li { display: flex; gap: 10px; font-size: 16.5px; line-height: 1.4; }
.feature-list svg { width: 20px; height: 20px; color: var(--prairie-gold); flex: none; margin-top: 3px; }
.offer-feature .card-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid oklch(1 0 0 / 0.22); }
.offer-feature .text-link { color: #FFFFFF; font-size: 18px; }
.offer-feature .text-link:hover { color: var(--gold-soft); }
.offer-feature .text-link:focus-visible { box-shadow: 0 0 0 3px var(--quartzite), 0 0 0 6px #FFFFFF; }

/* Who it's for */
.group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.group { display: flex; flex-direction: column; gap: 16px; padding: 26px 28px; }
.group-head { display: flex; align-items: center; gap: 14px; }
.group .card-title { font-size: 24px; }
.example-list { display: flex; flex-direction: column; gap: 10px; }
.card-link { margin-top: 14px; font-size: 16px; font-weight: 500; }
.example-list li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 16.5px; line-height: 1.45; }
.example-list li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--quartzite); transform: rotate(45deg); }
.group-note { background: var(--limestone); border-style: dashed; border-color: var(--border-strong); box-shadow: none; justify-content: center; }
.group-note .card-title { font-size: 26px; }
.group-note p { font-size: 17px; color: var(--muted); }

/* How it works */
.how .container { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; align-items: start; }
.how-intro { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 32px); }
.how-intro .section-title { font-size: clamp(2.25rem, 1.6rem + 1.6vw, 2.875rem); }
.how-intro .section-lead { font-size: 19px; }
.how-note { margin-top: 10px; padding: 20px 22px; background: var(--dry-prairie); border-radius: var(--radius-md); font-size: 16.5px; line-height: 1.5; }
.how-note strong { font-family: var(--font-display); font-size: 19px; display: block; margin-bottom: 4px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 4px 18px; padding: 22px 24px; }
.step-num { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; background: var(--quartzite-soft); color: var(--quartzite); }
.step-title { font-size: 22px; line-height: 1.2; align-self: center; }
.step p { font-size: 16.5px; line-height: 1.5; }
.step-optional { grid-column: 1 / -1; background: transparent; border: 1.5px dashed var(--border-strong); box-shadow: none; }
.step-optional .step-num { background: var(--dry-prairie); color: var(--fg); }
.tag { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--gold-soft); color: var(--warm-ink); font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 3px; }

/* About and FAQ */
.about-faq .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 16px; }
.col .section-title { font-size: clamp(2rem, 1.5rem + 1.4vw, 2.625rem); }

/* Our team (#25) */
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 8px; }
.person-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; padding: 26px 28px; align-items: center; }
.person-photo { margin: 0; min-height: 236px; }
.person-photo img { position: absolute; inset: 0; }
.person-copy { display: flex; flex-direction: column; gap: 8px; }
.person-name { font-size: 24px; line-height: 1.15; }
.person-title { font-size: 15px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--quartzite); }
.person-bio { font-size: 17px; line-height: 1.55; }

.about-row { display: grid; grid-template-columns: 210px 1fr; gap: 28px; margin-top: 8px; }
.about-photo { margin: 0; height: 264px; border-radius: var(--radius-md); }
.about-photo .photo-slot-inner { gap: 8px; padding: 16px; }
.about-photo .photo-slot-inner svg { width: 34px; height: 34px; }
.about-photo .photo-slot-label { font-size: 13px; }
.about-photo .photo-slot-note { font-size: 14px; }
.about-note { display: flex; flex-direction: column; gap: 12px; font-size: 17.5px; line-height: 1.55; }
.signature { font-family: var(--font-display); font-weight: 600; font-size: 32px; color: var(--quartzite); line-height: 1; margin-top: 2px; }
.towns { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.towns-label { font-weight: 700; font-size: 15px; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); }
.work-note { display: grid; grid-template-columns: 52px 1fr; gap: 18px; margin-top: 8px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.work-note .card-icon { width: 52px; height: 52px; background: var(--gold-soft); color: var(--warm-ink); }
.work-note h3 { font-size: 22px; margin-bottom: 6px; }
.work-note p { font-size: 17px; line-height: 1.5; }
.faq-col .faq { margin-top: 10px; }
.faq-more { margin-top: 18px; font-size: 17px; color: var(--muted); }

/* Contact */
.contact .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 80px; align-items: center; }
.contact-copy { display: flex; flex-direction: column; gap: 18px; }
.contact-copy .section-title { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); }
.contact-copy .section-lead { font-size: 19px; max-width: 40ch; }
.contact-facts { display: flex; flex-direction: column; gap: 18px; margin-top: 14px; padding-top: 24px; border-top: 1px solid var(--border); }
.fact { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.fact .card-icon { width: 44px; height: 44px; }
.fact .card-icon svg { width: 22px; height: 22px; }
.fact-label { font-size: 14px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); }
.fact-value { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.fact-value span { font-weight: 700; }
.form-card { padding: 28px 32px; box-shadow: var(--shadow-md); }
.form-card .textarea { height: 120px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 6px; }
.choice:has(input:focus-visible) { box-shadow: var(--focus-ring); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--text-sm); color: var(--muted); text-align: center; }
.success { display: flex; flex-direction: column; gap: 22px; padding: 40px 44px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); }
.success-icon svg { width: 32px; height: 32px; }
.success h3 { font-size: 30px; line-height: 1.18; }
.success .email { color: var(--river-slate); overflow-wrap: anywhere; }
.next-steps { display: flex; flex-direction: column; gap: 12px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.next-steps h4 { font-size: 20px; }
.next-steps ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.next-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 17px; line-height: 1.45; }
.next-steps li span:first-child { width: 28px; height: 28px; border-radius: 50%; background: var(--quartzite-soft); color: var(--quartzite); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.sent-note { background: var(--limestone); border-radius: var(--radius-md); padding: 16px 18px; font-size: 16px; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.sent-note strong { color: var(--fg); display: block; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.sent-note span { display: block; }
#sent-text { white-space: pre-line; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* Footer */
.site-footer { padding: 48px 0 36px; }
.site-footer .container { display: flex; flex-direction: column; gap: 22px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 4px; }
.footer-cols .fact-label { color: var(--on-dark-muted); font-size: 13px; }
.footer-cols span, .footer-cols a { font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid oklch(1 0 0 / 0.14); }
.footer-bottom a { color: var(--on-dark-muted); }

/* Simple content pages (privacy, 404) */
.page { padding: 72px 0 96px; }
.page .container { max-width: calc(760px + var(--gutter-desktop) * 2); display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); }
.page h2 { font-size: 26px; margin-top: 16px; }
.page p, .page li { font-size: 18px; }
.page ul { list-style: disc; padding-left: 1.25em; display: flex; flex-direction: column; gap: 6px; }

/* ------------------------------------------------------------------ */
/* Breakpoints                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1180px) {
  .site-nav { gap: 16px; }
  .site-nav a.nav-link { padding: 0 8px; font-size: 16px; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-feature { grid-row: auto; grid-column: 1 / -1; }
  .group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-faq .container { gap: 56px; }
}

@media (max-width: 1023px) {
  .container { padding: 0 40px; }
  .site-header { height: var(--header-h-mobile); }
  .site-header .site-nav { display: none; }
  .site-header .menu-btn { display: inline-flex; }
  html { scroll-padding-top: calc(var(--header-h-mobile) + 8px); }
  .mobile-menu { display: block; position: fixed; inset: var(--header-h-mobile) 0 0 0; z-index: 19; }
  .mobile-menu[hidden] { display: none; }
  .scrim { position: absolute; inset: 0; background: oklch(0.26 0.01 50 / 0.42); }
  .menu-sheet { position: relative; background: var(--limestone); border-bottom: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); padding: 8px 20px 22px; }
  .menu-sheet ul { display: flex; flex-direction: column; }
  .menu-sheet li + li { border-top: 1px solid var(--border); }
  .menu-link { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--fg); text-decoration: none; }
  .menu-link:hover { color: var(--quartzite); background: var(--dry-prairie); }
  .menu-link svg { width: 18px; height: 18px; color: var(--muted); }
  .menu-sheet .btn { margin-top: 14px; height: 52px; }
  .menu-email { margin-top: 12px; text-align: center; font-size: 15px; color: var(--muted); }
  .menu-email span { font-weight: 700; color: var(--fg); }
  .menu-btn[aria-expanded="true"] { background: var(--warm-ink); color: var(--limestone); border-color: var(--warm-ink); }
  body.menu-open { overflow: hidden; }

  .section { padding: 72px 0; }
  .hero { padding: 40px 0 72px; }
  .hero .container, .how .container, .about-faq .container, .contact .container { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .how-intro { position: static; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .team-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
  .container { padding: 0 var(--gutter-mobile); }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 9.5px; letter-spacing: 0.3em; margin-top: 4px; }
  .eyebrow { font-size: 12.5px; gap: 10px; }
  .eyebrow::before { width: 28px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: 30px; }
  .section-lead, .services-head .section-lead { font-size: 17px; }
  .hero { padding: 26px 0 56px; }
  .hero-copy { gap: 18px; }
  .hero-title { font-size: 36px; line-height: 1.08; }
  .hero-sub { font-size: 18px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; height: 52px; font-size: 17px; }
  .hero-facts { flex-direction: column; gap: 12px; padding-top: 20px; }
  .hero-photo { aspect-ratio: auto; height: 196px; border-radius: var(--radius-md); }
  .hero-photo .photo-slot-inner { flex-direction: row; gap: 10px; padding: 0 16px 32px; }
  .hero-photo .photo-slot-inner svg { width: 28px; height: 28px; }
  .hero-photo .photo-slot-note { display: none; }
  .hero-photo .photo-caption { left: 12px; bottom: 12px; padding: 6px 10px; }
  .offer-grid, .group-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .offer-grid { grid-auto-rows: auto; }
  .offer, .group { padding: 22px; }
  .offer-feature { padding: 24px 22px; }
  .offer-feature .card-title { font-size: 26px; }
  .step { padding: 20px; gap: 4px 14px; grid-template-columns: 40px 1fr; }
  .step-num { width: 40px; height: 40px; font-size: 20px; }
  .step-title { font-size: 20px; }
  .about-row { grid-template-columns: minmax(0, 1fr); }
  .about-photo { height: 220px; }
  .person-card { grid-template-columns: minmax(0, 1fr); padding: 22px; align-items: start; }
  .person-photo { min-height: 200px; }
  .faq summary { font-size: 19px; }
  .faq .faq-answer { padding-right: 8px; }
  .form-card { padding: 22px 18px; }
  .form-row, .form-row-wide { grid-template-columns: minmax(0, 1fr); }
  .choice-group { flex-direction: column; }
  .success { padding: 28px 22px; }
  .success h3 { font-size: 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-cols { flex-direction: column; gap: 18px; }
}
