/* ============================================================
   Forbes Insurance Agencies — Site Stylesheet
   Restrained corporate-modern. Sans-serif-led (Manrope).
   Single accent gold. Warm cream background, ink navy text.
   ============================================================ */

/* ----- Tokens & reset ----- */
:root {
  --cream: #faf9f6;
  --cream-deep: #f0ebe1;
  --ink: #0b1a33;
  --ink-soft: #3a4763;
  --ink-faint: rgba(11, 26, 51, 0.55);
  --rule: rgba(11, 26, 51, 0.12);
  --accent: #4fa730;       /* logo green — mid-tone, used as the primary brand accent */
  --accent-bright: #8ac845; /* logo lime — used on dark sections for higher contrast */

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-feature-settings: 'kern', 'liga';
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--cream); }
img { display: block; max-width: 100%; height: auto; }

/* ----- Layout helpers ----- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.wrap {
  max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

/* Section atoms */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 22ch;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}

/* Reveal-on-scroll */
.r {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.r.v { opacity: 1; transform: translateY(0); }
.r.d1 { transition-delay: 0.08s; }
.r.d2 { transition-delay: 0.16s; }
.r.d3 { transition-delay: 0.24s; }
.r.d4 { transition-delay: 0.32s; }
.r.d5 { transition-delay: 0.4s; }

/* ----- Loader ----- */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease 0.3s, visibility 0.6s ease 0.3s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__bar { width: 120px; height: 1px; background: var(--rule); overflow: hidden; }
.loader__fill {
  width: 0; height: 100%; background: var(--accent);
  animation: load 1.1s var(--ease) forwards;
}
@keyframes load { to { width: 100%; } }

/* ----- Nav ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.15rem 0;
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
}
/* When the nav sits over the dark hero photo, links read cream */
.nav .nav__link { color: color-mix(in srgb, var(--cream) 88%, transparent); }
.nav .nav__link:hover { color: var(--cream); }
.nav .nav__link.is-active { color: var(--accent-bright); }
.nav.scrolled {
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
}
/* When scrolled past the hero, nav reverts to ink-on-cream */
.nav.scrolled .nav__link { color: var(--ink-soft); }
.nav.scrolled .nav__link:hover { color: var(--ink); }
.nav.scrolled .nav__link.is-active { color: var(--accent); }
.nav.scrolled .nav__toggle span { background: var(--ink); }

/* Services dropdown */
.nav__has-dropdown { position: relative; }
.nav__dropdown-trigger {
  display: inline-flex; align-items: center; gap: 0.35rem;
  cursor: pointer;
  padding: 0;
}
.nav__dropdown-trigger svg {
  transition: transform 0.2s var(--ease);
}
.nav__has-dropdown:hover .nav__dropdown-trigger svg,
.nav__has-dropdown:focus-within .nav__dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: -1rem;
  min-width: 240px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.5rem 0;
  box-shadow: 0 16px 40px -16px rgba(11, 26, 51, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 1001;
}
.nav__has-dropdown:hover .nav__dropdown,
.nav__has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav__dropdown-item:hover {
  color: var(--ink);
  background: var(--cream-deep);
}
.nav__dropdown-item:not(:last-child) {
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 50%, transparent);
}
.nav__inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: clamp(80px, 8.5vw, 116px); width: auto; }
.nav__links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav__link {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  transition: color 0.25s;
  position: relative;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--accent); }
.nav__cta-btn {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.72rem 1.4rem;
  background: var(--ink); color: var(--cream);
  border-radius: 3px;
  transition: background 0.25s, transform 0.25s;
}
.nav__cta-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; width: 24px; padding: 4px 0;
}
.nav__toggle span {
  display: block; height: 1.5px; background: var(--cream);
  transition: transform 0.3s var(--ease), background 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ----- Hero — full-bleed photo with text overlay ----- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  min-height: clamp(620px, 88vh, 880px);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero__photo {
  position: absolute; inset: 0;
  background-image: url('images/stock/family-of-3-extended.webp');
  background-size: cover;
  background-position: center 30%;
}
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(95deg,
    rgba(11, 26, 51, 0.85) 0%,
    rgba(11, 26, 51, 0.65) 35%,
    rgba(11, 26, 51, 0.25) 75%,
    rgba(11, 26, 51, 0.05) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1440px; margin: 0 auto; width: 100%;
  flex: 1;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 5rem);
  display: flex; align-items: center;
}
.hero__content {
  display: flex; flex-direction: column;
  min-width: 0;
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1.5rem;
}
.hero__eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-bright); }

