:root {
  color-scheme: light;
  --ink: #142f43;
  --ink-soft: #536775;
  --paper: #f4f0e8;
  --surface: #fffdf8;
  --primary: #142f43;
  --primary-dark: #0b2232;
  --primary-soft: #e5e9ea;
  --accent: #d52b1e;
  --accent-dark: #ae2117;
  --sage: #d9ddd3;
  --danger: #a52626;
  --danger-soft: #fff0ed;
  --border: #d8d3c9;
  --focus: #153f8f;
  --shadow: 0 22px 60px rgba(11, 34, 50, 0.14);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  font-family: Arial, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  min-width: 320px;
}

body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
  z-index: 100;
}

a { color: var(--primary-dark); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

button, input, select, textarea { font: inherit; }
button, .button { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--focus);
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 253, 248, .98);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo { display: block; width: min(286px, 58vw); height: auto; }

.nav-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a { padding: .7rem .72rem; border-radius: 3px; text-decoration: none; font-weight: 700; font-size: .86rem; }
.site-nav a:hover { background: #ece8df; }
.site-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -3px var(--accent); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .75rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { background: transparent; border-color: var(--primary); color: var(--primary-dark); }
.button-secondary:hover { background: var(--primary); color: white; }
.button-danger { background: var(--danger); color: white; }

.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 1100;
  inset: auto 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1120px;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.analytics-consent strong { font-size: 1.1rem; }
.analytics-consent p { margin: .25rem 0 0; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; flex: none; }
.analytics-consent-settings {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 720px) {
  .analytics-consent { display: block; }
  .analytics-consent-actions { margin-top: 1rem; }
  .analytics-consent-actions .button { flex: 1 1 44%; }
}

.prototype-banner {
  padding: .55rem 1rem;
  background: var(--primary-dark);
  border-bottom: 0;
  color: #f4f0e8;
  text-align: center;
  font-size: .9rem;
}

.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4.5rem, 8vw, 7rem); background: var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0 0 0 58%; background: var(--primary); }
.hero::after { content: ""; position: absolute; right: -8rem; bottom: -11rem; width: 36rem; height: 30rem; border: 1px solid rgba(255,255,255,.14); transform: rotate(45deg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 7vw, 6.5rem); align-items: center; }

.eyebrow {
  display: inline-block;
  margin: 0 0 .85rem;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
h1 { margin: 0 0 1.5rem; font-size: clamp(3rem, 6.2vw, 5.8rem); max-width: 11ch; }
h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { margin: 0 0 .6rem; font-size: 1.25rem; }
p { max-width: 70ch; }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 55ch; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.hero-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  background: transparent;
  color: white;
  box-shadow: none;
}

.hero-card::after {
  content: "01";
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  width: auto;
  height: auto;
  color: rgba(255,255,255,.22);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  z-index: 0;
}

.hero-card > * { position: relative; z-index: 1; }
.hero-card h2 { color: white; max-width: 9ch; }
.hero-card .card-kicker { max-width: 25ch; padding-right: 4.5rem; color: #ff8b82; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.check-list li { position: relative; padding: .72rem 0 .72rem 2rem; border-top: 1px solid rgba(255,255,255,.2); }
.check-list li::before { content: "—"; position: absolute; left: .25rem; color: #ff8b82; font-weight: 900; }

.notice {
  margin-block: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--primary);
  border-radius: 0;
  background: #ebe5da;
}
.notice-danger { border-left-color: var(--danger); background: var(--danger-soft); }
.notice strong { display: block; }

.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--border); }
.section-heading { max-width: 720px; margin-bottom: 2rem; }

.grid-3, .grid-2 { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  padding: 2rem 1.7rem;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(20,47,67,.07);
}
.card p:last-child { margin-bottom: 0; }
.card-kicker { color: var(--accent); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }

.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { position: relative; padding: 1.5rem 1.5rem 1.5rem 4.5rem; border-left: 1px solid var(--border); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 1rem; top: 1.35rem; color: var(--accent); font-size: 1.05rem; font-weight: 900; }

