/* Forerunner Claims Consultants
   Editorial system: Fraunces (serif display) + Inter (text), warm neutrals, slate brand. */
:root {
  /* Brand */
  --slate: #355563;
  --brand: #24363f;        /* primary brand color: logo, buttons, dark sections */
  --ink: #15222a;          /* near-black slate for headings */
  --ink-2: #2c414b;
  /* Warm neutrals */
  --cream: #f7f3ed;
  --paper: #fbf9f5;
  --stone: #ebe3d7;
  --taupe: #a8957f;        /* hairline accents, numerals */
  --taupe-light: #d4c6b4;  /* accents on dark */
  /* Text */
  --text: #1f2a30;
  --muted: #5a6266;
  --on-dark: #f3eee7;
  --on-dark-2: rgba(243, 238, 231, 0.72);
  --line: rgba(21, 34, 42, 0.12);
  --line-dark: rgba(243, 238, 231, 0.16);

  --radius: 6px;
  --wrap: 1240px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 144;
}
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -0.01em; font-variation-settings: "opsz" 48; }
h1 em, h2 em { font-style: italic; color: var(--slate); }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

.section { padding: clamp(56px, 7vw, 100px) 0; }
.section-tint, .section-stone { background: var(--stone); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--brand); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--on-dark); }
.section-dark p { color: var(--on-dark-2); }
.section-dark em { color: var(--taupe-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.section-dark .eyebrow { color: var(--taupe-light); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--muted); max-width: 60ch; }
.section-dark .lead { color: var(--on-dark-2); }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 4vw, 56px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--on-dark);
  font: inherit;
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--slate); border-color: var(--slate); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(21,34,42,0.35); }
.btn-ghost:hover { background: var(--brand); color: var(--on-dark); border-color: var(--brand); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(243,238,231,0.5); color: var(--on-dark); }
.btn-outline-light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.center .btn-row { justify-content: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link::after { content: "\2192"; transition: transform 0.25s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }
.section-dark .text-link { color: var(--on-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 237, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; flex-shrink: 0; }
.brand span { font-weight: 600; font-size: 0.78rem; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; }
.brand .logo-light { display: none; }
.site-header .brand { color: var(--slate); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.85; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav .btn { padding: 11px 22px; font-size: 0.92rem; }
.nav-phone { white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; color: inherit; }
.nav-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Homepage: header floats transparent over the hero photo until scrolled */
.home .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent; border-color: transparent; backdrop-filter: none;
  color: var(--on-dark);
}
.home .site-header .logo-light { display: block; }
.home .site-header:not(.solid) .brand { color: #fff; }
.home .site-header .logo-dark { display: none; }
.home .site-header .btn { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.home .site-header.solid {
  background: rgba(247, 243, 237, 0.94); backdrop-filter: blur(14px);
  border-color: var(--line); color: var(--ink);
}
.home .site-header.solid .logo-light { display: none; }
.home .site-header.solid .logo-dark { display: block; }
.home .site-header.solid .btn { background: var(--brand); border-color: var(--brand); color: var(--on-dark); }

.nav .btn, .brand span { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 28px;
    background: var(--cream); color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; opacity: 1; }
  .nav .btn, .home .site-header .nav .btn { margin-top: 20px; padding: 16px 20px; background: var(--brand); border-color: var(--brand); color: var(--on-dark); }
}

/* ---------- Homepage hero ---------- */
.hero-full {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
  /* Slate-teal (user's pick). Tried brand blue #355563 here; user preferred this darker shade.
     Optional texture: background-image: repeating-linear-gradient(135deg, rgba(243, 238, 231, 0.05) 0 1px, transparent 1px 14px); */
  background-color: var(--brand);
}
.hero-full .hero-bg { position: absolute; inset: 0; }
.hero-full .hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
/* Shading gradient removed per user (2026-11-25): hero shows flat #24363f to match the footer.
   Old: linear-gradient(to top, rgba(12,20,26,.92) 0%, rgba(12,20,26,.55) 45%, rgba(12,20,26,.25) 75%, rgba(12,20,26,.45) 100%) */
/* 2026-11-30: user asked to replace the flat blue with a photo. Brand-tinted overlay keeps the headline readable. */
.hero-full .hero-bg img { object-position: center 60%; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,32,38,0.86) 0%, rgba(20,32,38,0.66) 45%, rgba(20,32,38,0.3) 100%), linear-gradient(to top, rgba(20,32,38,0.7) 0%, rgba(20,32,38,0) 40%); }
@media (max-width: 760px) { .hero-full::after { background: rgba(20,32,38,0.72); } }
.hero-full .wrap { position: relative; z-index: 1; padding: 160px 0 0; }
.hero-full .eyebrow { color: var(--taupe-light); }
.hero-full h1 { color: var(--on-dark); font-size: clamp(3.1rem, 8.4vw, 7.4rem); line-height: 0.98; margin-bottom: 0.35em; }
.hero-full h1 span { display: block; }
.hero-full h1 em { color: var(--taupe-light); }
.hero-full .lead { color: var(--on-dark-2); max-width: 54ch; }
.hero-full .btn { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.hero-full .btn:hover { background: #fff; border-color: #fff; }
.hero-full .btn-outline-light { background: transparent; color: var(--on-dark); border-color: rgba(243,238,231,0.5); }
.hero-full .btn-outline-light:hover { background: var(--cream); color: var(--ink); }
.hero-trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line-dark);
  list-style: none; padding: 0;
}
.hero-trust li { padding: 22px 20px 30px 0; font-size: 0.9rem; color: var(--on-dark-2); }
.hero-trust strong { display: block; color: var(--on-dark); font-weight: 500; font-size: 0.98rem; }
.photo-caption {
  position: absolute; z-index: 1; right: 20px; top: 104px;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-2);
}
@media (max-width: 700px) {
  /* Phones: start the text just under the header instead of pinning it to the bottom */
  .hero-full { min-height: 0; align-items: flex-start; }
  .hero-full .wrap { padding-top: 116px; }
}
@media (max-width: 860px) {
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .photo-caption { display: none; }
}

