/* website-premium-contractor — section-composition stylesheet.
 *
 * Different from the standard contractor template in three ways:
 * 1. CSS variables for brand color + accent, not hardcoded.
 * 2. Section components are responsive and self-contained — each can be
 *    used in any order without leaking margins or breaking layout.
 * 3. Typography pair: Inter (body/UI) + Fraunces (display) for the
 *    "premium / editorial" feel; standard template uses a single sans.
 */

:root {
  --brand: #1a2e22;
  --brand-deep: #0f1f17;
  --accent: #c89a4e;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e5e7eb;
  --paper: #fafaf7;
  --white: #ffffff;
  --max: 1180px;
  --space: clamp(64px, 8vw, 120px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 32px;
}
.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--brand);
}
.primary-nav { display: flex; gap: 28px; }
.primary-nav a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.primary-nav a:hover { color: var(--brand); }
.header-cta {
  background: var(--brand);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.header-cta:hover { background: var(--brand-deep); }

/* ── Mobile nav (hamburger + slide-down menu) ─────────────────────────── */
.mobile-nav-toggle { display: none; background: transparent; border: 0; width: 36px; height: 32px; padding: 6px; cursor: pointer; flex-direction: column; justify-content: space-between; align-items: stretch; }
.mobile-nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mobile-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; padding: 16px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav__cta { margin-top: 12px; background: var(--brand); color: var(--white) !important; text-align: center; padding: 14px 0; border-radius: 999px; border-bottom: 0 !important; font-weight: 600; }

@media (max-width: 720px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .mobile-nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: block; }
}

/* ── Buttons (shared across sections) ─────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.btn--lg { padding: 14px 24px; font-size: 15px; border-radius: 8px; }
.btn--xl { padding: 18px 32px; font-size: 17px; border-radius: 10px; }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--white); }
.btn--ghost { background: rgba(255,255,255,0.12); color: var(--white); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.35); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); }

/* ── Section heads ────────────────────────────────────────────────────── */
.section-head { max-width: 720px; margin: 0 auto var(--space) auto; text-align: center; }
.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}
.section-intro { font-size: 18px; color: var(--muted); margin: 0; }

