/* Zeal Family Services — converted from the React/Tailwind design system */
:root {
  --radius: 1rem;
  --radius-sm: calc(var(--radius) - 6px);
  --radius-md: calc(var(--radius) - 3px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 6px);
  --radius-2xl: calc(var(--radius) + 14px);
  --radius-3xl: calc(var(--radius) + 24px);
  --background: oklch(0.99 0.006 240);
  --foreground: oklch(0.27 0.045 250);
  --sand: oklch(0.968 0.019 238);
  --ink: oklch(0.24 0.05 252);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.27 0.045 250);
  --primary: oklch(0.52 0.135 252);
  --primary-foreground: oklch(0.99 0.006 240);
  --secondary: oklch(0.945 0.031 240);
  --secondary-foreground: oklch(0.33 0.07 250);
  --muted: oklch(0.962 0.017 240);
  --muted-foreground: oklch(0.52 0.033 248);
  --accent: oklch(0.63 0.155 248);
  --accent-foreground: oklch(0.99 0.005 240);
  --destructive: oklch(0.55 0.2 27);
  --destructive-foreground: oklch(0.99 0.006 240);
  --border: oklch(0.915 0.018 240);
  --input: oklch(0.915 0.018 240);
  --ring: oklch(0.63 0.155 248);
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --shadow-soft: 0 1px 2px oklch(0.45 0.08 250 / 0.05), 0 14px 34px -18px oklch(0.45 0.1 250 / 0.22);
  --shadow-lift: 0 2px 6px oklch(0.45 0.08 250 / 0.06), 0 34px 70px -34px oklch(0.4 0.12 250 / 0.35);
  --shadow-glow: 0 10px 30px -12px oklch(0.58 0.15 250 / 0.45);
  --gradient-tile: linear-gradient(140deg, oklch(0.94 0.045 245), oklch(0.97 0.025 230));
  --gradient-hero:
    radial-gradient(60rem 40rem at 82% -10%, oklch(0.9 0.06 240 / 0.55), transparent 60%),
    radial-gradient(48rem 34rem at -10% 20%, oklch(0.94 0.04 220 / 0.6), transparent 62%);
  --gradient-deep: linear-gradient(135deg, oklch(0.26 0.05 252), oklch(0.33 0.062 248));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.site {
  overflow-x: clip;
  max-width: 100%;
}

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

img:not(.logo-img):not(.footer-logo):not(.hero-badge) {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}

h4 {
  margin: 0;
  font-weight: 500;
}

p { margin: 0; }

figure {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.container-page {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4.2vw, 2rem);
  min-width: 0;
}

.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.surface-mesh { background-image: var(--gradient-hero); }

.surface-deep {
  background-image: var(--gradient-deep);
  color: oklch(0.97 0.008 240);
}

.section-tint {
  background-color: var(--sand);
  background-image: radial-gradient(
    46rem 30rem at 100% 0%,
    color-mix(in oklab, var(--accent) 9%, transparent),
    transparent 65%
  );
}

.section-dots {
  background-color: color-mix(in oklab, var(--sand) 60%, var(--background));
  background-image: radial-gradient(
    color-mix(in oklab, var(--accent) 22%, transparent) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
}

.section-fade {
  background-image: linear-gradient(
    180deg,
    color-mix(in oklab, var(--accent) 7%, var(--background)),
    var(--background) 55%,
    color-mix(in oklab, var(--accent) 5%, var(--background))
  );
}

.card-elevated {
  position: relative;
  background: var(--card);
  border: 1.5px solid color-mix(in oklab, var(--accent) 22%, var(--border));
  border-radius: var(--radius-2xl);
  box-shadow: 0 1px 2px oklch(0.45 0.08 250 / 0.05);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
  overflow: hidden;
}

.card-elevated::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(160deg, color-mix(in oklab, var(--accent) 10%, transparent), transparent 55%);
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card-elevated:hover {
  transform: translateY(-6px);
  border-color: color-mix(in oklab, var(--accent) 55%, var(--border));
  box-shadow: var(--shadow-lift);
}

.card-elevated:hover::before { opacity: 1; }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  color: var(--primary);
  border: 1.5px solid color-mix(in oklab, var(--accent) 38%, transparent);
  background-image: var(--gradient-tile);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.7);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-elevated:hover .icon-tile {
  transform: translateY(-2px) scale(1.05);
  border-color: color-mix(in oklab, var(--accent) 70%, transparent);
  box-shadow: var(--shadow-glow);
}

.icon-tile.square {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1.5px solid color-mix(in oklab, var(--accent) 22%, var(--border));
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.photo-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in oklab, var(--accent) 55%, var(--border));
  box-shadow: var(--shadow-lift);
}