/* ---------- Statement ---------- */
.statement { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(32px, 6vw, 96px); }
.statement p.big {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.3vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
  margin: 0;
}
.statement p.big span { color: var(--muted); }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* ---------- Pillars (Guide / Advocate / Claim) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(48px, 5vw, 72px); }
.pillar { padding: 40px clamp(20px, 3vw, 44px) 8px 0; }
.pillar + .pillar { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 44px); }
.pillar .num { font-family: var(--serif); font-size: 0.95rem; color: var(--taupe); display: block; margin-bottom: 40px; }
.pillar h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin-bottom: 0.45em; }
.pillar h3 em { font-style: italic; color: var(--slate); }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ---------- Full-bleed photo break ---------- */
.photo-break { position: relative; min-height: clamp(520px, 80vh, 820px); display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; }
.photo-break img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-break::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,20,26,0.85), rgba(12,20,26,0.1) 65%); }
.photo-break .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 96px); }
.photo-break blockquote {
  margin: 0; max-width: 22ch;
  font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.photo-break blockquote em { color: var(--taupe-light); }
.photo-break .photo-caption { top: auto; bottom: 24px; }

/* ---------- Comparison: insurer's adjuster vs. Forerunner ---------- */
.compare { border-top: 1px solid var(--line-dark); }
@media (max-width: 760px) { .compare { border-top: 0; } }
.compare-row { display: grid; grid-template-columns: 0.8fr 1.1fr 1.3fr; border-bottom: 1px solid var(--line-dark); }
.compare-row > span { padding: 22px 24px 22px 0; color: var(--on-dark-2); }
.compare-row > span:first-child {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe-light); padding-top: 26px;
}
.compare-row .us {
  padding-left: 28px; color: var(--on-dark);
  background: rgba(243, 238, 231, 0.05);
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; font-variation-settings: "opsz" 48;
}
.compare-head > span { padding-top: 18px; padding-bottom: 18px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-2); }
.compare-head .us { font-family: var(--sans); font-size: 0.8rem; color: var(--taupe-light); padding-top: 18px; }
/* Phones: show only the Forerunner column as a simple list */
@media (max-width: 760px) {
  .compare-head > span:first-child, .compare-row > span:nth-child(2) { display: none; }
  .compare-row { grid-template-columns: 1fr; padding: 20px 0; }
  .compare-row > span { padding: 0; }
  .compare-row > span:first-child { padding-top: 0; margin-bottom: 6px; }
  .compare-row .us { background: none; padding: 0; font-size: 1.25rem; }
  .compare-head { padding: 0 0 20px; }
  .compare-row.compare-head .us {
    justify-self: start; padding: 8px 16px; border-radius: 999px;
    background: var(--taupe-light); color: var(--ink);
    font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em;
  }
}

