:root {
  --paper: #e7f3fb;
  --paper-2: #d3e7f6;
  --card: #ffffff;
  --ink: #1a3a5c;
  --muted: #5c7590;
  --line: rgba(30, 74, 120, 0.14);
  --pine: #1e4e86;
  --pine-2: #185a96;
  --moss: #185a96;
  --teal: #4e96d1;
  --navy: #163a66;
  --on-brand: #163a66;
  --cream: #f4f9fd;
  --clay: #1e6aad;
  --clay-2: #164e82;
  --gold: #2b86c9;
  --gold-soft: #d7eeff;
  --alert: #8a3418;
  --alert-bg: #f8e6dc;
  --ok: #1f5b45;
  --shadow: 0 18px 50px rgba(22, 58, 102, 0.08);
  --radius: 22px;
  --header: 88px;
  --serif: "Literata", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(860px 380px at 100% -8%, rgba(78, 150, 209, 0.22), transparent 55%),
    radial-gradient(680px 300px at -8% 18%, rgba(146, 203, 250, 0.28), transparent 50%),
    var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.15; margin: 0; }
p { margin: 0 0 0.9rem; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: white;
  padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.topbar { background: var(--navy); color: var(--cream); font-size: 14px; box-shadow: inset 0 -2px 0 var(--teal); }
.topbar__row, .header__row, .footer__grid, .hero__grid, .split, .board, .cards, .steps, .consult-grid, .gallery, .sitemap {
  display: grid; gap: 18px;
}
.topbar__row { grid-template-columns: 1.4fr 1fr auto; align-items: center; min-height: 42px; }
.topbar a { color: var(--cream); text-decoration: none; font-weight: 700; }
.topbar__socials { display: flex; gap: 14px; justify-content: flex-end; }
.topbar__socials a { font-weight: 600; border-bottom: 1px solid rgba(244, 249, 253, .28); }
.topbar__socials a:first-child { color: #9fd4fb; border-bottom-color: rgba(159, 212, 251, .5); }

.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(231, 243, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.header--stuck { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(22, 58, 102, .06); }
.header__row { grid-template-columns: auto 1fr auto; align-items: center; min-height: var(--header); }
.logo { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
.logo__mark { width: 62px; height: 62px; flex: none; object-fit: contain; display: block; }
.logo__name { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font-family: Montserrat, Manrope, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.045em; }
.logo__teal { color: #1e6aad; }
.logo__dark { color: #163a66; }
.logo__name small { display: block; margin-top: 5px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #8E98A4; line-height: 1.25; }
.nav { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--muted); font-weight: 650; font-size: 15px;
  padding: 8px 10px; border-radius: 999px;
}
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); background: rgba(78, 150, 209, 0.16); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--card); cursor: pointer;
}
.burger span { display: block; height: 2px; margin: 5px 12px; background: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; border-radius: 999px;
  padding: 14px 22px; background: var(--clay); color: white; font-weight: 750;
  box-shadow: 0 10px 24px rgba(30, 106, 173, 0.28);
}
.btn:hover { background: var(--clay-2); }
.btn--ghost { background: transparent; color: var(--pine-2); box-shadow: none; border: 1px solid rgba(24, 90, 150, .35); }
.btn--light { background: #ffffff; color: var(--on-brand); box-shadow: none; }
.btn--small { padding: 10px 16px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

.hero { padding: 28px 0 10px; }
.hero__grid { grid-template-columns: 1.35fr 0.8fr; align-items: stretch; }
.hero__copy {
  background:
    radial-gradient(460px 360px at 100% 0%, rgba(146, 203, 250, .95), transparent 62%),
    linear-gradient(165deg, #2f74b8, #163a66 72%);
  color: var(--cream); border-radius: 32px; padding: 42px 42px 34px;
  position: relative; overflow: hidden; min-height: 520px;
  display: flex; flex-direction: column;
}
.hero__copy:before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(244, 249, 253, 0.32); right: -80px; top: -90px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft);
}
.hero h1 { font-size: clamp(38px, 5vw, 64px); max-width: 11ch; margin: 16px 0 18px; }
.lede { font-size: 18px; max-width: 46ch; color: rgba(244, 249, 253, 0.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__note { margin-top: auto; padding-top: 28px; font-size: 14px; color: rgba(244, 249, 253, .8); max-width: 52ch; }
.hero__panel { display: grid; gap: 14px; }
.panel {
  background: var(--card); border-radius: 28px; padding: 22px; border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow);
}
.panel h2 { font-size: 28px; margin-bottom: 8px; }
.panel ol { margin: 0; padding-left: 18px; color: var(--muted); }
.panel li + li { margin-top: 8px; }
.factline { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.factline b { font-weight: 750; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.section { padding: 64px 0; }
.section__head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; }
.section__head h2 { font-size: clamp(32px, 4vw, 52px); }
.page-hero h1 { font-size: clamp(36px, 3.2vw, 48px); max-width: 22em; line-height: 1.15; }
.section__head p { max-width: 42ch; margin: 0; }

.search {
  width: 100%; border: 1px solid var(--line); background: var(--card); border-radius: 16px;
  padding: 14px 16px; margin: 8px 0 18px;
}
.board { grid-template-columns: 1fr 1fr; align-items: start; }
.col {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 8px 12px;
}
.col h3 { font-size: 28px; margin: 16px 16px 8px; }
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-decoration: none; padding: 13px 16px; border-radius: 14px;
  font-size: 16.5px; line-height: 1.35; font-weight: 650;
}
.linklist a:hover { background: var(--paper); }
.linklist a span { color: var(--gold); flex: none; }
.linklist li.is-folded { display: none; }
.more {
  margin: 4px 8px 6px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 750;
  font-size: 14px; cursor: pointer;
}
.more:hover { background: rgba(78, 150, 209, 0.16); }
.empty { padding: 12px; }
#concern-board .empty { grid-column: 1 / -1; }

.steps { grid-template-columns: repeat(3, 1fr); }
.step {
  padding: 22px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); min-height: 230px;
}
.step em { font-family: var(--serif); font-style: normal; font-size: 42px; color: var(--moss); display: block; }
.step h3 { font-size: 28px; margin: 10px 0; }

.split { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
.story {
  margin: 0; background: #163a66; color: var(--cream); border-radius: 32px; overflow: hidden;
  box-shadow: var(--shadow);
}
.story figcaption {
  margin: 0; padding: 18px 22px 14px; font-size: 13px; font-weight: 750;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.story video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #10243d; }
.story--wide { max-width: 860px; margin: 8px 0 28px; }
.story--wide figcaption { display: none; }
.portrait {
  margin: 0; border-radius: 32px; overflow: hidden; position: relative;
  background: #d5dde4; min-height: 420px;
}
.portrait img {
  width: 100%; height: 520px; object-fit: cover; object-position: center 18%;
  display: block;
}
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 56px 22px 18px; color: #fff; font-weight: 650;
  background: linear-gradient(transparent, rgba(16, 36, 61, .78));
}
.quote { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.25; margin-bottom: 16px; }
.split .quote { font-size: clamp(24px, 2.3vw, 34px); }
.story-invite {
  display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px;
  color: var(--pine); font-weight: 650;
}
.story-invite::before { content: "←"; color: var(--teal); font-size: 22px; line-height: 1; }

.cards { grid-template-columns: repeat(3, 1fr); }
.consult-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card, .consult {
  background: var(--card); border-radius: 24px; padding: 20px 22px; border: 1px solid var(--line);
  text-decoration: none; display: flex; flex-direction: column; gap: 8px; min-height: 0; height: 100%;
}
.consult .btn { margin-top: auto; align-self: flex-start; }
.card:hover, .consult:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card b, .consult b { font-family: var(--serif); font-size: 24px; font-weight: 560; letter-spacing: -0.03em; line-height: 1.25; }
.card span, .tag {
  margin-top: auto; color: var(--clay-2); font-weight: 750; font-size: 14px;
}
.tag { margin-top: 0; letter-spacing: 0.08em; text-transform: uppercase; }

.cta-band {
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
  background: var(--card); color: var(--ink); border-radius: 28px; padding: 28px;
  border: 1px solid rgba(78, 150, 209, .4);
  box-shadow: 0 16px 40px rgba(78, 150, 209, .1);
}
.cta-band .btn { background: var(--clay); color: white; box-shadow: 0 10px 24px rgba(30, 106, 173, .28); }
.cta-band h2 { font-size: clamp(28px, 3vw, 42px); max-width: 16ch; }
.page-hero { padding: 28px 0 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.crumbs a { color: var(--moss); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}
.aside { position: sticky; top: 96px; }
.aside__card {
  background: linear-gradient(180deg, #2f74b8, #163a66);
  color: var(--cream); border-radius: 24px; padding: 22px;
}
.aside__card h2 { font-size: 30px; margin-bottom: 8px; }
.aside__card p { color: rgba(247, 242, 233, 0.86); font-size: 15px; }
.aside__card .btn { width: 100%; margin-top: 6px; }
.aside__phone { display: block; margin-top: 12px; color: #fff; font-weight: 750; text-decoration: none; }
.prose h1 { margin: 8px 0 16px; }
.prose .lead { font-size: 20px; line-height: 1.55; max-width: 62ch; margin-bottom: 1.4rem; }
.prose h2 { font-size: 32px; margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 22px; margin: 1.3rem 0 0.55rem; }
.prose p { max-width: 68ch; line-height: 1.65; }
.prose ul, .prose ol {
  max-width: 72ch; margin: 0 0 1.1rem; padding: 16px 18px 16px 38px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
}
.prose li { padding: 4px 0; }
.prose li + li { margin-top: 0; border-top: 1px solid var(--line); }
.related { margin-top: 36px; }
.related h2 { font-size: 32px; margin-bottom: 14px; }
.callout { background: #fff; border-left: 4px solid var(--moss); padding: 14px 16px; border-radius: 12px; }
.callout--alert { background: var(--alert-bg); border-left-color: var(--alert); color: var(--alert); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filters button {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hub a {
  text-decoration: none; background: var(--card); border-radius: 16px; padding: 14px 16px; border: 1px solid var(--line);
}
.hub a small { display: block; color: var(--muted); }

.gallery { grid-template-columns: 1.3fr 1fr 1fr; }
.shot { min-height: 240px; border-radius: 28px; padding: 18px; display: flex; align-items: flex-end; color: var(--cream); position: relative; overflow: hidden; }
.shot:nth-child(1) { background: linear-gradient(160deg, #5eaae4, #163a66); min-height: 420px; grid-row: span 2; }
.shot:nth-child(2) { background: linear-gradient(160deg, #8ecbf8, #2f74b8); }
.shot:nth-child(3) { background: linear-gradient(160deg, #e7f3fb, #9ec8ea); color: #1a3a5c; }
.shot:nth-child(4) { background: linear-gradient(160deg, #4e96d1, #163a66); }
.shot:nth-child(5) { background: linear-gradient(160deg, #f4f9fd, #c5dff3); color: #1a3a5c; }
.shot:nth-child(6) { background: linear-gradient(160deg, #163a66, #1e4e86); }
.shot b { font-family: var(--serif); font-size: 30px; font-weight: 560; }
.shot i { position: absolute; right: 16px; top: 16px; font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }

.map { width: 100%; height: 420px; border: 0; border-radius: 28px; background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 18px; }
.dl { display: grid; gap: 12px; }
.dl div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dl dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dl dd { margin: 4px 0 0; font-size: 20px; }

.checklist { display: grid; gap: 14px; }
.check-group { background: var(--card); border-radius: 20px; padding: 16px 18px; border: 1px solid var(--line); }
.check-group label { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; cursor: pointer; }
.faq details { background: var(--card); border-radius: 16px; padding: 12px 16px; border: 1px solid var(--line); margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { margin-top: 8px; }

.sitemap { grid-template-columns: repeat(3, 1fr); }
.sitemap h2 { font-size: 28px; margin-bottom: 8px; }
.sitemap a { display: block; text-decoration: none; padding: 5px 0; color: var(--pine-2); }

.footer { background: var(--navy); color: var(--cream); margin-top: 40px; padding: 42px 0 20px; border-top: 4px solid var(--teal); }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.footer h2 { font-size: 18px; margin-bottom: 10px; color: var(--teal); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.legal { border-top: 1px solid rgba(244, 249, 253, .16); margin-top: 22px; padding-top: 14px; color: rgba(244, 249, 253, .72); font-size: 13px; }
.float-call {
  display: none; position: fixed; right: 14px; bottom: 14px; z-index: 25;
  background: var(--clay); color: white; text-decoration: none; font-weight: 800;
  padding: 14px 16px; border-radius: 999px; box-shadow: 0 12px 30px rgba(22, 58, 102, .28); }
}

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; }
.modal__back { position: absolute; inset: 0; background: rgba(20, 28, 26, .55); border: 0; }
.modal__card {
  position: relative; width: min(560px, 100%); background: var(--paper); border-radius: 28px; padding: 22px;
  box-shadow: var(--shadow); max-height: calc(100vh - 36px); overflow: auto;
}
.modal__card h2 { font-size: 34px; margin-bottom: 8px; }
.form { display: grid; gap: 10px; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; }
.form input, .form textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: white; color: var(--ink);
}
.form__row { display: flex; flex-wrap: wrap; gap: 8px; }
.close {
  position: absolute; right: 14px; top: 14px; border: 0; background: transparent; font-size: 28px; cursor: pointer;
}

@media (max-width: 980px) {
  .topbar__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; }
  .topbar__row > span:first-child, .topbar__hours { display: none; }
  .topbar__socials { width: 100%; justify-content: space-between; }
  .topbar__socials a { border-bottom: 0; white-space: nowrap; }
  .header__row { grid-template-columns: 1fr auto; }
  .nav {
    display: none; position: absolute; left: 16px; right: 16px; top: calc(var(--header) + 8px);
    background: var(--card); border-radius: 20px; padding: 10px; box-shadow: var(--shadow);
    grid-template-columns: 1fr; z-index: 40;
  }
  .nav.is-open { display: grid; }
  .burger { display: inline-block; }
  .header__actions .btn { display: none; }
  .hero__grid, .board, .steps, .split, .cards, .consult-grid, .contact-grid, .footer__grid, .sitemap, .hub, .gallery, .article {
    grid-template-columns: 1fr;
  }
  .aside { position: static; }
  .page-hero h1 { max-width: none; }
  .shot:nth-child(1) { grid-row: auto; min-height: 280px; }
  .logo__mark { width: 44px; height: 44px; }
  .logo__word { font-size: 16px; }
  .logo__name small { font-size: 9px; max-width: 150px; }
  .hero__copy { min-height: 0; padding: 28px 22px; }
  .story-invite::before { content: none; }
  .hero h1 { max-width: 100%; font-size: clamp(26px, 7.2vw, 40px); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .cta-band, .section__head { flex-direction: column; align-items: flex-start; }
  .float-call { display: none; }
}

@media (max-width: 420px) {
  .container { width: min(1180px, calc(100% - 28px)); }
  .hero__copy { padding: 24px 18px; }
  .hero h1 { font-size: clamp(22px, 8.2vw, 34px); }
}

.intro {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  background:
    radial-gradient(620px 340px at 50% 42%, rgba(146, 203, 250, .7), transparent 62%),
    var(--paper);
  animation: intro-screen 1.65s ease forwards;
}
.intro__brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; }
.intro__mark {
  width: 108px; height: 108px; object-fit: contain;
  animation: intro-in .6s ease both;
}
.intro__word {
  margin: 16px 0 0; font-family: Montserrat, Manrope, sans-serif; font-weight: 800;
  font-size: clamp(36px, 6vw, 54px); letter-spacing: -0.045em; line-height: 1;
  animation: intro-in .55s ease .12s both;
}
.intro__sub {
  margin: 12px 0 0; max-width: 26ch; color: #8E98A4; font-size: 15px; font-weight: 650; line-height: 1.35;
  animation: intro-in .55s ease .22s both;
}
body.intro-on { overflow: hidden; }
@keyframes intro-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes intro-screen {
  0%, 68% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .consult { transition: none; }
  .intro { display: none; }
}