.page-hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0; border-bottom: 1px solid var(--border); background: var(--paper); }
.page-hero::after { content: ""; position: absolute; right: -7rem; top: -9rem; width: 25rem; height: 25rem; border: 5rem solid rgba(213,43,30,.055); transform: rotate(45deg); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 15ch; font-size: clamp(2.7rem, 5vw, 5.2rem); }
.breadcrumbs { margin: 0 0 1.2rem; font-size: .88rem; color: var(--ink-soft); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: #70878f; }

.pillar-index { padding: 1.5rem 0; border-block: 1px solid var(--border); background: var(--surface); }
.pillar-index .container { display: flex; align-items: center; gap: 1rem; overflow-x: auto; scrollbar-width: thin; }
.pillar-index strong { flex: 0 0 auto; color: var(--accent); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.pillar-index a { flex: 0 0 auto; padding: .55rem .75rem; border-bottom: 2px solid var(--border); font-weight: 700; text-decoration: none; }
.pillar-index a:hover, .pillar-index a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }

.pillar-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(2rem, 6vw, 5rem); align-items: start; justify-content: center; }
.pillar-toc { position: sticky; top: 116px; padding: 1.25rem 0; border-top: 4px solid var(--accent); border-bottom: 1px solid var(--border); }
.pillar-toc strong { display: block; margin-bottom: .75rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.pillar-toc ol { margin: 0; padding-left: 1.25rem; }
.pillar-toc li { margin-block: .5rem; color: var(--ink-soft); }
.pillar-toc a { color: inherit; text-decoration: none; }
.pillar-toc a:hover { color: var(--accent); text-decoration: underline; }
.pillar-content > section { scroll-margin-top: 118px; padding-bottom: 2.75rem; margin-bottom: 2.75rem; border-bottom: 1px solid var(--border); }
.pillar-content > section:last-child { border-bottom: 0; }
.pillar-content h2 { max-width: 18ch; }
.pillar-content h3 { margin-top: 1.75rem; }
.pillar-content p, .pillar-content li { color: #344c5b; }
.pillar-content ul, .pillar-content ol { padding-left: 1.25rem; }
.pillar-content li { margin-block: .55rem; }
.answer-box { padding: 1.5rem; border-left: 6px solid var(--accent); background: #eee8dd; font-size: 1.08rem; }
.answer-box strong { color: var(--ink); }
.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; margin-block: 1.5rem; background: var(--border); border: 1px solid var(--border); }
.decision-item { padding: 1.4rem; background: var(--surface); }
.decision-item strong { display: block; margin-bottom: .35rem; color: var(--ink); }
.source-box { padding: 1.5rem; border: 1px solid var(--border); background: var(--paper); }
.source-box h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.related-guides { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.related-guide { min-height: 180px; padding: 1.5rem; border-top: 4px solid var(--accent); background: var(--primary); color: white; text-decoration: none; }
.related-guide span { display: block; margin-bottom: 2rem; color: #ff9d96; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.related-guide strong { display: block; max-width: 16ch; color: white; font-size: 1.35rem; line-height: 1.15; }
.related-guide:hover { background: var(--primary-dark); }

.guide-showcase { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--primary); color: white; }
.guide-showcase .section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; max-width: none; align-items: end; }
.guide-showcase h2, .guide-showcase .lead { color: white; }
.guide-showcase .eyebrow { color: #ff9d96; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.guide-card { position: relative; min-height: 260px; padding: 1.6rem; background: var(--primary); color: white; text-decoration: none; }
.guide-card::after { content: "↗"; position: absolute; right: 1.4rem; bottom: 1.25rem; color: #ff9d96; font-size: 1.5rem; }
.guide-card:hover { background: var(--primary-dark); }
.guide-card span { color: #ff9d96; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.guide-card h3 { max-width: 10ch; margin-top: 3.2rem; color: white; font-size: 1.45rem; }
.guide-card p { color: #dce3e8; font-size: .92rem; }

.form-shell {
  max-width: 800px;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.progress-copy { display: flex; justify-content: space-between; gap: 1rem; font-weight: 800; }
.progress-track { height: 10px; margin: .6rem 0 2rem; border-radius: 99px; overflow: hidden; background: var(--primary-soft); }
.progress-bar { width: 20%; height: 100%; background: var(--primary); transition: width .2s ease; }

.form-step[hidden] { display: none; }
fieldset { padding: 0; margin: 0 0 1.5rem; border: 0; }
legend, .field-label { display: block; margin-bottom: .55rem; font-weight: 800; }
.required { color: var(--danger); }
.field { margin-bottom: 1.35rem; }
.field-hint { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: .88rem; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid #93aaa9;
  border-radius: 10px;
}

.field-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
textarea { min-height: 120px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: .35rem 0 0; color: var(--danger); font-weight: 700; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  min-height: 52px;
  padding: .8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfdfc;
  cursor: pointer;
}
.choice:hover { border-color: var(--primary); }
.choice input { width: 1.25rem; height: 1.25rem; margin-top: .12rem; flex: 0 0 auto; }
.form-kicker { margin: 0 0 .55rem; color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.form-intro { max-width: 62ch; margin: -.35rem 0 1.4rem; color: var(--ink-soft); }
.choice-grid-emphasis { grid-template-columns: 1fr; }
.choice-featured { align-items: center; min-height: 72px; padding: 1rem 1.1rem; border-width: 2px; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.choice-featured:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 34, 50, .08); }
.choice-featured:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 4px 0 0 var(--accent); }
.choice-featured span { display: grid; gap: .18rem; }
.choice-featured strong { color: var(--ink); font-size: 1.04rem; }
.choice-featured small { color: var(--ink-soft); font-size: .9rem; line-height: 1.4; }
.consent { padding: 1rem; border: 1px solid var(--border); border-radius: 12px; background: #fbfdfc; }
.form-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.error-summary { margin-bottom: 1.5rem; padding: 1rem; border: 2px solid var(--danger); border-radius: 10px; background: var(--danger-soft); }
.error-summary h2 { font-size: 1.2rem; }
.success-panel { padding: 1.5rem; border: 2px solid var(--primary); border-radius: var(--radius-md); background: var(--primary-soft); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { padding: .9rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: var(--primary-soft); }

.cta-band { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); border-radius: 0; border-left: 8px solid var(--accent); background: var(--primary-dark); color: white; }
.cta-band h2, .cta-band p { color: white; }
.cta-band a:not(.button) { color: white; }
.cta-band .button-secondary { border-color: white; color: white; }
.cta-band .button-secondary:hover { background: white; color: var(--primary-dark); }

.site-footer { padding: 4rem 0; background: #0b2232; color: #e7f0f1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: white; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-block: .45rem; }
.legal-line { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #36515b; font-size: .85rem; color: #bcd0d6; }

.emergency-box { padding: clamp(1.5rem, 4vw, 2.5rem); border: 3px solid var(--danger); border-radius: var(--radius-lg); background: var(--danger-soft); }
.emergency-number { display: inline-block; margin: .5rem .5rem .5rem 0; padding: .55rem 1rem; border-radius: 10px; background: var(--danger); color: white; font-size: 1.35rem; font-weight: 900; text-decoration: none; }
.muted { color: var(--ink-soft); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { display: none; position: absolute; top: calc(100% + .5rem); left: 0; right: 0; padding: .75rem; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; box-shadow: var(--shadow); z-index: 50; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { min-height: 44px; }
  .hero-grid, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .guide-showcase .section-heading, .pillar-layout { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-toc { position: static; }
  .hero { padding-top: 3.5rem; }
  .hero::before, .hero::after { display: none; }
  .hero-card { background: var(--primary); padding: 2rem; }
}

@media (max-width: 620px) {
  :root { font-size: 16px; }
  .header-inner, .container { width: min(100% - 1.25rem, 1120px); }
  .header-inner { min-height: 78px; }
  .grid-2, .choice-grid { grid-template-columns: 1fr; }
  .decision-grid, .related-guides, .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 210px; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .actions .button { width: 100%; }
  .section { padding: 3.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .prototype-banner, .site-footer, .actions, .form-actions { display: none !important; }
  body { background: white; }
  .card, .form-shell { box-shadow: none; }
}

/* Premium visual direction — aligned with the portfolio's immersive web language */
body { background: #fbfaf7; }
.prototype-banner { position: relative; z-index: 90; padding-block: .42rem; font-size: .76rem; letter-spacing: .025em; }
.site-header { background: rgba(251,250,247,.9); border-color: rgba(20,47,67,.11); backdrop-filter: blur(18px) saturate(140%); }
.header-inner { width: min(100% - 3rem, 1280px); min-height: 86px; }
.brand-logo { width: min(265px, 55vw); }
.site-nav { gap: .4rem; }
.site-nav a { padding: .7rem .78rem; font-size: .82rem; }
.button { min-height: 52px; padding: .82rem 1.3rem; border-radius: 12px; box-shadow: 0 9px 24px rgba(20,47,67,.08); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20,47,67,.16); }
.button-primary { background: linear-gradient(135deg,#e43a2e,#c92318); box-shadow: 0 12px 28px rgba(213,43,30,.24); }

.hero { min-height: 830px; padding: clamp(4.5rem,8vw,7rem) 0 2rem; color: white; background: radial-gradient(circle at 18% 16%,rgba(58,91,116,.5),transparent 34%),linear-gradient(135deg,#071a28 0%,#102f45 62%,#0b2333 100%); }
.hero::before { display: block; inset: auto -10% -55% 45%; width: 65%; height: 110%; border-radius: 50%; background: rgba(213,43,30,.12); filter: blur(2px); }
.hero::after { right: -4rem; bottom: -13rem; width: 40rem; height: 40rem; border: 1px solid rgba(255,255,255,.08); transform: rotate(36deg); }
.hero-grid { width: min(100% - 3rem,1280px); min-height: 590px; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem,6vw,7rem); }
.hero-grid > div:first-child { position: relative; z-index: 2; padding: 2rem 0; }
.hero .eyebrow { color: #ff8e86; }
.hero h1 { max-width: 9.5ch; color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: clamp(3.8rem,6.7vw,7.1rem); font-weight: 500; line-height: .9; letter-spacing: -.065em; }
.hero .lead { max-width: 47ch; color: #dce6eb; font-size: 1.14rem; }
.hero .notice { max-width: 660px; border: 1px solid rgba(255,255,255,.16); border-left: 4px solid #ff5a4e; background: rgba(255,255,255,.075); color: #eef4f6; backdrop-filter: blur(10px); }
.hero .notice strong { color: white; }
.hero .button-secondary { border-color: rgba(255,255,255,.72); color: white; }
.hero .button-secondary:hover { border-color: white; background: white; color: var(--primary-dark); }
.hero-portrait { position: relative; z-index: 1; align-self: stretch; min-height: 590px; margin: 0; }
.hero-portrait::before { content: ""; position: absolute; z-index: -1; inset: -22px 22px 22px -22px; border: 1px solid rgba(255,255,255,.19); border-radius: 32px; }
.hero-portrait::after { content: ""; position: absolute; z-index: -2; right: -40px; bottom: -28px; width: 180px; height: 180px; border-radius: 50%; background: #d52b1e; filter: saturate(.9); }
.hero-portrait img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 58% center; border-radius: 30px; box-shadow: 0 35px 90px rgba(0,0,0,.38); }
.hero-portrait figcaption { position: absolute; right: 22px; bottom: 22px; width: min(330px,calc(100% - 44px)); padding: 1.15rem 1.25rem; border: 1px solid rgba(255,255,255,.55); border-radius: 16px; background: rgba(255,253,248,.88); color: var(--ink); backdrop-filter: blur(18px); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.hero-portrait figcaption span { display: block; margin-bottom: .35rem; color: var(--accent); font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.hero-portrait figcaption strong { font-family: Georgia,"Times New Roman",serif; font-size: 1.45rem; font-weight: 500; }
.hero-proof { position: relative; z-index: 3; width: min(100% - 3rem,1280px); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.055); backdrop-filter: blur(12px); }
.hero-proof > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; padding: 1.25rem 1.4rem; }
.hero-proof > div + div { border-left: 1px solid rgba(255,255,255,.14); }
.hero-proof span { grid-row: 1 / 3; color: #ff7b72; font-size: .75rem; font-weight: 900; }
.hero-proof strong { color: white; font-size: .95rem; }
.hero-proof small { color: #aebfca; font-size: .78rem; }

.guide-showcase { padding: clamp(5rem,9vw,8rem) 0; background: #f1ece3; color: var(--ink); }
.guide-showcase h2 { max-width: 9ch; color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: clamp(3rem,5vw,5.3rem); font-weight: 500; line-height: .95; }
.guide-showcase .lead { color: var(--ink-soft); }
.guide-showcase .eyebrow { color: var(--accent); }
.guide-grid { gap: 1rem; border: 0; background: transparent; }
.guide-card { min-height: 360px; padding: 1.7rem; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: linear-gradient(155deg,#17384f,#0b2333); box-shadow: 0 20px 55px rgba(11,34,50,.13); transition: transform .25s ease,box-shadow .25s ease,background .25s ease; }

.guide-card::before { content: ""; position: absolute; right: -55px; top: -55px; width: 145px; height: 145px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.025); }
.guide-card::after { display: grid; place-items: center; width: 42px; height: 42px; right: 1.4rem; bottom: 1.4rem; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; }
.guide-card:hover { background: linear-gradient(155deg,#214d69,#0b2333); transform: translateY(-6px); box-shadow: 0 30px 70px rgba(11,34,50,.22); }

.guide-card h3 { margin-top: 5rem; font-family: Georgia,"Times New Roman",serif; font-size: 1.75rem; font-weight: 500; line-height: 1.05; }

.section-heading h2,.section > .container > h2,.pillar-content h2 { font-family: Georgia,"Times New Roman",serif; font-weight: 500; letter-spacing: -.05em; }
.card { border: 1px solid rgba(20,47,67,.08); border-top: 0; border-radius: 18px; box-shadow: 0 16px 46px rgba(20,47,67,.09); }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg,var(--accent),#ff8c82); }
.page-hero { padding: clamp(5rem,9vw,8rem) 0; background: radial-gradient(circle at 80% 15%,rgba(213,43,30,.11),transparent 30%),linear-gradient(135deg,#f2ede4,#fffdf8); }
.page-hero h1 { font-family: Georgia,"Times New Roman",serif; font-weight: 500; line-height: .96; }
.pillar-index { position: sticky; top: 86px; z-index: 40; background: rgba(255,253,248,.92); backdrop-filter: blur(14px); }
.pillar-toc { padding: 1.4rem; border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: 12px; background: white; box-shadow: 0 16px 40px rgba(20,47,67,.08); }
.answer-box,.source-box { border-radius: 14px; }
.decision-grid { gap: .75rem; padding: .75rem; border: 0; border-radius: 18px; background: #f1ece3; }
.decision-item { border-radius: 11px; box-shadow: 0 5px 18px rgba(20,47,67,.05); }
.related-guide { border-radius: 18px; box-shadow: 0 18px 44px rgba(20,47,67,.14); }
.cta-band { border: 0; border-radius: 24px; background: radial-gradient(circle at 92% 15%,rgba(213,43,30,.35),transparent 25%),linear-gradient(135deg,#102f45,#071a28); box-shadow: 0 28px 70px rgba(11,34,50,.2); }

@media (max-width: 1050px) {
  .site-nav a { padding-inline: .55rem; font-size: .76rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .header-inner { width: min(100% - 1.5rem,1280px); }
  .hero { min-height: auto; padding-top: 4rem; }
  .hero-grid { width: min(100% - 1.5rem,1280px); grid-template-columns: 1fr; }
  .hero h1 { max-width: 11ch; font-size: clamp(3.5rem,12vw,6rem); }
  .hero-portrait { min-height: 540px; }
  .hero-proof { width: min(100% - 1.5rem,1280px); }
  .pillar-index { top: 78px; }
}
@media (max-width: 620px) {
  .hero { padding: 3rem 0 1.25rem; }
  .hero-grid { gap: 2.5rem; }
  .hero h1 { font-size: clamp(3.2rem,15vw,4.8rem); }
  .hero .lead { font-size: 1.05rem; }
  .hero-portrait { min-height: 430px; }
  .hero-portrait::before { inset: -10px 10px 10px -10px; border-radius: 22px; }
  .hero-portrait::after { right: -18px; bottom: -14px; width: 110px; height: 110px; }
  .hero-portrait img { object-position: 64% center; border-radius: 20px; }
  .hero-portrait figcaption { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .hero-proof { grid-template-columns: 1fr; margin-top: 2rem; }
  .hero-proof > div + div { border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .guide-showcase .section-heading { display: block; }
  .guide-showcase h2 { font-size: 3.4rem; }
  .guide-grid { gap: .85rem; }
  .guide-card { min-height: 270px; transform: none; }
  .guide-card:hover { transform: translateY(-3px); }
  .page-hero h1 { font-size: clamp(3rem,13vw,4.5rem); }
}

/* Editorial library, pillar imagery and evidence layer */
.pillar-hero { padding: clamp(3.5rem,7vw,6rem) 0; overflow: hidden; }
.pillar-hero-grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(380px,1.12fr); gap: clamp(2rem,5vw,5.5rem); align-items: center; }
.pillar-hero h1 { max-width: 12ch; }
.pillar-cover { position: relative; margin: 0; min-height: 440px; }
.pillar-cover::before { content: ""; position: absolute; inset: -16px 18px 20px -18px; z-index: 0; border: 1px solid rgba(20,47,67,.18); border-radius: 26px; }
.pillar-cover::after { content: ""; position: absolute; width: 125px; height: 125px; right: -24px; bottom: -24px; z-index: 0; border-radius: 50%; background: var(--accent); }
.pillar-cover img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 28px 68px rgba(11,34,50,.25); }
.pillar-cover figcaption { position: absolute; z-index: 2; left: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; background: rgba(7,26,40,.82); color: #fff; font-size: .74rem; backdrop-filter: blur(12px); }
.method-hero { padding-block: clamp(3.5rem,7vw,6.5rem); background: linear-gradient(112deg,#f3ede3 0%,#fffdfa 55%,#e6edf0 100%); }
.method-hero::after { display: none; }
.method-hero-grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(380px,1.14fr); gap: clamp(2.5rem,6vw,6rem); align-items: center; }
.method-hero h1 { max-width: 10ch; }
.method-hero-visual { position: relative; min-height: 440px; margin: 0; }
.method-hero-visual::before { content: ""; position: absolute; inset: -15px 16px 18px -16px; border: 1px solid rgba(20,47,67,.18); border-radius: 26px; }
.method-hero-visual::after { content: ""; position: absolute; z-index: 0; right: -20px; bottom: -20px; width: 116px; height: 116px; border-radius: 50%; background: var(--accent); }
.method-hero-visual img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 52% center; border-radius: 24px; box-shadow: 0 28px 68px rgba(11,34,50,.22); }
.method-hero-visual figcaption { position: absolute; z-index: 2; right: 18px; bottom: 18px; max-width: min(330px,calc(100% - 36px)); padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.5); border-radius: 13px; background: rgba(7,26,40,.86); color: #fff; font-size: .78rem; line-height: 1.4; backdrop-filter: blur(12px); }
.method-hero-visual figcaption span { display: block; margin-bottom: .28rem; color: #f2c65b; font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.editorial-meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1.4rem; color: var(--ink-soft); font-size: .78rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.editorial-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.editorial-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.editorial-card { margin: 3rem 0 1.25rem; padding: clamp(1.5rem,4vw,2.5rem); border: 1px solid rgba(20,47,67,.12); border-radius: 20px; background: linear-gradient(145deg,#fff,#f3eee6); box-shadow: 0 18px 50px rgba(20,47,67,.08); }
.editorial-card h2 { max-width: 17ch; }
.trust-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.3rem; }
.trust-links a { display: inline-flex; align-items: center; min-height: 42px; padding: .6rem .85rem; border: 1px solid rgba(20,47,67,.18); border-radius: 9px; background: rgba(255,255,255,.75); color: var(--primary-dark); font-size: .82rem; font-weight: 850; text-decoration: none; }
.trust-links a:hover { border-color: var(--accent); color: var(--accent-dark); }

.library-hero,.about-hero { position: relative; overflow: hidden; padding: clamp(5rem,10vw,9rem) 0; color: #fff; background: radial-gradient(circle at 78% 25%,rgba(213,43,30,.32),transparent 26%),linear-gradient(135deg,#071a28,#14384f); }
.library-hero::after,.about-hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -150px; bottom: -260px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.02); }
.library-hero .breadcrumbs a,.about-hero .breadcrumbs a { color: #dbe8ed; }
.library-hero .eyebrow,.about-hero .eyebrow { color: #ff877e; }
.library-hero h1,.about-hero h1 { max-width: 10ch; color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: clamp(4rem,8vw,7.2rem); font-weight: 500; line-height: .88; letter-spacing: -.065em; }
.library-hero .lead,.about-hero .lead { max-width: 59ch; color: #dbe8ed; }
.library-hero .editorial-meta { color: #c7d6dd; }
.library-section { background: #f1ece3; }
.editorial-library { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.editorial-tile { display: grid; grid-template-rows: 280px 1fr; min-height: 560px; overflow: hidden; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 22px 60px rgba(11,34,50,.12); text-decoration: none; transition: transform .25s ease,box-shadow .25s ease; }
.editorial-tile:hover { transform: translateY(-7px); box-shadow: 0 32px 74px rgba(11,34,50,.2); }
.editorial-tile figure { margin: 0; overflow: hidden; }
.editorial-tile img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.editorial-tile:hover img { transform: scale(1.025); }
.editorial-tile > div { display: flex; flex-direction: column; align-items: flex-start; padding: 1.7rem 1.8rem 1.9rem; }
.editorial-tile > div > span { color: var(--accent); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.editorial-tile h2 { margin: .7rem 0 .65rem; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2rem,3vw,2.8rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.editorial-tile p { color: var(--ink-soft); }
.editorial-tile strong { margin-top: auto; color: var(--primary); }
.trust-manifesto { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: clamp(2rem,6vw,6rem); align-items: start; }
.trust-manifesto h2 { max-width: 10ch; margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(3rem,5.5vw,5.5rem); font-weight: 500; line-height: .92; letter-spacing: -.06em; }
.trust-manifesto > div:last-child > p { max-width: 55ch; font-size: 1.12rem; }
.evidence-section { background: #fffdf8; }
.source-register { display: grid; gap: 1rem; }
.source-register article { display: grid; grid-template-columns: 180px minmax(220px,.7fr) minmax(0,1.3fr); gap: 1.5rem; align-items: start; padding: 2rem; border-top: 1px solid var(--border); }
.source-register article > span { color: var(--accent); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.source-register h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-weight: 500; line-height: 1.05; }
.source-register ul { margin: 0; }
.identity-ledger { padding: clamp(1.5rem,4vw,2.5rem); border-radius: 22px; background: var(--primary-dark); color: white; box-shadow: 0 24px 65px rgba(11,34,50,.2); }
.identity-ledger h2 { color: white; font-family: Georgia,"Times New Roman",serif; font-weight: 500; }
.identity-ledger dl { margin: 1.5rem 0 0; }
.identity-ledger dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.identity-ledger dt { color: #c9d8df; }
.identity-ledger dd { margin: 0; font-weight: 850; text-align: right; }
.text-link { font-weight: 850; }

@media (max-width: 900px) {
  .pillar-hero-grid,.trust-manifesto { grid-template-columns: 1fr; }
  .method-hero-grid { grid-template-columns: 1fr; }
  .method-hero-visual { min-height: 480px; }
  .pillar-cover { min-height: 480px; }
  .editorial-library { grid-template-columns: 1fr; }
  .source-register article { grid-template-columns: 150px 1fr; }
  .source-register ul { grid-column: 2; }
}
@media (max-width: 620px) {
  .pillar-hero { padding-top: 3rem; }
  .pillar-cover { min-height: 340px; }
  .method-hero-visual { min-height: 340px; }
  .method-hero-visual::before { inset: -8px 8px 10px -8px; }
  .method-hero-visual::after { right: -10px; bottom: -10px; width: 82px; height: 82px; }
  .pillar-cover::before { inset: -8px 8px 10px -8px; }
  .pillar-cover::after { width: 82px; height: 82px; right: -10px; bottom: -10px; }
  .library-hero h1,.about-hero h1 { font-size: clamp(3.5rem,16vw,5rem); }
  .editorial-tile { grid-template-rows: 220px 1fr; min-height: 480px; }
  .trust-manifesto h2 { font-size: 3.3rem; }
  .source-register article { grid-template-columns: 1fr; padding: 1.4rem 0; }
  .source-register ul { grid-column: 1; }
}

/* Portfolio-aligned identity — emblem-first header and full-bleed hero */
.site-header { background: rgba(255,255,255,.97); }
.header-inner { width: min(100% - 3.5rem,1376px); min-height: 112px; }
.brand-logo { width: min(350px,42vw); max-height: 96px; }
.site-nav { gap: .55rem; }
.site-nav a { font-size: .88rem; font-weight: 800; }
.site-nav .button { min-height: 50px; padding-inline: 1.15rem; }

.hero { min-height: 760px; padding: 0; display: grid; align-items: center; isolation: isolate; background-image: linear-gradient(90deg,rgba(7,26,40,.91),rgba(12,38,57,.73) 55%,rgba(7,26,40,.52)),url("assistance-seniors-hero-v2.webp"); background-size: cover; background-position: center 45%; }
.hero::before { display: block; inset: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(180deg,rgba(7,26,40,.08) 50%,rgba(7,26,40,.72)); filter: none; }
.hero::after { display: none; }
.hero-grid { width: min(100% - 3.5rem,1376px); min-height: auto; display: block; }
.hero-content { max-width: 900px; padding: 6.5rem 0 7.5rem; text-align: left; }
.hero-badge { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.35rem; padding: .52rem .85rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(255,255,255,.13); color: #fff; font-size: .82rem; font-weight: 850; backdrop-filter: blur(12px); }
.hero-badge span { color: #F2C65B; }
.hero h1 { max-width: 13ch; margin: 0; font-family: Arial,"Helvetica Neue","Segoe UI",sans-serif; font-size: clamp(4.2rem,6.8vw,7rem); font-weight: 950; line-height: .91; letter-spacing: -.075em; text-wrap: balance; }
.hero .lead { max-width: 48ch; margin: 1.6rem 0 0; color: #fff; font-size: clamp(1.1rem,1.55vw,1.35rem); font-weight: 650; line-height: 1.48; }
.hero .actions { justify-content: flex-start; margin-top: 2rem; }
.hero .button { min-height: 60px; padding-inline: 1.65rem; font-size: 1rem; }
.hero-boundary { display: inline-flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.6rem; padding: .65rem .85rem; border-left: 3px solid #F2C65B; background: rgba(7,26,40,.45); color: #e9f1f4; font-size: .82rem; backdrop-filter: blur(8px); }
.hero-proof { width: min(100% - 3.5rem,1080px); margin: -56px auto 0; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 25px 65px rgba(7,26,40,.24); backdrop-filter: none; }
.hero-proof > div { padding: 1.5rem 1.7rem; }
.hero-proof > div + div { border-left-color: #e3e7e9; }
.hero-proof span { color: var(--accent); }
.hero-proof strong { color: var(--primary-dark); font-size: 1rem; }
.hero-proof small { color: var(--ink-soft); }

.guide-showcase { padding-top: clamp(8rem,12vw,11rem); }
.guide-showcase h2,.section-heading h2,.section > .container > h2,.pillar-content h2,.library-hero h1,.about-hero h1,.trust-manifesto h2,.editorial-tile h2,.page-hero h1 { font-family: Arial,"Helvetica Neue","Segoe UI",sans-serif; font-weight: 950; letter-spacing: -.06em; }
.guide-showcase h2 { max-width: 11ch; }
.guide-card h3 { font-family: Arial,"Helvetica Neue","Segoe UI",sans-serif; font-weight: 900; letter-spacing: -.04em; }
.pillar-hero h1 { max-width: 13ch; font-size: clamp(3.5rem,5.5vw,6rem); }

@media (max-width: 1050px) {
  .header-inner { width: min(100% - 1.5rem,1376px); }
  .brand-logo { width: min(310px,45vw); }
}
@media (max-width: 900px) {
  .header-inner { min-height: 98px; }
  .brand-logo { width: min(300px,68vw); max-height: 84px; }
  .hero { min-height: 700px; background-position: 62% center; }
  .hero-grid { width: min(100% - 1.5rem,1376px); }
  .hero-content { max-width: 720px; padding: 5rem 0 8rem; }
  .hero h1 { font-size: clamp(3.7rem,10vw,6rem); }
  .hero-proof { width: min(100% - 1.5rem,1080px); }
}
@media (max-width: 620px) {
  .prototype-banner { padding-inline: .75rem; }
  .header-inner { min-height: 94px; }
  .brand-logo { width: min(270px,72vw); }
  .hero { min-height: 660px; background-position: 64% center; }
  .hero::before { background: linear-gradient(90deg,rgba(7,26,40,.92),rgba(7,26,40,.68)); }
  .hero-content { padding: 4.2rem 0 7rem; }
  .hero-badge { border-radius: 12px; font-size: .74rem; }
  .hero h1 { max-width: 10ch; font-size: clamp(3.35rem,14vw,4.7rem); }
  .hero .lead { font-size: 1.06rem; }
  .hero .actions { display: grid; }
  .hero .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; margin-top: -36px; }
  .hero-proof > div + div { border-left: 0; border-top: 1px solid #e3e7e9; }
  .guide-showcase { padding-top: 6.5rem; }
}

/* Photographic storytelling and restrained motion */
.hero {
  animation: hero-drift 20s ease-in-out infinite alternate;
}

.guide-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  background-position: center;
  background-size: cover;
}
.guide-card:nth-child(1) { background-image: url("pilier-aide-non-medicale.webp"); }
.guide-card:nth-child(2) { background-image: url("pilier-accompagnement-senior.webp"); }
.guide-card:nth-child(3) { background-image: url("pilier-proches-aidants.webp"); }
.guide-card:nth-child(4) { background-image: url("pilier-choisir-prestataire.webp"); }
.guide-card:nth-child(5) { background-image: url("assistance-seniors-editorial-famille-v1.png"); background-position: 58% center; }
.guide-card:nth-child(6) { background-image: url("assistance-seniors-editorial-autonomie-v1.png"); background-position: 66% center; }
.guide-card::before {
  inset: 0;
  width: auto;
  height: auto;
  z-index: -1;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg,rgba(5,20,30,.03) 6%,rgba(7,26,40,.38) 45%,rgba(7,26,40,.96) 100%);
  box-shadow: none;
  transition: background .3s ease;
}
.guide-card:hover::before { background: linear-gradient(180deg,rgba(5,20,30,.08),rgba(7,26,40,.52) 42%,rgba(7,26,40,.97)); }
.guide-card h3 { margin-top: 8rem; text-wrap: balance; }
.guide-card p { color: #dbe7ec; }

.visual-story {
  padding: clamp(5.5rem,9vw,9rem) 0;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 88% 12%,rgba(213,43,30,.22),transparent 28%),#071a28;
}
.visual-story-heading {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(320px,.7fr);
  gap: clamp(2rem,7vw,8rem);
  align-items: end;
  margin-bottom: 2.4rem;
}
.visual-story .eyebrow { color: #ff877e; }
.visual-story h2 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-family: Arial,"Helvetica Neue","Segoe UI",sans-serif;
  font-size: clamp(3rem,5.7vw,6.2rem);
  font-weight: 950;
  line-height: .92;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.visual-story .lead { margin: 0; color: #c8d7de; font-size: 1.12rem; }
.visual-story-grid {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(280px,.75fr);
  grid-template-rows: repeat(2,minmax(260px,1fr));
  gap: 1rem;
  min-height: 680px;
}
.visual-story figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: #102f45;
  box-shadow: 0 30px 75px rgba(0,0,0,.28);
}
.visual-story-main { grid-row: 1 / 3; }
.visual-story img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.75,.2,1),filter .5s ease;
}
.visual-story figure:hover img { transform: scale(1.035); filter: saturate(1.05); }
.visual-story figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: .4rem;
  padding: clamp(1.25rem,3vw,2.2rem);
  background: linear-gradient(180deg,transparent,rgba(5,19,29,.92));
  color: #fff;
}
.visual-story figcaption span {
  color: #f2c65b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.visual-story figcaption strong { max-width: 24ch; font-size: clamp(1.15rem,2vw,1.7rem); line-height: 1.12; }
.visual-story-note { margin-top: 1rem; color: #95abb6; font-size: .74rem; }

html.motion-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .58s ease,transform .68s cubic-bezier(.2,.75,.2,1);
  transition-delay: var(--reveal-delay,0ms);
}
html.motion-enabled [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes hero-drift {
  from { background-position: center 43%; }
  to { background-position: center 49%; }
}

@media (max-width: 900px) {
  .visual-story-heading { grid-template-columns: 1fr; }
  .visual-story-grid { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(430px,1.25fr) minmax(260px,.75fr); min-height: 0; }
  .visual-story-main { grid-column: 1 / 3; grid-row: auto; }
}

@media (max-width: 620px) {
  .guide-card h3 { margin-top: 6rem; }
  .visual-story { padding: 5rem 0; }
  .visual-story h2 { font-size: clamp(3rem,14vw,4.5rem); }
  .visual-story-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3,360px); }
  .visual-story-main { grid-column: auto; }
  .visual-story figure { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  html.motion-enabled [data-reveal] { opacity: 1; transform: none; transition: none; }
  .guide-card,.visual-story img { transition: none; }
}

/* 2026 progressive experience layer: fast static HTML, modern browser enhancement */
body { animation: page-in .34s ease both; }

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: var(--reading-progress,0%);
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg,#d52b1e,#f2c65b);
  box-shadow: 0 0 16px rgba(213,43,30,.28);
  transition: width .08s linear;
}

.site-header {
  transition: background-color .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.site-header.is-scrolled {
  border-color: rgba(16,47,69,.08);
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 40px rgba(7,26,40,.1);
  backdrop-filter: blur(24px) saturate(155%);
}
.brand-logo { filter: saturate(1.03); transition: filter .25s ease,transform .25s ease; }
.brand:hover .brand-logo { filter: saturate(1.1) contrast(1.02); transform: translateY(-1px); }

.guide-card,.editorial-tile,.visual-story figure,.related-guide { position: relative; }
.guide-card::before {
  background:
    radial-gradient(320px circle at var(--pointer-x,50%) var(--pointer-y,30%),rgba(255,255,255,.13),transparent 45%),
    linear-gradient(180deg,rgba(5,20,30,.03) 6%,rgba(7,26,40,.38) 45%,rgba(7,26,40,.96) 100%);
}
.visual-story figure::after,.editorial-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--pointer-x,50%) var(--pointer-y,20%),rgba(255,255,255,.12),transparent 52%);
  opacity: 0;
  transition: opacity .3s ease;
}
.visual-story figure:hover::after,.editorial-tile:hover::after { opacity: 1; }

@keyframes page-in { from { opacity: 0; transform: translateY(7px); } }

@media (max-width: 900px) {
  .site-nav {
    display: flex;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(.985);
    transform-origin: top center;
    border: 1px solid rgba(16,47,69,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 28px 80px rgba(7,26,40,.2);
    backdrop-filter: blur(24px);
    pointer-events: none;
    transition: opacity .2s ease,transform .24s cubic-bezier(.2,.75,.2,1),visibility .24s;
  }
  .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav-toggle { border-radius: 10px; transition: background-color .2s ease,border-color .2s ease,color .2s ease; }
  .nav-toggle[aria-expanded="true"] { border-color: #102f45; background: #102f45; color: #fff; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(7,26,40,.28);
    backdrop-filter: blur(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .reading-progress { transition: none; }
  .brand-logo,.site-header,.site-nav { transition: none; }
}

/* Responsive form corrections 20261018 */
@media(max-width:380px){main h1,main h2,main a,main button{overflow-wrap:anywhere;max-width:100%}}