.photo-card:hover img { transform: scale(1.06); }

.photo-caption {
  position: absolute;
  inset-inline: 0.625rem;
  bottom: 0.625rem;
  border-radius: var(--radius-lg);
  border: 1px solid oklch(1 0 0 / 0.35);
  background: oklch(0.22 0.04 252 / 0.45);
  backdrop-filter: blur(14px) saturate(140%);
  color: oklch(0.99 0.005 240);
  padding: 0.875rem 1rem;
}

.photo-caption .note {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  opacity: 0.85;
}

.btn-primary,
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.28), transparent);
  transition: transform 0.7s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::after { transform: translateX(110%) skewX(-18deg); }
.btn-primary:active { transform: none; }

.btn-ghost {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  gap: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent) 45%, var(--border));
  background: color-mix(in oklab, var(--accent) 6%, var(--card));
  box-shadow: var(--shadow-soft);
}

.surface-deep .btn-ghost {
  background: transparent;
  color: oklch(0.99 0.006 240);
  border-color: oklch(1 0 0 / 0.28);
}

.surface-deep .btn-ghost:hover {
  background: oklch(1 0 0 / 0.08);
  border-color: oklch(1 0 0 / 0.45);
}

.btn-md { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.125rem; }
.btn-xl { padding: 1rem 2rem; font-size: 1.125rem; }

.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 3rem; height: 3rem; }
.icon-tile .icon { width: 1.5rem; height: 1.5rem; }

.muted { color: var(--muted-foreground); }
.font-display { font-family: var(--font-display); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 60;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--background) 96%, transparent);
  backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 2.25rem; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}
.logo-text-light { color: var(--background); margin-top: 0; }
@media (min-width: 768px) { .logo-img { height: 2.5rem; } }
.hero-photo,
.photo-card { background-image: var(--gradient-tile); }

/* Grid children stretch to equal heights */
.grid-3 > .reveal,
.service-grid > .reveal,
.trust-points > .reveal,
.quotes > .reveal,
.steps > .reveal,
.people > .reveal,
.why-split > .reveal,
.action-grid > .reveal {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.grid-3 .card-elevated,
.service-grid .service-card,
.trust-points .trust-point,
.quotes .quote-card,
.steps .step,
.people .card-elevated,
.action-grid .photo-card {
  flex: 1 1 auto;
  width: 100%;
}

.nav-desktop,
.header-actions { display: none; }

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-current { color: var(--foreground); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.header-phone:hover { background: var(--secondary); }

.menu-toggle {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 1rem 1.5rem 2rem;
}

.mobile-nav-links { display: flex; flex-direction: column; }

.mobile-nav-link {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.mobile-nav-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
    gap: 2rem;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    justify-self: center;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: end;
  }

  .menu-toggle,
  .mobile-nav { display: none !important; }
}

.section { padding: 3.5rem 0; overflow: visible; }
@media (min-width: 640px) { .section { padding: 5rem 0; } }

.page-hero { padding: 2.25rem 0 2.5rem; }
@media (min-width: 640px) { .page-hero { padding: 4rem 0; } }

.page-hero h1,
.hero h1 { max-width: 48rem; }

.page-hero h1 {
  margin-top: 0.85rem;
  font-size: clamp(1.7rem, 7.4vw, 2.4rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.page-hero p.body,
.section-head p.body {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.page-hero p.body { max-width: 42rem; }
@media (min-width: 640px) {
  .page-hero h1 { font-size: 3rem; }
  .page-hero p.body { font-size: 1.25rem; }
}

.section-head { max-width: 42rem; }
.section-head h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
}
@media (min-width: 640px) {
  .section-head h2 { font-size: 3rem; }
}

.hero { position: relative; overflow: hidden; }

.hero-video {
  min-height: auto;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

/* Soft left → mid wash for text; light mid→right veil keeps subject visible */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      color-mix(in oklab, var(--background) 96%, transparent) 0%,
      color-mix(in oklab, var(--background) 90%, transparent) 28%,
      color-mix(in oklab, var(--background) 72%, transparent) 44%,
      color-mix(in oklab, var(--background) 42%, transparent) 56%,
      color-mix(in oklab, var(--background) 18%, transparent) 68%,
      color-mix(in oklab, var(--background) 8%, transparent) 80%,
      transparent 92%
    ),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--background) 28%, transparent) 0%,
      transparent 18%,
      transparent 78%,
      color-mix(in oklab, var(--background) 22%, transparent) 100%
    );
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(4.75rem, 8vh, 5.25rem) clamp(1.75rem, 3vh, 2.5rem);
}

