:root {
  --ink: #13343b;
  --ink-soft: #45636a;
  --green: #2c735d;
  --green-deep: #1e5747;
  --blue: #276b89;
  --blue-deep: #1d5269;
  --yellow: #f2c94c;
  --cream: #f8f7ef;
  --mist: #edf5f2;
  --sky: #edf5f8;
  --white: #ffffff;
  --line: rgba(19, 52, 59, .13);
  --shadow: 0 24px 60px rgba(20, 59, 65, .12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 89%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  width: min(calc(100% - 36px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 780;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 15px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.22);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 650;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { background: var(--white); color: var(--green-deep); }
.menu-button {
  display: none;
  border: 0;
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  padding: 9px 12px;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--line);
}

main { overflow: clip; }
.container { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  font-weight: 800;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 4px; margin: 0 9px 2px 0; border-radius: 99px; background: var(--yellow); }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.75rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4.1vw, 3.65rem); max-width: 15ch; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.lead { font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--ink-soft); max-width: 62ch; }

.hero { padding: clamp(54px, 8vw, 110px) 0 74px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}
.hero-copy p { max-width: 58ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 24px rgba(44,115,93,.22); }
.button-secondary { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--blue-deep); }
.hero-photo-wrap { position: relative; }
.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -18px 24px 20px -22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--yellow), #f8e5a0);
  transform: rotate(-2.8deg);
}
.hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 48%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-note {
  position: absolute;
  right: -12px;
  bottom: 24px;
  z-index: 2;
  max-width: 260px;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 32px rgba(19,52,59,.15);
  font-weight: 700;
  line-height: 1.35;
}

.section { padding: 82px 0; }
.section-soft { background: var(--mist); }
.section-sky { background: var(--sky); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-head p { margin: 0; max-width: 54ch; color: var(--ink-soft); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 16px 38px rgba(25,65,70,.06);
}
.card-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); font-weight: 850; margin-bottom: 20px; }
.card p { margin-bottom: 0; color: var(--ink-soft); }
.card-link { display: inline-block; margin-top: 18px; font-weight: 780; color: var(--green-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.quote-panel {
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-deep), var(--blue-deep));
  color: white;
  position: relative;
  overflow: hidden;
}
.quote-panel::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -80px; top: -80px; background: rgba(242,201,76,.18); }
.quote-panel blockquote { margin: 0; max-width: 760px; font-size: clamp(1.7rem, 3.7vw, 3rem); line-height: 1.16; letter-spacing: -.03em; font-weight: 760; }
.quote-panel p { margin: 22px 0 0; color: rgba(255,255,255,.76); max-width: 64ch; }

.page-hero { padding: 72px 0 46px; }
.page-hero .lead { margin-top: 22px; }

.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.story-grid.reverse { grid-template-columns: 1.1fr .9fr; }
.story-grid.reverse .story-media { order: 2; }
.story-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.story-copy p { color: var(--ink-soft); }
.story-copy .kicker { color: var(--blue-deep); font-weight: 780; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { padding: 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 700; }

.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.photo-card { margin: 0; overflow: hidden; border-radius: var(--radius-md); background: transparent; border: 1px solid var(--line); box-shadow: 0 16px 34px rgba(25,65,70,.08); }
.photo-card img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.photo-card figcaption { padding: 13px 16px; color: var(--ink-soft); font-size: .9rem; }
.photo-card.large { grid-column: span 7; }
.photo-card.small { grid-column: span 5; }
.photo-card.wide { grid-column: span 12; }
.photo-card.wide img { max-height: 540px; }

.family-block { padding: 0 0 86px; }
.family-block + .family-block { padding-top: 14px; }

.group-photo {
  display: block;
}
.group-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 48%;
}
.photo-grid.equal-pair .photo-card { grid-column: span 6; }
.photo-grid.equal-pair .photo-card img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.family-intro { max-width: 760px; margin-bottom: 28px; }
.family-intro p { color: var(--ink-soft); }

.legal { max-width: 820px; }
.legal section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.legal section:last-child { border-bottom: 0; }
.legal h2 { font-size: 1.5rem; max-width: none; margin-bottom: 10px; }
.legal p, .legal address { color: var(--ink-soft); font-style: normal; }
.legal a { color: var(--green-deep); font-weight: 700; }

.site-footer { padding: 34px 0 42px; background: #143e43; color: rgba(255,255,255,.8); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-brand { color: white; font-weight: 780; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.84); text-decoration: none; }
.footer-links a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 820px) {
  .nav-wrap { min-height: 68px; }
  .menu-button { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 62px;
    padding: 10px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; }
  .hero-grid, .story-grid, .story-grid.reverse { grid-template-columns: 1fr; }
  .story-grid.reverse .story-media { order: 0; }
  .hero { padding-top: 42px; }
  .hero-copy { order: 1; }
  .hero-photo-wrap { max-width: 570px; margin: 0 auto; }
  .hero-note { right: 10px; }
  .cards { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .photo-card.large, .photo-card.small, .photo-grid.equal-pair .photo-card { grid-column: span 12; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .container, .nav-wrap { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-bottom: 54px; }
  .section { padding: 62px 0; }
  .hero-note { position: relative; right: auto; bottom: auto; margin: -18px 14px 0; }
  .hero-photo-wrap::before { inset: -10px 12px 14px -10px; }
  .photo-card img { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
