/* ==========================================================================
   Neel, Robinson & Stafford, LLC — website redesign mockup
   Design system + components. No framework, no build step.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0B1733;
  --ink-2: #112452;
  --navy: #1D3575;
  --ivory: #F6F4EF;
  --paper: #FBFAF7;
  --stone: #E6E9EF;
  --stone-2: #CDD2D9;
  --accent: #45835C;
  --accent-light: #8CC3A0;
  --accent-deep: #2F6243;
  --danger: #A3402E;

  --text: #141C33;
  --muted: #56606D;
  --blue: #1D3575;
  --on-dark-muted: rgba(246, 244, 239, .72);
  --line: rgba(10, 22, 51, .14);
  --line-light: rgba(246, 244, 239, .16);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 84px;
  --radius: 2px;
  --shadow: 0 1px 2px rgba(10, 22, 51, .04), 0 24px 60px -24px rgba(10, 22, 51, .28);
  --ease: cubic-bezier(.2, .7, .1, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; interpolate-size: allow-keywords; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-light); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 32px); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  background: var(--accent); color: var(--ink); padding: 12px 18px; font-weight: 600; font-size: .9rem;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.icon {
  width: 1em; height: 1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- 3. Type ---------- */
.display { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .96; font-weight: 400; letter-spacing: -.025em; }
.h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1; font-weight: 400; letter-spacing: -.02em; }
.h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.04; font-weight: 400; letter-spacing: -.015em; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--accent-deep); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.7; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.serif { font-family: var(--serif); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .72rem; line-height: 1.4; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  color: var(--accent-deep); margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }

/* Dark surfaces share one set of overrides */
.dark { color: var(--ivory); }
.dark .eyebrow { color: var(--accent); }
.dark .lede, .dark .muted { color: var(--on-dark-muted); }
.dark em { color: var(--accent-light); }
.dark .link-arrow { color: var(--accent-light); }
.dark .btn--ghost { --btn-fg: var(--ivory); --btn-bd: rgba(246, 244, 239, .35); }
.dark .btn--ghost:hover { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-bd: var(--ivory); }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { position: relative; padding-block: clamp(80px, 11vw, 152px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--stone { background: var(--stone); }
.section--paper { background: var(--paper); }
.section--ink { background-color: var(--ink); background-image: var(--grain); }
.section--navy { background-color: var(--navy); background-image: var(--grain); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 4px; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.15fr .85fr; align-items: end; gap: 72px; }
}
.split { display: grid; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 28px; min-height: 48px;
  border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  border-radius: var(--radius); white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-light); --btn-bd: var(--accent-light); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink); }
.btn--ink:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.btn--ghost { --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink); }
.btn--sm { padding: 12px 18px; min-height: 42px; font-size: .7rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-deep); padding-bottom: 6px; position: relative; width: fit-content;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: left; transition: transform .45s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(.35); }
.link-arrow .icon { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; color: var(--ivory);
  transition: background .45s var(--ease), color .45s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line-light); transition: background .45s;
}
.site-header.is-solid {
  background: rgba(246, 244, 239, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
}
.site-header.is-solid::after { background: var(--line); }
.site-header.nav-is-open { background: transparent; color: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.nav-is-open::after { background: var(--line-light); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .45s var(--ease); }
.site-header.is-solid:not(.nav-is-open) .header-inner { height: 72px; }

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-mark { width: 30px; height: 37px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: .005em; }
.brand-sub { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; opacity: .7; margin-top: 7px; }

.primary-nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); list-style: none; }
.primary-nav a { position: relative; display: block; padding-block: 8px; font-size: .82rem; letter-spacing: .04em; opacity: .9; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a[aria-current="page"] { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-link { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; opacity: .9; }
.header-link .icon { width: 15px; height: 15px; }
.header-link:hover { opacity: 1; color: var(--accent); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 35%, transparent); background: none; border-radius: 50%;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1240px) {
  .primary-nav, .header-link { display: none; }
  .nav-toggle { display: inline-block; }
}
@media (max-width: 600px) {
  .header-actions .btn { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.35rem; }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  background-color: var(--ink); background-image: var(--grain); color: var(--ivory);
  opacity: 0; transition: opacity .4s var(--ease);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
.mobile-links { list-style: none; counter-reset: m; }
.mobile-links li { border-bottom: 1px solid var(--line-light); }
.mobile-links a {
  display: flex; align-items: baseline; gap: 18px; padding: 16px 0;
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  transition-delay: calc(var(--i, 0) * 50ms + 100ms);
}
.mobile-links a span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--accent); }
.mobile-links a:hover, .mobile-links a[aria-current="page"] { color: var(--accent-light); }
.mobile-nav.is-open .mobile-links a { opacity: 1; transform: none; }
.mobile-nav-foot { display: grid; gap: 16px; font-size: .9rem; }
.mobile-nav-foot .row { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--on-dark-muted); }
.mobile-nav-foot .row a { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- 7. Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(700px, 100svh, 1000px);
  display: flex; align-items: flex-end;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, var(--navy), var(--ink)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 22, 51, .6) 0%, rgba(10, 22, 51, .1) 30%, rgba(10, 22, 51, .45) 62%, rgba(10, 22, 51, .94) 100%),
    linear-gradient(90deg, rgba(10, 22, 51, .72) 0%, rgba(10, 22, 51, 0) 70%);
}
.hero-inner { width: 100%; display: grid; gap: 48px; padding-top: calc(var(--header-h) + 96px); padding-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 360px; align-items: end; gap: 64px; } }
.hero h1 { max-width: 11ch; margin-bottom: 28px; }
.hero .lede { color: rgba(246, 244, 239, .82); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-card {
  position: relative; padding: 30px;
  background: rgba(10, 22, 51, .42); border: 1px solid rgba(246, 244, 239, .18);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.hero-card::before { content: ""; position: absolute; top: -1px; left: 30px; width: 48px; height: 2px; background: var(--accent); }
.hero-card h2 { font-size: 1.7rem; font-weight: 400; margin: 6px 0 12px; }
.hero-card p { color: var(--on-dark-muted); font-size: .93rem; margin-bottom: 22px; }
.status { display: flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #6FBF8E; }
.status-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #6FBF8E; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero-meta {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 36px; padding-top: 28px;
  border-top: 1px solid var(--line-light); font-size: .78rem; letter-spacing: .06em; color: var(--on-dark-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta .icon { color: var(--accent); width: 16px; height: 16px; }

/* Hero entrance */
.hero-anim > * { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; }
.hero-anim > *:nth-child(2) { animation-delay: .12s; }
.hero-anim > *:nth-child(3) { animation-delay: .24s; }
.hero-anim > *:nth-child(4) { animation-delay: .36s; }
.hero-anim > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- 8. Interior page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--ink); background-image: var(--grain);
  padding-top: calc(var(--header-h) + clamp(72px, 10vw, 136px));
  padding-bottom: clamp(72px, 9vw, 120px);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(10, 22, 51, .4)), linear-gradient(0deg, var(--ink), transparent 50%); }
.page-hero h1 { max-width: 14ch; margin-bottom: 28px; }
.page-hero .lede { max-width: 36rem; }
.page-hero .hero-ctas { margin-top: 36px; }
.crumbs { display: flex; gap: 10px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 36px; }
.crumbs a:hover { color: var(--accent-light); }
.arch-deco {
  position: absolute; z-index: -1; right: var(--gutter); bottom: 0;
  width: clamp(220px, 30vw, 420px); aspect-ratio: 3 / 4;
  border: 1px solid rgba(69, 131, 92, .38); border-bottom: 0; border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.arch-deco::before, .arch-deco::after {
  content: ""; position: absolute; border: 1px solid rgba(69, 131, 92, .22); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.arch-deco::before { inset: 28px 28px 0; }
.arch-deco::after { inset: 56px 56px 0; border-color: rgba(69, 131, 92, .12); }
@media (max-width: 760px) { .arch-deco { opacity: .45; right: -60px; } }

/* ---------- 9. Stats & logos ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 36px 20px 36px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 20px; }
@media (min-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 44px 32px; border-right: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
  .stat:nth-child(even) { padding-left: 32px; }
}
.stat-num { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; font-weight: 400; letter-spacing: -.02em; }
.stat-num .unit { color: var(--accent-deep); font-size: .6em; margin-left: 2px; }
.stat-label { margin-top: 14px; font-size: .84rem; color: var(--muted); max-width: 22ch; }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; margin-top: 56px; }
.logos-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); width: 100%; }
@media (min-width: 1100px) { .logos-label { width: auto; } }
.wordmark { color: rgba(10, 22, 51, .52); transition: color .3s; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wm-1 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
.wm-2 { font-size: .95rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.wm-3 { font-family: var(--serif); font-size: 1.55rem; font-style: italic; }
.wm-4 { font-size: 1.05rem; font-weight: 300; letter-spacing: .08em; }
.wm-5 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- 10. Intro / arch figure ---------- */
.intro-grid { display: grid; gap: 56px; align-items: center; margin-bottom: clamp(80px, 10vw, 136px); }
@media (min-width: 960px) { .intro-grid { grid-template-columns: .85fr 1fr; gap: clamp(64px, 8vw, 128px); } }
.arch-figure { position: relative; margin: 0; max-width: 520px; }
.arch-figure .frame { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--ink)); }
.arch-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.arch-figure:hover img { transform: scale(1.04); }
.arch-figure::before {
  content: ""; position: absolute; inset: -16px -16px 16px 16px; z-index: -1;
  border: 1px solid var(--accent); border-bottom: 0; border-radius: 999px 999px 0 0; opacity: .5;
}
.arch-caption {
  position: absolute; right: -8px; bottom: 32px; background: var(--ink); color: var(--ivory);
  padding: 20px 26px; display: grid; gap: 2px; box-shadow: var(--shadow);
}
@media (min-width: 960px) { .arch-caption { right: -48px; } }
.arch-caption strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1; }
.arch-caption span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.intro-copy h2 { margin-bottom: 28px; }
.intro-copy .lede { margin-bottom: 20px; }
.signature { display: flex; align-items: center; gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.signature-name { font-family: var(--serif); font-style: italic; font-size: 1.7rem; }
.signature small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Audience cards */
.audience-grid { display: grid; gap: 48px 32px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.audience { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--ink); }
.audience::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.audience:hover::before { transform: scaleX(1); }
.audience > .icon { width: 30px; height: 30px; color: var(--accent-deep); margin-bottom: 8px; }
.audience h3 { font-size: 1.75rem; }
.audience p { color: var(--muted); font-size: .93rem; flex: 1; }

/* ---------- 11. Practice grid ---------- */
.practice-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .practice-grid { grid-template-columns: repeat(4, 1fr); } }
.practice {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 320px;
  padding: 40px 32px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .55s var(--ease), color .55s var(--ease);
}
.practice::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.practice:hover { background: var(--ink); color: var(--ivory); }
.practice:hover::before { transform: scaleX(1); }
.practice > .icon { width: 40px; height: 40px; stroke-width: 1.1; color: var(--accent-deep); margin-bottom: 18px; transition: color .5s; }
.practice:hover > .icon { color: var(--accent); }
.practice-num { position: absolute; top: 40px; right: 32px; font-size: .7rem; letter-spacing: .2em; color: var(--muted); transition: color .5s; }
.practice h3 { font-size: 1.7rem; }
.practice p { color: var(--muted); font-size: .92rem; flex: 1; transition: color .5s; }
.practice:hover p, .practice:hover .practice-num { color: var(--on-dark-muted); }
.practice .link-arrow { opacity: .85; }
.practice:hover .link-arrow { color: var(--accent-light); opacity: 1; }