/* ---------- Services list ---------- */
/* Homepage services: numbered text columns, no photos */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.services-head h2 { margin-bottom: 0; max-width: 20ch; }
.services-head .text-link { white-space: nowrap; }
.service-cols { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service-col { display: block; padding: 28px 28px 8px 0; color: inherit; text-decoration: none; }
.service-col + .service-col { padding-left: 28px; border-left: 1px solid var(--line); }
.service-col .n { display: block; font-family: var(--serif, "Fraunces", serif); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--slate); margin-bottom: 28px; transition: transform 0.4s var(--ease); }
.service-col h3 { margin-bottom: 0.4em; }
.service-col h3::after { content: " \2192"; color: var(--slate); opacity: 0; transition: opacity 0.3s; }
.service-col:hover h3::after { opacity: 1; }
.service-col p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.service-col:hover .n { transform: translateX(6px); }

/* Services page: other property claims */
.other-claims { margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.other-claims .checklist { columns: 1; }
@media (max-width: 860px) { .other-claims { grid-template-columns: 1fr; } }
.service-col:hover h3 { color: var(--slate); }
@media (max-width: 980px) {
  .service-cols { grid-template-columns: 1fr 1fr; }
  .service-col:nth-child(3) { padding-left: 0; border-left: 0; }
  .service-col:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (max-width: 600px) {
  .services-head { flex-direction: column; align-items: flex-start; }
  .service-cols { grid-template-columns: 1fr; }
  .service-col, .service-col + .service-col { padding: 22px 0; border-left: 0; margin-top: 0; }
  .service-col + .service-col { border-top: 1px solid var(--line); }
  .service-col .n { font-size: 2rem; margin-bottom: 14px; }
}

.services-layout { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.services-layout .sticky { position: sticky; top: 120px; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 260px 1fr auto; gap: 32px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.service-row figure { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.service-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-row:hover img { transform: scale(1.06); }
.service-row h3 { margin-bottom: 0.3em; }
.service-row p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.service-row .arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.1rem; color: var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.service-row:hover .arrow { background: var(--brand); color: var(--on-dark); border-color: var(--brand); }
@media (max-width: 980px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-layout .sticky { position: static; }
}
@media (max-width: 640px) {
  .service-row { grid-template-columns: 1fr; gap: 18px; }
  .service-row .arrow { display: none; }
}

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.process li { padding: 36px 32px 0 0; border-top: 1px solid var(--line-dark); position: relative; }
.process li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1;
  color: var(--taupe-light); margin-bottom: 28px; font-variation-settings: "opsz" 144;
}
.process li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--taupe-light); }
.process h3 { font-size: 1.4rem; }
@media (max-width: 980px) { .process { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.founder figure { margin: 0; position: relative; }
.founder figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.founder figure figcaption { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.founder blockquote {
  margin: 0 0 40px; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.28; color: var(--ink); font-variation-settings: "opsz" 96;
}
.creds { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin: 36px 0 0; }
.creds div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.creds dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 4px; }
.creds dd { margin: 0; color: var(--ink); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Region ---------- */
.region { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.region figure { margin: 0; }
.region figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.region figcaption { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
.license-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.license-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.license-list span { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.95rem; }
@media (max-width: 860px) { .region { grid-template-columns: 1fr; } }

/* ---------- Reviews (hand-picked) ---------- */
.review-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.review-link::after { content: "\2197"; font-size: 0.9em; }
.review-link:hover { background: var(--brand); color: var(--on-dark); border-color: var(--brand); }
.review-links { justify-content: center; margin-top: 28px; }
#reviews .section-head { margin-bottom: clamp(32px, 4vw, 48px); }

/* Track record counters */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 clamp(48px, 5vw, 72px); border-top: 1px solid var(--line); }
.stat { padding: 28px 32px 0 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat dt { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 7vw, 6rem); line-height: 1; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 144; }
.stat dd { margin: 14px 0 0; color: var(--muted); max-width: 24ch; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Review carousel: one review at a time, centered */
.carousel { position: relative; max-width: 880px; margin: 0 auto; padding: 0 72px; text-align: center; }
.carousel-track { position: relative; transition: height 0.5s var(--ease); }
.slide { position: absolute; top: 0; left: 0; right: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s; }
.slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.slide .stars { color: var(--slate); letter-spacing: 0.2em; font-size: 1.05rem; }
.slide blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.slide blockquote p { margin: 0 0 0.8em; }
.slide blockquote p:last-child { margin-bottom: 0; }
/* Long reviews are shown in full, so they use a smaller size to keep the carousel compact */
.slide.long blockquote { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.6; }
.slide figcaption { display: flex; flex-direction: column; gap: 4px; }
.slide figcaption strong { font-weight: 600; color: var(--ink); }
.slide figcaption span { font-size: 0.9rem; color: var(--muted); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.15rem; cursor: pointer;
  display: grid; place-items: center; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.carousel-btn:hover { background: var(--brand); color: var(--on-dark); border-color: var(--brand); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--taupe-light); cursor: pointer; transition: background 0.25s, transform 0.25s; }
.carousel-dots button[aria-selected="true"] { background: var(--slate); transform: scale(1.25); }
@media (max-width: 760px) {
  .carousel { padding: 0 0 76px; }
  .carousel-btn { top: auto; bottom: 0; transform: none; width: 46px; height: 46px; }
  .carousel-btn.prev { left: calc(50% - 110px); }
  .carousel-btn.next { right: calc(50% - 110px); }
  .carousel-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); margin: 0; }
}

/* Region as a full-bleed photo banner (Torrey Pines) */
.region-full { position: relative; overflow: hidden; color: var(--on-dark); padding: clamp(72px, 8vw, 120px) 0; background: var(--brand); }
.region-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; }
.region-full::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,20,26,0.82) 0%, rgba(12,20,26,0.62) 38%, rgba(12,20,26,0.12) 70%, rgba(12,20,26,0) 100%);
}
.region-full .wrap { position: relative; z-index: 1; }
.region-panel { max-width: 500px; }
.region-full .eyebrow { color: var(--taupe-light); }
.region-full h2 { color: var(--on-dark); }
.region-full h2 em { color: var(--taupe-light); }
.region-full .license-list { border-color: rgba(243,238,231,0.28); }
.region-full .license-list li { border-color: rgba(243,238,231,0.28); color: var(--on-dark); }
.region-full .license-list span { color: rgba(243,238,231,0.75); }
.region-caption { position: absolute; right: 20px; bottom: 16px; z-index: 1; font-size: 0.75rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.8); text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
@media (max-width: 760px) {
  .region-full > img { object-position: 30% 80%; }
  .region-full::after { background: linear-gradient(180deg, rgba(12,20,26,0.78) 0%, rgba(12,20,26,0.66) 60%, rgba(12,20,26,0.58) 100%); }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq-layout .sticky { position: sticky; top: 120px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .sticky { position: static; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 56px 26px 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.3; color: var(--ink);
  font-variation-settings: "opsz" 48;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--sans); font-size: 1.2rem; font-weight: 300; color: var(--ink);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--stone); }
.faq details p { color: var(--muted); padding-right: 56px; margin: -6px 0 28px; max-width: 64ch; }

/* ---------- Closing CTA (full bleed) ---------- */
.cta-full { position: relative; padding: clamp(88px, 11vw, 150px) 0; color: var(--on-dark); text-align: center; overflow: hidden; }
.cta-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-full::after { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 26, 0.62); }
.cta-full .wrap { position: relative; z-index: 1; }
.cta-full h2 { color: var(--on-dark); font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; margin-inline: auto; }
.cta-full h2 em { color: var(--taupe-light); }
.cta-full p { color: var(--on-dark-2); max-width: 52ch; margin-inline: auto; font-size: 1.15rem; }
.cta-full .btn-row { justify-content: center; }