.hero__title {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 24px rgba(11, 26, 51, 0.4);
}
.hero__title-line { display: block; overflow: hidden; padding: 0.05em 0 0.18em; }
.hero__title-line > span {
  display: block;
  transform: translateY(110%);
  animation: lineRise 0.95s var(--ease) forwards;
}
.hero__title-line:nth-child(1) > span { animation-delay: 0.4s; }
.hero__title-line:nth-child(2) > span { animation-delay: 0.55s; }
.hero__title-line:nth-child(3) > span { animation-delay: 0.7s; }
.hero__title em {
  font-style: normal;
  color: var(--accent-bright);
}
@keyframes lineRise { to { transform: translateY(0); } }

.hero__sub {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  font-weight: 400; line-height: 1.55;
  color: color-mix(in srgb, var(--cream) 92%, transparent);
  max-width: 50ch;
  margin-bottom: 2rem;
  opacity: 0; animation: heroFade 0.7s ease 0.95s forwards;
}

.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.85rem 1.5rem;
  opacity: 0; animation: heroFade 0.7s ease 1.15s forwards;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1.05rem 1.9rem;
  background: var(--cream); color: var(--ink);
  border-radius: 3px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.hero__cta:hover {
  background: var(--accent-bright);
  color: var(--ink);
  transform: translateY(-1px);
}
.hero__cta svg { transition: transform 0.25s; }
.hero__cta:hover svg { transform: translateX(3px); }

.hero__link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.86rem; font-weight: 600;
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  transition: color 0.25s;
}
.hero__link:hover { color: var(--accent-bright); }
.hero__link svg { transition: transform 0.25s; }
.hero__link:hover svg { transform: translateX(3px); }

@keyframes heroFade { to { opacity: 1; } }


/* ----- Stats deck (hairline, on cream) ----- */
.stats {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats__inner {
  max-width: 1440px; margin: 0 auto;
  padding: clamp(1.25rem, 2.5vw, 1.85rem) clamp(1.5rem, 4vw, 4rem);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 0 1.5rem;
  display: flex; flex-direction: column; gap: 0.35rem;
  border-left: 1px solid var(--rule);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat__num {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ----- Essay sections (strategy doc voice) ----- */
.essay { background: var(--cream); }
.essay--deep { background: var(--cream-deep); }
.essay__inner { max-width: 780px; margin: 0 auto; }
.essay__title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
  color: var(--ink);
  margin: 0.4rem 0 1.5rem;
  max-width: 22ch;
}
.essay__title em {
  font-style: normal;
  color: var(--accent);
}

/* Full-bleed photo bridge between essays (rate-shock moment) */
.photo-bridge {
  position: relative;
  height: clamp(380px, 60vh, 560px);
  background-position: center 55%;
  background-size: cover;
  display: flex; align-items: center;
}
.photo-bridge::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(11, 26, 51, 0.75) 0%,
    rgba(11, 26, 51, 0.55) 45%,
    rgba(11, 26, 51, 0.15) 100%);
}
.photo-bridge__inner {
  position: relative; z-index: 1;
  max-width: 1440px; margin: 0 auto;
  width: 100%;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  color: var(--cream);
}
.photo-bridge__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1rem;
}
.photo-bridge__stat {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 1rem;
}
.photo-bridge__caption {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: color-mix(in srgb, var(--cream) 90%, transparent);
  max-width: 38ch;
  font-weight: 500;
}

/* Split-photo essay variant (essay paired with a photo on one side) */
.essay--split { background: var(--cream-deep); }
.essay--split .essay__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.essay--split .essay__inner { max-width: none; margin: 0; }
.essay--split .essay__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  border: 1px solid var(--rule);
  width: 100%;
}
.essay__lede {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.essay__body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.essay__body p { margin-top: 1rem; }
.essay__body p:first-child { margin-top: 0; }
.essay__body strong { color: var(--ink); font-weight: 600; }
.essay__callout {
  margin-top: 1.75rem;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--cream-deep) 70%, transparent);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}