/* ── Hero — shared bits ───────────────────────────────────────────────── */
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 20px;
}
.hero__title--xl { font-size: clamp(48px, 7vw, 88px); }
.hero__subtitle { font-size: 20px; color: var(--ink-soft); margin: 0 0 32px; max-width: 540px; line-height: 1.5; }
.hero__subtitle--center { margin-left: auto; margin-right: auto; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__ctas--center { justify-content: center; }

/* ── Hero — full-bleed variant ────────────────────────────────────────── */
.hero--full-bleed {
  position: relative;
  min-height: clamp(540px, 80vh, 760px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.hero--full-bleed .hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.95) 100%);
}
.hero--full-bleed .hero__title { color: var(--white); max-width: 820px; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.hero--full-bleed .hero__subtitle { color: rgba(255,255,255,0.95); max-width: 640px; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.hero--full-bleed .hero__inner { position: relative; padding: 80px 24px; max-width: var(--max); margin: 0 auto; width: 100%; }

/* ── Hero — split variant ─────────────────────────────────────────────── */
.hero--split { padding: clamp(48px, 6vw, 96px) 0; background: var(--white); }
.hero--split .hero__split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero--split-flip .hero__split-grid { grid-template-columns: 1fr 1.05fr; direction: rtl; }
.hero--split-flip .hero__copy { direction: ltr; }
.hero--split .hero__image {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  min-height: 480px;
  box-shadow: 0 30px 60px -30px rgba(15,31,23,.35);
}
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero__stat-num { font-family: 'Fraunces', Georgia, serif; font-size: 32px; font-weight: 600; color: var(--brand); letter-spacing: -0.01em; }
.hero__stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 860px) { .hero--split .hero__split-grid { grid-template-columns: 1fr; } .hero--split .hero__image { min-height: 320px; } }

/* ── Hero — centered + stat band variant ─────────────────────────────── */
.hero--centered { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0 0; text-align: center; }
.hero--centered .hero__centered-inner { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.hero__stat-band { background: var(--brand); color: var(--white); margin-top: clamp(60px, 8vw, 100px); padding: 40px 0; }
.hero__stat-band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hero__stat-band-item { text-align: center; }
.hero__stat-band-num { font-family: 'Fraunces', Georgia, serif; font-size: clamp(36px, 4vw, 54px); font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
.hero__stat-band-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.78); margin-top: 8px; }
@media (max-width: 720px) { .hero__stat-band-inner { grid-template-columns: repeat(2, 1fr); } }

/* ── Services — cards variant ─────────────────────────────────────────── */
.services { padding: var(--space) 0; background: var(--white); }
.services--cards .services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card { background: var(--paper); border-radius: 14px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(15,31,23,.18); }
.service-card__image { aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: #d4dcd6; }
.service-card__body { padding: 24px; }
.service-card__title { font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.service-card__desc { font-size: 15px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.55; }
.service-card__link { font-weight: 600; color: var(--brand); font-size: 14px; }

/* ── Services — alternating variant ───────────────────────────────────── */
.services--alternating .service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.services--alternating .service-row:last-child { margin-bottom: 0; }
.services--alternating .service-row--flip { direction: rtl; }
.services--alternating .service-row--flip .service-row__copy { direction: ltr; }
.service-row__image { aspect-ratio: 5 / 4; background-size: cover; background-position: center; border-radius: 14px; background-color: #d4dcd6; box-shadow: 0 30px 60px -30px rgba(15,31,23,.35); }
.service-row__index { font-family: 'Fraunces', Georgia, serif; font-size: 14px; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 12px; }
.service-row__title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; color: var(--ink); letter-spacing: -0.015em; }
.service-row__desc { font-size: 17px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.6; }
.service-row__bullets { margin: 0 0 20px; padding-left: 20px; color: var(--ink-soft); }
.service-row__bullets li { margin-bottom: 6px; }
.service-row__link { font-weight: 600; color: var(--brand); font-size: 15px; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
@media (max-width: 860px) { .services--alternating .service-row { grid-template-columns: 1fr; } }

/* ── CTA — banner variant ─────────────────────────────────────────────── */
.cta--banner { background: var(--brand); color: var(--white); padding: clamp(48px, 6vw, 80px) 0; }
.cta--banner .cta__banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta__heading { font-family: 'Fraunces', Georgia, serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 600; margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
.cta__subtitle { color: rgba(255,255,255,0.78); margin: 8px 0 0; font-size: 16px; }
.cta--banner .btn--primary { background: var(--accent); color: var(--brand-deep); }
.cta--banner .btn--primary:hover { background: var(--white); }

/* ── CTA — split variant ──────────────────────────────────────────────── */
.cta--split { background: var(--paper); }
.cta__split-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(360px, 50vh, 480px); }
.cta__split-image { background-size: cover; background-position: center; background-color: #d4dcd6; }
.cta__split-copy { padding: clamp(40px, 6vw, 80px); background: var(--white); display: flex; flex-direction: column; justify-content: center; }
.cta--split .cta__heading { color: var(--ink); margin-bottom: 12px; }
.cta--split .cta__subtitle { color: var(--ink-soft); margin: 0 0 24px; font-size: 17px; line-height: 1.5; }
.cta__bullets { list-style: none; padding: 0; margin: 0 0 28px; color: var(--ink-soft); }
.cta__bullets li { padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); position: relative; }
.cta__bullets li:before { content: '\2713'; position: absolute; left: 0; top: 8px; color: var(--brand); font-weight: 700; }
.cta__bullets li:last-child { border-bottom: 0; }
.cta__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cta__phone { color: var(--ink); font-weight: 600; font-size: 17px; padding-left: 20px; border-left: 1px solid var(--line); }
@media (max-width: 860px) { .cta__split-grid { grid-template-columns: 1fr; } .cta__split-image { min-height: 280px; } }

/* ── About / Story ────────────────────────────────────────────────────── */
.story { padding: var(--space) 0; background: var(--paper); }
.story__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.story__portrait { aspect-ratio: 4 / 5; background-size: cover; background-position: center; border-radius: 16px; background-color: #d4dcd6; box-shadow: 0 30px 60px -30px rgba(15,31,23,.35); position: sticky; top: 100px; }
.story__eyebrow { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.story__title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(36px, 4.5vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 32px; color: var(--ink); }
.story__paragraph { font-size: 18px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 22px; }
.story__signature { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 22px; color: var(--brand); margin-top: 8px; }
.story__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.story__stat-num { font-family: 'Fraunces', Georgia, serif; font-size: 32px; font-weight: 600; color: var(--brand); letter-spacing: -0.01em; }
.story__stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 860px) { .story__grid { grid-template-columns: 1fr; } .story__portrait { position: static; aspect-ratio: 4/3; } }

/* ── Team grid ────────────────────────────────────────────────────────── */
.team { padding: var(--space) 0; background: var(--white); }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.team__card { background: var(--paper); border-radius: 14px; overflow: hidden; }
.team__portrait { aspect-ratio: 4 / 5; background-size: cover; background-position: center top; background-color: #d4dcd6; }
.team__body { padding: 20px 22px 24px; }
.team__name { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 600; color: var(--ink); }
.team__role { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-top: 4px; }
.team__bio { font-size: 14px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.55; }

/* ── Blog ─────────────────────────────────────────────────────────────── */
.blog-section { padding: var(--space) 0; }
.blog-section__title { font-family: var(--font-display, serif); font-size: clamp(36px, 4vw, 52px); margin: 0 0 40px; color: var(--ink); letter-spacing: -0.02em; }
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.blog-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,20,30,0.08); }
.blog-card__cover { width: 100%; height: 220px; object-fit: cover; display: block; }
.blog-card__body { padding: 24px; }
.blog-card__date { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }
.blog-card__title { font-family: var(--font-display, serif); font-size: 24px; margin: 0 0 12px; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }
.blog-card__excerpt { margin: 0 0 16px; color: var(--ink-soft); line-height: 1.6; font-size: 15px; }
.blog-card__more { color: var(--brand); font-weight: 600; font-size: 14px; }
.blog-empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 17px; }
@media (max-width: 760px) { .blog-list { grid-template-columns: 1fr; } }
.container--narrow { max-width: 720px; }
.blog-post { padding: var(--space) 0; }
.blog-post__back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 28px; }
.blog-post__back:hover { color: var(--ink); }
.blog-post__cover { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 32px; display: block; }
.blog-post__date { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.blog-post__title { font-family: var(--font-display, serif); font-size: clamp(34px, 4.5vw, 52px); margin: 0 0 20px; line-height: 1.15; color: var(--ink); letter-spacing: -0.02em; }
.blog-post__excerpt { font-size: 19px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 32px; }
.blog-post__body { font-size: 17px; line-height: 1.75; color: var(--ink); }
.blog-post__body h1 { font-family: var(--font-display, serif); font-size: 30px; margin: 40px 0 16px; letter-spacing: -0.01em; }
.blog-post__body h2 { font-family: var(--font-display, serif); font-size: 26px; margin: 36px 0 14px; letter-spacing: -0.01em; }
.blog-post__body h3 { font-size: 20px; margin: 32px 0 12px; font-weight: 700; }
.blog-post__body p { margin: 0 0 20px; }
.blog-post__body ul, .blog-post__body ol { margin: 0 0 20px; padding-left: 28px; }
.blog-post__body li { margin: 0 0 8px; }
.blog-post__body blockquote { margin: 24px 0; padding: 8px 0 8px 20px; border-left: 3px solid var(--brand); color: var(--ink-soft); font-style: italic; }
.blog-post__body code { background: var(--paper); padding: 2px 6px; border-radius: 4px; font-size: 0.92em; font-family: 'SF Mono', Consolas, monospace; }
.blog-post__body pre { background: var(--paper); padding: 18px; border-radius: 8px; overflow-x: auto; margin: 0 0 20px; }
.blog-post__body pre code { background: none; padding: 0; }
.blog-post__body a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.blog-post__body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }

/* ── Stats bar ────────────────────────────────────────────────────────── */
.stats-bar { padding: calc(var(--space) * 0.6) 0; background: var(--brand); color: var(--white); }
.stats-bar__heading { font-size: 18px; text-align: center; opacity: 0.85; font-weight: 500; letter-spacing: 0.04em; margin: 0 0 24px; text-transform: uppercase; }
.stats-bar__grid { display: grid; gap: 24px; align-items: end; }
.stats-bar__grid--2 { grid-template-columns: repeat(2, 1fr); }
.stats-bar__grid--3 { grid-template-columns: repeat(3, 1fr); }
.stats-bar__grid--4 { grid-template-columns: repeat(4, 1fr); }
.stats-bar__item { text-align: center; }
.stats-bar__value { font-family: var(--font-display, serif); font-size: clamp(36px, 4.5vw, 56px); line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.stats-bar__label { font-size: 13px; margin-top: 8px; opacity: 0.8; letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 720px) { .stats-bar__grid--3, .stats-bar__grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ── FAQ section ──────────────────────────────────────────────────────── */
.faq-section { padding: var(--space) 0; background: var(--white); }
.faq-section__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-section__head { position: sticky; top: 100px; }
.faq-section__title { font-family: var(--font-display, serif); font-size: clamp(28px, 3vw, 38px); margin: 0 0 16px; color: var(--ink); letter-spacing: -0.01em; }
.faq-section__intro { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item__question { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item__question::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--ink-soft); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] .faq-item__question::after { content: "−"; }
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__answer { color: var(--ink-soft); font-size: 15px; line-height: 1.65; padding-top: 14px; }
@media (max-width: 820px) { .faq-section__grid { grid-template-columns: 1fr; gap: 32px; } .faq-section__head { position: static; } }

/* ── Testimonials section ─────────────────────────────────────────────── */
.testimonials-section { padding: var(--space) 0; background: var(--paper); }
.testimonials-section__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.testimonials-section__title { font-family: var(--font-display, serif); font-size: clamp(28px, 3vw, 38px); margin: 0 0 12px; color: var(--ink); letter-spacing: -0.01em; }
.testimonials-section__intro { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.testimonials-grid { display: grid; gap: 24px; }
.testimonials-grid--1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.testimonials-grid--2 { grid-template-columns: repeat(2, 1fr); }
.testimonials-grid--3 { grid-template-columns: repeat(3, 1fr); }
.testimonial-card { background: var(--white); padding: 28px 26px; border-radius: 8px; border: 1px solid var(--line); margin: 0; }
.testimonial-card__quote { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 0 0 20px; font-style: italic; }
.testimonial-card__attribution { display: flex; align-items: center; gap: 12px; }
.testimonial-card__photo { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.testimonial-card__author { font-weight: 600; font-size: 15px; color: var(--ink); }
.testimonial-card__role { font-size: 13px; color: var(--muted); margin-top: 1px; }
@media (max-width: 820px) { .testimonials-grid--3 { grid-template-columns: 1fr; } .testimonials-grid--2 { grid-template-columns: 1fr; } }

/* ── Gallery section ──────────────────────────────────────────────────── */
.gallery-section { padding: var(--space) 0; background: var(--white); }
.gallery-section__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.gallery-section__title { font-family: var(--font-display, serif); font-size: clamp(28px, 3vw, 38px); margin: 0 0 12px; color: var(--ink); letter-spacing: -0.01em; }
.gallery-section__intro { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid__item { margin: 0; position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--paper); }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-grid__item:hover img { transform: scale(1.03); }
.gallery-grid__item figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); color: #fff; font-size: 13px; font-weight: 500; }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ── Contact section ──────────────────────────────────────────────────── */
.contact-section { padding: var(--space) 0; background: var(--paper); }
.contact-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-section__title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(36px, 4.5vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; color: var(--ink); }
.contact-section__intro { font-size: 18px; color: var(--ink-soft); margin: 0 0 32px; line-height: 1.55; max-width: 460px; }
.contact-section__details { border-top: 1px solid var(--line); }
.contact-section__row { display: grid; grid-template-columns: 100px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-section__label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; padding-top: 2px; }
.contact-section__value { color: var(--ink); font-size: 16px; }
.contact-section__value a { color: var(--brand); font-weight: 600; }
.contact-section__promise { margin-top: 28px; padding: 16px 20px; background: var(--brand); color: var(--white); border-radius: 10px; font-size: 14px; line-height: 1.55; }
.contact-form { background: var(--white); border-radius: 14px; padding: 32px; box-shadow: 0 20px 40px -20px rgba(15,31,23,.18); }
.contact-form__row { margin-bottom: 18px; }
.contact-form__row label { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 6px; }
.contact-form__row input, .contact-form__row textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: var(--paper); }
.contact-form__row input:focus, .contact-form__row textarea:focus { outline: none; border-color: var(--brand); background: var(--white); }
@media (max-width: 860px) { .contact-section__grid { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--brand-deep); color: var(--white); padding: 48px 0 32px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 700; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 4px; }
.footer-contact { display: flex; gap: 28px; }
.footer-contact a { color: rgba(255,255,255,0.85); font-size: 15px; }
.footer-contact a:hover { color: var(--accent); }

/* ── Twomiah Bookings ─────────────────────────────────────────────────── */
.book-services { padding: var(--space) 0; }
.book-services__title { font-family: var(--font-display, serif); font-size: clamp(36px, 4vw, 52px); margin: 0 0 40px; color: var(--ink); letter-spacing: -0.02em; }
.book-services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,20,30,0.08); }
.service-card__body { padding: 28px; }
.service-card__name { font-family: var(--font-display, serif); font-size: 26px; margin: 0 0 12px; letter-spacing: -0.01em; color: var(--ink); }
.service-card__desc { margin: 0 0 18px; color: var(--ink-soft); line-height: 1.6; font-size: 15px; }
.service-card__meta { display: flex; gap: 18px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.service-card__price { font-weight: 700; color: var(--ink); }
.service-card__cta { color: var(--brand); font-weight: 600; font-size: 14px; }
@media (max-width: 760px) { .book-services__grid { grid-template-columns: 1fr; } }

.book-picker { padding: var(--space) 0; }
.book-picker__back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 24px; }
.book-picker__back:hover { color: var(--ink); }
.book-picker__title { font-family: var(--font-display, serif); font-size: clamp(34px, 4vw, 48px); margin: 0 0 14px; letter-spacing: -0.02em; }
.book-picker__desc { color: var(--ink-soft); font-size: 17px; margin: 0 0 36px; line-height: 1.6; }
.book-step { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px; margin-bottom: 24px; }
.book-step h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 18px; font-weight: 700; }
.book-zip label { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.book-zip input { display: block; margin-top: 6px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; max-width: 140px; }
.book-dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.book-date { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px 6px; cursor: pointer; text-align: center; display: flex; flex-direction: column; gap: 4px; font-family: inherit; transition: border-color .15s, background .15s; }
.book-date:hover { border-color: var(--brand); }
.book-date.is-selected { background: var(--brand); border-color: var(--brand); color: var(--white); }
.book-date__dow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.book-date__day { font-size: 22px; font-weight: 700; }
.book-date__mon { font-size: 11px; text-transform: uppercase; opacity: 0.7; }
@media (max-width: 580px) { .book-dates { grid-template-columns: repeat(4, 1fr); } }
.book-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.book-slot { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 12px; cursor: pointer; font-size: 15px; font-family: inherit; transition: border-color .15s, background .15s; }
.book-slot:hover { border-color: var(--brand); }
.book-slot.is-selected { background: var(--brand); border-color: var(--brand); color: var(--white); }
.book-loading, .book-empty { color: var(--muted); font-size: 15px; padding: 20px 0; }
#book-form { display: flex; flex-direction: column; gap: 14px; }
#book-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-soft); }
#book-form input[type="text"], #book-form input[type="email"], #book-form input[type="tel"], #book-form textarea { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-family: inherit; }
.book-submit { margin-top: 6px; padding: 14px 28px; background: var(--brand); color: var(--white); border: none; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; transition: opacity .15s; }
.book-submit:hover { opacity: 0.9; }
.book-submit:disabled { opacity: 0.5; cursor: wait; }
.book-error { background: #fee; color: #c00; border: 1px solid #fcc; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-top: 8px; }
.book-thanks { padding: var(--space) 0; text-align: center; }
.book-thanks__check { width: 80px; height: 80px; margin: 0 auto 24px; background: #22c55e; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 700; }
.book-thanks h1 { font-family: var(--font-display, serif); font-size: clamp(36px, 4vw, 52px); margin: 0 0 14px; letter-spacing: -0.02em; }
.book-thanks__lead { color: var(--ink-soft); font-size: 17px; margin: 0 0 36px; }
.book-thanks__summary { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin: 0 0 28px; text-align: left; max-width: 480px; margin-left: auto; margin-right: auto; }
.book-thanks__summary div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.book-thanks__summary div:last-child { border-bottom: none; }
.book-thanks__summary span { color: var(--muted); font-size: 14px; }
.book-thanks__addcal { color: var(--muted); font-size: 14px; }
.book-thanks__addcal a { color: var(--brand); text-decoration: underline; }
.book-empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ── Twomiah Bookings polish ────────────────────────────────────────────── */
.book-progress { list-style: none; display: flex; align-items: center; gap: 8px; padding: 0; margin: 0 0 32px; }
.book-progress__step { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 14px; transition: background .2s, color .2s; flex: 1; max-width: 180px; }
.book-progress__step.is-active { background: var(--brand); color: var(--white); font-weight: 600; }
.book-progress__step.is-done { background: var(--ink); color: var(--white); }
.book-progress__step.is-done .book-progress__num::before { content: '✓'; }
.book-progress__step.is-done .book-progress__num { font-size: 0; }
.book-progress__step.is-done .book-progress__num::before { font-size: 16px; }
.book-progress__num { width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,0.06); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.book-progress__step.is-active .book-progress__num, .book-progress__step.is-done .book-progress__num { background: rgba(255,255,255,0.2); }
.book-progress__label { letter-spacing: 0.02em; }
@media (max-width: 580px) {
  .book-progress__step { padding: 6px 10px; font-size: 12px; }
  .book-progress__label { display: none; }
}
.book-slots-skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.book-slot-skel { height: 44px; border-radius: 8px; background: linear-gradient(90deg, var(--paper), rgba(0,0,0,0.04), var(--paper)); background-size: 200% 100%; animation: book-shimmer 1.2s ease-in-out infinite; }
@keyframes book-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Bookings tip presets ─────────────────────────────────────────────── */
.book-tip { margin: 14px 0; }
.book-tip > label { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
.book-tip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.book-tip-btn { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; cursor: pointer; font-family: inherit; font-size: 14px; transition: border-color .15s, background .15s; }
.book-tip-btn:hover { border-color: var(--brand); }
.book-tip-btn.is-active { background: var(--brand); color: var(--white); border-color: var(--brand); }

/* ── Home care accessibility baseline (WCAG 2.2 AAA target) ────────── */
/* Body type bumps to 18px+, no fast animations, real focus rings. */
body { font-size: 18px; line-height: 1.6; }
.section-intro, p { font-size: 17px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
/* When user dials up text via the Aa+ toggle we apply --text-scale */
html { --text-scale: 1; }
body { font-size: calc(18px * var(--text-scale)); }
html.cf-text-large { --text-scale: 1.15; }
html.cf-text-xlarge { --text-scale: 1.3; }

/* ── Care finder wizard ──────────────────────────────────────────────── */
.care--finder { padding: var(--space) 0; }
.cf-form { background: var(--white); border-radius: 16px; padding: 36px; max-width: 720px; margin: 0 auto; box-shadow: 0 2px 20px rgba(0,0,0,0.05); }
.cf-progress { list-style: none; padding: 0; margin: 0 0 32px; display: flex; gap: 0; justify-content: space-between; }
.cf-progress__step { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 6px; font-size: 14px; color: var(--muted); font-weight: 500; border-bottom: 2px solid var(--line); transition: color .25s, border-color .25s; }
.cf-progress__step span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); color: var(--muted); font-weight: 700; font-size: 13px; }
.cf-progress__step.is-current { color: var(--brand); border-bottom-color: var(--brand); }
.cf-progress__step.is-current span { background: var(--brand); color: var(--white); }
.cf-progress__step.is-done { color: var(--ink-soft); border-bottom-color: var(--brand); }
.cf-progress__step.is-done span { background: var(--brand); color: var(--white); }
.cf-step { border: 0; padding: 0; margin: 0; transition: opacity .28s; }
.cf-step__legend { font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 24px; padding: 0; }
.cf-choices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cf-choices--checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.cf-choice { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--paper); border: 2px solid transparent; border-radius: 10px; cursor: pointer; font-size: 17px; transition: border-color .15s, background .15s; }
.cf-choice:hover { border-color: var(--brand); background: var(--white); }
.cf-choice:has(input:checked) { border-color: var(--brand); background: var(--white); }
.cf-choice input { transform: scale(1.2); accent-color: var(--brand); }
.cf-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cf-label { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.cf-input { padding: 14px 16px; border: 2px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 17px; background: var(--paper); color: var(--ink); }
.cf-input:focus { outline: none; border-color: var(--brand); }
.cf-promise { background: var(--paper); border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 15px; color: var(--ink-soft); margin: 20px 0; line-height: 1.5; }
.cf-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cf-done { text-align: center; padding: 32px 0; }
.cf-done h3 { font-size: 28px; margin: 0 0 12px; color: var(--brand); }
.cf-step--invalid .cf-choice, .cf-step--invalid .cf-input { border-color: #b91c1c; }
@media (prefers-reduced-motion: reduce) { .cf-step, .cf-progress__step, .cf-choice { transition: none; } }

/* ── Caregiver profile cards ─────────────────────────────────────────── */
.caregivers { padding: var(--space) 0; }
.cg-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.cg-chip { background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 8px 18px; font-family: inherit; font-size: 15px; cursor: pointer; color: var(--ink-soft); font-weight: 500; }
.cg-chip:hover { border-color: var(--brand); color: var(--brand); }
.cg-chip.is-active { background: var(--brand); color: var(--white); border-color: var(--brand); }
.cg-chip--lang { font-style: italic; }
.cg-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.cg-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,0.04); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.cg-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.cg-card[hidden] { display: none !important; }
.cg-card__photo { aspect-ratio: 1; background-size: cover; background-position: center 25%; background-color: var(--paper); filter: sepia(0.15) saturate(0.85) brightness(0.98); transition: filter .35s; }
.cg-card:hover .cg-card__photo { filter: sepia(0) saturate(1) brightness(1); }
.cg-card__photo--placeholder { background: linear-gradient(135deg, var(--paper), var(--accent)); }
.cg-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.cg-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cg-card__name { margin: 0; font-size: 22px; color: var(--ink); line-height: 1.15; }
.cg-card__years { font-size: 14px; color: var(--brand); font-weight: 600; }
.cg-card__certs { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.cg-card__blurb { margin: 4px 0 6px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
.cg-card__spec-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cg-card__spec { font-size: 12px; padding: 4px 10px; background: var(--paper); color: var(--ink); border-radius: 4px; font-weight: 500; }
.cg-card__lang { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 6px; }

/* ── Coverage / insurance guide ──────────────────────────────────────── */
.coverage { padding: var(--space) 0; }
.cov-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.cov-card { background: var(--white); border-radius: 14px; padding: 28px 26px 24px; box-shadow: 0 2px 14px rgba(0,0,0,0.04); display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--brand); }
.cov-card__source { font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.cov-card__row { display: flex; flex-direction: column; gap: 4px; }
.cov-card__row-label { font-size: 11.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.cov-card__row-body { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.cov-card__row--ours { background: var(--paper); padding: 14px 16px; border-radius: 8px; margin-top: 4px; }
.cov-card__row--ours .cov-card__row-label { color: var(--brand); }

/* ── Aa+ font-size toggle (lives in header) ──────────────────────────── */
.text-size-toggle { position: fixed; top: 16px; right: 16px; z-index: 100; display: flex; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.text-size-toggle button { background: transparent; border: 0; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-family: inherit; font-weight: 600; color: var(--ink-soft); }
.text-size-toggle button.is-active { background: var(--brand); color: var(--white); }
.text-size-toggle button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ─── reservation/cta — Twomiah Bookings CTA for service businesses ─── */
.reservation { padding: var(--space) 0; background: var(--paper); }
.reservation__card { background: var(--white); border-radius: 16px; padding: 36px; max-width: 720px; margin: 0 auto; box-shadow: 0 2px 20px rgba(0,0,0,0.05); }
.reservation__card--cta { text-align: center; padding: 44px 36px; }
.reservation__head { text-align: center; margin-bottom: 24px; }
.reservation__heading { margin: 0 0 8px; font-size: clamp(28px, 3.5vw, 38px); color: var(--ink); line-height: 1.1; }
.reservation__intro { color: var(--ink-soft); margin: 0; max-width: 480px; margin-left: auto; margin-right: auto; }
.reservation__cta-btn { display: inline-block; margin-top: 8px; min-width: 280px; }
.reservation__note { font-size: 13px; color: var(--muted); margin-top: 16px; font-style: italic; }

/* Rich content / article section */
.prose-section{padding:clamp(48px,6vw,96px) 0;background:var(--white)}
.prose-section .blog-post__body{font-size:17px}
.prose-section .blog-post__body h2{font-family:var(--font-display,serif);font-size:clamp(24px,3vw,32px);margin:36px 0 14px;color:var(--ink);letter-spacing:-.01em}
.prose-section .blog-post__body h3{font-size:20px;margin:28px 0 10px;color:var(--ink)}
.prose-section .blog-post__body ul{margin:0 0 20px;padding-left:22px}
.prose-section .blog-post__body li{margin:0 0 8px;color:var(--ink-soft)}