/* ---------- Interior page components (services, about, blog, contact) ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 0; }
.hero-media { margin-top: clamp(40px, 6vw, 72px); }
.hero-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }
.page-hero { padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; }
@media (max-width: 640px) { .hero-media img { aspect-ratio: 4 / 3; } }

/* Interior page banner with a full-bleed photo behind the text (About) */
.page-hero-photo { position: relative; overflow: hidden; background: var(--brand); color: var(--on-dark); padding: clamp(56px, 6vw, 88px) 0; }
.page-hero-photo .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,20,26,0.84) 0%, rgba(12,20,26,0.66) 50%, rgba(12,20,26,0.35) 100%); }
.page-hero-photo .wrap { position: relative; z-index: 1; }
.page-hero-photo h1 { color: var(--on-dark); font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 20ch; }
.page-hero-photo .eyebrow { color: var(--taupe-light); }
.page-hero-photo h1 em { color: var(--taupe-light); }
.page-hero-photo .lead { color: var(--on-dark-2); max-width: 62ch; margin-bottom: 0; }
@media (max-width: 760px) { .page-hero-photo::after { background: rgba(12,20,26,0.72); } }
/* Flat brand-blue banner (Contact), no photo or overlay */
.page-hero-solid::after { display: none; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.section-dark .card { background: var(--ink-2); border-color: var(--line-dark); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split img.portrait { aspect-ratio: 4 / 5; object-position: center 20%; }
.split.reverse > :first-child { order: 2; }
.split + .split { margin-top: clamp(56px, 6vw, 88px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Homepage review excerpts: short pull quotes as the focal point */
#reviews .slide blockquote { font-size: clamp(1.5rem, 2.9vw, 2.35rem); line-height: 1.3; letter-spacing: -0.01em; }
.review-links { align-items: center; }
.review-links .btn { padding: 12px 20px; font-size: 0.95rem; border-width: 1px; }

/* Testimonials page: full reviews in a two-column flow */
.testimonial-list { columns: 2; column-gap: 28px; }
.testimonial { break-inside: avoid; margin: 0 0 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 44px); }
.testimonial .stars { color: var(--slate); letter-spacing: 0.2em; margin-bottom: 18px; }
.testimonial blockquote { margin: 0 0 24px; font-family: var(--serif); font-weight: 300; font-size: 1.15rem; line-height: 1.6; color: var(--ink); }
.testimonial blockquote p { margin: 0 0 0.9em; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial figcaption { border-top: 1px solid var(--line); padding-top: 18px; }
.testimonial figcaption strong { display: block; font-weight: 600; }
.testimonial figcaption span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .testimonial-list { columns: 1; } }

/* About: map of licensed states */
.license-map { margin: 0; display: flex; justify-content: center; }
.license-map svg { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.license-map path { stroke: var(--paper); stroke-width: 1.4; stroke-linejoin: round; transition: fill 0.3s; }
.license-map path.off { fill: #e4ddd2; }
.license-map path.on { fill: var(--slate); }
.license-map path.on:hover { fill: var(--brand); }
.license-map text { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; fill: #fff; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }

/* About: team members */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 5vw, 72px); max-width: 1040px; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); margin-bottom: 24px; }
.member h3 { margin: 0 0 4px; }
.member-title { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 16px; }
.bio-placeholder { color: var(--muted); font-style: italic; }
.member p { font-size: 0.98rem; }
.name-cred { font-size: 0.5em; letter-spacing: 0.02em; }
.bio-intro { font-family: var(--serif); font-weight: 300; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.45; color: var(--ink); }
.member-creds { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.85rem !important; color: var(--muted); }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 24px; width: 13px; height: 7px;
  border-left: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: rotate(-45deg);
}
.section-dark .checklist { border-color: var(--line-dark); }
.section-dark .checklist li { border-color: var(--line-dark); }
.section-dark .checklist li::before { border-color: var(--taupe-light); }

blockquote.pull {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; letter-spacing: -0.01em; font-variation-settings: "opsz" 96;
}
blockquote.pull footer { margin-top: 28px; font-family: var(--sans); font-style: normal; font-size: 0.95rem; color: var(--taupe-light); }

.cta-band { background: var(--brand); color: var(--on-dark); border-radius: var(--radius); padding: clamp(48px, 8vw, 104px); text-align: center; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-2); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.post-card:hover h3 { color: var(--slate); }
.post-card p { margin-bottom: 20px; }
.post-card .text-link { margin-top: auto; align-self: flex-start; }
.post-date { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.04em; }
.article h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.article h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.8em; }
.article h3 { margin-top: 1.5em; }
.article img { border-radius: var(--radius); margin: 8px 0 40px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article li { margin-bottom: 0.4em; }

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: 15px 16px; border: 1px solid rgba(21,34,42,0.2); border-radius: var(--radius); background: var(--paper);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(53,85,99,0.15); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: #1e6b45; }
.form-status.err { color: #a12b2b; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 4px; }
.contact-list a { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--slate); }
.contact-aside img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--brand);
  color: var(--on-dark-2); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 0.95rem; }