/* ----- How we work (auto/home/life columns) ----- */
.howwework { background: var(--cream-deep); }
.howwework__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.howwework__intro-text { max-width: 56ch; }
.howwework__intro-text p {
  font-size: 1.05rem; color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 1rem;
}
.howwework__intro-photo {
  aspect-ratio: 4 / 5;
  background-image: url('images/stock/interior.jpg');
  background-size: cover; background-position: center;
  width: 100%; max-width: 340px;
  margin-left: auto;
  border: 1px solid var(--rule);
}
.howwework__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.howwework__col {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  display: flex; flex-direction: column; gap: 0.4rem;
  text-decoration: none; color: inherit;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative;
  cursor: pointer;
}
.howwework__col:hover {
  background: var(--cream-deep);
}
.howwework__col:hover .howwework__cta { gap: 0.7rem; color: var(--ink); }
.howwework__icon {
  width: 28px; height: 28px;
  color: var(--accent);
  margin-bottom: 0.85rem;
  stroke-width: 1.5;
}
.howwework__num {
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
}
.howwework__title {
  font-size: 1.1rem; font-weight: 700;
  color: var(--ink);
  margin-top: 0.25rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.howwework__text {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 0.5rem;
  flex: 1;
}
.howwework__cta {
  margin-top: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  transition: color 0.25s, gap 0.25s var(--ease);
}

/* "Also written" line below the howwework grid */
.howwework__also {
  margin-top: clamp(2rem, 3vw, 2.5rem);
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: center;
}
.howwework__also strong { color: var(--ink); font-weight: 600; }

/* Commercial lines block — peer section beneath the three personal-line cards */
.commercial {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.commercial__heading-block { max-width: 26ch; }
.commercial__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.commercial__eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.commercial__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--ink);
}
.commercial__title em { font-style: normal; color: var(--accent); }
.commercial__body p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 1rem;
}
.commercial__body p:first-child { margin-top: 0; }
.commercial__body strong { color: var(--ink); font-weight: 600; }
.commercial__lines {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink);
}
.commercial__lines span {
  padding-left: 1rem;
  position: relative;
}
.commercial__lines span::before {
  content: ''; position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 1px;
  background: var(--accent);
}
.commercial__cta {
  margin-top: 1.75rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s, gap 0.3s var(--ease);
}
.commercial__cta:hover { gap: 0.85rem; color: var(--ink); }
.commercial__cta svg { transition: transform 0.25s; }
.commercial__cta:hover svg { transform: translateX(3px); }