/* ---------- 12. Horizontal timeline (home) ---------- */
.timeline { list-style: none; display: grid; gap: 40px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(var(--accent), rgba(69, 131, 92, .15)); }
.t-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; }
.t-node {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--accent); background: var(--ink);
  font-family: var(--serif); font-size: 1.4rem; color: var(--accent-light);
  transition: background .4s, color .4s;
}
.t-step:hover .t-node { background: var(--accent); color: var(--ink); }
.t-meta { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.t-step h3 { font-size: 1.55rem; margin-bottom: 10px; }
.t-step p { font-size: .9rem; color: var(--on-dark-muted); }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 32px; }
  .timeline::before { left: 28px; right: 28px; top: 28px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(69, 131, 92, .2)); }
  .t-step { grid-template-columns: 1fr; gap: 28px; }
}
.timeline-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--line-light); }
.timeline-foot p { color: var(--on-dark-muted); max-width: 52ch; margin: 0; }

/* ---------- 13. Testimonials ---------- */
.testimonials { display: grid; gap: 56px; }
@media (min-width: 1000px) { .testimonials { grid-template-columns: 340px 1fr; gap: 96px; } }
.rating { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars .icon { width: 16px; height: 16px; }
.rating p { font-size: .86rem; color: var(--muted); margin: 0; }
.carousel { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.quote-mark { font-family: var(--serif); font-size: 7rem; line-height: .6; color: var(--accent); height: 48px; display: block; }
.slide blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.25; font-weight: 400; letter-spacing: -.01em; }
.slide figcaption { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent-light); font-family: var(--serif); font-style: italic; font-size: 1.2rem; flex-shrink: 0; }
.slide cite { font-style: normal; font-weight: 500; display: block; }
.slide figcaption small { color: var(--muted); font-size: .82rem; }
.carousel-controls { display: flex; align-items: center; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.carousel-count { font-size: .78rem; letter-spacing: .16em; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 64px; }
.dots { display: flex; gap: 8px; flex: 1; }
.dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; position: relative; }
.dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--stone-2); transition: background .3s, height .3s; }
.dot[aria-current="true"]::before { background: var(--ink); height: 2px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.round-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.round-btn .icon { width: 18px; height: 18px; }

/* ---------- 14. Wire fraud band ---------- */
.wire { background-color: var(--navy); background-image: var(--grain); }
.wire-inner { display: grid; gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 92px); }
@media (min-width: 1000px) { .wire-inner { grid-template-columns: auto 1fr auto; gap: 56px; } }
.wire-icon { width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(140, 195, 160, .5); display: grid; place-items: center; color: var(--accent-light); position: relative; }
.wire-icon::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(140, 195, 160, .2); }
.wire-icon .icon { width: 38px; height: 38px; stroke-width: 1.1; }
.wire h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 400; margin-bottom: 12px; }
.wire p { color: var(--on-dark-muted); max-width: 60ch; margin: 0; }
.wire-actions { display: grid; gap: 14px; justify-items: start; }
.wire-phone { font-family: var(--serif); font-size: 1.7rem; display: inline-flex; gap: 12px; align-items: center; }
.wire-phone .icon { width: 20px; height: 20px; color: var(--accent-light); }

/* ---------- 15. Team / portraits ---------- */
.team-grid { display: grid; gap: 56px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.team-grid--small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 44px 28px; }
@media (min-width: 900px) { .team-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 56px 40px; } }
.team-card { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.portrait {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 22px;
  background: linear-gradient(165deg, var(--navy), var(--ink)); display: grid; place-items: center;
}
.portrait::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); z-index: -1; }
.portrait-arch {
  position: absolute; left: 20%; right: 20%; top: 18%; bottom: 0;
  border: 1px solid rgba(140, 195, 160, .45); border-bottom: 0; border-radius: 999px 999px 0 0;
  transition: left .8s var(--ease), right .8s var(--ease), top .8s var(--ease), background .8s var(--ease);
}
.portrait-initials { position: relative; top: 10%; font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; color: var(--accent-light); letter-spacing: -.02em; transition: transform .8s var(--ease); }
.portrait--stone { background: linear-gradient(165deg, #EEF0F3, var(--stone-2)); }
.portrait--stone::before { opacity: .4; }
.portrait--stone .portrait-arch { border-color: rgba(47, 98, 67, .45); }
.portrait--stone .portrait-initials { color: var(--navy); }
.team-grid--small .portrait { aspect-ratio: 1 / 1; }
.team-grid--small .portrait-initials { font-size: 3.2rem; }
.team-card:hover .portrait-arch, .team-card:focus-visible .portrait-arch { left: 14%; right: 14%; top: 12%; background: rgba(69, 131, 92, .08); }
.team-card:hover .portrait-initials { transform: translateY(-6px); }
.team-card h3 { font-size: 1.75rem; margin-bottom: 4px; }
.team-grid--small .team-card h3 { font-size: 1.45rem; }
.role { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); }
.team-card .desc { color: var(--muted); font-size: .9rem; margin: 12px 0 16px; }
.team-card .link-arrow { font-size: .68rem; }

/* ---------- 16. Calculator ---------- */
.calc { background: var(--paper); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); border-top: 2px solid var(--accent); }
.calc-fields { display: grid; gap: 26px; }
@media (min-width: 640px) { .calc-fields--2 { grid-template-columns: 1fr 1fr; } }
.calc-result { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.calc-total-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.calc-total { font-family: var(--serif); font-size: clamp(2.3rem, 4.5vw, 3.4rem); line-height: 1.1; letter-spacing: -.01em; margin: 6px 0 20px; font-variant-numeric: lining-nums; }
.calc-lines { list-style: none; }
.calc-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.calc-lines li span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; }
.calc-lines li.is-total { border-bottom: 0; border-top: 1px solid var(--ink); margin-top: 6px; font-weight: 600; }
.calc-note { font-size: .78rem; color: var(--muted); margin-top: 18px; }
.estimator-layout { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1000px) { .estimator-layout { grid-template-columns: .9fr 1.1fr; gap: 96px; } }
.bullets { list-style: none; display: grid; gap: 14px; margin-top: 32px; }
.bullets li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; }
.bullets .icon { width: 18px; height: 18px; color: var(--accent-deep); margin-top: 4px; }