@media (min-width: 768px) {
  .hero-shell {
    padding-block: clamp(5rem, 8vh, 5.75rem) clamp(2rem, 3vh, 2.75rem);
  }
}

@media (min-width: 1024px) {
  /* Fixed hero frame so video fills this band — not a tall full-viewport crop */
  .hero-video {
    height: clamp(32rem, 58vh, 38rem);
    min-height: 32rem;
    max-height: 38rem;
  }

  .hero-shell {
    height: 100%;
    min-height: inherit;
    padding-block: 5.5rem 2.5rem;
  }

  .hero-video-bg video {
    object-position: 74% center;
  }

  .hero-video-overlay {
    background:
      linear-gradient(
        90deg,
        color-mix(in oklab, var(--background) 97%, transparent) 0%,
        color-mix(in oklab, var(--background) 92%, transparent) 26%,
        color-mix(in oklab, var(--background) 78%, transparent) 40%,
        color-mix(in oklab, var(--background) 48%, transparent) 52%,
        color-mix(in oklab, var(--background) 22%, transparent) 64%,
        color-mix(in oklab, var(--background) 10%, transparent) 76%,
        transparent 90%
      ),
      linear-gradient(
        180deg,
        color-mix(in oklab, var(--background) 22%, transparent) 0%,
        transparent 16%,
        transparent 82%,
        color-mix(in oklab, var(--background) 18%, transparent) 100%
      );
  }
}

@media (min-width: 1280px) {
  .hero-video {
    height: clamp(34rem, 56vh, 40rem);
    min-height: 34rem;
    max-height: 40rem;
  }

  .hero-shell {
    padding-block: 5.75rem 2.75rem;
  }

  .hero-video-bg video {
    object-position: 72% center;
  }
}

@media (min-width: 1536px) {
  .hero-video {
    height: 40rem;
    min-height: 40rem;
    max-height: 42rem;
  }

  .hero-video-bg video {
    object-position: 70% center;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  gap: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero-aside {
  display: none;
}

.hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  line-height: 1.08;
}

.hero .lead {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: clamp(0.975rem, 1.5vw, 1.125rem);
  color: var(--muted-foreground);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-actions .btn-xl {
  width: 100%;
  text-align: center;
}

.hero-trust {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-badge {
  height: 2.75rem;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.hero-trust p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.hero-trust a {
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn-xl {
    width: auto;
  }
}

@media (min-width: 640px) {
  .hero-trust {
    flex-direction: row;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-top: 1.5rem;
  }

  .hero-badge {
    height: 3rem;
  }

  .hero-trust p {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(1.5rem, 4vw, 3rem);
  }

  .hero-content {
    max-width: 34rem;
  }

  .hero-aside {
    display: block;
    min-height: 1px;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 36rem;
  }

  .hero-inner {
    column-gap: 3rem;
  }

  .hero h1,
  .hero .lead,
  .hero-trust p {
    text-shadow: 0 1px 18px color-mix(in oklab, var(--background) 55%, transparent);
  }
}

@media (min-width: 1280px) {
  .hero-content {
    max-width: 38rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 3vw, 3.35rem);
  }
}

@media (max-width: 767px) {
  .hero-video-bg video {
    object-position: center 28%;
  }

  .hero-video-overlay {
    background:
      linear-gradient(
        180deg,
        color-mix(in oklab, var(--background) 94%, transparent) 0%,
        color-mix(in oklab, var(--background) 88%, transparent) 42%,
        color-mix(in oklab, var(--background) 72%, transparent) 72%,
        color-mix(in oklab, var(--background) 55%, transparent) 100%
      );
  }
}

@media (max-width: 479px) {
  .hero-shell {
    padding-block: 4.75rem 1.75rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8.5vw, 2.1rem);
  }

  .hero-badge {
    height: 2.5rem;
  }
}

.grid-3 {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}
.card-pad { padding: 2rem; }
.card-pad h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.card-pad p { margin-top: 0.75rem; color: var(--muted-foreground); }

.why-split {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}
.photo-card.h-md { height: 16rem; }
.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-2xl);
  padding: 2rem;
}
.quote-panel p.quote { font-size: 1.5rem; line-height: 1.35; }
.quote-panel p.sub { margin-top: 1.25rem; color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); }

.service-group { margin-top: 2.5rem; }
.service-group + .service-group { margin-top: 2.5rem; }
.service-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}
.service-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
.service-card {
  display: flex;
  gap: 1rem;
  height: 100%;
  padding: 1.5rem;
}
.service-card h4 { font-size: 1.125rem; }
.service-card p { margin-top: 0.25rem; color: var(--muted-foreground); }

.cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  border-radius: 1.5rem;
  padding: 2rem;
}
.cta-row p { max-width: 36rem; font-size: 1.25rem; }

.steps {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}
.step { padding: 2rem; height: 100%; }
.step .icon-tile { font-family: var(--font-display); font-size: 1.5rem; }
.step h3 { margin-top: 1rem; font-size: 1.25rem; }
.step p { margin-top: 0.75rem; color: var(--muted-foreground); }

.about-grid {
  display: grid;
  align-items: center;
  gap: 3.5rem;
}
.about-photo {
  width: 100%;
  border-radius: 2rem;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 6 / 5;
}
.about-copy .lead { margin-top: 1.25rem; font-size: 1.125rem; color: var(--muted-foreground); }
.people {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.people img {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  max-height: 18rem;
  object-fit: cover;
  object-position: top center;
}
.people figcaption { padding: 1rem 1.15rem 1.15rem; }
.people figcaption p:first-child {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

.trust-head { max-width: 42rem; }
.trust-kicker {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
}
.trust-head h2 { margin-top: 1rem; font-size: 2.25rem; }
.trust-points {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}
.trust-point {
  height: 100%;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 15%, transparent);
  background: color-mix(in oklab, var(--primary-foreground) 5%, transparent);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.trust-point:hover {
  transform: translateY(-6px);
  border-color: color-mix(in oklab, var(--primary-foreground) 35%, transparent);
  background: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
}
.trust-point h3 { font-size: 1.25rem; }
.trust-point p { margin-top: 0.75rem; color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); }
.quotes {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}
.quote-card {
  height: 100%;
  padding: 2rem;
  color: var(--foreground);
  display: flex;
  flex-direction: column;
}
.quote-card .icon { color: var(--accent); }
.quote-card blockquote {
  margin: 1rem 0 0;
  font-size: 1.125rem;
}
.quote-card figcaption {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}
.quote-card .who { font-weight: 500; color: var(--foreground); }

.action-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}

.action-grid > .reveal {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
}

.action-grid > .reveal .photo-card {
  height: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.photo-card.h-lg { height: 18rem; min-height: 18rem; }
.photo-card.h-sm { height: 14rem; min-height: 14rem; }

.faq-grid {
  display: grid;
  gap: 3rem;
}
.faq-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-item h3 { margin: 0; }
.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 500;
  color: inherit;
  cursor: pointer;
}
.faq-btn .icon { color: var(--accent); }
.faq-panel {
  padding-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}
.contact-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}
.contact-list li { display: flex; gap: 1rem; }
.contact-list .icon { margin-top: 0.25rem; color: var(--accent); }
.contact-list .label { font-weight: 500; }
.contact-list a,
.contact-list .value { font-size: 1.125rem; color: var(--muted-foreground); }
.contact-list a:hover { color: var(--foreground); }

.form-card,
.form-success {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.form-card h3,
.form-success h3 { font-size: 1.5rem; }
.form-card .intro { margin-top: 0.5rem; color: var(--muted-foreground); }
.form-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}
.field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--input);
  background: var(--card);
  padding: 0.875rem 1rem;
  font: inherit;
  color: var(--foreground);
}
.field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent);
}
.field-error {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--destructive);
}
.form-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.form-success { padding: 2.5rem; text-align: center; }
.form-success .icon { margin: 0 auto; color: var(--accent); }
.form-success h3 { margin-top: 1.25rem; }
.form-success p { margin-top: 0.75rem; color: var(--muted-foreground); }
.form-success a { font-weight: 500; color: var(--foreground); text-decoration: underline; }
.form-success .btn-ghost { margin-top: 1.5rem; padding: 0.75rem 1.5rem; }

.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.5rem; }
.cta-band img.bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.cta-band .shade {
  position: absolute;
  inset: 0;
  z-index: -10;
  background: linear-gradient(100deg, var(--ink) 18%, transparent 95%);
}
.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
}
.cta-band h2 { font-size: 1.875rem; }
.cta-band p { margin-top: 0.75rem; color: color-mix(in oklab, var(--primary-foreground) 80%, transparent); }
.cta-band-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.75rem;
}

.legal { max-width: 48rem; }
.legal .updated { font-size: 1rem; color: var(--muted-foreground); }
.legal-block { margin-top: 2.5rem; }
.legal-block h2 { font-size: 1.5rem; }
.legal-block p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.site-footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--background) 80%, transparent);
  padding: 3.5rem 0 0;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.footer-brand { max-width: 24rem; }