/* ----- Coverage review steps ----- */
.review { background: var(--cream); }
.review__heading { max-width: 720px; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.review__heading p {
  font-size: 1.02rem; color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 1rem;
}
.review__steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.review__step { padding: 1.5rem 0 0; border-top: 1px solid var(--accent); }
.review__step-num {
  font-family: var(--font-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.review__step-title {
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.review__step-text {
  font-size: 0.94rem; color: var(--ink-soft);
  line-height: 1.55;
}
.review__cta { margin-top: clamp(2rem, 3vw, 2.5rem); }

/* ----- Where we serve ----- */
.serve { background: var(--cream-deep); }
.serve__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.serve__copy p {
  font-size: 1.02rem; color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 1rem;
}
.serve__towns {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  line-height: 1.5;
}
.serve__towns span { color: var(--ink); }
.serve__towns span:not(:last-child)::after {
  content: ' · ';
  color: var(--accent);
  font-weight: 400;
}
.serve__states {
  margin-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ----- Testimonial (simplified) ----- */
.testi {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.testi__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.testi__quote-mark { display: none; }
.testi__text {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500; font-style: normal;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 1.5rem;
}
.testi__line { width: 22px; height: 1px; background: var(--accent); margin: 0 auto 1rem; }
.testi__author { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.testi__role {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}
.testi__dots {
  display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.75rem;
}
.testi__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rule);
  cursor: pointer; transition: background 0.25s, transform 0.25s;
}
.testi__dot.active { background: var(--accent); transform: scale(1.3); }
.testi__text, .testi__author, .testi__role { transition: opacity 0.4s ease; }

/* ----- Closer (full-bleed family photo with ink overlay) ----- */
.closer {
  position: relative;
  background-image: url('images/stock/family-closer.jpg');
  background-size: cover;
  background-position: center 35%;
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.closer::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 26, 51, 0.85) 0%,
    rgba(11, 26, 51, 0.78) 100%);
}
.closer__inner { position: relative; z-index: 1; max-width: 740px; margin: 0 auto; }
.closer__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 65%, transparent);
  margin-bottom: 1.25rem;
}
.closer__title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
  color: var(--cream);
  margin: 0 auto 1.5rem;
  max-width: 22ch;
}
.closer__title em {
  font-style: normal;
  color: var(--accent-bright);
}
.closer__sub {
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
  line-height: 1.6;
  max-width: 48ch;
  margin: 0 auto 2rem;
}
.closer__actions {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 1rem;
}
.closer__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 1.8rem;
  background: var(--cream); color: var(--ink);
  font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 3px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.closer__cta:hover {
  background: var(--accent-bright); color: var(--ink);
  transform: translateY(-1px);
}
.closer__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 0.5rem;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.closer__link:hover { color: var(--accent-bright); }

