/* ==========================================================================
   Prescott's Family Law - site styles
   Direction: warm editorial. Cream paper ground, deep evergreen ink,
   clay accent. Serif display with real character, quiet sans for body.
   Light theme only, committed and painted explicitly.
   ========================================================================== */

:root {
  /* Color */
  --ink:        #16211d;
  --ink-2:      #2b3a33;
  --muted:      #5a6b63;
  --muted-soft: #667770; /* kept dark enough for 4.5:1 on paper and cream */
  --cream:      #f8f4ec;
  --cream-2:    #f1eadd;
  --paper:      #fffdf8;
  --line:       #e2d9c9;
  --line-soft:  #ede5d7;
  --clay:       #a2452a;
  --clay-dark:  #82361f;
  --clay-tint:  #f6e9e2;
  --sage:       #56776a;
  --sage-tint:  #e6eeea;
  --gold:       #b98229;
  --gold-tint:  #f7edd8;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-xs:    0.75rem;
  --text-sm:    0.8125rem;
  --text-base:  clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --text-lg:    clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --text-xl:    clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-h3:    clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-h2:    clamp(1.75rem, 1.45rem + 1.4vw, 2.75rem);
  --text-h1:    clamp(2.25rem, 1.6rem + 2.9vw, 4.25rem);

  /* Space */
  --space-section: clamp(3.5rem, 2.5rem + 4.5vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);

  /* Motion */
  --dur-fast: 140ms;
  --dur: 260ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(22,33,29,0.05), 0 6px 18px -12px rgba(22,33,29,0.30);
  --shadow-md: 0 2px 4px rgba(22,33,29,0.05), 0 24px 48px -28px rgba(22,33,29,0.38);
}