.footer-logo { height: 3.5rem; width: auto; }
.footer-brand p { margin-top: 1.25rem; }
.footer-nav {
  display: grid;
  gap: 0.75rem;
}
.footer-nav a:hover,
.footer-address a:hover { color: var(--background); }
.footer-address { font-style: normal; }
.footer-copy {
  margin-top: 3rem;
  border-top: 1px solid color-mix(in oklab, var(--background) 15%, transparent);
  padding: 1.5rem 1.5rem 2rem;
  font-size: 0.875rem;
}

.center-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  padding: 1rem;
  text-align: center;
}
.center-page h1.big { font-size: 4.5rem; font-weight: 700; }
.center-page h2 { margin-top: 1rem; font-size: 1.25rem; }
.center-page p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.center-page .actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people img {
    aspect-ratio: 1;
    max-height: none;
    height: auto;
  }
  .photo-card.h-md { height: 20rem; }
  .quote-panel { padding: 2.5rem; }
  .quote-panel p.quote { font-size: 1.875rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-row { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-head h2 { font-size: 3rem; }
  .form-card { padding: 2.5rem; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .span-full { grid-column: 1 / -1; }
  .cta-band h2 { font-size: 2.25rem; }
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
  }
  .cta-band-actions { flex-direction: row; }
  .footer-nav { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .steps { grid-template-columns: 1fr 1fr; }

  .action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 16rem;
  }
  .span-2 { grid-column: span 2; }
  .span-2-row {
    grid-column: span 2;
    grid-row: span 2;
  }
  .action-grid > .reveal.span-2-row .photo-card.h-lg {
    height: calc(16rem * 2 + 1rem);
    min-height: calc(16rem * 2 + 1rem);
  }
  .photo-card.h-sm { height: 16rem; min-height: 16rem; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-split { grid-template-columns: 1.15fr 1fr; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .trust-points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

@media (min-width: 1280px) {
  .container-page {
    max-width: min(76rem, calc(100% - 4rem));
  }
}

@media (min-width: 1024px) {
  .site-header:not(.is-scrolled) {
    background: transparent;
    backdrop-filter: none;
  }
}

/* Small phones: keep cards, heroes, and copy inside the viewport */
@media (max-width: 639px) {
  .container-page {
    padding-inline: 1.5rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .logo-img {
    height: 2rem;
    max-width: calc(100vw - 6.5rem);
  }

  h1, h2, h3 {
    text-wrap: pretty;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .eyebrow {
    letter-spacing: 0.12em;
    overflow-wrap: anywhere;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-head {
    max-width: 100%;
  }

  .section-head h2 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .page-hero p.body,
  .section-head p.body {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .about-grid {
    gap: 2rem;
  }

  .about-photo {
    aspect-ratio: 5 / 4;
    border-radius: 1.25rem;
  }

  .about-copy .lead {
    font-size: 1rem;
  }

  .people {
    margin-top: 1.5rem;
    gap: 1rem;
  }

  .action-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin-top: 1.5rem;
    margin-inline: 0;
    padding-inline: 0;
  }

  .photo-card.h-lg,
  .photo-card.h-sm,
  .photo-card.h-md {
    height: 13.5rem;
    min-height: 13.5rem;
  }

  .photo-caption {
    inset-inline: 0.5rem;
    bottom: 0.5rem;
    padding: 0.65rem 0.75rem;
  }

  .photo-caption .title {
    font-size: 0.95rem;
  }

  .photo-caption .note {
    font-size: 0.78rem;
  }

  .card-elevated:hover,
  .photo-card:hover,
  .trust-point:hover {
    transform: none;
  }

  .photo-card:hover img {
    transform: none;
  }

  .span-2,
  .span-2-row {
    grid-column: auto;
    grid-row: auto;
  }

  .cta-row,
  .cta-band-inner,
  .form-card,
  .quote-panel,
  .card-pad {
    padding: 1.25rem;
  }

  .cta-band {
    border-radius: 1.15rem;
  }

  .cta-band h2,
  .trust-head h2 {
    font-size: clamp(1.5rem, 6.5vw, 1.9rem);
  }

  .step,
  .trust-point,
  .quote-card {
    padding: 1.25rem;
  }

  .service-card {
    padding: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video-bg video { display: none; }
  .hero-video-overlay {
    background: var(--gradient-hero);
  }
  .card-elevated,
  .btn-primary,
  .btn-ghost,
  .icon-tile,
  .trust-point { transition: none; }
  .card-elevated:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .trust-point:hover { transform: none; }
}