/* ----- Quote intake form — dark plate background with a cream card ----- */
.quote-form {
  background: var(--ink);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 4rem);
}
.quote-form__inner {
  max-width: 1040px; margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 4px;
  box-shadow:
    0 24px 60px -30px rgba(0, 0, 0, 0.55),
    0 2px 0 0 var(--accent) inset;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.quote-form__heading { max-width: 32ch; }
.quote-form__title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0.5rem 0 1rem;
}
.quote-form__title em { font-style: normal; color: var(--accent); }
.quote-form__sub {
  font-size: 1.02rem; line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.quote-form__assurance {
  font-family: var(--font-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.quote-form__assurance::before {
  content: ''; width: 22px; height: 1px; background: var(--accent);
}
.quote-form__form {
  display: grid;
  gap: 1.5rem;
}
.quote-form__row { display: grid; gap: 1.5rem; }
.quote-form__row--two { grid-template-columns: 1fr 1fr; }
.quote-form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.quote-form__label {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
}
.quote-form__input,
.quote-form__select,
.quote-form__textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 0.6rem 0;
  transition: border-color 0.25s;
}
.quote-form__input:focus,
.quote-form__select:focus,
.quote-form__textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.quote-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' stroke='%233a4763' stroke-width='2' fill='none'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
  padding-right: 28px;
  cursor: pointer;
}
.quote-form__textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.quote-form__honeypot {
  position: absolute; left: -9999px; top: -9999px;
  opacity: 0; pointer-events: none; height: 0; width: 0;
}
.quote-form__submit {
  margin-top: 0.5rem;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1rem 1.8rem;
  background: var(--ink); color: var(--cream);
  border: none; border-radius: 3px; cursor: pointer;
  transition: background 0.25s, transform 0.25s, opacity 0.25s;
}
.quote-form__submit:hover:not(:disabled) {
  background: var(--accent);
  transform: translateY(-1px);
}
.quote-form__submit:disabled { opacity: 0.55; cursor: wait; }
.quote-form__submit svg { transition: transform 0.25s; }
.quote-form__submit:hover:not(:disabled) svg { transform: translateX(3px); }
.quote-form__status {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  min-height: 1.2em;
}
.quote-form__status--ok { color: var(--accent); }
.quote-form__status--err { color: #b04a3a; }

@media (max-width: 1024px) {
  .quote-form__inner { grid-template-columns: 1fr; }
  .quote-form__row--two { grid-template-columns: 1fr; }
}

/* ----- Legacy buttons (used by .cta section if it remains) ----- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.75rem;
  border-radius: 3px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn--gold {
  background: var(--ink); color: var(--cream);
  border: 1px solid var(--ink);
}
.btn--gold:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn--outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); }

/* ----- Footer ----- */
.footer {
  background: var(--cream);
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.footer__brand {
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.footer__logo {
  height: 110px;
  width: auto;
  margin-bottom: 1rem;
}
.section-label--center {
  justify-content: center;
}
.footer__brand span { color: var(--accent); font-weight: 700; }
.footer__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 32ch;
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
  font-size: 0.92rem; color: var(--ink-soft);
  transition: color 0.25s;
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.page-head {
  background: var(--cream);
  color: var(--ink);
  padding: 7rem clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}
.page-head__inner { max-width: 1300px; margin: 0 auto; }
.page-head__breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.page-head__breadcrumb a { color: var(--ink); }
.page-head__breadcrumb a:hover { color: var(--accent); }
.page-head__breadcrumb span { color: var(--ink-faint); margin: 0 0.4rem; }
.page-head__title {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 20ch;
  margin-bottom: 1.25rem;
}
.page-head__title em {
  font-style: normal;
  color: var(--accent);
}
.page-head__sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* 404 page */
.notfound {
  background: var(--cream);
  color: var(--ink);
  padding: 10rem clamp(1.5rem, 4vw, 4rem) clamp(5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--rule);
  min-height: calc(100vh - 360px);
  display: flex;
  align-items: center;
}
.notfound__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.notfound__code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.notfound__title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.notfound__sub {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 2.5rem;
}
.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.notfound__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}
.notfound__btn:hover {
  background: var(--ink);
  color: var(--cream);
}
.notfound__btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}
.notfound__btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* Our Story (long-form prose) */
.story { background: var(--cream); }
.story__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.story__head {
  position: sticky;
  top: 8rem;
}
.story__body { max-width: 64ch; }
.story__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.story__eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.story__body > p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 1.25rem;
}
.story__body > p:first-of-type {
  margin-top: 0;
  font-size: clamp(1.18rem, 1.6vw, 1.4rem);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.story__pullquote {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
}

@media (max-width: 768px) {
  .story__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .story__head { position: static; }
}

/* Owners */
.owners {
  background: var(--cream-deep);
  color: var(--ink);
}
.owners__wrap {
  max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.owners__heading { text-align: center; margin-bottom: clamp(2.5rem, 4vw, 3rem); }
.owners__heading .section-label { justify-content: center; }
.owners__heading .section-label::before { display: none; }
.owner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--rule);
}
.owner:first-of-type { border-top: none; }
.owner--alt .owner__photo { order: 2; }
.owner--alt .owner__bio { order: 1; }
.owner__photo {
  width: 100%; max-width: 340px;
  aspect-ratio: 4 / 5;
  background: var(--cream); overflow: hidden;
  border: 1px solid var(--rule);
  justify-self: start;
}
.owner--alt .owner__photo { justify-self: end; }
.owner__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  display: block;
}
.owner__bio { display: flex; flex-direction: column; }
.owner__index {
  font-family: var(--font-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.owner__name {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.owner__role {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}
.owner__rating {
  font-size: 0.9rem; font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.15rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  letter-spacing: 0.04em;
}
.owner__rating::before {
  content: '★ ★ ★ ★ ★';
  letter-spacing: 0.08em;
}
.owner__lede {
  font-size: 1.1rem; font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  font-style: normal;
}
.owner__body { font-size: 1rem; color: var(--ink-soft); line-height: 1.65; }
.owner__body p { margin-top: 0.85rem; }
.owner__body p:first-child { margin-top: 0; }
.owner__meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  max-width: 440px;
}
.owner__meta-label {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint);
  align-self: center;
}
.owner__meta-value { color: var(--ink-soft); }
.owner__meta-value a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}
.owner__meta-value a:hover { color: var(--accent); }

/* Team (agent cards on /about) */
.team { background: var(--cream); }
.team__header { text-align: center; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.team__header .section-label { justify-content: center; }
.team__header .section-label::before { display: none; }
.team__hero-img { display: none; }
.team__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1200px; margin: 0 auto;
  align-items: start;
}
@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: 1fr; max-width: 380px; }
}

/* Initials placeholder for staff who don't have headshots yet */
.agent__photo--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-deep);
  font-size: 1.35rem; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}