/* ---------- 17. Forms ---------- */
.field { display: grid; gap: 8px; align-content: start; }
.label, .field > label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .8; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 1.02rem; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid var(--stone-2); border-radius: 0;
  padding: 12px 0; transition: border-color .3s, box-shadow .3s;
}
.input::placeholder, .textarea::placeholder { color: #9BA19E; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.textarea { min-height: 110px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6243' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 18px;
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 1px 0 var(--danger); }
.field-msg { font-size: .8rem; color: var(--danger); min-height: 0; }
.field-msg:empty { display: none; }
.input-prefix { position: relative; }
.input-prefix::before { content: "$"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 1.02rem; color: var(--muted); }
.input-prefix .input { padding-left: 16px; font-variant-numeric: tabular-nums; }

.segmented { display: inline-flex; justify-self: start; width: fit-content; border: 1px solid var(--stone-2); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 9px 18px; border-radius: 999px; font-size: .84rem; transition: background .3s, color .3s; }
.segmented input:checked + span { background: var(--ink); color: var(--ivory); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 14px; }
.choices { display: grid; gap: 10px; }
@media (min-width: 520px) { .choices--2 { grid-template-columns: repeat(2, 1fr); } .choices--3 { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px 18px;
  border: 1px solid var(--stone-2); font-size: .92rem; transition: border-color .3s, background .3s, color .3s;
}
.choice span .icon { width: 20px; height: 20px; color: var(--accent-deep); transition: color .3s; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.choice input:checked + span .icon { color: var(--accent-light); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice-group[aria-invalid="true"] .choice span { border-color: rgba(163, 64, 46, .6); }

.check { display: flex; gap: 14px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0;
  border: 1px solid var(--stone-2); background: var(--paper); display: grid; place-items: center; cursor: pointer;
  transition: background .25s, border-color .25s;
}
.check input::after { content: ""; width: 10px; height: 5px; border-left: 1.5px solid var(--ivory); border-bottom: 1.5px solid var(--ivory); transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .25s var(--ease); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--danger); }

.dropzone {
  position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 30px 20px;
  border: 1px dashed var(--stone-2); background: rgba(232, 225, 213, .35); cursor: pointer; transition: border-color .3s, background .3s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: rgba(69, 131, 92, .08); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon { width: 26px; height: 26px; color: var(--accent-deep); }
.dropzone strong { font-weight: 500; }
.dropzone small { color: var(--muted); font-size: .8rem; }
.dropzone:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 18. FAQ / accordions ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.25;
  transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-deep); }
.plus { position: relative; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: transform .4s var(--ease), background .4s, border-color .4s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
details[open] > summary .plus { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
details[open] > summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list .answer { padding: 0 56px 30px 0; color: var(--muted); max-width: 64ch; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* ---------- 19. CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); text-align: center; padding-block: clamp(112px, 14vw, 200px); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10, 22, 51, .72), rgba(10, 22, 51, .9)); }
.cta-band h2 { max-width: 16ch; margin: 0 auto 24px; }
.cta-band .lede { margin: 0 auto; }
.cta-band .hero-ctas { justify-content: center; }
.cta-phone { display: block; margin-top: 28px; font-size: .82rem; letter-spacing: .1em; color: var(--on-dark-muted); }
.cta-phone a { color: var(--ivory); border-bottom: 1px solid var(--accent); }

/* ---------- 20. Footer ---------- */
.site-footer { background-color: var(--ink); background-image: var(--grain); color: var(--ivory); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 56px; } }
.footer-brand p { color: var(--on-dark-muted); font-size: .92rem; max-width: 34ch; margin-top: 24px; }
.footer-col h4 { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: rgba(246, 244, 239, .74); font-size: .92rem; transition: color .3s; }
.footer-col a:hover { color: var(--ivory); }
.footer-col address { font-style: normal; color: rgba(246, 244, 239, .74); font-size: .92rem; line-height: 1.7; }
.footer-contact { display: grid; gap: 8px; margin-top: 16px; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 10px; align-items: center; color: rgba(246, 244, 239, .74); font-size: .92rem; }
.footer-contact .icon { color: var(--accent); width: 15px; height: 15px; }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--line-light); border-radius: 999px; color: var(--on-dark-muted); transition: border-color .3s, color .3s; }
.socials a:hover { border-color: var(--accent); color: var(--ivory); }
.footer-disclaimer { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: .74rem; line-height: 1.7; color: rgba(246, 244, 239, .5); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 24px; font-size: .76rem; color: rgba(246, 244, 239, .55); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a:hover { color: var(--ivory); }
.footer-wordmark {
  font-family: var(--serif); font-size: clamp(3rem, 11.5vw, 11rem); line-height: .78; letter-spacing: -.035em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(69, 131, 92, .38); margin-top: 48px; user-select: none; transform: translateY(12%);
}

/* ---------- 21. Services page ---------- */
.services-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .services-layout { grid-template-columns: 220px 1fr; gap: 88px; } }
.subnav ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; color: var(--muted); transition: color .3s, border-color .3s; }
.subnav a:hover { color: var(--ink); border-color: var(--ink); }
@media (min-width: 1024px) {
  .subnav { position: sticky; top: 120px; align-self: start; }
  .subnav ol { display: block; border-left: 1px solid var(--line); }
  .subnav a { border: 0; border-left: 1px solid transparent; border-radius: 0; margin-left: -1px; padding: 9px 0 9px 20px; }
  .subnav a[aria-current] { color: var(--ink); border-left-color: var(--accent); }
  .subnav-title { display: block; margin-bottom: 20px; }
}
.subnav-title { display: none; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); }
.practice-block { padding-bottom: clamp(64px, 8vw, 112px); margin-bottom: clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.practice-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pb-head { display: grid; gap: 18px; margin-bottom: 36px; }
@media (min-width: 900px) { .pb-head { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; } }
.pb-head .eyebrow { margin-bottom: 14px; }
.pb-media { aspect-ratio: 16 / 7.5; overflow: hidden; margin-bottom: 44px; background: linear-gradient(160deg, var(--navy), var(--ink)); }
.pb-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.practice-block:hover .pb-media img { transform: scale(1.03); }
.pb-cols { display: grid; gap: 40px; }
@media (min-width: 760px) { .pb-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
.col-title { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.ticks { list-style: none; }
.ticks li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ticks .icon { width: 18px; height: 18px; color: var(--accent-deep); margin-top: 4px; }
.pb-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; margin-top: 44px; }
.meta-item small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.meta-item strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.pb-foot .btn { margin-left: auto; }
@media (max-width: 640px) { .pb-foot .btn { margin-left: 0; } }

/* ---------- 22. Process page ---------- */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { background: var(--ivory); padding: 36px 32px; }
.fact strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 400; line-height: 1; margin-bottom: 12px; }
.fact span { color: var(--muted); font-size: .92rem; }
.steps-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.steps { list-style: none; position: relative; display: grid; gap: 20px; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 1px; background: linear-gradient(var(--accent), rgba(69, 131, 92, .2)); }
.step { position: relative; padding-left: 84px; }
@media (max-width: 560px) { .step { padding-left: 0; } .steps::before, .step-node { display: none; } }
.step-node {
  position: absolute; left: 0; top: 22px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); background: var(--ivory); font-family: var(--serif); font-size: 1.4rem; color: var(--accent-deep);
  transition: background .4s, color .4s, border-color .4s;
}
.step:has(details[open]) .step-node { background: var(--ink); border-color: var(--ink); color: var(--accent-light); }
.step details { background: var(--paper); border: 1px solid var(--line); transition: box-shadow .4s, border-color .4s; }
.step details[open] { box-shadow: var(--shadow); border-color: transparent; }
.step summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 28px clamp(22px, 3vw, 36px); }
.step summary::-webkit-details-marker { display: none; }
.step-when { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.step-title { font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 2.05rem); line-height: 1.15; }
.step-sum { grid-column: 1; color: var(--muted); font-size: .94rem; }
.step summary .plus { grid-column: 2; grid-row: 1 / span 3; }
.step-body { display: grid; gap: 32px; padding: 8px clamp(22px, 3vw, 36px) 36px; border-top: 1px solid var(--line); margin-inline: clamp(22px, 3vw, 36px); padding-inline: 0; padding-top: 28px; }
@media (min-width: 860px) { .step-body { grid-template-columns: 1fr 1.3fr 1fr; } }
.step-body p, .step-body li { font-size: .92rem; color: var(--muted); }
.step-body .ticks li { padding: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; color: var(--text); background: var(--ivory); }
.chip--accent { border-color: rgba(69, 131, 92, .5); color: var(--accent-deep); }

