/* ---------- Fonts (self-hosted, GDPR-safe) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/fraunces-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/fraunces-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(/fonts/fraunces-latin-wght-italic.woff2) format("woff2"); }

/* ---------- Tokens (flag palette: PMS 7687 blue #134289 · PMS 7408 gold #F6BD00) ---------- */
:root {
  --brand: #134289;
  --brand-2: #2f6fc4;
  --brand-3: #6ea3e6;
  --ink: #0f2747;
  --text: #22324a;
  --muted: #5d6b80;
  --white: #ffffff;
  --paper: #ffffff;
  --sky: #eef4fc;
  --sky-2: #dce9f9;
  --gold: #f6bd00;
  --gold-2: #ffd23f;
  --line: rgba(19, 66, 137, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(19,66,137,.06), 0 10px 32px rgba(19,66,137,.10);
  --wrap: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand-2); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "opsz" 96; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; font-variation-settings: "opsz" 36; }
p { margin: 0 0 1em; }
em.accent, .accent { font-style: italic; color: var(--brand-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-alt { background: var(--sky); }
.section-sky { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%); position: relative; overflow: hidden; isolation: isolate; }
.section-sky::before { content: ""; position: absolute; right: -80px; top: -60px; width: 460px; height: 490px; background: url(/images/emblem-tint.svg) center/contain no-repeat; z-index: -1; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--gold); }
.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 44ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; border: 1.5px solid var(--brand); transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; transform: translateY(-1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(246,189,0,.7); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--sky-2); }
.btn-ghost:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* Buttons on blue / photo backgrounds */
.on-blue .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.on-blue .btn-ghost:hover { background: #fff; color: var(--brand); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s; }
.nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 72px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 32px 24px; gap: 22px; transform: translateX(100%); transition: transform .3s ease; }
  .site-nav.open { transform: none; }
  .site-nav a:not(.btn) { font-size: 1.4rem; font-family: var(--serif); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--sky) 70%, var(--sky-2) 100%); overflow: hidden; isolation: isolate; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 50ch; }
.hero-visual { position: relative; }
.hero-visual img, .hero-visual .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(19,66,137,.45); }
.hero-visual .ph { background: var(--brand) url(/images/emblem-gold.svg) center/58% no-repeat; }
.hero-visual .ph::before { display: none; }
.hero-visual .ph span { display: none; }
.hero-visual::before { content: ""; position: absolute; left: -18px; top: 24px; bottom: 24px; width: 18px; border-radius: 10px 0 0 10px; background: #fff; box-shadow: -1px 0 0 var(--line); }
.hero-badge { position: absolute; left: -28px; bottom: 36px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: .88rem; color: var(--muted); max-width: 260px; }
.hero-badge b { display: block; color: var(--ink); font-size: .95rem; }
.hero-badge .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; flex: none; color: var(--brand); }
.waves { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1; pointer-events: none; }
.waves path { animation: drift 16s linear infinite; }
.waves path:nth-child(2) { animation-duration: 22s; animation-direction: reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .waves path { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-left: 18px; }
  .hero-visual img, .hero-visual .ph { aspect-ratio: 3 / 2; }
  .hero-badge { left: 12px; bottom: -18px; }
}

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding: clamp(72px, 10vw, 130px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; right: -60px; top: -40px; width: min(46vw, 520px); aspect-ratio: 1225 / 1309; background: url(/images/emblem-tint.svg) center/contain no-repeat; z-index: -1; }
.page-hero h1 { max-width: 18ch; }
.post-meta { font-size: .9rem; color: var(--muted); }
/* Page hero with a background photo (only when the photo exists) */
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg .ph { display: none; }
.page-hero.with-media:has(.bg img) { min-height: 64vh; display: flex; align-items: flex-end; }
.page-hero.with-media:has(.bg img)::before { inset: 0; width: auto; right: 0; top: 0; aspect-ratio: auto; background: linear-gradient(180deg, rgba(15,39,71,.1), rgba(15,39,71,.75)); }
.page-hero.with-media:has(.bg img) :is(h1, .lead, .eyebrow) { color: #fff; }
.page-hero.with-media:has(.bg img) .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 44px; }
.stat { padding: 20px 18px 0 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 500; color: var(--brand); line-height: 1; }
.stat span { display: block; font-size: .86rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } }

