/* ==========================================================================
   Polk-Neal & Associates — Design System
   Cream + Navy + Gray-Green + Marigold
   Cormorant Garamond (display) / Avenir Next → Montserrat (interface)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand core */
  --navy:        #00357A;
  --green:       #626E48;   /* the logo swoosh — print and web share it */
  --marigold:    #D6A52A;
  --cream:       #F5F1E8;
  --stone:       #E4E0D6;
  --charcoal:    #30363A;

  /* Derived — needed for legible full-bleed sections. Cream type on the brand
     green is only 4.8:1, so section grounds use the deepened shade;
     --green itself stays a detail colour (rules, eyebrows, icons). */
  --navy-deep:   #002554;
  --green-deep:  #4A5741;

  /* Alpha helpers */
  --green-line:  rgba(98, 110, 72, 0.22);
  --green-faint: rgba(98, 110, 72, 0.11);
  --navy-faint:  rgba(0, 53, 122, 0.045);
  --gold-faint:  rgba(214, 165, 42, 0.13);
  --cream-dim:   rgba(245, 241, 232, 0.72);
  --cream-line:  rgba(245, 241, 232, 0.22);

  /* Type */
  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --ui: "Avenir Next", "Avenir", "Montserrat", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Helvetica, Arial, sans-serif;

  /* Spacing */
  --pad-section: clamp(64px, 9vw, 132px);
  --wrap: 1180px;
  --measure: 68ch;

  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--ui);
  font-size: clamp(1.0625rem, 0.46vw + 0.975rem, 1.1875rem);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }

::selection { background: var(--marigold); color: var(--navy-deep); }

:focus-visible {
  outline: 2px solid var(--marigold);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 40px, var(--wrap)); }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; color: var(--navy); text-wrap: balance; }

h1, .h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.75rem, 5.4vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
}

h2, .h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.125rem, 3.9vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.008em;
}

h3, .h3 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: clamp(1.3125rem, 1.5vw, 1.6875rem);
  line-height: 1.28;
  letter-spacing: -0.005em;
}

h4 {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.35;
}

p { margin: 0 0 1.15em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1.375rem;
  max-width: none;
}

/* Serif statement line — the "experience matters" register */
.statement {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.32;
  color: var(--navy);
  letter-spacing: -0.005em;
  max-width: 28ch;
}

.lead {
  font-size: clamp(1.125rem, 0.6vw + 1.0125rem, 1.25rem);
  line-height: 1.6;
  max-width: 62ch;
}

.small {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(48, 54, 58, 0.78);
}

.tagline {
  font-family: var(--display);
  font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.005em;
}

/* Thin signature rule */
.rule {
  width: 58px;
  height: 2px;
  background: var(--marigold);
  border: 0;
  margin: 1.875rem 0;
}
.rule.thin { height: 0.0625rem; width: 100%; background: var(--green-line); margin: 0; }

/* --------------------------------------------------------------------------
   4. SECTION GROUNDS
   -------------------------------------------------------------------------- */
section { padding: var(--pad-section) 0; position: relative; }

.s-cream { background: var(--cream); }
/* Brand Soft Stone. --green-tint sat too close to the cream to read as a
   separate band, which flattened the alternation between sections. */
.s-stone { background: var(--stone); }

.s-navy {
  background: var(--navy);
  color: var(--cream-dim);
}
.s-navy h1, .s-navy h2, .s-navy h3, .s-navy h4,
.s-navy .statement, .s-navy .tagline { color: var(--cream); }
.s-navy .eyebrow { color: rgba(245, 241, 232, 0.62); }
.s-navy a { color: var(--cream); }
.s-navy .rule.thin { background: var(--cream-line); }

.s-green {
  background: var(--green-deep);
  color: rgba(245, 241, 232, 0.82);
}
.s-green h1, .s-green h2, .s-green h3, .s-green h4,
.s-green .statement, .s-green .tagline { color: var(--cream); }
.s-green .eyebrow { color: rgba(245, 241, 232, 0.66); }
.s-green a { color: var(--cream); }
.s-green .rule.thin { background: var(--cream-line); }