.checklist-card { background: var(--paper); padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow); border-top: 2px solid var(--accent); }
.checklist-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.checklist { list-style: none; display: grid; gap: 0 56px; }
@media (min-width: 800px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist .check { padding: 16px 0; }
.checklist .check small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.check input:checked ~ span > span:first-child { text-decoration: line-through; text-decoration-color: var(--accent); }
.checklist-progress { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.options-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .options-grid { grid-template-columns: repeat(3, 1fr); } }
.option { padding: 36px 32px; border: 1px solid var(--line-light); display: grid; gap: 14px; align-content: start; transition: border-color .4s, background .4s; }
.option:hover { border-color: rgba(69, 131, 92, .6); background: rgba(246, 244, 239, .03); }
.option > .icon { width: 32px; height: 32px; color: var(--accent-light); stroke-width: 1.1; }
.option h3 { font-size: 1.7rem; }
.option p { color: var(--on-dark-muted); font-size: .92rem; }

/* ---------- 23. Resources ---------- */
.jump-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .jump-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .jump-grid { grid-template-columns: repeat(4, 1fr); } }
.jump { background: var(--ivory); padding: 32px 28px; display: grid; gap: 10px; transition: background .4s, color .4s; }
.jump:hover { background: var(--ink); color: var(--ivory); }
.jump > .icon { width: 28px; height: 28px; color: var(--accent-deep); margin-bottom: 8px; }
.jump:hover > .icon { color: var(--accent); }
.jump h3 { font-size: 1.5rem; }
.jump p { font-size: .88rem; color: var(--muted); margin: 0; transition: color .4s; }
.jump:hover p { color: var(--on-dark-muted); }

.protocol { list-style: none; display: grid; gap: 24px; counter-reset: p; }
@media (min-width: 900px) { .protocol { grid-template-columns: repeat(4, 1fr); } }
.protocol li { counter-increment: p; padding-top: 28px; border-top: 1px solid rgba(140, 195, 160, .4); }
.protocol li::before { content: "0" counter(p); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--accent-light); margin-bottom: 18px; }
.protocol h3 { font-size: 1.45rem; margin-bottom: 10px; }
.protocol p { color: var(--on-dark-muted); font-size: .92rem; }

.search { position: relative; max-width: 460px; }
.search .icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--accent-deep); }
.search .input { padding-left: 34px; font-size: 1.15rem; }
.glossary-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.glossary { display: grid; gap: 0 56px; }
@media (min-width: 860px) { .glossary { grid-template-columns: 1fr 1fr; } }
.term { padding: 24px 0; border-bottom: 1px solid var(--line); }
.term dt { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 6px; }
.term dd { margin: 0; color: var(--muted); font-size: .93rem; }
.empty-state { padding: 48px 0; text-align: center; color: var(--muted); }