.footer-slogan {
  font-family: var(--serif); color: var(--on-dark); font-size: clamp(2.2rem, 5.5vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em;
  margin: 0 0 clamp(56px, 7vw, 96px); font-variation-settings: "opsz" 144;
}
.footer-slogan em { color: var(--taupe-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; padding-top: 48px; border-top: 1px solid var(--line-dark); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h4 { color: var(--on-dark); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.8rem; color: rgba(243,238,231,0.7); }
.footer-bottom p { margin-bottom: 6px; }
.footer-bottom .legal-links a { text-decoration: none; }
.footer-bottom .legal-links a:hover { text-decoration: underline; }

/* Legal pages (privacy, terms, disclosures) */
.legal-section { padding-top: clamp(24px, 3vw, 40px); }
.legal > * { max-width: 760px; }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 2em 0 0.6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink); line-height: 1.7; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.legal li { margin-bottom: 0.5em; }
.legal a { color: var(--slate); }
.legal .license-table { list-style: none; padding: 0; border-top: 1px solid var(--line); max-width: 420px; }
.legal .license-table li { display: flex; justify-content: space-between; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--line); }
.footer-bottom .footer-disclaimer { max-width: 900px; margin: 10px 0 14px; font-size: 0.74rem; line-height: 1.6; color: rgba(243,238,231,0.55); }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Photo placeholders (swap for a real <img> when photos are ready) ---------- */
.ph {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px;
  padding: 24px; text-align: center;
  background-color: var(--stone);
  background-image: repeating-linear-gradient(135deg, rgba(21,34,42,0.05) 0 1px, transparent 1px 14px);
  color: var(--muted); font-size: 0.85rem; line-height: 1.4;
}
.ph span { border: 1px dashed rgba(21,34,42,0.3); border-radius: 4px; padding: 10px 16px; max-width: 34ch; background: rgba(247,243,237,0.7); }
.ph-dark {
  background-color: #24363f;
  background-image: repeating-linear-gradient(135deg, rgba(243,238,231,0.05) 0 1px, transparent 1px 14px);
  color: var(--on-dark-2);
}
.ph-dark span { border-color: rgba(243,238,231,0.35); background: rgba(12,20,26,0.35); }
.hero-full .ph, .photo-break .ph, .cta-full .ph { position: absolute; inset: 0; place-items: start end; padding: 110px 24px 24px; }
.photo-break .ph, .cta-full .ph { place-items: start end; padding-top: 32px; }
.region figure .ph { aspect-ratio: 5 / 4; border-radius: var(--radius); }
@media (max-width: 700px) { .hero-full .ph span { display: none; } }
.service-row figure .ph { min-height: 0; padding: 12px; font-size: 0.75rem; }
.service-row figure .ph span { padding: 6px 10px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-full .hero-bg img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }
.home .site-header :focus-visible, .hero-full :focus-visible { outline-color: var(--taupe-light); }