/* Section head block */
.section-head { margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.section-head p { max-width: 62ch; }
.section-head .statement { margin-top: 1.625rem; }

/* --------------------------------------------------------------------------
   5. CLAIMS-RECORD GRID MOTIF
   The signature: fine gray-green ruling, one navy cell, one marigold cell.
   Restrained enough that it reads as "documentation", not "spreadsheet".
   -------------------------------------------------------------------------- */
.grid-motif { position: relative; overflow: hidden; }

.grid-motif > .wrap { position: relative; z-index: 1; }

.grid-motif::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Two marked cells only — a navy one and a single marigold highlight.
     Everything here stays under 10% alpha: it should register as ruled
     documentation out of the corner of the eye, never as a spreadsheet. */
  background-image:
    linear-gradient(var(--navy-faint), var(--navy-faint)),
    linear-gradient(var(--gold-faint), var(--gold-faint)),
    repeating-linear-gradient(to right, var(--green-faint) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(to bottom, var(--green-faint) 0 1px, transparent 1px 100%);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  /* Marked cells sit in the right field, clear of the text column. */
  background-position: 1036px 148px, 1332px 518px, 0 0, 0 0;
  background-size: 148px 74px, 74px 74px, 148px 74px, 148px 74px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 72%, transparent);
}

.s-navy.grid-motif::before,
.s-green.grid-motif::before {
  background-image:
    linear-gradient(rgba(214,165,42,.08), rgba(214,165,42,.08)),
    repeating-linear-gradient(to right, rgba(245,241,232,.085) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(to bottom, rgba(245,241,232,.085) 0 1px, transparent 1px 100%);
  background-repeat: no-repeat, repeat, repeat;
  background-position: 1036px 296px, 0 0, 0 0;
  background-size: 74px 74px, 148px 74px, 148px 74px;
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease),
              color 0.28s var(--ease);
  cursor: pointer;
}
.btn .arw { transition: transform 0.28s var(--ease); }
.btn:hover, .btn:focus-visible {
  background: var(--navy-deep);
  border-color: var(--marigold);
  color: var(--cream);
}
.btn:hover .arw, .btn:focus-visible .arw { transform: translateX(4px); }

.btn.ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn.ghost:hover, .btn.ghost:focus-visible {
  background: transparent;
  border-color: var(--marigold);
  color: var(--navy);
}

.s-navy .btn, .s-green .btn {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.s-navy .btn:hover, .s-green .btn:hover,
.s-navy .btn:focus-visible, .s-green .btn:focus-visible {
  background: var(--marigold);
  border-color: var(--marigold);
  color: var(--navy-deep);
}
.s-navy .btn.ghost, .s-green .btn.ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream-line);
}
.s-navy .btn.ghost:hover, .s-green .btn.ghost:hover {
  background: transparent;
  border-color: var(--marigold);
  color: var(--cream);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2.375rem;
}

/* Understated text link with underline transition */
.link {
  font-family: var(--ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  padding-bottom: 0.3125rem;
  border-bottom: 1px solid var(--green-line);
  transition: border-color 0.28s var(--ease), color 0.28s var(--ease);
}
.link .arw { transition: transform 0.28s var(--ease); }
.link:hover, .link:focus-visible { border-bottom-color: var(--marigold); }
.link:hover .arw, .link:focus-visible .arw { transform: translateX(4px); }
.s-navy .link, .s-green .link {
  color: var(--cream);
  border-bottom-color: var(--cream-line);
}
.s-navy .link:hover, .s-green .link:hover { border-bottom-color: var(--marigold); }

/* --------------------------------------------------------------------------
   7. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--green-line);
}
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.875rem;
  /* REFLOW, NOT OVERFLOW (WCAG 2.1 SC 1.4.10). The header was `display:flex` with no wrap, which
     is only safe while the type never grows: at a 200% text preference the nav + "Let's talk"
     button need more than the line's width and the button ran off the right edge. That was
     INVISIBLE while the nav was sized in px — px never scales, so the row never got wider, and
     the missing reflow could not show itself. Converting this sheet to rem (SIZING_UNITS.md) made
     the type scale correctly AND exposed the latent overflow underneath it. Wrapping is the
     standard cure: the nav drops to a second line instead of leaving the reader with a control
     they cannot reach. Verified at html{font-size:32px} — the 200% case — not reasoned about. */
  flex-wrap: wrap;
}