.guides { display: grid; gap: 24px; }
@media (min-width: 700px) { .guides { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .guides { grid-template-columns: repeat(4, 1fr); } }
.guide { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.guide:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-cover { aspect-ratio: 3 / 4; background: linear-gradient(165deg, var(--navy), var(--ink)); position: relative; display: grid; place-items: end start; padding: 22px; color: var(--ivory); overflow: hidden; }
.guide-cover::before { content: ""; position: absolute; left: 22%; right: 22%; top: 14%; bottom: 34%; border: 1px solid rgba(140, 195, 160, .45); border-radius: 999px 999px 0 0; }
.guide-cover span { position: relative; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.guide:nth-child(2) .guide-cover { background: linear-gradient(165deg, #3A4F47, #1B2B27); }
.guide:nth-child(3) .guide-cover { background: linear-gradient(165deg, #8C7048, #5C4526); }
.guide:nth-child(4) .guide-cover { background: linear-gradient(165deg, #2B3A3F, #131C1F); }
.guide h3 { font-size: 1.35rem; }
.guide p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- 24. Contact ---------- */
.contact-layout { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1040px) { .contact-layout { grid-template-columns: 1.55fr 1fr; gap: 56px; } }
.form-card { position: relative; background: var(--paper); padding: clamp(24px, 5vw, 60px); box-shadow: var(--shadow); border-top: 2px solid var(--accent); }
@media (min-width: 1040px) { .form-card, .contact-aside { margin-top: -140px; } }
.step-labels { list-style: none; display: flex; gap: 8px 28px; flex-wrap: wrap; margin-bottom: 18px; }
.step-labels li { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .08em; color: var(--muted); transition: color .3s; }
.step-labels li span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--stone-2); display: grid; place-items: center; font-size: .72rem; transition: background .3s, color .3s, border-color .3s; }
.step-labels li.is-active { color: var(--ink); font-weight: 500; }
.step-labels li.is-active span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.step-labels li.is-done span { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.progress { height: 2px; background: var(--stone); position: relative; margin-bottom: 44px; }
.progress::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, .33) * 100%); background: var(--accent); transition: width .6s var(--ease); }
.form-step h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 400; margin-bottom: 8px; }
.form-step > p { color: var(--muted); margin-bottom: 36px; }
.form-step:focus { outline: none; }
.form-grid { display: grid; gap: 30px 32px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-actions .spacer { flex: 1; }
.form-fine { font-size: .78rem; color: var(--muted); margin-top: 18px; }
.success { text-align: center; padding: clamp(24px, 5vw, 56px) 0; }
.success:focus { outline: none; }
.success-mark { width: 84px; height: 84px; margin: 0 auto 28px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; color: var(--accent-deep); }
.success-mark .icon { width: 36px; height: 36px; stroke-width: 1.2; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .9s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; margin-bottom: 14px; }
.success p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.ref { display: inline-block; margin: 24px 0 32px; padding: 12px 20px; border: 1px dashed var(--accent); font-family: var(--serif); font-size: 1.35rem; letter-spacing: .06em; }

.contact-aside { display: grid; gap: 24px; }
.office-card { background: var(--ink); background-image: var(--grain); color: var(--ivory); padding: 36px 32px; }
.office-card h3 { font-size: 1.75rem; margin-bottom: 18px; }
.office-card address { font-style: normal; color: var(--on-dark-muted); line-height: 1.75; margin-bottom: 22px; }
.office-lines { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.office-lines a, .office-lines div { display: flex; gap: 12px; align-items: center; font-size: .93rem; }
.office-lines .icon { color: var(--accent); width: 16px; height: 16px; }
.hours { list-style: none; display: grid; gap: 6px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .88rem; color: var(--on-dark-muted); }
.hours li { display: flex; justify-content: space-between; gap: 16px; }
.map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #E3DBCD; border: 1px solid var(--line); }
.map svg { width: 100%; height: 100%; }
.map-label { position: absolute; left: 16px; bottom: 16px; background: var(--paper); padding: 10px 14px; font-size: .78rem; box-shadow: var(--shadow); }
.map-label strong { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.notice { display: flex; gap: 16px; padding: 24px; border: 1px solid rgba(69, 131, 92, .5); background: rgba(69, 131, 92, .08); font-size: .88rem; }
.notice .icon { width: 26px; height: 26px; color: var(--accent-deep); }
.notice strong { display: block; font-weight: 600; margin-bottom: 4px; }
.offices { display: grid; gap: 24px; }
@media (min-width: 800px) { .offices { grid-template-columns: repeat(3, 1fr); } }
.office-mini { padding-top: 24px; border-top: 1px solid var(--ink); }
.office-mini h3 { font-size: 1.6rem; margin-bottom: 10px; }
.office-mini address { font-style: normal; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.office-mini .chip { margin-top: 14px; }

/* ---------- 25. Dialog ---------- */
.dialog { border: 0; padding: 0; width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 48px); background: var(--ivory); color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .55); overflow: auto; }
.dialog::backdrop { background: rgba(10, 22, 51, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog[open] { animation: dialogIn .55s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dialog-inner { display: grid; }
@media (min-width: 780px) { .dialog-inner { grid-template-columns: 320px 1fr; } }
.dialog .portrait { margin: 0; aspect-ratio: auto; min-height: 260px; }
.dialog-body { padding: clamp(28px, 4vw, 52px); }
.dialog-body h2 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 400; margin: 10px 0 20px; }
.dialog-body > p { color: var(--muted); }
.dialog-close { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--ivory); }
.facts-list { display: grid; gap: 0; margin: 28px 0 0; }
.facts-list div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.facts-list dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts-list dd { margin: 0; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- 26. Portal ---------- */
.portal-login { min-height: clamp(720px, 100svh, 1000px); display: grid; align-items: center; background-color: var(--ink); background-image: var(--grain); position: relative; isolation: isolate; overflow: hidden; padding-block: calc(var(--header-h) + 48px) 64px; }
.login-wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .login-wrap { grid-template-columns: 1fr 460px; gap: 96px; } }
.login-card { background: var(--ivory); color: var(--text); padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); border-top: 2px solid var(--accent); }
.login-card h2 { font-size: 2.2rem; font-weight: 400; margin-bottom: 6px; }
.login-card form { display: grid; gap: 26px; margin-top: 30px; }
.demo-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(69, 131, 92, .16); color: var(--accent-deep); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.dark .demo-tag { color: var(--accent-light); }
.login-alt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.login-alt button { background: none; border: 0; padding: 0; color: var(--accent-deep); border-bottom: 1px solid currentColor; }
.feature-list { list-style: none; display: grid; gap: 18px; margin-top: 40px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; color: var(--on-dark-muted); }
.feature-list .icon { width: 22px; height: 22px; color: var(--accent-light); margin-top: 2px; }
.feature-list strong { color: var(--ivory); font-weight: 500; display: block; }

.dash-top { background-color: var(--ink); background-image: var(--grain); padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
.dash-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 400; margin: 10px 0 12px; }
.dash-sub { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--on-dark-muted); font-size: .9rem; }
.dash-sub span { display: inline-flex; gap: 8px; align-items: center; }
.dash-sub .icon { color: var(--accent); width: 16px; height: 16px; }
.countdown { text-align: right; }
.countdown strong { display: block; font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 400; line-height: .9; color: var(--accent-light); }
.countdown span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (max-width: 700px) { .countdown { text-align: left; } }

.tracker { list-style: none; display: grid; gap: 0; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line-light); counter-reset: t; }
@media (min-width: 900px) { .tracker { grid-template-columns: repeat(7, 1fr); } }
.tracker li { position: relative; display: flex; gap: 16px; align-items: center; padding: 10px 0; color: var(--on-dark-muted); font-size: .84rem; }
@media (min-width: 900px) {
  .tracker li { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 12px 0 0; }
  .tracker li::before { content: ""; position: absolute; left: 32px; right: 0; top: 14px; height: 1px; background: var(--line-light); }
  .tracker li.is-done::before { background: var(--accent); }
  .tracker li:last-child::before { display: none; }
}
.tracker-node { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; flex-shrink: 0; background: var(--ink); }
.tracker-node .icon { width: 14px; height: 14px; }
.tracker li.is-done { color: var(--ivory); }
.tracker li.is-done .tracker-node { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.tracker li.is-current { color: var(--ivory); font-weight: 500; }
.tracker li.is-current .tracker-node { border-color: var(--accent-light); }
.tracker li.is-current .tracker-node::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); }
.tracker li.is-current .tracker-node::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--accent-light); animation: pulse 2.4s ease-out infinite; }

.dash-body { padding-block: 48px 96px; }
.dash-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1040px) { .dash-grid { grid-template-columns: 1.7fr 1fr; } }
.dash-col { display: grid; gap: 24px; }
.panel { background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.65rem; font-weight: 500; }
.panel-head small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.panel--ink { background-color: var(--ink); background-image: var(--grain); border-color: var(--ink); }
.panel--ink .panel-head { border-color: var(--line-light); }
.panel--ink .panel-head small { color: var(--on-dark-muted); }
.docs { list-style: none; }
.doc { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc:last-child { border-bottom: 0; }
.doc > .icon { width: 22px; height: 22px; color: var(--accent-deep); }
.doc strong { display: block; font-weight: 500; font-size: .95rem; }
.doc small { color: var(--muted); font-size: .8rem; }
.doc-actions { display: flex; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.pill--ok { background: rgba(31, 61, 54, .1); color: var(--navy); }
.pill--need { background: rgba(69, 131, 92, .18); color: var(--accent-deep); }
.pill--sign { background: rgba(10, 22, 51, .07); color: var(--muted); }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); background: none; font-size: .74rem; letter-spacing: .06em; transition: background .3s, color .3s, border-color .3s; }
.mini-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.mini-btn .icon { width: 14px; height: 14px; }
@media (max-width: 560px) { .doc { grid-template-columns: auto 1fr; } .doc-actions { grid-column: 2; } }
.meter { height: 4px; background: var(--stone); margin-top: 8px; }
.meter span { display: block; height: 100%; background: var(--accent); width: 0; transition: width .6s var(--ease); }
.people { list-style: none; display: grid; gap: 16px; }
.person { display: flex; gap: 14px; align-items: center; }
.person .avatar { width: 44px; height: 44px; font-size: 1.05rem; }
.person strong { display: block; font-weight: 500; font-size: .95rem; }
.person small { color: var(--muted); font-size: .8rem; }
.person a { margin-left: auto; }
.thread { display: grid; gap: 14px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.msg { max-width: 88%; padding: 14px 16px; background: var(--ivory); border: 1px solid var(--line); font-size: .9rem; }
.msg header { display: flex; justify-content: space-between; gap: 12px; font-size: .74rem; color: var(--muted); margin-bottom: 6px; }
.msg header strong { color: var(--text); font-weight: 600; }
.msg--me { justify-self: end; background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.msg--me header, .msg--me header strong { color: var(--on-dark-muted); }
.composer { display: flex; gap: 12px; align-items: end; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.composer .input { flex: 1; }
.wire-lock { display: grid; gap: 14px; color: var(--on-dark-muted); font-size: .9rem; }
.wire-lock .icon { width: 30px; height: 30px; color: var(--accent-light); }
.wire-lock strong { color: var(--ivory); font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.dates { list-style: none; }
.dates li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.dates li:last-child { border-bottom: 0; }
.dates li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.dates li.is-key span:first-child { font-weight: 600; }
.demo-banner { background: var(--accent); color: var(--ink); text-align: center; font-size: .78rem; letter-spacing: .06em; padding: 10px var(--gutter); }

/* ---------- 27. Misc components ---------- */
.values { list-style: none; display: grid; gap: 40px; counter-reset: v; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); gap: 56px; } }
.values li { counter-increment: v; padding-top: 28px; border-top: 1px solid var(--line-light); }
.values li::before { content: "0" counter(v); display: block; font-size: .72rem; letter-spacing: .2em; color: var(--accent); margin-bottom: 24px; }
.values h3 { font-size: 1.9rem; margin-bottom: 14px; }
.values p { color: var(--on-dark-muted); }
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.group-title h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 400; }
.group-title span { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.stack-lg > * + * { margin-top: clamp(80px, 10vw, 128px); }

/* ---------- 28. Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 29. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-anim > * { opacity: 1; transform: none; }
}

/* ---------- 30. Print ---------- */
@media print {
  .site-header, .mobile-nav, .site-footer, .skip-link, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
  .checklist-card { box-shadow: none; border: 1px solid #999; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .check input { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Spacing when a lede directly follows a heading */
.h1 + .lede, .h2 + .lede { margin-top: 24px; }
[tabindex="-1"]:focus { outline: none; }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(10, 22, 51, .72) 0%, rgba(10, 22, 51, .6) 45%, rgba(10, 22, 51, .94) 100%); }
}

/* ==========================================================================
   NRS additions
   ========================================================================== */

/* Brand mark: swoosh strokes in NRS blue + green */
.brand-mark { width: 34px; height: 34px; }
.brand-mark .s1, .brand-mark .s2 { stroke: #7FA6F2; transition: stroke .45s; }
.brand-mark .s3 { stroke: var(--accent); }
.site-header.is-solid:not(.nav-is-open) .brand-mark .s1,
.site-header.is-solid:not(.nav-is-open) .brand-mark .s2 { stroke: var(--blue); }
.brand-name { font-size: 1.38rem; letter-spacing: 0; }
@media (max-width: 600px) { .brand-name { font-size: 1.12rem; } .brand-mark { width: 28px; height: 28px; } }

/* Real headshots */
.portrait--photo { aspect-ratio: 1 / 1; background: var(--stone); }
.portrait--photo::before { display: none; }
.portrait--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.portrait--photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.team-card:hover .portrait--photo img, .team-card:focus-visible .portrait--photo img { transform: scale(1.05); filter: saturate(1.05); }
.team-card:hover .portrait--photo::after, .team-card:focus-visible .portrait--photo::after { transform: scaleX(1); }
.team-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 48px 28px; }
.team-card .contact-line { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .84rem; color: var(--muted); margin-top: 10px; }
.dialog .portrait--photo { aspect-ratio: auto; min-height: 320px; height: 100%; }

/* Credentials strip */
.creds { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
@media (min-width: 760px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .creds { grid-template-columns: repeat(4, 1fr); } }
.cred { background: var(--ivory); padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start; }
.cred-badge { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--accent-deep); }
.cred-badge .icon { width: 22px; height: 22px; }
.cred strong { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 2px; }
.cred span { font-size: .84rem; color: var(--muted); }

/* Underwriter wordmarks */
.wm-6 { font-size: .98rem; font-weight: 500; letter-spacing: .04em; }

/* Tabs */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.tab { position: relative; background: none; border: 0; padding: 14px 18px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.tab .icon { width: 18px; height: 18px; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab:hover { color: var(--ink); }
.tabpanel { display: grid; gap: 48px; }
@media (min-width: 960px) { .tabpanel { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.tabpanel .h3 { margin-bottom: 16px; }
.numbered { list-style: none; counter-reset: n; border-top: 1px solid var(--line); }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--serif); font-size: 1.35rem; color: var(--accent-deep); line-height: 1.2; }
.numbered strong { display: block; font-weight: 600; margin-bottom: 2px; }
.numbered p { margin: 0; color: var(--muted); font-size: .93rem; }
.fine { font-size: .8rem; color: var(--muted); margin-top: 16px; }

/* Good Funds tiers */
.tiers { display: grid; gap: 20px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { padding: 36px 30px; border: 1px solid var(--line-light); display: grid; gap: 12px; align-content: start; }
.tier-amount { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; color: var(--accent-light); }
.tier h3 { font-size: 1.5rem; }
.tier p { color: var(--on-dark-muted); font-size: .92rem; margin: 0; }
.tier--key { border-color: rgba(140, 195, 160, .6); background: rgba(246, 244, 239, .04); }
.pledge { list-style: none; display: grid; gap: 14px; }
.pledge li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark-muted); }
.pledge .icon { color: var(--accent-light); width: 18px; height: 18px; margin-top: 4px; }

/* Estate planning packages */
.packages { display: grid; gap: 24px; }
@media (min-width: 900px) { .packages { grid-template-columns: 1fr 1fr; } }
.package { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px); display: grid; gap: 16px; align-content: start; }
.package--featured { border-top: 3px solid var(--accent); box-shadow: var(--shadow); }
.price { font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; }
.price small { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }

/* Downloads / forms */
.downloads { display: grid; gap: 12px; }
@media (min-width: 760px) { .downloads { grid-template-columns: 1fr 1fr; } }
.download { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.download:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.download > .icon { width: 26px; height: 26px; color: var(--accent-deep); }
.download strong { display: block; font-weight: 600; font-size: .95rem; }
.download small { color: var(--muted); font-size: .8rem; }
.download .tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); border: 1px solid rgba(47, 98, 67, .35); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }

