:root {
  --navy: #18407c;
  --navy-dark: #0f2a52;
  --navy-tint: #eef3fa;
  --gold: #d0ad6c;
  --gold-soft: #ccb892; /* footer bar */
  --gold-strong: #7a5c1f; /* gold text on light backgrounds (AA contrast) */
  --ink: #191919;
  --muted: #4a4f57;
  --line: #d9e0ea;
  --bg: #ffffff;
  --radius: 12px;
  --wrap: 1160px;
  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font: 'PT Serif', Georgia, 'Times New Roman', serif;
  /* x position where the navy panel ends: 45% of the centred content width, measured from the left of the page.
     Percentages resolve against the element's own width, so use it in gradient stops / absolute widths only. */
  --split: calc(50% - min(50% - 1rem, var(--wrap) / 2) + min(100% - 2rem, var(--wrap)) * 0.45);
  --curve: clamp(5rem, 15vw, 14rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--navy); text-underline-offset: 0.15em; }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy-dark); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Small label with a gold rule in front, as on the original site */
.eyebrow, .eyebrow-line { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.8rem; font-size: 1rem; line-height: 1.3; color: var(--ink); }
.eyebrow::before, .eyebrow-line::before { content: ''; flex: none; width: 3rem; height: 2px; background: var(--gold); }
.eyebrow-line.center { justify-content: center; }
.eyebrow-line.center::after { content: ''; flex: none; width: 3rem; height: 2px; background: var(--gold); }
.eyebrow-line.small { font-size: 0.85rem; }
.eyebrow-line.small::before { width: 1.6rem; height: 1px; }