.logo { display: inline-flex; align-items: center; gap: 12px; /* brand-mark */ }
.logo img { width: 40px; /* brand-mark */ height: auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark .line1 {
  font-family: var(--ui);
  font-size: 17px; /* brand-mark */
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.wordmark .line2 {
  font-family: var(--ui);
  font-size: 9.5px; /* brand-mark */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 5px; /* brand-mark */
}

.nav { display: flex; align-items: center; gap: clamp(0.875rem, 1.7vw, 1.75rem); flex-wrap: wrap; }
.nav a {
  font-family: var(--ui);
  font-size: 0.84375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  padding: 0.375rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.28s var(--ease);
  white-space: nowrap;
}
.nav a:hover { border-bottom-color: var(--marigold); }
.nav a.active { border-bottom-color: var(--marigold); }
/* `.nav a` would otherwise out-specify `.btn` and paint navy text on navy. */
.nav a.btn {
  border: 1px solid var(--navy);
  padding: 0.8125rem 1.375rem;
  font-size: 0.75rem;
  margin-left: 0.375rem;
  color: var(--cream);
}
.nav a.btn:hover,
.nav a.btn:focus-visible { border-color: var(--marigold); color: var(--cream); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 24px;
  background: var(--navy);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

@media (max-width: 1000px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--green-line);
    padding: 0.5rem 1.5rem 1.625rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%;
    padding: 0.9375rem 0;
    border-bottom: 1px solid var(--green-faint);
    font-size: 1rem;
  }
  .nav a.btn {
    margin-top: 1.125rem;
    margin-left: 0;
    width: 100%;
    justify-content: center;
    border: 1px solid var(--navy);
  }
}

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
/* Cream editorial ground. The homepage hero has to out-rank every interior page
   head, so it runs a larger display size and anchors on a single claim figure
   rather than a decorative table. */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7.75rem) 0 clamp(5.5rem, 9vw, 8.75rem);
  background-color: var(--cream);
}

.hero > .wrap { position: relative; }

/* Interior heads run clamp(44,5.4vw,72). The hero goes well past that so the
   front door is unmistakably the front door. */
.hero h1 {
  font-size: clamp(2.625rem, 5.2vw, 4.875rem);
  max-width: 20ch;
}

/* Lead-in line, set down from the main headline. Green rather than navy, so the
   hero steps green / navy / charcoal instead of sitting in one colour. Uses the
   deep green: it carries more weight beside the navy headline than --green. */
.hero h1 .h1-lead {
  display: block;
  font-size: 0.44em;
  line-height: 1.1;
  margin-bottom: 0.14em;
  color: var(--green-deep);
}

.hero .rule { margin: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(2.25rem, 4vw, 3.5rem); }

/* Copy holds the left field; the panel occupies the right, full-bleed off the
   edge. Headline sizing is tuned so the copy column never collides with it. */
.hero-copy { max-width: 43.75rem; }
.hero .statement { margin-bottom: 0; }
.hero .tagline { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.hero .cta-row { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* ---- The claim panel ----
   The firm's argument as the hero's visual: a navy field beside the headline,
   above the fold, filling what was empty cream. On navy the marigold finally
   works as type — 5.2:1 against 1.97:1 on cream — so the recoverable figure
   can carry the colour instead of only being marked by it. */
.hero-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(38vw, 480px);
  /* background: var(--navy);  <- restore this if the ledger comes back */
  display: flex;
  align-items: center;
  z-index: 2;
  overflow: hidden;
}

/* The map carries its own navy and green, so it sits on the cream rather than
   on a panel — a navy ground would swallow the dotted routes entirely. */
.hp-map { width: 100%; height: auto; }
/* Explanatory now rather than a pull quote, so it sets as supporting copy in the
   interface face rather than as a display line. */
.hp-caption {
  margin: clamp(1.125rem, 2vw, 1.625rem) 0 0;
  font-family: var(--ui);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(48, 54, 58, 0.86);
  max-width: 46ch;
}
.hp-inner {
  width: 100%;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(0.5rem, 1.6vw, 1.5rem) clamp(1.75rem, 3vw, 2.75rem)
           clamp(20px, 2.6vw, 44px);
  max-width: 35rem;
}
/* the claims-record ruling — only meaningful on the navy ledger ground
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(245,241,232,.07) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(to bottom, rgba(245,241,232,.07) 0 1px, transparent 1px 100%);
  background-size: 148px 74px;
}
*/
.hp-inner > * { position: relative; z-index: 1; }

.hp-label {
  font-family: var(--ui);
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 1.625rem;
  max-width: none;
}
.hp-label span { color: rgba(245, 241, 232, 0.5); letter-spacing: 0.12em; }

.hero-panel dl { margin: 0; position: relative; z-index: 1; }
.hp-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.125rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.18);
}
.hp-row dt {
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.72);
}
.hp-row dd {
  margin: 0;
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--cream);
}
/* The gap — the proposition, in marigold, which navy finally allows. */
.hp-row.hp-mark {
  border-bottom: 0;
  border-top: 2px solid var(--marigold);
  margin-top: 0.75rem;
  padding-top: 1.375rem;
  align-items: center;
}
.hp-row.hp-mark dt { color: var(--cream); }
.hp-row.hp-mark dd {
  font-size: clamp(2.5rem, 3.8vw, 3.625rem);
  color: var(--marigold);
}
.hp-note {
  margin: 1.625rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.35;
  color: rgba(245, 241, 232, 0.8);
  max-width: 24ch;
  position: relative;
  z-index: 1;
}