.agent {
  background: var(--cream-deep);
  border: 1px solid var(--rule);
  padding: 1.75rem;
  text-align: left;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: border-color 0.3s;
}
.agent:hover { border-color: var(--accent); }
.agent__photo {
  width: 88px; height: 88px;
  min-width: 88px; min-height: 88px;
  max-width: 88px; max-height: 88px;
  border-radius: 50%;
  object-fit: cover; object-position: center 22%;
  margin: 0 0 1.25rem;
  border: 1px solid var(--rule);
  background: var(--cream);
}
.agent__name {
  font-size: 1.18rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.agent__title {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.agent__rating { font-size: 0.86rem; color: var(--accent); margin-bottom: 0.75rem; font-weight: 600; }
.agent__exp { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.6; }
.agent__detail { font-size: 0.84rem; color: var(--ink-faint); margin-top: 0.75rem; }
.agent__agency { font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.45rem; }
.agent__agency:first-of-type {
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
  margin-top: 0.85rem;
}
.agent__agency a { color: var(--ink); border-bottom: 1px solid var(--accent); }
.agent__agency a:hover { color: var(--accent); }

/* ============================================================
   SERVICE DETAIL PAGES (/services/*.html)
   ============================================================ */
.service-detail { background: var(--cream); }
.service-detail__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.service-detail__body p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 1.25rem;
}
.service-detail__body p:first-child {
  margin-top: 0;
  font-size: clamp(1.15rem, 1.5vw, 1.32rem);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}
.service-detail__body strong { color: var(--ink); font-weight: 600; }
.service-detail__sidebar {
  background: var(--cream-deep);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: 1px solid var(--rule);
  border-radius: 4px;
  position: sticky;
  top: 6rem;
}
.service-detail__sidebar .section-label { margin-bottom: 1.25rem; }
.service-detail__bullets {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.service-detail__bullets li {
  font-size: 0.95rem;
  color: var(--ink);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.45;
}
.service-detail__bullets li::before {
  content: ''; position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 1px;
  background: var(--accent);
}
.service-detail__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--ink); color: var(--cream);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 3px;
  transition: background 0.25s, transform 0.25s;
}
.service-detail__cta:hover { background: var(--accent); transform: translateY(-1px); }

@media (max-width: 1024px) {
  .service-detail__inner { grid-template-columns: 1fr; }
  .service-detail__sidebar { position: static; }
}

/* ============================================================
   LEGAL PAGES (/privacy, /terms, /accessibility, /copyright)
   ============================================================ */