/* Two-tone headline: first half gold, second half navy */
.tt-a, .tt-b { display: block; }
.tt-a { color: var(--gold); }
.tt-b { color: var(--navy); }
.feature h2, .team h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0.7rem 1.6rem; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font: 700 0.95rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; box-shadow: 0 3px 8px rgba(15, 42, 82, 0.2); }
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #dcc088; border-color: #dcc088; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Header: navy panel with the logo, contact info on white, gold navigation bar */
.site-header { position: relative; z-index: 50; background: var(--navy); }
.hd-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.4rem; }
.brand { display: block; flex: none; }
.brand img { width: min(300px, 70vw); height: auto; }
.hd-info { display: none; list-style: none; margin: 0; padding: 0; gap: 1.6rem; }
.hd-info li { display: flex; align-items: center; gap: 0.6rem; }
.hd-info svg { flex: none; width: 38px; height: 38px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hd-info span { display: flex; flex-direction: column; line-height: 1.15; }
.hd-info small { font-size: 0.78rem; color: #6b7280; }
.hd-info strong, .hd-info a { font: 800 1.05rem/1.2 var(--font-head); color: var(--navy); text-decoration: none; white-space: nowrap; }
.hd-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--gold); min-height: 56px; }
.nav-toggle { display: inline-block; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 8px; min-height: 40px; margin: 0.4rem 0 0.4rem 0.75rem; padding: 0 0.9rem; font: 700 0.9rem var(--font-head); cursor: pointer; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; margin: 0; list-style: none; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(15, 42, 82, 0.18); padding: 0.5rem 1rem 1rem; max-height: calc(100vh - 140px); overflow: auto; z-index: 60; }
.nav.open { display: flex; }
.nav a, .nav button.drop { display: block; padding: 0.65rem 0.6rem; color: var(--ink); text-decoration: none; font: 600 0.92rem/1.3 var(--font-head); background: none; border: 0; cursor: pointer; text-align: left; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--navy); }
.nav .sub { display: block; margin: 0; padding: 0 0 0 1rem; list-style: none; }
.nav .drop { pointer-events: none; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.nav .sub a { font-weight: 500; }
.hd-social { display: none; align-items: center; gap: 0.75rem; padding-right: 1rem; font-size: 0.85rem; color: var(--ink); }
.hd-social a { display: inline-grid; place-items: center; width: 28px; height: 28px; }
.hd-social svg { width: 16px; height: 16px; fill: var(--navy); }

@media (min-width: 1020px) {
  .site-header { background: linear-gradient(90deg, var(--navy) var(--split), #fff var(--split)); }
  .hd-info { display: flex; }
  .nav-toggle { display: none; }
  .hd-bar { justify-content: flex-start; }
  .hd-social { display: flex; margin-left: auto; padding-left: 1.5rem; border-left: 1px solid rgba(25, 25, 25, 0.18); }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 0.1rem; background: none; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible; }
  .nav > li { position: relative; }
  .nav a, .nav button.drop { padding: 1.05rem 0.85rem; font-size: 0.86rem; }
  .nav > li > a[aria-current='page']::before { content: ''; display: inline-block; width: 8px; height: 2px; margin-right: 0.35rem; vertical-align: middle; background: #fff; }
  .nav .drop { pointer-events: auto; color: var(--ink); font-size: 0.86rem; text-transform: none; letter-spacing: 0; }
  .nav .drop::after { content: ''; display: inline-block; width: 0.35em; height: 0.35em; margin-left: 0.4em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.15em) rotate(45deg); }
  .nav .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 280px; padding: 0.5rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 14px 30px rgba(15, 42, 82, 0.18); }
  .nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { display: block; }
  .nav .sub a { padding: 0.55rem 0.8rem; border-radius: 8px; font-size: 0.85rem; }
  .nav .sub a:hover { background: var(--navy-tint); }
}

/* Hero (home slider and inner pages): navy panel on the left with a big rounded corner, picture on the right */
.hs, .hero { position: relative; isolation: isolate; background: var(--navy); color: #fff; overflow: hidden; }
.hs { padding-bottom: 3.25rem; }
.hs h1, .hs h2, .hero h1, .hero h2 { color: #fff; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.hs h2, .hero h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); margin-bottom: 1.2rem; overflow-wrap: anywhere; }
.hs-lead { display: block; color: var(--gold); }
.hs-title { display: block; color: #fff; }
.hs-eyebrow { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.9rem; font-size: 1rem; color: #fff; }
.hs-eyebrow::before { content: ''; flex: none; width: 3rem; height: 2px; background: var(--gold); }
.hs-text, .hero .lead { font-size: 1.05rem; color: #fff; max-width: 52ch; }
.hs-text { margin-bottom: 1.8rem; }
.hero .lead p:last-child { margin-bottom: 0; }
.crumbs { font-size: 0.85rem; margin: 0 0 1.2rem; color: #cfdaf0; }
.crumbs a { color: #fff; }
.hs-stage { display: grid; grid-template-columns: minmax(0, 1fr); }
.hs-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
.hs-slide[data-active] { opacity: 1; visibility: visible; transition-delay: 0s; }
.hs-in, .hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: stretch; padding-block: clamp(2rem, 5vw, 3rem); }
.hs-copy, .hero-copy { position: relative; z-index: 2; align-self: center; }
.hs-media, .hero-media { position: relative; z-index: 0; }
.hs-media img, .hero-media img { width: 100%; height: auto; border-radius: 24px 24px 24px 90px; aspect-ratio: 1200 / 776; object-fit: cover; background: #fff; }
.hero:not(.has-img) .hero-copy { max-width: 46rem; padding-block: 1.5rem; }
.hs :focus-visible, .hero :focus-visible { outline-color: #fff; }

.hs-dots { position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 5; display: flex; justify-content: center; align-items: center; gap: 0.6rem; }
.hs-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--gold); background: transparent; cursor: pointer; position: relative; }
.hs-dot::after { content: ''; position: absolute; inset: -16px; } /* 44px touch target */
.hs-dot[aria-current] { background: var(--gold); }
.hs-pause { margin-left: 0.5rem; min-width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 0.65rem; cursor: pointer; }
.hs-pause:hover { background: rgba(255, 255, 255, 0.3); }

@media (min-width: 900px) {
  .hs, .hero { background: #fff; }
  /* the navy panel; it sits above the picture so its rounded corner reveals the image behind */
  .hs::after, .hero::after { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: var(--split); background: var(--navy); border-radius: 0 0 var(--curve) 0; }
  .hero:not(.has-img) { background: var(--navy); }
  .hero:not(.has-img)::after { display: none; }
  .hs-in, .hero.has-img .hero-in { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 0; padding-block: 0; }
  .hs-copy, .hero.has-img .hero-copy { padding: 4.5rem 1.5rem 4.5rem 2.6rem; }
  .hs-copy::before { content: ''; position: absolute; z-index: -1; left: -9rem; top: 7rem; width: 8.5rem; height: 8.5rem; border-radius: 50%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 9px); }
  .hs-media, .hero-media { margin: 6rem calc((100vw - min(100vw - 2rem, var(--wrap))) / -2) 0 calc(var(--curve) * -1 - 1rem); align-self: end; }
  .hs-media img, .hero-media img { width: 100%; aspect-ratio: auto; height: 100%; min-height: 26rem; max-height: 40rem; border-radius: 0 0 var(--curve) 0; }
  .hs-media::after, .hero-media::after { content: ''; position: absolute; right: 8%; bottom: 14%; width: 5.5rem; height: 5.5rem; border: 4px solid rgba(255, 255, 255, 0.95); border-radius: 50%; pointer-events: none; }
  .hs { padding-bottom: 0; }
  .hs-dots { left: var(--split); right: auto; bottom: 1.2rem; transform: translateX(-50%); }
  .hs-in { min-height: 36rem; }
}
@media (prefers-reduced-motion: reduce) { .hs-slide { transition: none; } }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.band-light { background: var(--navy-tint); }
.band-dark { background: var(--navy-dark); color: #e8eef8; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark a:not(.btn) { color: var(--gold); }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 959px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); }
.card ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.card li { padding: 0.2rem 0; }
.card .more { margin-top: auto; font-weight: 700; }
.card-top { border-top: 4px solid var(--gold); }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.flip > :first-child { order: 2; } }
.split img { border-radius: var(--radius); width: 100%; }

/* Home: four cover cards */
.cover { padding-block: clamp(2.5rem, 5vw, 4rem); }
.cover-grid { display: grid; gap: 2.5rem 1.5rem; }
.cover-card { display: flex; flex-direction: column; }
.cover-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.cover-head h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 900; line-height: 1.1; color: var(--ink); }
.cover-ico { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.cover-ico.navy { background: var(--navy); color: #fff; }
.cover-ico svg { width: 40px; height: 40px; }
.cover-card p { font-size: 0.95rem; line-height: 1.6; color: var(--ink); margin-bottom: 1.5rem; }
.more-line { margin-top: auto; display: flex; align-items: center; gap: 0.9rem; font: 700 0.8rem/1.2 var(--font-head); color: var(--ink); text-decoration: none; }
.more-line span { flex: 1; height: 1px; background: var(--gold); transition: background 0.2s; }
.more-line:hover { color: var(--navy); }
.more-line:hover span { background: var(--navy); }
@media (min-width: 640px) { .cover-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cover-grid { grid-template-columns: repeat(4, 1fr); } }

/* Home: image + text features with curved image corners */
.feature { padding: clamp(3rem, 7vw, 6rem) 0; }
.feature-in { display: grid; gap: 2.5rem; align-items: center; }
.feature-media { position: relative; }
.feature-media img { width: 100%; border-radius: 0 64px 0 64px; }
.feature-media::after { content: ''; position: absolute; z-index: -1; width: 6.5rem; height: 6.5rem; right: 10%; bottom: -3.2rem; background: repeating-linear-gradient(135deg, var(--navy) 0 2px, transparent 2px 10px); }
.feature-copy p { font-size: 1rem; }
@media (min-width: 900px) {
  .feature-in { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .feature.flip .feature-media { order: 2; }
  .feature.flip .feature-media img { border-radius: 64px 0 64px 0; }
  .feature.flip .feature-media::after { right: auto; left: 10%; }
}

/* Insurer logos on navy */
.carriers-band { background: var(--navy); padding: clamp(2rem, 4vw, 3rem) 0; }
.carriers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 2.5rem; list-style: none; margin: 0; padding: 0; }
.carriers img { width: 140px; height: auto; }

/* Team */
.team { padding: clamp(3rem, 7vw, 6rem) 0; }
.team-head { text-align: center; margin-bottom: 2.5rem; }
.team-grid { display: grid; gap: 2.5rem; }
/* One row on wide screens (--n is the number of people, set in Index.cshtml; up to 4), two columns in between. */
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; align-items: start; } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(var(--n, 3), 1fr); } }
.member { display: flex; flex-direction: column; height: 100%; }
.member-photo img, .member-ph { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: top; border-radius: 0 0 0 80px; }
.member-ph { display: grid; place-items: center; background: #c8c8c8; border-radius: 0 0 80px 0; }
.member-ph svg { width: 5.5rem; height: 5.5rem; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.member h3 { margin: 1.4rem 0 1rem; font-size: 1.75rem; font-weight: 300; color: var(--ink); }
.member h3::after { content: ''; display: block; width: 1.8rem; height: 2px; margin-top: 0.7rem; background: var(--gold); }
.member .role { font-size: 0.9rem; margin-bottom: 1rem; }
.member p { font-size: 0.95rem; line-height: 1.6; }
.member .more-line { margin-top: auto; padding-top: 1rem; }

/* Contact band: text and places on the left, call-back card on the right overlapping the footer */
.cb { position: relative; z-index: 2; padding-top: clamp(3rem, 7vw, 6rem); margin-bottom: -5rem; }
.cb-in { display: grid; gap: 2.5rem; align-items: start; }
.cb-copy p { font-size: 1rem; }
.cb-places { display: grid; gap: 1.5rem 2rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.cb-places li { display: flex; align-items: center; gap: 1rem; }
.cb-places strong { display: block; font: 300 1.5rem/1.15 var(--font-head); color: var(--ink); }
.cb-places li > span:last-child { display: block; font-size: 0.95rem; line-height: 1.5; }
.cb-places a { display: block; color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.cb-places a:hover { color: var(--navy); text-decoration: underline; }
.cb-ico { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); }
.cb-ico svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cb-card { background: #fff; border-radius: 4px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 18px 60px rgba(15, 42, 82, 0.16); }
.cb-card h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 900; margin-bottom: 1rem; }
.cb-card > p { font-size: 0.95rem; line-height: 1.6; }
.cb-card .form { max-width: none; margin-top: 1.5rem; }
.cb-card .form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cb-card .form .row2 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .cb-places { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cb-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }

/* Article / page body */
.page-grid { display: grid; gap: 3rem; padding: clamp(2.5rem, 5vw, 4rem) 0; }
@media (min-width: 980px) { .page-grid.with-aside { grid-template-columns: minmax(0, 1fr) 320px; } .aside-sticky { position: sticky; top: 24px; } }
.prose { max-width: 74ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2rem; font-weight: 800; }
.prose h2::after { content: ''; display: block; width: 2.4rem; height: 3px; margin-top: 0.6rem; background: var(--gold); }
.prose h3 { margin-top: 1.8rem; color: var(--navy); }
.prose h5, .prose h4 { margin-top: 1.4rem; color: var(--navy); font-size: 1.1rem; }
.prose img { border-radius: 0 48px 0 48px; margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--gold); background: var(--navy-tint); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 700; color: var(--navy-dark); }
.prose blockquote p:last-child { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.55rem 0.75rem; text-align: left; }
.prose .eyebrow { margin-top: 2.4rem; }
.prose .eyebrow + h2 { margin-top: 0; }
.aside-card { background: var(--navy-tint); border-radius: 0 0 40px 0; padding: 1.5rem; margin-bottom: 1.25rem; }
.aside-card h2 { font-size: 1.15rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { padding: 0.25rem 0; }
.aside-card address { font-style: normal; margin-bottom: 0.8rem; }

/* Answer-first summary, FAQ, island note */
.answer { max-width: 74ch; margin: 0 0 1.8rem; padding: 1rem 1.25rem; background: var(--navy-tint); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.05rem; }
.faq { max-width: 74ch; margin-top: 3rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font: 700 1rem/1.35 var(--font-head); color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.4rem; line-height: 1; color: var(--gold-strong); }
.faq details[open] summary::after { content: '–'; }
.faq .faq-a { margin: 0 0 1.1rem; }
.island { max-width: 74ch; margin-top: 3rem; padding: 1.4rem 1.5rem; background: var(--navy-tint); border-radius: 0 0 40px 0; }
.island h2 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.island p { font-size: 0.95rem; }
.island p:last-child { margin-bottom: 0; }
.reviewed { max-width: 74ch; margin-top: 2rem; font-size: 0.85rem; color: var(--muted); }

.home-info { padding: 0 0 clamp(2rem, 5vw, 4rem); }
.home-info-in { display: grid; gap: 2rem; align-items: start; }
.home-info .faq, .home-info .island { margin-top: 0; max-width: none; }
@media (min-width: 900px) { .home-info-in { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 640px; }
.form label { font-weight: 700; font-family: var(--font-head); font-size: 0.9rem; display: block; margin-bottom: 0.3rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 0.95rem; padding: 0.85rem 1.2rem; border: 1px solid #cfd4da; border-radius: 999px; background: #fff; color: var(--ink); }
.form textarea { border-radius: 26px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #6b7280; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.form .row2 { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.form .hp { position: absolute; left: -9999px; }
.form-msg { padding: 0.8rem 1rem; border-radius: 8px; margin: 0; }
.form-msg.ok { background: #e7f6ec; color: #14532d; }
.form-msg.err { background: #fdecec; color: #7a1c1c; }

/* Blog */
.post-card h3 a { text-decoration: none; }
.post-card .meta, .meta { font-size: 0.9rem; color: var(--muted); }
.post-card img { border-radius: 0 0 0 36px; margin-bottom: 1rem; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font: 700 0.9rem var(--font-head); }
.pager [aria-current='page'] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1rem 0; }
.chips a { display: inline-block; padding: 0.2rem 0.8rem; border-radius: 999px; background: var(--navy-tint); text-decoration: none; font: 700 0.8rem var(--font-head); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* Footer */
.site-footer { position: relative; background: var(--navy); color: #fff; font-size: 0.92rem; padding-top: 8rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--gold); }
.site-footer h2 { font-size: 1.15rem; font-weight: 800; line-height: 1.15; color: var(--gold); margin-bottom: 0.9rem; }
.site-footer .eyebrow-line { color: #fff; margin-bottom: 0.4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.foot-top { display: grid; gap: 2.2rem; padding-bottom: 2.5rem; }
.foot-quote { margin-bottom: 0.9rem; }
.foot-contact li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.2rem 0; }
.foot-contact svg { flex: none; width: 16px; height: 16px; margin-top: 0.25rem; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.foot-map img { margin-bottom: 0.8rem; }
.round-social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.round-social svg { width: 22px; height: 22px; fill: var(--navy); }
.site-footer .round-social:hover { background: var(--gold); }
.foot-links { display: grid; gap: 1.5rem; padding-block: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.foot-links h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.foot-links li { padding: 0.15rem 0; font-size: 0.88rem; }
.foot-note { margin: 0 auto; padding-block: 0 1.5rem; font-size: 0.8rem; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.foot-bar { background: var(--gold-soft); color: var(--ink); font-size: 0.82rem; }
.foot-bar a { color: var(--ink); }
.foot-bar a:hover { color: var(--navy); }
.foot-bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 0.9rem; }
.foot-bar ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
@media (min-width: 760px) {
  .foot-top { grid-template-columns: 1fr 1.25fr 1fr; gap: 3rem; }
  .foot-links { grid-template-columns: repeat(4, 1fr); }
  .site-footer { padding-top: 9rem; }
}

.notfound { text-align: center; padding: clamp(3rem, 10vw, 7rem) 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .btn-row { display: none; } }

/* Cookie banner (components/Analytics.astro) */
.consent { position: fixed; inset: auto 0 0 0; z-index: 90; background: var(--navy-dark); color: #fff; box-shadow: 0 -4px 18px rgba(15, 42, 82, 0.35); }
.consent[hidden] { display: none; }
.consent-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 0.9rem; }
.consent p { margin: 0; font-size: 0.9rem; line-height: 1.5; flex: 1 1 28rem; }
.consent a { color: #fff; }
.consent-actions { display: flex; gap: 0.6rem; }
.consent .btn { min-height: 42px; padding: 0.5rem 1.3rem; }
.consent .consent-yes { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.consent .consent-yes:hover { background: #dcc088; border-color: #dcc088; color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
.link-btn:hover { color: var(--navy); }
@media print { .consent { display: none; } }

/* Responsive images from tools/ImageBuilder (the same zero-specificity defaults the old build injected). */
:where(img[data-img]) { height: auto; object-fit: cover; object-position: center; }
:where(img[data-img="constrained"]) { max-width: 100%; }