/* Below this the copy needs the full width; the panel becomes a band beneath. */
@media (max-width: 1040px) {
  .hero { padding-bottom: 0; }
  .hero-copy { max-width: none; }
  .hero-panel {
    position: static;
    width: auto;
    margin-top: clamp(3rem, 6vw, 4.5rem);
  }
  .hp-inner { max-width: var(--wrap); margin-inline: auto;
              width: min(100% - 48px, var(--wrap)); padding-inline: 0; }
}


/* Page banner for interior pages */
.page-head { padding: clamp(3.75rem, 8vw, 6.75rem) 0 clamp(3rem, 6vw, 5rem); }
/* Wide enough that the longest page head (About) sets in two lines across the
   measure instead of four in a narrow column with dead space beside it. */
.page-head h1 { max-width: 28ch; }
.page-head .lead { margin-top: 1.875rem; }

/* --------------------------------------------------------------------------
   9. SIGNATURE NUMBER SYSTEM
   Editorial rows, not cards. Marigold numeral, navy label, charcoal text.
   -------------------------------------------------------------------------- */
.numbered { margin: 0; padding: 0; list-style: none; }

.numbered li {
  display: grid;
  grid-template-columns: minmax(96px, 132px) 1fr;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--green-line);
}
.numbered li:last-child { border-bottom: 1px solid var(--green-line); }