/* --------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: var(--text-h1); font-variation-settings: "SOFT" 0, "WONK" 1; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1.15em; }
a { color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

/* ------------------------------------------------------- Layout helpers */
.wrap { width: min(1200px, 100% - (var(--gutter) * 2)); margin-inline: auto; }
.wrap-mid { width: min(920px, 100% - (var(--gutter) * 2)); margin-inline: auto; }
.wrap-narrow { width: min(720px, 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #e9e3d7; }
.section--ink h2, .section--ink h3 { color: var(--paper); }
.section--ink .eyebrow { color: var(--gold); }
.section--ink .eyebrow::before { background: var(--gold); }
/* Cards keep their own light ground inside a dark section, so their text has to
   be re-darkened or it inherits the section's near-white and vanishes. */
.section--ink .card { color: var(--ink-2); }
.section--ink .card h2, .section--ink .card h3, .section--ink .card h4 { color: var(--ink); }
.section--ink .card .eyebrow { color: var(--clay); }
.section--ink .card .eyebrow::before { background: var(--clay); }
.section--edge { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.skip-link {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 0.7rem 1.1rem;
  border-radius: var(--radius); font-weight: 600; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0.75rem; color: var(--paper); }

/* ------------------------------------------------------ Text furniture */
.eyebrow {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 650;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay);
  display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: var(--clay); flex: none; }
.lede { font-size: var(--text-lg); color: var(--muted); max-width: 62ch; }
.section--ink .lede { color: #bfc9c3; }
.small { font-size: var(--text-sm); color: var(--muted); }
.section-head { max-width: 68ch; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Placeholder token - every [[TOKEN]] the client still needs to supply. */
.tk {
  background: var(--gold-tint);
  border-bottom: 1px dashed var(--gold);
  padding: 0 0.2em; border-radius: 2px;
  font-size: 0.95em; color: #6d4d12;
  overflow-wrap: anywhere;
}
/* Tokens sitting inside display-sized numbers would otherwise blow the cell out. */
.stats .num .tk, .hero-badge .num .tk { font-size: 0.42em; letter-spacing: 0.02em; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 620;
  letter-spacing: 0.01em; padding: 0.85rem 1.5rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--clay); color: #fff8f4; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--clay-dark); color: #fff8f4; box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.link-arrow {
  font-weight: 620; font-size: 0.9375rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  border-bottom: 1.5px solid var(--clay-tint); padding-bottom: 2px;
  transition: border-color var(--dur-fast) var(--ease), gap var(--dur-fast) var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { border-color: var(--clay); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------- Header */
.topbar {
  background: var(--ink); color: #b6c2bb; font-size: var(--text-sm);
  padding-block: 0.5rem;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; align-items: center; justify-content: space-between; }
.topbar a { color: #e4ded1; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-note { display: flex; align-items: center; gap: 0.5rem; }
.topbar-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none; }

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,253,248,0.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }
.wordmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); flex: none; }
.wordmark svg { width: 34px; height: 34px; flex: none; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1.05; }
.wordmark-name { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.wordmark-sub { font-size: 0.625rem; letter-spacing: 0.19em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav-item { position: relative; }
.nav-link, .nav-toggle {
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 550; color: var(--ink-2);
  background: none; border: 0; padding: 0.55rem 0.75rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem;
  white-space: nowrap; line-height: 1.65;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav-link:hover, .nav-toggle:hover { color: var(--clay); background: var(--cream-2); }
.nav-link[aria-current="page"] { color: var(--clay); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.15rem; height: 2px; background: var(--clay);
}
.nav-toggle .chev { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-1px,-1px); transition: transform var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(-135deg) translate(-2px,-2px); }
.nav-menu {
  position: absolute; top: calc(100% + 0.4rem); left: 0; min-width: 272px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 0.5rem; display: none; z-index: 110;
}
.nav-menu[data-open="true"] { display: block; }
.nav-menu a {
  display: block; padding: 0.6rem 0.75rem; border-radius: var(--radius);
  text-decoration: none; color: var(--ink-2); font-size: 0.9375rem; font-weight: 520;
}
.nav-menu a:hover { background: var(--cream-2); color: var(--clay); }
.nav-menu a small { display: block; font-size: var(--text-xs); color: var(--muted-soft); font-weight: 400; }
.masthead-cta { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.nav-burger { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0.5rem 0.7rem; cursor: pointer; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.875rem; color: var(--ink); }
.nav-burger .bars { width: 18px; display: grid; gap: 4px; }
.nav-burger .bars span { height: 1.8px; background: var(--ink); border-radius: 2px; display: block; }

@media (max-width: 1200px) {
  .nav-burger { display: inline-flex; }
  .masthead-cta .btn { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.75rem var(--gutter) 1.5rem; box-shadow: var(--shadow-md);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav[data-open="true"] { display: flex; }
  .nav-link, .nav-toggle { width: 100%; justify-content: flex-start; padding: 0.75rem 0.25rem; font-size: 1.0625rem; }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0.5rem 0.75rem; min-width: 0; background: transparent; border-left: 2px solid var(--line); margin-left: 0.25rem; }
  .nav-toggle .chev { display: none; }
  .nav-mobile-cta { display: block; margin-top: 1rem; }
  .nav-mobile-cta .btn { width: 100%; }
}
@media (min-width: 1201px) { .nav-mobile-cta { display: none; } }

/* Very narrow phones: let the wordmark give way so the menu button still fits. */
@media (max-width: 430px) {
  .masthead .wrap { gap: 0.75rem; min-height: 66px; }
  .wordmark { flex: 0 1 auto; min-width: 0; gap: 0.5rem; }
  .wordmark svg { width: 28px; height: 28px; }
  .wordmark-name { font-size: 1.0625rem; }
  .wordmark-sub { display: none; }
  .nav-burger { padding: 0.5rem 0.6rem; }
}

/* ----------------------------------------------------------------- Hero */
.hero { position: relative; background: var(--cream); overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 85% 8%, rgba(184,130,41,0.10), transparent 70%),
    radial-gradient(45% 45% at 5% 92%, rgba(86,119,106,0.12), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero-lede { font-size: var(--text-lg); color: var(--muted); max-width: 48ch; margin-bottom: 2rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.hero-badge {
  position: absolute; left: -1.75rem; bottom: -1.5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.1rem 1.35rem; box-shadow: var(--shadow-md); max-width: 250px;
}
.hero-badge .num { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: var(--clay); display: block; }
.hero-badge .cap { font-size: var(--text-sm); color: var(--muted); margin-top: 0.35rem; display: block; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { position: static; margin-top: 1rem; max-width: none; }
}

/* ------------------------------------------------- Photographic surfaces */
/* Shared behaviour for every element carrying a .bg-* photo class.
   background-attachment: fixed is what makes the image sit still while the
   page scrolls. It is switched off below 900px because iOS Safari and several
   Android browsers either ignore it or render it with bad jank, and off again
   for anyone who has asked for reduced motion. */
.photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}
@media (min-width: 901px) {
  .photo--fixed { background-attachment: fixed; }
}
@media (prefers-reduced-motion: reduce) {
  .photo--fixed { background-attachment: scroll !important; }
}
/* Scrims. Photographs are unpredictable, so no text sits directly on one -
   every variant below guarantees the contrast the type needs. */
.photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.photo--scrim-left::before {
  background: linear-gradient(100deg,
    rgba(14,22,19,0.96) 0%, rgba(14,22,19,0.93) 38%,
    rgba(14,22,19,0.66) 64%, rgba(14,22,19,0.40) 100%);
}
.photo--scrim-bottom::before {
  background: linear-gradient(to top,
    rgba(14,22,19,0.94) 0%, rgba(14,22,19,0.78) 38%,
    rgba(14,22,19,0.42) 70%, rgba(14,22,19,0.28) 100%);
}
.photo--scrim-flat::before { background: rgba(14,22,19,0.86); }
@media (max-width: 700px) {
  .photo--scrim-left::before,
  .photo--scrim-bottom::before { background: rgba(14,22,19,0.90); }
}
.photo--scrim-heavy::before { background: rgba(14,22,19,0.91); }
.photo > * { position: relative; }

/* ------------------------------------------------------ Photographic hero */
.hero-photo {
  /* Fills the screen below the header. --chrome is the measured height of the
     top bar plus the masthead; site.js keeps it accurate as the top bar wraps,
     and the fallback covers the no-JS case. svh keeps mobile browser chrome
     from pushing the bottom of the hero out of view. */
  min-height: calc(100vh - var(--chrome, 110px));
  min-height: calc(100svh - var(--chrome, 110px));
  display: flex; align-items: flex-end;
  /* Content is bottom-aligned, so generous top padding only pushes the hero
     past the fold. Kept modest. */
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(4.5rem, 3rem + 5vw, 7rem);
  color: var(--paper);
}
/* Kept narrow so the headline clears the signage in the photograph behind it. */
.hero-photo h1 { color: var(--paper); max-width: 13ch; }
.hero-photo { background-position: center 62%; }
.hero-photo .eyebrow { color: var(--gold); }
.hero-photo .eyebrow::before { background: var(--gold); }
.hero-photo-inner { max-width: 37rem; }
.hero-photo .hero-lede { color: #dfe5e1; max-width: 46ch; font-size: var(--text-lg); }
.hero-photo .small { color: #b9c3bd; }
.hero-photo .btn-ghost { border-color: var(--paper); color: var(--paper); }
.hero-photo .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* A full screen of photograph hides the fact that anything follows it, so every
   full-height hero carries a cue. */
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(1.25rem, 2vh, 2.25rem);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 650; color: #cfd6d1; text-decoration: none;
  padding: 0.5rem 0.75rem; border-radius: var(--radius); z-index: 2;
  transition: color var(--dur-fast) var(--ease);
}
.scroll-cue:hover { color: var(--paper); }
.scroll-cue svg { width: 20px; height: 20px; animation: cue-drift 2.4s var(--ease) infinite; }
@keyframes cue-drift {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(5px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
@media (max-height: 560px) { .scroll-cue { display: none; } }

/* --------------------------------------------------------- Photo band */
/* A full-bleed section used as a divider: a quote or a call to action over a
   still photograph. */
.band-photo {
  color: var(--paper);
  padding-block: clamp(4rem, 3rem + 6vw, 7.5rem);
  text-align: center;
}
.band-photo h2 { color: var(--paper); max-width: 22ch; margin-inline: auto; }
.band-photo p { color: #d6ddd8; max-width: 58ch; margin-inline: auto; }
.band-photo .eyebrow { color: var(--gold); justify-content: center; }
.band-photo .eyebrow::before { background: var(--gold); }
.band-photo blockquote {
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1.28; letter-spacing: -0.015em; color: var(--paper);
  max-width: 24ch; margin: 0 auto;
}
.band-photo figcaption { margin-top: 1.5rem; font-size: var(--text-sm); color: #b9c3bd; }
.band-photo .btn-ghost { border-color: var(--paper); color: var(--paper); }
.band-photo .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.band-photo .btn-row { justify-content: center; }

/* --------------------------------------------------- Inline photo frames */
.figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cream-2); border: 1px solid var(--line);
}
.figure img { width: 100%; height: auto; display: block; }
.figure figcaption {
  font-size: var(--text-sm); color: var(--muted);
  padding: 0.85rem 1.1rem; background: var(--paper);
  border-top: 1px solid var(--line);
}
.figure--plain { border: 0; background: none; }
.figure--plain img { border-radius: var(--radius-lg); }

/* Page hero for interior pages */
.page-hero { background: var(--ink); color: #d9d3c7; padding-block: clamp(3rem, 2rem + 3.5vw, 5.5rem); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -6%; top: -40%; width: 46%; aspect-ratio: 1;
  border-radius: 50%; border: 1px solid rgba(233,227,215,0.14); pointer-events: none;
}
.page-hero::before {
  content: ""; position: absolute; right: 6%; bottom: -55%; width: 34%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(184,130,41,0.16), transparent 65%); pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--paper); max-width: 20ch; }
.page-hero .lede { color: #b9c3bd; max-width: 58ch; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::before { background: var(--gold); }
/* Interior hero with a photograph behind it. The decorative circles are
   switched off and ::before is reused as the scrim, so the cream type keeps
   the same contrast it has on the plain ink version. */
.page-hero--photo {
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: calc(100vh - var(--chrome, 110px));
  min-height: calc(100svh - var(--chrome, 110px));
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(4.5rem, 3rem + 5vw, 7rem);
}
@media (min-width: 901px) {
  .page-hero--photo { background-attachment: fixed; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero--photo { background-attachment: scroll !important; }
}
.page-hero--photo::before {
  inset: 0; right: auto; bottom: auto;
  width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0;
  background: linear-gradient(100deg,
    rgba(14,22,19,0.95) 0%, rgba(14,22,19,0.91) 42%,
    rgba(14,22,19,0.82) 74%, rgba(14,22,19,0.74) 100%);
}
.page-hero--photo::after { display: none; }

.crumbs { font-size: var(--text-sm); color: #8f9c95; margin-bottom: 1.5rem; }
.crumbs a { color: #b9c3bd; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { padding: 0 0.4rem; }

/* ---------------------------------------------------------------- Grids */
.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--sticky > :first-child { position: sticky; top: 108px; }
/* Grid children default to min-width:auto, which lets a wide table push the
   whole column out. Allow them to shrink so .table-scroll can do its job. */
.split > *, .grid > *, .pillars > * { min-width: 0; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } .split--sticky > :first-child { position: static; } }

/* ---------------------------------------------------------------- Cards */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 1rem + 1vw, 2rem);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card .link-arrow { margin-top: auto; padding-top: 1rem; align-self: flex-start; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--clay); transform: translateY(-3px); box-shadow: var(--shadow-md); }
a.card:hover h3 { color: var(--clay); }
.card--feature { background: linear-gradient(160deg, var(--paper), var(--cream-2)); }
.card-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--sage-tint); color: var(--sage);
  display: grid; place-items: center; margin-bottom: 1rem; flex: none;
}
.card-icon svg { width: 21px; height: 21px; }
.card--clay .card-icon { background: var(--clay-tint); color: var(--clay); }
.card--gold .card-icon { background: var(--gold-tint); color: var(--gold); }
.tag {
  display: inline-block; font-size: var(--text-xs); font-weight: 650; letter-spacing: 0.09em;
  text-transform: uppercase; color: #3d5a4e; background: var(--sage-tint);
  padding: 0.25rem 0.6rem; border-radius: 999px; margin-bottom: 0.85rem;
}

/* Two large pillar cards */
.pillars { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.pillar--primary { background: var(--ink); color: #cdd6d1; border-color: var(--ink); }
.pillar--primary h2, .pillar--primary h3 { color: var(--paper); }
.pillar--primary .eyebrow { color: var(--gold); }
.pillar--primary .eyebrow::before { background: var(--gold); }
.pillar--primary a.link-arrow { color: var(--gold); border-color: rgba(184,130,41,0.35); }
.pillar--primary a.link-arrow:hover { color: #e2b86a; border-color: var(--gold); }
.pillar--secondary { background: var(--paper); }
.pill-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.5rem; }
.pill-list li { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0; font-size: 0.9375rem; }
.pill-list li::before { content: "\2014"; color: var(--gold); flex: none; }
.pillar--secondary .pill-list li::before { color: var(--clay); }

/* ------------------------------------------------------------ Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats div { background: var(--paper); padding: clamp(1.25rem, 1rem + 1vw, 1.9rem); }
.stats .num { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1; color: var(--ink); display: block; }
.stats .cap { font-size: var(--text-sm); color: var(--muted); margin-top: 0.5rem; display: block; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* -------------------------------------------------------- Numbered rail */
.rail { counter-reset: step; display: grid; gap: 0; }
.rail-item { display: grid; grid-template-columns: 84px 1fr; gap: clamp(1rem, 0.5rem + 2vw, 2.5rem); padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0; border-top: 1px solid var(--line); }
.rail-item:last-child { border-bottom: 1px solid var(--line); }
.rail-item::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 2rem; color: var(--clay);
  line-height: 1; padding-top: 0.15rem;
}
.rail-item h3 { margin-bottom: 0.4rem; }
.rail-item p:last-child { margin-bottom: 0; }
.rail-meta { font-size: var(--text-sm); color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.6rem; }
@media (max-width: 620px) { .rail-item { grid-template-columns: 1fr; gap: 0.75rem; } }

/* ------------------------------------------------------------ Pull quote */
.quote { border-left: 3px solid var(--clay); padding-left: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 1.3vw, 2.125rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.section--ink .quote blockquote { color: var(--paper); }
.quote figcaption { margin-top: 1.25rem; font-size: var(--text-sm); color: var(--muted); }
.section--ink .quote figcaption { color: #a8b3ad; }

/* ------------------------------------------------------------ People */
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cream-2); }
.person-body { padding: 1.35rem; }
.person h3 { margin-bottom: 0.15rem; font-size: 1.1875rem; }
.person .role { font-size: var(--text-sm); color: var(--clay); font-weight: 620; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.85rem; }
.person ul { padding-left: 1.1em; font-size: 0.9375rem; color: var(--muted); }

/* ------------------------------------------------------------ Accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); font-weight: 600;
  color: var(--ink); padding: 1.35rem 3rem 1.35rem 0; position: relative; line-height: 1.35;
  transition: color var(--dur-fast) var(--ease);
}
.acc-btn:hover { color: var(--clay); }
.acc-btn::after, .acc-btn::before {
  content: ""; position: absolute; right: 0.5rem; top: 50%; background: var(--clay);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.acc-btn::before { width: 15px; height: 1.8px; transform: translateY(-50%); }
.acc-btn::after { width: 1.8px; height: 15px; right: 1.1rem; transform: translateY(-50%); }
.acc-btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.acc-panel { display: none; padding: 0 3rem 1.6rem 0; max-width: 72ch; color: var(--muted); }
.acc-panel[data-open="true"] { display: block; }
.acc-panel p:last-child, .acc-panel ul:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- Table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.9375rem; }
th, td { text-align: left; padding: 0.9rem 1.15rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { background: var(--cream-2); font-weight: 650; font-size: var(--text-sm); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }

/* ----------------------------------------------------------------- Band */
.band { background: var(--clay); color: #fdf3ee; border-radius: var(--radius-lg); padding: clamp(2rem, 1.5rem + 3vw, 4rem); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -8%; top: -60%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.07); }
.band > * { position: relative; }
.band h2 { color: #fff; }
.band p { color: #f3d9cd; max-width: 56ch; }
.band .eyebrow { color: #f3d9cd; }
.band .eyebrow::before { background: #f3d9cd; }

/* ------------------------------------------------------------ Callouts */
.note {
  border-left: 3px solid var(--sage); background: var(--sage-tint);
  padding: 1.1rem 1.35rem; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem; color: #3d5a4e;
}
.note--warn { border-color: var(--gold); background: var(--gold-tint); color: #6b4c14; }
.note--alert { border-color: var(--clay); background: var(--clay-tint); color: #7a3419; }
.note strong { color: inherit; }
.note p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ Form */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 620; margin-bottom: 0.4rem; color: var(--ink-2); }
.field .hint { font-size: var(--text-sm); color: var(--muted-soft); font-weight: 400; display: block; margin-top: 0.15rem; }
.field .req { color: var(--clay); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 0.75rem 0.9rem; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--muted-soft); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--clay); background: var(--paper); box-shadow: 0 0 0 3px var(--clay-tint); }
textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.checkbox input { margin-top: 0.25rem; width: 17px; height: 17px; accent-color: var(--clay); flex: none; }
.form-status { display: none; margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: 0.9375rem; }
.form-status[data-state="ok"] { display: block; background: var(--sage-tint); border-left: 3px solid var(--sage); color: #3d5a4e; }
.form-status[data-state="error"] { display: block; background: var(--clay-tint); border-left: 3px solid var(--clay); color: #7a3419; }
.field-error { color: var(--clay-dark); font-size: var(--text-sm); margin-top: 0.3rem; display: none; }
.field[data-invalid="true"] .field-error { display: block; }
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: var(--clay); }

/* ------------------------------------------- Long-form application forms */
.fs {
  border: 0; border-top: 1px solid var(--line); margin: 0 0 1.5rem;
  padding: 1.75rem 0 0.5rem;
}
.fs:first-of-type { border-top: 0; padding-top: 0; }
.fs > legend {
  font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  padding: 0 0.6rem 0 0; margin-bottom: 0.35rem;
}
.fs > p.small { margin-top: 0; margin-bottom: 1.25rem; max-width: 68ch; }

.choicegroup { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
.choicegroup > legend {
  font-size: 0.875rem; font-weight: 620; color: var(--ink-2);
  margin-bottom: 0.55rem; padding: 0; max-width: 72ch; line-height: 1.5;
}
.choicegroup > legend .hint { display: block; font-weight: 400; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.6rem; }
.choice {
  display: flex; align-items: center; gap: 0.55rem;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 0.6rem 0.9rem; font-size: 0.9375rem; cursor: pointer; line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.choice:hover { border-color: var(--muted-soft); background: var(--paper); }
.choice input { width: 17px; height: 17px; accent-color: var(--clay); flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--clay); background: var(--clay-tint); }
.choice:has(input:focus-visible) { outline: 2.5px solid var(--clay); outline-offset: 2px; }
.choicegroup[data-invalid="true"] .field-error { display: block; }
.choicegroup[data-invalid="true"] .choice { border-color: var(--clay); }

.ack-list { display: grid; gap: 0.9rem; }
.ack-list .field { margin-bottom: 0; }
.ack-list .checkbox { align-items: flex-start; }

/* ------------------------------------------------------ Stage indicator */
.stepline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem;
  counter-reset: none;
}
.stepline-item {
  margin: 0; padding: 0.85rem 0 0; border-top: 3px solid var(--line);
  font-size: var(--text-sm); color: var(--muted); line-height: 1.35;
}
.stepline-item a { color: inherit; text-decoration: none; display: block; }
.stepline-item a:hover { color: var(--clay); }
.stepline-n {
  display: block; font-family: var(--font-display); font-size: 1.25rem;
  line-height: 1; color: var(--muted-soft); margin-bottom: 0.25rem;
}
.stepline-l { display: block; }
.stepline-item[data-state="done"] { border-top-color: var(--sage); color: var(--muted); }
.stepline-item[data-state="done"] .stepline-n { color: var(--sage); }
.stepline-item[data-state="now"] { border-top-color: var(--clay); color: var(--ink); font-weight: 620; }
.stepline-item[data-state="now"] .stepline-n { color: var(--clay); }
@media (max-width: 760px) {
  .stepline { grid-template-columns: 1fr; gap: 0; }
  .stepline-item { border-top: 0; border-left: 3px solid var(--line); padding: 0.5rem 0 0.5rem 0.9rem; }
  .stepline-n { display: inline; margin-right: 0.4rem; font-size: 1rem; }
  .stepline-l { display: inline; }
  .stepline-item[data-state="done"] { border-left-color: var(--sage); }
  .stepline-item[data-state="now"] { border-left-color: var(--clay); }
}

th.rowhead { width: 38%; }
@media (max-width: 600px) { th.rowhead { width: auto; } }

/* ----------------------------------------------------------------- Prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.prose ul, .prose ol { color: var(--ink-2); }
.prose .updated { font-size: var(--text-sm); color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; margin-bottom: 2rem; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem 1.5rem; font-size: 0.9375rem; }
.toc h2 { font-size: 0.75rem !important; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted); border: 0 !important; padding: 0 !important; margin: 0 0 0.85rem !important; }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--clay); text-decoration: underline; }

/* ---------------------------------------------------------------- Footer */
.footer { background: var(--ink); color: #a7b3ac; padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2rem; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h2 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: #7f8d86; font-weight: 650; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer a { color: #d5cec2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .wordmark { color: var(--paper); margin-bottom: 1.15rem; }
.footer .wordmark-sub { color: #7f8d86; }
.footer-blurb { max-width: 38ch; color: #97a29b; }
.footer-legal { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.75rem; border-top: 1px solid rgba(233,227,215,0.14); font-size: var(--text-sm); color: #7f8d86; display: grid; gap: 1rem; }
.footer-legal p { margin: 0; max-width: 95ch; }
.footer-legal .row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-legal a { color: #97a29b; }
.footer .tk { background: rgba(184,130,41,0.18); color: #e8c88a; border-bottom-color: rgba(184,130,41,0.6); }

/* ------------------------------------------------------------- Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.divider-label { display: flex; align-items: center; gap: 1rem; font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 1.5rem; }
.divider-label::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* ------------------------------------------- Short-viewport escape hatch */
/* Declared last on purpose: it has to outrank the full-height hero rules that
   appear earlier in this file. On a short landscape phone a full screen leaves
   no room for the headline, so the floor is released and the heroes take their
   natural height. */
@media (max-height: 560px) {
  .hero-photo,
  .page-hero--photo { min-height: 0; }
  .scroll-cue { display: none; }
}