.legal-doc { background: var(--cream); padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem); }
.legal-doc__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-doc__meta {
  font-family: var(--font-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.legal-doc h2 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-doc p { margin-bottom: 1rem; }
.legal-doc ul, .legal-doc ol {
  margin: 0 0 1rem 1.25rem;
  padding-left: 0.25rem;
}
.legal-doc li { margin-bottom: 0.4rem; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a {
  color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  transition: color 0.25s, border-color 0.25s;
}
.legal-doc a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.legal-doc address {
  font-style: normal;
  font-size: 0.95rem;
}

/* Footer-bottom legal links: ensure they read as links, not flat text */
.footer__bottom a {
  color: inherit;
  transition: color 0.25s;
}
.footer__bottom a:hover { color: var(--accent); }

/* ============================================================
   CONTACT PAGE (/contact.html)
   ============================================================ */
.contact { background: var(--cream); }
.contact__inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact__heading { max-width: 36ch; position: sticky; top: 8rem; }
.contact__title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0.5rem 0 1.25rem;
}
.contact__title em { font-style: normal; color: var(--accent); }
.contact__sub {
  font-size: 1rem; line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.contact__phones {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.contact__phone-card {
  display: flex; flex-direction: column; gap: 0.3rem;
}
.contact__phone-label {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
}
.contact__phone-num {
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.25s;
}
.contact__phone-num:hover { color: var(--accent); }
.contact__phone-addr {
  font-size: 0.86rem; color: var(--ink-soft);
}
.contact__hours {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Reuse most quote-form styles for the contact form */
.contact-form {
  background: var(--cream-deep);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-radius: 4px;
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
  box-shadow: 0 2px 0 0 var(--accent) inset;
}
.contact-form .quote-form__textarea {
  background: transparent;
  border-bottom: 1px solid var(--rule);
  min-height: 120px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.6rem 0;
  resize: vertical;
  line-height: 1.5;
}
.contact-form .quote-form__textarea:focus {
  outline: none; border-bottom-color: var(--accent);
}

@media (max-width: 1024px) {
  .contact__inner { grid-template-columns: 1fr; }
  .contact__heading { position: static; }
}

/* ============================================================
   THANK-YOU PAGE (/thank-you.html)
   ============================================================ */
.ty-head { padding-top: 8rem; padding-bottom: clamp(3rem, 5vw, 4rem); }
.ty-check {
  display: inline-flex;
  width: 64px; height: 64px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, var(--cream));
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.ty-check svg { display: block; }

.ty-urgent { background: var(--cream-deep); }
.ty-urgent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.ty-urgent__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.ty-contact {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.ty-contact__label {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
}
.ty-contact__phone {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.25s;
}
.ty-contact__phone:hover { color: var(--accent); }
.ty-contact__phone--sm { font-size: 1rem; word-break: break-all; }
.ty-contact__address {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.ty-contact:nth-child(3) { grid-column: span 2; }

.ty-back { background: var(--cream); }
.ty-back__inner {
  display: flex; gap: 1rem 2rem; align-items: center; flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 1024px) {
  .ty-urgent__inner { grid-template-columns: 1fr; }
  .ty-urgent__contacts { grid-template-columns: 1fr; }
  .ty-contact:nth-child(3) { grid-column: auto; }
}

/* About-page CTA reuses .cta — preserve those rules below (legacy CTA section) */
.cta { background: var(--cream-deep); color: var(--ink); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cta__glow { display: none; }
.cta__inner { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 1rem; }
.cta__title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--ink);
}
.cta__title em {
  font-style: normal;
  color: var(--accent);
}
.cta__sub {
  font-size: 1.02rem; color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 48ch;
}
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.cta__phone {
  display: inline-block;
  margin-top: 1.75rem;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cta__phone:hover { color: var(--accent); }
.cta__hours {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .howwework__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .howwework__grid { grid-template-columns: repeat(3, 1fr); }
  .howwework__intro { grid-template-columns: 1fr; gap: 2rem; }
  .howwework__intro-photo { max-width: 100%; aspect-ratio: 16/10; margin: 0; }
  .review__steps { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .serve__inner { grid-template-columns: 1fr; }
  .essay--split .essay__layout { grid-template-columns: 1fr; gap: 2rem; }
  .essay--split .essay__photo { aspect-ratio: 16/10; max-width: 100%; }
  .photo-bridge { height: clamp(320px, 50vh, 480px); }
  .commercial { grid-template-columns: 1fr; gap: 1.5rem; }
  .commercial__lines { grid-template-columns: 1fr; gap: 0.4rem; }
}

@media (max-width: 768px) {
  .howwework__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: color-mix(in srgb, var(--cream) 96%, transparent);
    backdrop-filter: blur(20px);
    justify-content: flex-start; align-items: stretch;
    padding: 5.5rem 2rem 2rem;
    gap: 0.5rem; z-index: 999; overflow-y: auto;
  }
  .nav__links.open .nav__link { font-size: 1rem; color: var(--ink); }
  .nav__links.open .nav__dropdown-trigger { display: none; }
  .nav__links.open .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 0 0 0 1rem;
    background: transparent; min-width: 0;
  }
  .nav__links.open .nav__dropdown-item {
    font-size: 0.9rem; padding: 0.5rem 0;
    border-bottom: none;
  }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .owner, .owner--alt { grid-template-columns: 1fr; gap: 1.5rem; }
  .owner--alt .owner__photo { order: 1; justify-self: center; }
  .owner--alt .owner__bio { order: 2; }
  .owner__photo { justify-self: center; }
  .team__grid { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 480px) {
  .howwework__grid { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr; }
  .stat {
    border-left: none; padding-left: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
  }
  .stat:first-child { border-top: none; padding-top: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .review__steps { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