.numbered .n {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.4vw, 3.875rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--marigold);
  letter-spacing: -0.02em;
}
.numbered .lbl {
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.numbered p { margin: 0; max-width: 58ch; }

.s-navy .numbered li, .s-green .numbered li { border-color: var(--cream-line); }
.s-navy .numbered .lbl, .s-green .numbered .lbl { color: var(--cream); }
.s-navy .numbered p, .s-green .numbered p { color: rgba(245, 241, 232, 0.8); }

@media (max-width: 640px) {
  .numbered li { grid-template-columns: 1fr; gap: 0.625rem; }
  .numbered .n { font-size: 2.375rem; }
}

/* --------------------------------------------------------------------------
   10. EDITORIAL LISTS (no cards)
   -------------------------------------------------------------------------- */
.editorial { margin: 0; padding: 0; list-style: none; }
.editorial > li {
  padding: clamp(1.875rem, 3.2vw, 2.625rem) 0;
  border-top: 1px solid var(--green-line);
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(1.25rem, 3vw, 3.5rem);
  align-items: start;
}
.editorial > li:last-child { border-bottom: 1px solid var(--green-line); }
.editorial h3 { margin: 0; }
.editorial p { margin: 0; max-width: 58ch; }

.s-navy .editorial > li, .s-green .editorial > li { border-color: var(--cream-line); }

@media (max-width: 780px) {
  .editorial > li { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Service-area copy — county or community name run in at the head of the
   paragraph, so the list reads as prose rather than as a table of places. */
.areas p { max-width: 62ch; }
.areas p strong {
  font-weight: 600;
  color: var(--navy);
}

/* Marked list — the KNOWLEDGE / EXPERIENCE / PERSISTENCE register */
.marked { margin: 0; padding: 0; list-style: none; }
.marked > li {
  padding: 1.625rem 0 1.625rem 1.875rem;
  border-top: 1px solid var(--green-line);
  position: relative;
}
.marked > li:last-child { border-bottom: 1px solid var(--green-line); }
.marked > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2.25rem;
  width: 8px;
  height: 8px;
  background: var(--marigold);
}
.marked .lbl {
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.625rem;
}
.marked p { margin: 0; }
.s-navy .marked > li, .s-green .marked > li { border-color: var(--cream-line); }
.s-navy .marked .lbl, .s-green .marked .lbl { color: var(--cream); }

/* --------------------------------------------------------------------------
   11. SPLIT LAYOUT
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 6vw, 5.75rem);
  align-items: start;
}
.split.narrow-left { grid-template-columns: 0.85fr 1fr; }
@media (max-width: 880px) {
  .split, .split.narrow-left { grid-template-columns: 1fr; }
}

/* Portrait — thin rule and a set-down caption, no card, no heavy frame. */
.about-intro { grid-template-columns: 1.1fr 0.9fr; align-items: start; }

/* Capped at the source's native 424px — the file is small, and upscaling it
   just makes it soft. Right-aligned so it still sits flush to the column edge. */
.portrait { margin: 0 0 0 auto; max-width: 26.5rem; }
.portrait img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.portrait figcaption {
  margin-top: 1.125rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--green-line);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.portrait .nm {
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.portrait .rl {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--green);
}

@media (max-width: 880px) {
  .about-intro { grid-template-columns: 1fr; }
  .portrait { max-width: 28.75rem; }
}

/* Sticky label column for long-form pages */
.aside-label {
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

/* Plain photographic band — no type over it, so a bright daytime image needs no
   scrim and keeps its own light. Caption sits under it on the measure. */
.band-photo { padding: 0; background: var(--cream); }
.band-photo > img {
  width: 100%;
  height: clamp(240px, 30vw, 430px);
  object-fit: cover;
  object-position: center 58%;
}
.band-photo .wrap { padding: 1rem 0 0; }
.band-caption {
  font-family: var(--ui);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(48, 54, 58, 0.65);
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. PHOTOGRAPHY BAND
   A blue-hour photograph is already dark, so it carries cream type with only a
   light navy scrim — no heavy overlay needed, and the image reads at nearly
   full strength.
   -------------------------------------------------------------------------- */
.s-photo {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--cream);
  padding: clamp(3.75rem, 6.6vw, 6.5rem) 0;
}
.s-photo .photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.52) brightness(0.86);
}
.s-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgba(0, 37, 84, 0.88) 0%,
    rgba(0, 37, 84, 0.76) 30%,
    rgba(0, 37, 84, 0.56) 62%,
    rgba(0, 37, 84, 0.42) 100%);
}
/* Where the band is the last section before the footer (Contact), dissolve its
   base into navy so the two meet without a seam. */
main > .s-photo:last-child::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0, 53, 122, 0) 58%,
    rgba(0, 53, 122, 0.62) 84%,
    rgba(0, 53, 122, 1) 100%);
}
.s-photo > .wrap { position: relative; z-index: 3; }
.s-photo h2 { color: var(--cream); max-width: 16ch; }

@media (max-width: 880px) {
  .s-photo::before {
    background: linear-gradient(180deg,
      rgba(0, 37, 84, 0.72) 0%,
      rgba(0, 37, 84, 0.60) 55%,
      rgba(0, 37, 84, 0.48) 100%);
  }
  main > .s-photo:last-child::after {
    background: linear-gradient(180deg,
      rgba(0, 53, 122, 0) 52%,
      rgba(0, 53, 122, 0.66) 84%,
      rgba(0, 53, 122, 1) 100%);
  }
}

.place {
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 1.875rem;
}
.place .dot { color: var(--marigold); margin: 0 0.6em; }

/* --------------------------------------------------------------------------
   13. FEE EXAMPLE FIGURE
   -------------------------------------------------------------------------- */
.ledger {
  border-top: 1px solid var(--green-line);
  margin-top: 0.75rem;
}
.ledger .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--green-line);
}
.ledger .row .k {
  font-family: var(--ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}
.ledger .row .v {
  font-family: var(--display);
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.ledger .row.hi .v { color: var(--marigold); }
.ledger .row.hi { border-bottom-color: var(--marigold); }

/* --------------------------------------------------------------------------
   14. FORM
   -------------------------------------------------------------------------- */
.form { max-width: 38.75rem; }
.field { margin-bottom: 1.625rem; }
.field label {
  display: block;
  font-family: var(--ui);
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5625rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--ui);
  font-size: 1rem;
  color: var(--charcoal);
  background: transparent;
  border: 1px solid var(--green-line);
  border-radius: 2px;
  padding: 0.875rem 1rem;
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease);
}
.field textarea { min-height: 9.25rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--green); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--marigold);
  background: rgba(255, 255, 255, 0.45);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(48,54,58,.38); }