/* ---------- Logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; align-items: center; }
.logos span { font-family: var(--serif); font-size: 1.15rem; color: #7a879a; white-space: nowrap; }
.logos-label { text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }

/* ---------- Two paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 500px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; background: var(--brand); }
.path-card .bg { position: absolute; inset: 0; z-index: -2; transition: transform .6s ease; }
.path-card .bg img, .path-card .bg .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.path-card.sail .bg .ph { background: linear-gradient(160deg, var(--brand-3), var(--brand-2) 55%, var(--brand)); }
.path-card.data .bg .ph { background: linear-gradient(160deg, #3b5f93, var(--brand) 60%, #0f2f66); }
.path-card .bg .ph span { display: none; }
.path-card .bg .ph::before { background: url(/images/emblem-gold.svg) right -40px top -30px / 55% no-repeat; opacity: .16; }
.path-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,39,71,0) 25%, rgba(15,39,71,.78) 100%); }
.path-card:hover .bg { transform: scale(1.04); }
.path-card .inner { padding: 36px; }
.path-card h3 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.path-card p { color: rgba(255,255,255,.88); max-width: 40ch; }
.path-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.path-card .tags span { font-size: .8rem; padding: 5px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.path-card .go { font-weight: 600; display: inline-flex; gap: 8px; color: var(--gold-2); }
@media (max-width: 880px) { .paths { grid-template-columns: 1fr; } .path-card { min-height: 420px; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sky-2); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: .94rem; }
.card ul li { margin-bottom: 4px; }
.card ul li::marker { color: var(--brand-3); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; margin-bottom: 20px; color: var(--brand); }
.card .icon svg { width: 22px; height: 22px; }
.card .kicker { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 8px; display: block; }
.card-dashed { background: transparent; border-style: dashed; }

/* ---------- Media + text ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media img, .split-media .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split-media img, .split-media .ph { aspect-ratio: 4 / 3; } }

/* Placeholder for photos not yet added */
.ph { position: relative; background: linear-gradient(145deg, var(--sky), var(--sky-2)); border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; min-height: 200px; }
.ph::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cpath d='M0 20 Q15 8 30 20 T60 20 T90 20 T120 20' fill='none' stroke='%23134289' stroke-opacity='.10' stroke-width='2'/%3E%3C/svg%3E"); }
.ph span { position: relative; font-family: var(--serif); font-style: italic; color: var(--brand); opacity: .7; padding: 0 20px; text-align: center; font-size: .95rem; }
.portrait-ph { background: var(--brand) url(/images/emblem-gold.svg) center/52% no-repeat; }
.portrait-ph::before, .portrait-ph span { display: none; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: var(--sky-2); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 38px; padding: 0 0 38px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 112px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-2); }
.timeline li.sail::before { border-color: var(--gold); }
.timeline .when { font-family: var(--serif); color: var(--brand); font-size: 1.05rem; text-align: right; line-height: 1.5; }
.timeline h3 { font-size: 1.2rem; margin-bottom: .25em; }
.timeline p { color: var(--muted); margin: 0; font-size: .97rem; }
.timeline .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--brand); margin-bottom: 8px; border: 1px solid var(--sky-2); }
.timeline .tag.sail { background: #fff6d6; color: #7a5a00; border-color: #f7e2a0; }
@media (max-width: 640px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
  .timeline li::before { left: 0; }
  .timeline .when { text-align: left; }
}

/* ---------- Facts / lists ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts > div { background: var(--white); padding: 22px 24px; }
.facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); line-height: 1.35; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: .85rem; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--sky-2); color: var(--brand); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { border-top: 3px solid var(--gold); padding-top: 22px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 1rem; color: var(--brand-2); display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.pull { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: var(--brand); max-width: 30ch; font-weight: 400; margin: 0; }
.pull::before { content: "“"; color: var(--gold); }
.pull::after { content: "”"; color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 16px; margin-top: 32px; }
.g-item { margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.g-item img { width: 100%; transition: transform .5s; }
.g-item:hover img { transform: scale(1.03); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--sky); border: 1.5px solid transparent; border-radius: 10px; padding: 13px 14px; transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); background: #fff; }
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6b80' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.consent span { flex: 1; }
.hp { position: absolute; left: -9999px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input[type=email], .inline-form input[type=text] { flex: 1 1 200px; background: #fff; border-color: var(--sky-2); }

/* ---------- CTA band (flag blue) ---------- */
.cta-band { border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%); color: rgba(255,255,255,.88); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -30px; top: -40px; width: 300px; height: 320px; background: url(/images/emblem-gold.svg) center/contain no-repeat; opacity: .14; z-index: -1; }
.cta-band h2 { color: #fff; }
.cta-band .btn-row { justify-content: flex-end; margin: 0; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--brand); }
@media (max-width: 880px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Lead magnet ---------- */
.magnet { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.magnet-cover { aspect-ratio: 3 / 4; border-radius: 10px; background: var(--brand); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 60px -20px rgba(19,66,137,.55); transform: rotate(-2.5deg); position: relative; overflow: hidden; isolation: isolate; }
.magnet-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; background: #fff; }
.magnet-cover::after { content: ""; position: absolute; right: -30px; bottom: -20px; width: 190px; height: 200px; background: url(/images/emblem-gold.svg) center/contain no-repeat; opacity: .9; z-index: -1; }
.magnet-cover > * { padding-left: 10px; }
.magnet-cover small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.magnet-cover strong { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1.1; }
.magnet-cover em { font-style: normal; font-size: .85rem; color: rgba(255,255,255,.8); max-width: 60%; }
@media (max-width: 760px) { .magnet { grid-template-columns: 1fr; } .magnet-cover { max-width: 240px; } }

/* ---------- Article ---------- */
.prose { max-width: 700px; margin: 0 auto; font-size: 1.1rem; }
.prose p { margin-bottom: 1.3em; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.3rem; color: var(--brand); }
.prose .dropcap::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .85; padding: 6px 10px 0 0; color: var(--brand); }
.post-card { display: block; text-decoration: none; color: inherit; }
.post-card h3 { color: var(--ink); }
.post-card:hover h3 { color: var(--brand-2); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-2); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 70ch; }

/* ---------- Footer (flag blue) ---------- */
.site-footer { background: var(--brand); color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: .95rem; position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; right: -60px; bottom: -50px; width: 300px; height: 320px; background: url(/images/emblem-gold.svg) center/contain no-repeat; opacity: .1; z-index: -1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid a { display: block; color: #fff; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.footer-h { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.18); margin-top: 48px; padding-top: 24px; font-size: .85rem; }
.footer-legal a { color: #fff; }
.site-footer .muted { color: rgba(255,255,255,.72); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