/* Offices */
.office-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .office-grid { grid-template-columns: 1fr 1fr; } }
.office { background: var(--paper); border: 1px solid var(--line); padding: 32px 30px; display: grid; gap: 14px; align-content: start; }
.office h3 { font-size: 1.8rem; }
.office address { font-style: normal; color: var(--muted); line-height: 1.7; }
.office .office-lines { border-color: var(--line); }
.office .office-lines a, .office .office-lines div { color: var(--text); }
.office .office-lines .icon { color: var(--accent-deep); }
.office details { border-top: 1px solid var(--line); padding-top: 12px; }
.office summary { cursor: pointer; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--accent-deep); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.office summary::-webkit-details-marker { display: none; }
.office .directions { font-size: .88rem; color: var(--muted); padding-top: 12px; display: grid; gap: 10px; }
.office .directions strong { color: var(--text); font-weight: 600; }
.office .directions ol { padding-left: 18px; display: grid; gap: 4px; }
.office-note { font-size: .84rem; padding: 12px 14px; background: rgba(69, 131, 92, .1); border-left: 2px solid var(--accent); color: var(--text); }

/* Utilities list */
.utility-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .utility-grid { grid-template-columns: repeat(3, 1fr); } }
.utility h3 { font-size: 1.4rem; margin-bottom: 8px; }
.utility ul { list-style: none; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.utility a { color: var(--text); border-bottom: 1px solid rgba(47, 98, 67, .35); }
.utility a:hover { border-color: var(--accent); }

/* Quote from the practice */
.pullquote { margin: 0; padding: 36px 0 0; border-top: 1px solid var(--line); font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; }
.pullquote cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.keys { list-style: none; display: grid; gap: 40px; counter-reset: k; }
@media (min-width: 900px) { .keys { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
@media (min-width: 1200px) { .keys { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
.keys li { counter-increment: k; padding-top: 26px; border-top: 1px solid var(--line-light); }
.keys li::before { content: "0" counter(k); display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--accent-light); margin-bottom: 18px; }
.keys h3 { font-size: 1.55rem; margin-bottom: 10px; }
.keys p { color: var(--on-dark-muted); font-size: .9rem; }
.concept-banner { background: var(--accent); color: var(--ink); text-align: center; font-size: .8rem; letter-spacing: .04em; padding: 10px var(--gutter); }
.footer-wordmark { font-size: clamp(2.2rem, 7.2vw, 7rem); }
@media (min-width: 1100px) { .practice-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.practice-grid--3 .practice { min-height: 280px; }
.practice .price-tag { position: absolute; top: 36px; right: 32px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(69, 131, 92, .14); color: var(--accent-deep); transition: background .5s, color .5s; }
.practice:hover .price-tag { background: rgba(140, 195, 160, .16); color: var(--accent-light); }
.hero h1 { max-width: 13ch; }

/* Real NRS logo: white on dark surfaces, full color on the solid (light) header */
.brand .logo { display: block; height: 54px; width: auto; transition: height .45s var(--ease); }
.brand .logo--color { display: none; }
.site-header.is-solid:not(.nav-is-open) .logo--white { display: none; }
.site-header.is-solid:not(.nav-is-open) .logo--color { display: block; height: 48px; }
.footer-brand .logo { height: 64px; }
@media (max-width: 600px) { .brand .logo { height: 44px; } .site-header.is-solid:not(.nav-is-open) .logo--color { height: 42px; } }

/* Google rating */
.stars-rating { --rating: 5; position: relative; display: inline-block; font-size: 1.1rem; line-height: 1; letter-spacing: 3px; color: rgba(10, 22, 51, .18); white-space: nowrap; }
.dark .stars-rating { color: rgba(246, 244, 239, .25); }
.stars-rating::before { content: "★★★★★"; }
.stars-rating::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--rating) / 5 * 100%); overflow: hidden; color: #F2B53A; }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; }
.hero-rating:hover { color: var(--ivory); }
.hero-rating .stars-rating { font-size: .95rem; letter-spacing: 2px; }
.reviews-layout { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .reviews-layout { grid-template-columns: .9fr 1.1fr; gap: 96px; } }
.rating-big { font-family: var(--serif); font-size: clamp(5rem, 11vw, 8.5rem); line-height: .85; letter-spacing: -.03em; }
.rating-card .stars-rating { font-size: 1.9rem; letter-spacing: 6px; margin: 18px 0 14px; }
.rating-card p { color: var(--muted); }
.rating-bars { list-style: none; display: grid; gap: 6px; margin: 22px 0 30px; max-width: 360px; }
.rating-bars li { display: grid; grid-template-columns: 16px 1fr 28px; gap: 12px; align-items: center; font-size: .8rem; color: var(--muted); }
.rating-bars .bar { height: 6px; background: var(--stone); border-radius: 3px; overflow: hidden; }
.rating-bars .bar span { display: block; height: 100%; background: #F2B53A; border-radius: 3px; }
.review-quotes { display: grid; gap: 16px; }
.review-quote { margin: 0; padding: 28px 30px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.review-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.3; }
.review-quote figcaption { margin-top: 12px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.family-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(140, 195, 160, .45); border-radius: 999px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 26px; }
.family-badge .icon { width: 16px; height: 16px; }
.socials { flex-wrap: wrap; }
.socials a { white-space: nowrap; }

/* ==========================================================================
   v3 polish: firm colors, hero quote, offices band, headshots, mobile bar
   ========================================================================== */

/* Smooth cross-page transitions (Chromium, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
.site-header { view-transition-name: site-header; }

/* Headings a touch sturdier for legibility */
.h2, .h1 { font-weight: 500; }
.display { font-weight: 500; }

/* Hero */
.hero-inner { align-items: end; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 400px; } }
.hero-sublink { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .86rem; color: var(--on-dark-muted); border-bottom: 1px solid rgba(246, 244, 239, .25); padding-bottom: 3px; }
.hero-sublink:hover { color: var(--ivory); border-color: var(--accent); }
.hero-sublink .icon { width: 14px; height: 14px; }

/* Live quote card in hero (dark glass) */
.hero-quote { padding: 28px; background: rgba(10, 22, 51, .62); }
.quick-quote { display: grid; gap: 20px; }
.qq-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.qq-head h2 { font-size: 1.7rem; margin: 0; }
.qq-head .status { font-size: .64rem; }
.qq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qq-fields [hidden] + .field, .qq-fields .field:only-child { grid-column: 1 / -1; }
.qq-total { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.qq-total span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.qq-total strong { font-family: var(--serif); font-weight: 500; font-size: 2.6rem; line-height: 1.05; color: var(--ivory); font-variant-numeric: lining-nums; }
.dark .field > label, .dark .label { color: var(--on-dark-muted); }
.dark .input, .dark .select { color: var(--ivory); border-bottom-color: rgba(246, 244, 239, .28); }
.dark .input:focus { border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.dark .input-prefix::before { color: var(--on-dark-muted); }
.dark .segmented { border-color: rgba(246, 244, 239, .25); }
.dark .segmented input:checked + span { background: var(--accent); color: var(--ink); }
.hero-quote .segmented { width: 100%; justify-content: space-between; }
.hero-quote .segmented label { flex: 1; text-align: center; }
.hero-quote .segmented span { padding: 8px 10px; font-size: .8rem; }
@media (max-width: 1023px) { .hero-quote { max-width: 520px; } }

/* Offices band */
.office-band { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 700px) { .office-band { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .office-band { grid-template-columns: repeat(4, 1fr); } }
.office-tile { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 290px; padding: 34px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .5s var(--ease), color .5s var(--ease); }
.office-tile::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.office-tile:hover { background: var(--navy); color: var(--ivory); }
.office-tile:hover::before { transform: scaleX(1); }
.office-num { font-family: var(--serif); font-size: 1rem; color: var(--accent-deep); transition: color .5s; }
.office-tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .5s; }
.office-tile h3 { font-size: 2rem; margin: 6px 0 4px; }
.office-tile p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; transition: color .5s; }
.office-tile-note { font-size: .8rem !important; color: var(--accent-deep) !important; }
.office-tile .link-arrow { margin-top: auto; padding-top: 16px; }
.office-tile:hover .office-num, .office-tile:hover .link-arrow, .office-tile:hover .office-tile-note { color: var(--accent-light) !important; }
.office-tile:hover p, .office-tile:hover .office-tag { color: var(--on-dark-muted); }

/* Headshots: a consistent royal-navy duotone that blooms to full color on hover.
   Evens out the different photo backgrounds and ages. */
.portrait--photo { background: var(--navy); }
.portrait--photo img { filter: grayscale(1) contrast(1.06) brightness(1.04); mix-blend-mode: luminosity; opacity: .92; transition: transform 1.2s var(--ease), filter .6s var(--ease), opacity .6s, mix-blend-mode .6s; }
.team-card:hover .portrait--photo img, .team-card:focus-visible .portrait--photo img, .dialog .portrait--photo img { filter: none; mix-blend-mode: normal; opacity: 1; }
.team-card:hover .portrait--photo img { transform: scale(1.04); }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
    background: rgba(10, 22, 51, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--line-light); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar a { display: grid; justify-items: center; gap: 4px; padding: 9px 4px; border-radius: 10px; color: var(--ivory); font-size: .7rem; letter-spacing: .06em; }
  .action-bar a .icon { width: 18px; height: 18px; color: var(--accent-light); }
  .action-bar a.is-primary { background: var(--accent); color: var(--ink); }
  .action-bar a.is-primary .icon { color: var(--ink); }
  body.is-locked .action-bar { display: none; }
  .site-footer { padding-bottom: 72px; }
}
.qq-fields .field:has(+ [hidden]) { grid-column: 1 / -1; }

/* Headshots v2: refined black-and-white with a soft royal-navy fade; full color on hover */
.portrait--photo { background: var(--stone); }
.portrait--photo img { filter: grayscale(1) contrast(1.04) brightness(1.03); mix-blend-mode: normal; opacity: 1; }
.portrait--photo::before { display: block; content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 41, 107, 0) 45%, rgba(20, 41, 107, .38) 100%); transition: opacity .6s var(--ease); }
.team-card:hover .portrait--photo::before, .team-card:focus-visible .portrait--photo::before, .dialog .portrait--photo::before { opacity: 0; }
.portrait--photo::after { z-index: 2; }

/* Hero headline: two deliberate lines */
.hero h1 { max-width: none; font-size: clamp(3rem, 6.2vw, 5.9rem); }
@media (max-width: 700px) {
  .logos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .logos-label { grid-column: 1 / -1; }
  .logos .wordmark { white-space: normal; font-size: .9rem; }
}

/* Per-office Google ratings */
.reviews-top { display: grid; gap: 48px; align-items: end; margin-bottom: 48px; }
@media (min-width: 1000px) { .reviews-top { grid-template-columns: 1fr 1fr; gap: 80px; } }
.rating-summary { display: grid; gap: 12px; margin-top: 24px; }
.rating-summary .stars-rating { font-size: 1.7rem; letter-spacing: 5px; }
.rating-summary p { color: var(--muted); max-width: 44ch; margin: 0; }
.rating-summary strong { color: var(--text); font-weight: 600; }
.loc-ratings { display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 700px) { .loc-ratings { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .loc-ratings { grid-template-columns: repeat(4, 1fr); } }
.loc-rating { display: grid; gap: 18px; align-content: start; padding: 28px 26px; background: var(--ivory); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.loc-rating h3 { font-size: 1.7rem; margin-top: 4px; }
.loc-rating-score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.loc-rating-score strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1; }
.loc-rating-score span:last-child { width: 100%; font-size: .82rem; color: var(--muted); }
.loc-rating-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.loc-rating-links .link-arrow { font-size: .66rem; }
.tile-rating { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); transition: color .5s; }
.tile-rating .stars-rating { font-size: .8rem; letter-spacing: 2px; }
.office-tile:hover .tile-rating { color: var(--on-dark-muted); }
.office-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .86rem; color: var(--muted); }
.office-rating strong { color: var(--text); font-weight: 600; }
.office-rating a { color: var(--accent-deep); border-bottom: 1px solid currentColor; font-size: .8rem; }
.office-rating .stars-rating { font-size: .9rem; }