.form-note { margin-top: 1.25rem; }

/* Honeypot — off-canvas rather than display:none, which some bots skip. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field label .req { color: var(--marigold); margin-left: 0.125rem; }

.form-status {
  margin: 0.875rem 0 0;
  font-family: var(--ui);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--charcoal);
  min-height: 1em;
}
.form-status.is-error { color: #8C2F2F; }

.form-thanks { max-width: 38.75rem; }
.form-thanks .rule { margin-top: 0; }
.form-thanks h2 { margin-bottom: 0.875rem; }
.form-thanks p { color: var(--charcoal); }
.form-thanks a { border-bottom: 1px solid var(--green-line); padding-bottom: 2px; }
.form-thanks a:hover { border-bottom-color: var(--marigold); }

.btn:disabled { opacity: 0.55; cursor: default; }
.btn:disabled:hover { background: var(--navy); border-color: var(--navy); }

.contact-direct {
  border-top: 1px solid var(--green-line);
  padding-top: 1.875rem;
  margin-top: 0.375rem;
}
.contact-direct dl { margin: 0; }
.contact-direct dt {
  font-family: var(--ui);
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.375rem;
}
.contact-direct dd {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--navy);
}
.contact-direct dd a { border-bottom: 1px solid var(--green-line); padding-bottom: 3px; }
.contact-direct dd a:hover { border-bottom-color: var(--marigold); }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--cream-dim);
  padding: clamp(3.25rem, 6vw, 4.75rem) 0 1.875rem;
}
.site-footer .rule-gold {
  height: 2px;
  width: 58px;
  background: var(--marigold);
  margin-bottom: clamp(1.75rem, 3.4vw, 2.625rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: clamp(1.625rem, 3.2vw, 3.25rem);
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.site-footer .logo img { filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer .wordmark .line1 { color: var(--cream); }
.site-footer .wordmark .line2 { color: rgba(245, 241, 232, 0.6); }
.footer-brand p {
  margin-top: 1.125rem;
  font-size: 0.9375rem;
  max-width: 34ch;
  color: var(--cream-dim);
}
.site-footer h4 {
  color: var(--cream);
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.9375rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5625rem; font-size: 0.9375rem; }
/* Street address reads as one block, so its two lines sit tighter than the
   spacing between separate list items. */
.site-footer li.addr { line-height: 1.45; }
.areas-note {
  margin: 0.875rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--cream-dim);
  max-width: 26ch;
}
.site-footer li a {
  color: var(--cream-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.125rem;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.site-footer li a:hover { color: var(--cream); border-bottom-color: var(--marigold); }

/* One legal bar: tagline, parent-company note, copyright. */
.footer-bottom {
  margin-top: clamp(2.125rem, 4vw, 3.25rem);
  padding-top: 1.375rem;
  border-top: 1px solid var(--cream-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2.125rem;
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.6);
}
.footer-bottom .tag { color: rgba(245, 241, 232, 0.78); }
.footer-bottom .copy { margin-left: auto; }

/* The Lean mark is dark-on-white artwork, so it sits on a small cream chip
   rather than being knocked out against the navy, where its navy swoosh would
   simply disappear. */
.umbrella {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
}
.umbrella img {
  width: 44px;
  height: auto;
  flex: none;
  background: var(--cream);
  border-radius: 2px;
  padding: 0.3125rem 0.375rem;
}
.umbrella span {
  line-height: 1.45;
  max-width: 42ch;
  color: rgba(245, 241, 232, 0.58);
}

@media (max-width: 900px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .copy { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   16. MOTION — gentle fade + small upward transition only
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   17. UTILITIES
   -------------------------------------------------------------------------- */
.center { text-align: center; }
.center p, .center h1, .center h2, .center .statement, .center .tagline {
  margin-left: auto;
  margin-right: auto;
}
.center .rule { margin-left: auto; margin-right: auto; }
.center .cta-row { justify-content: center; }
.narrow { max-width: 47.5rem; margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 1.25rem; }
.mt-m { margin-top: 2.125rem; }
.mt-l { margin-top: 3.25rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

@media (max-width: 700px) {
  .cta-row .btn { width: 100%; justify-content: center; }
}