/* Firm green buttons carry white text (green is too dark for navy text) */
.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: #3A7050; --btn-bd: #3A7050; }
.dark .segmented input:checked + span { color: #fff; }
.action-bar a.is-primary, .action-bar a.is-primary .icon { color: #fff; }
.dark .btn--accent:hover { --btn-bg: var(--accent-light); --btn-bd: var(--accent-light); --btn-fg: var(--ink); }

/* Hero badge in warm gold, to echo the sunset skyline */
.hero .family-badge { color: #D6BF8E; border-color: rgba(214, 191, 142, .55); }
.hero h1 em { color: #D6BF8E; }

/* Contact: ways to order */
.order-title { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 500; margin: 0 0 12px; }
.order-options { display: grid; gap: 12px; margin: 32px 0 36px; }
.order-option { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); background: var(--ivory); transition: border-color .3s, background .3s, color .3s, transform .4s var(--ease); }
.order-option > .icon { width: 26px; height: 26px; color: var(--accent-deep); }
.order-option strong { display: block; font-weight: 600; font-size: 1.02rem; }
.order-option small { color: var(--muted); font-size: .86rem; }
.order-option .arrow { width: 18px; height: 18px; color: var(--muted); transition: transform .35s var(--ease); }
.order-option:hover { border-color: var(--navy); transform: translateY(-2px); }
.order-option:hover .arrow { transform: translateX(4px); }
.order-option.is-primary { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.order-option.is-primary small { color: var(--on-dark-muted); }
.order-option.is-primary > .icon, .order-option.is-primary .arrow { color: var(--accent-light); }
.order-after { padding-top: 24px; border-top: 1px solid var(--line); }
.order-after a { color: var(--accent-deep); border-bottom: 1px solid currentColor; }

/* Legal pages */
.page-hero--short { padding-bottom: clamp(56px, 7vw, 88px); }
.prose { font-size: 1rem; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 44px 0 12px; }
.prose p { margin: 0 0 18px; color: #2A3348; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose a { color: var(--accent-deep); border-bottom: 1px solid currentColor; word-break: break-word; }

/* Estate planning: "How it works" sits inside the simple-plan card, under the attorney contact */
.package-steps { margin-top: 8px; }
.package-steps .col-title { margin-bottom: 10px; }
/* Home quick quote: inputs only; the itemized total lives on Resources */
.qq-hint { margin: 0; padding-top: 18px; border-top: 1px solid var(--line-light); font-size: .88rem; line-height: 1.55; color: var(--on-dark-muted); }
.qq-go { width: 100%; justify-content: center; }
/* Attorney cards are <button>s, which center their content vertically; pin them to the top so photos line up across a row */
.team-grid > .team-card { align-self: start; }

/* Attorneys page hero: a fine-line sketch of a closing table (replaces the arch decoration there) */
.closing-sketch {
  position: absolute; z-index: -1; right: var(--gutter); bottom: clamp(36px, 5vw, 72px);
  width: clamp(320px, 42vw, 620px); height: auto; pointer-events: none; overflow: visible;
}
.closing-sketch .d { stroke: rgba(246, 244, 239, .5); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.closing-sketch .s { stroke: rgba(246, 244, 239, .3); }
.closing-sketch .a { stroke: var(--accent-light); stroke-opacity: .85; }
.closing-sketch .pen { stroke-width: 2.2; }
.closing-sketch .top { fill: var(--ink); }
.closing-sketch .ray { stroke: rgba(140, 195, 160, .38); stroke-width: 1; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .closing-sketch .d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sketch-draw 2.4s cubic-bezier(.4, 0, .2, 1) .35s forwards; }
  .closing-sketch .ray { opacity: 0; animation: sketch-fade 1.2s ease 2.2s forwards; }
}
@keyframes sketch-draw { to { stroke-dashoffset: 0; } }
@keyframes sketch-fade { to { opacity: 1; } }
@media (min-width: 761px) and (max-width: 1100px) { .closing-sketch { width: 34vw; right: calc(var(--gutter) - 28px); } }
@media (max-width: 760px) { .closing-sketch { opacity: .24; right: -70px; width: 420px; bottom: 16px; } }
.closing-sketch .glow { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .closing-sketch .glow { opacity: 0; animation: sketch-fade 1.6s ease 2s forwards; } }
.closing-sketch .cable { stroke: url(#sketch-cable); stroke-width: 1; }

/* ==========================================================================
   Oct 2026 marketing review
   ========================================================================== */
/* Dark sections in the logo's royal blue (was near-black navy) */
:root { --surface-blue: #1D3575; --surface-blue-deep: #172B61; }
.section--ink, .hero, .page-hero, .cta-band, .office-card, .mobile-nav, .panel--ink { background-color: var(--surface-blue); }
.site-footer { background-color: var(--surface-blue-deep); }
.wire { background-color: var(--surface-blue-deep); }
.hero-media { background: linear-gradient(135deg, var(--navy), var(--surface-blue-deep)); }
.hero::before {
  background:
    linear-gradient(180deg, rgba(23, 43, 97, .55) 0%, rgba(23, 43, 97, .08) 30%, rgba(23, 43, 97, .42) 62%, rgba(23, 43, 97, .94) 100%),
    linear-gradient(90deg, rgba(23, 43, 97, .7) 0%, rgba(23, 43, 97, 0) 70%);
}
.hero-card { background: rgba(23, 43, 97, .45); }
.page-hero-media::after { background: linear-gradient(90deg, var(--surface-blue) 15%, rgba(29, 53, 117, .4)), linear-gradient(0deg, var(--surface-blue), transparent 50%); }
.cta-band::before { background: radial-gradient(ellipse at center, rgba(23, 43, 97, .7), rgba(23, 43, 97, .9)); }
.closing-sketch .top { fill: var(--surface-blue); }

/* Hero headline: clean white, no gold italic */
.hero h1 em { color: var(--ivory); font-style: normal; }

/* Stats row: the office count becomes a small map */
.stat--map { display: grid; gap: 18px; align-content: start; color: inherit; }
.mini-map { display: block; width: 100%; max-width: 360px; height: auto; border: 1px solid var(--line); transition: border-color .3s; }
.stat--map:hover .mini-map { border-color: var(--accent); }
.stat-map-copy { display: grid; gap: 0; }
.stat--map .stat-label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 30ch; }
.stat--map .stat-label .icon { width: 15px; height: 15px; color: var(--accent-deep); transition: transform .3s var(--ease); }
.stat--map:hover .stat-label .icon { transform: translateX(3px); }
@media (min-width: 960px) {
  .stat--map { grid-template-columns: minmax(0, 300px) 1fr; align-items: center; gap: 32px; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: 0; }
  .stat:nth-child(even) { padding-left: 0; }
}

/* Wire-safety steps: numbered, friendly */
.pledge--steps { counter-reset: wstep; }
.pledge--steps li { counter-increment: wstep; }
.pledge--steps li .icon { display: none; }
.pledge--steps li::before {
  content: counter(wstep); flex: none; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(140, 195, 160, .55);
  font-family: var(--serif); font-size: 1.05rem; color: var(--accent-light);
}
.pledge--steps a { color: var(--ivory); border-bottom: 1px solid var(--accent); }
.stat--map .stat-label { display: block; }
.stat--map .stat-label .icon { display: inline-block; vertical-align: -2px; margin-left: 4px; }
.arch-caption { background: var(--surface-blue); }
@media (max-width: 1023px) { .action-bar { background: rgba(23, 43, 97, .95); } }
