:root {
  --navy-950: #031125;
  --navy-900: #061a35;
  --navy-800: #0a2344;
  --navy-700: #10315c;
  --ink: #071c37;
  --ink-soft: #4c6078;
  --blue: #135fd6;
  --blue-strong: #0c50b9;
  --blue-soft: #eaf2fc;
  --gold: #ffbf1f;
  --gold-soft: #fff6dc;
  --paper: #f4f7fb;
  --paper-2: #ffffff;
  --white: #ffffff;
  --line: rgba(7, 28, 55, .13);
  --line-dark: rgba(255, 255, 255, .16);
  --success: #137b55;
  --danger: #b42318;
  --shadow-sm: 0 10px 28px rgba(6, 26, 53, .08);
  --shadow-lg: 0 28px 80px rgba(3, 17, 37, .18);
  --radius-sm: .7rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.75rem;
  --container: 74rem;
  --reading: 46rem;
  --header-height: 4.75rem;
  --display: 'IBM Plex Sans', Arial, sans-serif;
  --body: 'Inter', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
  overflow-wrap: normal;
}
h1 { font-size: clamp(3rem, 6.15vw, 5.8rem); }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.35rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); letter-spacing: -.02em; }
:where(h1, h2, h3, section)[id] { scroll-margin-top: 7rem; }
p { max-width: 42rem; }
small { line-height: 1.45; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--blue-strong);
  border-radius: .45rem;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(18, 98, 214, .16);
}
.on-dark :focus-visible,
.site-footer :focus-visible { outline-color: #8ab9ff; box-shadow: 0 0 0 5px rgba(83, 146, 235, .28); }

.container { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; }
.reading { width: min(var(--reading), 100%); }
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-compact { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.section-paper { background: var(--paper); }
.section-paper-soft { background: var(--paper-2); }
.section-navy { color: var(--white); background: var(--navy-950); }
.section-blue { color: var(--white); background: var(--blue-strong); }
.section-border { border-top: 1px solid var(--line); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.2rem;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { width: 1.5rem; height: 2px; content: ''; background: currentColor; }
.on-dark .eyebrow, .section-navy .eyebrow { color: var(--gold); }
.lede { color: var(--ink-soft); font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.65; }
.on-dark .lede, .section-navy .lede { color: rgba(255,255,255,.72); }
.section-heading { max-width: 53rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-heading h2 { margin-bottom: 1.3rem; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(17rem, .8fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.button-primary:hover { background: #ffca4f; border-color: #ffca4f; }
.button-blue { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-blue:hover { background: var(--blue-strong); border-color: var(--blue-strong); }
.button-secondary { color: var(--ink); background: transparent; border-color: #9aa8b7; }
.on-dark .button-secondary, .section-navy .button-secondary { color: var(--white); border-color: rgba(255,255,255,.38); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--blue-strong); font-weight: 700; text-decoration: none; }
.text-link::after { content: '→'; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(.25rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Header */
.site-header {
  position: absolute;
  z-index: 100;
  top: 1.15rem;
  left: 0;
  width: 100%;
  pointer-events: none;
}
.site-header.is-sticky { position: fixed; top: .6rem; }
.nav-shell {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .65rem .75rem .65rem 1.35rem;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
}
.site-header.is-sticky .nav-shell { box-shadow: 0 12px 35px rgba(4,20,38,.15); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 10.1rem; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.desktop-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: .55rem .72rem;
  border-radius: .5rem;
  color: #33475e;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
}
.desktop-nav a:hover { color: var(--blue-strong); background: var(--blue-soft); }
.desktop-nav a[aria-current='page'] { color: var(--blue-strong); background: var(--blue-soft); box-shadow: inset 0 -2px 0 var(--blue); }
.nav-cta { white-space: nowrap; }
.menu-toggle { display: none; width: 3rem; min-height: 3rem; padding: 0; border: 0; border-radius: .6rem; background: transparent; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 1.35rem; height: 2px; margin: 0 auto; content: ''; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle span { margin-block: .3rem; }
.menu-toggle[aria-expanded='true'] span { opacity: 0; }
.menu-toggle[aria-expanded='true']::before { transform: translateY(.5rem) rotate(45deg); }
.menu-toggle[aria-expanded='true']::after { transform: translateY(-.5rem) rotate(-45deg); }
.menu-overlay { position: fixed; z-index: 90; inset: 0; display: none; background: rgba(4,20,38,.48); backdrop-filter: blur(2px); }
.menu-overlay.is-open { display: block; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; min-height: 49rem; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, rgba(4,20,38,1) 0%, rgba(4,20,38,.98) 30%, rgba(4,20,38,.8) 47%, rgba(4,20,38,.2) 68%, rgba(4,20,38,.1) 100%);
}
.hero .container { position: relative; z-index: 2; display: flex; min-height: 49rem; align-items: center; padding-top: 7.75rem; padding-bottom: 6rem; }
.hero-copy { width: min(47rem, 61%); }
.hero h1 { max-width: 45rem; margin-bottom: 1.45rem; }
.hero .lede { max-width: 39rem; margin-bottom: 2rem; font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .3rem .75rem; margin: 1rem 0 0; padding: 0; color: rgba(255,255,255,.68); font-size: .88rem; list-style: none; }
.hero-trust li + li::before { margin-right: .75rem; color: var(--gold); content: '·'; }

.route-band { position: relative; z-index: 5; margin-top: -4.1rem; }
.route-card { display: grid; grid-template-columns: 1.05fr 2fr; gap: 2.5rem; padding: 1.6rem 2rem; background: var(--white); border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: var(--shadow-lg); }
.route-intro { padding-right: 2rem; border-right: 1px solid var(--line); }
.route-intro .eyebrow { margin-bottom: .5rem; }
.route-intro strong { font-family: var(--display); font-size: 1.15rem; }
.route-steps { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.route-step { position: relative; padding-left: 2rem; }
.route-step::before { position: absolute; top: .45rem; left: 0; width: .72rem; height: .72rem; content: ''; background: var(--white); border: 2px solid var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px var(--blue-soft); }
.route-step:first-child::before { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.route-step:not(:last-child)::after { position: absolute; top: .79rem; left: 1rem; right: -1rem; height: 1px; content: ''; background: var(--line); }
.route-step span, .route-step strong { position: relative; z-index: 1; display: block; background: var(--white); }
.route-step span { width: fit-content; padding-right: .5rem; color: #708197; font-size: .75rem; font-weight: 700; }
.route-step strong { width: fit-content; padding-right: .65rem; font-size: .92rem; }

/* Editorial cards and grids */
.situation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.situation-card { min-height: 20rem; padding: 2rem; background: var(--paper-2); border-top: 3px solid var(--gold); }
.situation-card:nth-child(2) { margin-top: 2rem; }
.situation-card:nth-child(3) { margin-top: 4rem; }
.situation-index { display: block; margin-bottom: 4rem; color: var(--blue); font-weight: 700; font-size: .8rem; letter-spacing: .08em; }
.situation-card h3 { margin-bottom: 1rem; }
.situation-card p { color: var(--ink-soft); }

.choice-layout { display: grid; grid-template-columns: minmax(17rem,.78fr) minmax(0,1.22fr); gap: clamp(2rem,6vw,6rem); align-items: start; }
.choice-console { background: var(--white); border: 1px solid #ded7c8; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.choice-options { margin: 0; padding: 0; border: 0; }
.choice-options legend { padding: 1.35rem 1.5rem .5rem; color: var(--ink-soft); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.choice-option { position: relative; display: block; border-top: 1px solid #ded7c8; }
.choice-option input { position: absolute; opacity: 0; pointer-events: none; }
.choice-option label { display: grid; min-height: 5.5rem; grid-template-columns: 2rem 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.5rem; cursor: pointer; }
.choice-number { color: var(--blue); font-size: .78rem; font-weight: 700; }
.choice-title { font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.choice-marker { width: .9rem; height: .9rem; border: 1px solid #a4b3c2; border-radius: 50%; }
.choice-option label:hover { background: var(--paper-2); }
.choice-option input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: -3px; box-shadow: inset 0 0 0 6px rgba(18,98,214,.12); }
.choice-option input:checked + label { background: var(--blue-soft); box-shadow: inset 4px 0 0 var(--blue); }
.choice-option input:checked + label .choice-marker { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(18,98,214,.13); }
.choice-detail { min-height: 15rem; padding: clamp(1.75rem,4vw,3rem); background: var(--navy-900); color: var(--white); }
.choice-detail .empty-state { color: rgba(255,255,255,.72); }
.choice-detail h3 { max-width: 29rem; margin-bottom: 1rem; }
.choice-detail p { color: rgba(255,255,255,.74); }
.choice-note { display: flex; gap: .7rem; align-items: flex-start; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: .84rem; color: rgba(255,255,255,.7); }
.choice-note::before { color: var(--gold); content: '●'; }

.contract-lens { display: grid; grid-template-columns: minmax(16rem,.7fr) minmax(0,1.3fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.lens-tabs { background: var(--white); }
.lens-tab { width: 100%; min-height: 6.2rem; display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; align-items: center; padding: 1rem 1.3rem; color: var(--ink); background: var(--white); border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
.lens-tab span { color: var(--blue); font-size: .78rem; font-weight: 700; }
.lens-tab strong { display: block; font-family: var(--display); font-size: 1.08rem; }
.lens-tab small { display: block; color: var(--ink-soft); }
.lens-tab[aria-selected='true'] { background: var(--blue-soft); box-shadow: inset 4px 0 0 var(--blue); }
.lens-document { min-height: 35rem; padding: clamp(2rem,5vw,4.5rem); background: var(--paper-2); }
.lens-document-header { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid #d8d2c6; }
.lens-document-header span { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lens-copy { max-width: 34rem; padding-top: 4rem; }
.lens-copy h3 { margin-bottom: 1rem; font-size: clamp(2rem,4vw,3.45rem); }
.lens-copy p { color: var(--ink-soft); font-size: 1.08rem; }
.lens-mobile { display: none; }
.lens-mobile details { background: var(--white); border-bottom: 1px solid var(--line); }
.lens-mobile summary { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; font-family: var(--display); font-weight: 600; cursor: pointer; list-style: none; }
.lens-mobile summary::-webkit-details-marker { display: none; }
.lens-mobile summary::after { color: var(--blue); content: '+'; font-size: 1.5rem; }
.lens-mobile details[open] summary::after { content: '–'; }
.lens-mobile .lens-mobile-copy { padding: 0 1.25rem 1.5rem; color: var(--ink-soft); }

.human-proof { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.human-photo { position: relative; }
.human-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); }
.human-photo::after { position: absolute; right: -1rem; bottom: -1rem; width: 45%; height: 45%; content: ''; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); border-radius: 0 0 1.4rem 0; pointer-events: none; }
.proof-list { margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.proof-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.proof-list li::before { color: var(--blue); content: '✓'; font-weight: 700; }

.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-step { min-height: 18rem; padding: 2rem; background: var(--white); }
.process-step span { display: block; margin-bottom: 4rem; color: var(--blue); font-size: .8rem; font-weight: 700; }
.process-step p { color: var(--ink-soft); }

.reviews-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(2rem,5vw,5rem); }
.review-count { color: var(--blue); font-family: var(--display); font-size: 3rem; font-weight: 600; }
.review-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; }
.review-card { display: flex; min-height: 25rem; flex-direction: column; justify-content: space-between; padding: 2rem; background: var(--navy-900); color: var(--white); border-radius: var(--radius-md); }
.review-card:nth-child(2) { margin-top: 2rem; background: var(--paper); color: var(--ink); }
.review-quote { margin: 2rem 0; font-family: var(--display); font-size: clamp(1.35rem,2vw,1.75rem); font-weight: 500; line-height: 1.35; }
.review-label { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.review-card:nth-child(2) .review-label { color: var(--blue); }
.review-author { display: flex; gap: .75rem; align-items: center; color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 600; }
.review-card:nth-child(2) .review-author { color: var(--ink-soft); }
.review-avatar { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; color: var(--ink); background: var(--gold); border-radius: 50%; font-size: .75rem; font-weight: 700; }
.review-disclaimer { margin-top: 1.25rem; color: var(--ink-soft); font-size: .78rem; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(2rem,5vw,4.5rem); color: var(--white); background: var(--navy-900); border-radius: var(--radius-lg); }
.cta-panel h2 { max-width: 43rem; margin-bottom: .8rem; font-size: clamp(2.25rem,4.5vw,4rem); }
.cta-panel p { margin-bottom: 0; color: rgba(255,255,255,.7); }

.faq-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; }
.faq-grid details { background: var(--paper-2); border: 1px solid var(--line); border-radius: .75rem; }
.faq-grid summary { display: flex; min-height: 4.7rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; font-family: var(--display); font-weight: 600; list-style: none; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { color: var(--blue); content: '+'; font-size: 1.5rem; }
.faq-grid details[open] summary::after { content: '–'; }
.faq-answer { padding: 0 1.25rem 1.3rem; color: var(--ink-soft); }

.service-bridge { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.service-bridge img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); }
.service-bridge h2 { margin-bottom: 1.25rem; }

/* Interior page hero */
.page-hero { padding: 10rem 0 clamp(4rem,8vw,7rem); background: var(--paper); }
.page-hero-navy { color: var(--white); background: var(--navy-950); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(24rem,1.15fr); gap: clamp(2rem,6vw,6rem); align-items: center; }
.page-hero h1 { margin-bottom: 1.4rem; font-size: clamp(3.2rem,6vw,5.4rem); }
.page-hero-media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); }
body[data-page='contact'] .page-hero-media img { height: auto; aspect-ratio: 16 / 9; object-position: center; }
body[data-page='over-hab'] .page-hero-media img { height: auto; aspect-ratio: 3 / 2; object-position: center; }

.content-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.content-card { padding: 2rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md); }
.content-card .eyebrow { margin-bottom: 2.5rem; }
.content-card p { color: var(--ink-soft); }
.definition-list { margin: 0; border-top: 1px solid var(--line); }
.definition-list-spaced { margin-top: 2rem; }
.hero-control-note { margin-top: 1rem; color: rgba(255,255,255,.64); font-size: .86rem; }
.bridge-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.link-spaced { margin-top: 2rem; }
.definition-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.definition-row dt { font-weight: 700; }
.definition-row dd { margin: 0; color: var(--ink-soft); }

/* Intake and forms */
.intake-shell { padding: 10rem 0 6rem; background: var(--paper); min-height: 100vh; }
.intake-grid { display: grid; grid-template-columns: minmax(17rem,.62fr) minmax(0,1.38fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.intake-aside { position: sticky; top: 6.5rem; }
.intake-aside h1 { margin-bottom: 1.4rem; font-size: clamp(2.8rem,5vw,4.8rem); }
.intake-assurances { margin: 2rem 0 0; padding: 0; border-top: 1px solid #cfc6b6; list-style: none; }
.intake-assurances li { display: grid; grid-template-columns: 1rem 1fr; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid #cfc6b6; font-weight: 600; }
.intake-assurances li::before { color: var(--blue); content: '✓'; }
.form-card { padding: clamp(1.4rem,4vw,3rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-progress { display: grid; grid-template-columns: repeat(4,1fr); gap: .4rem; margin: 0 0 2.75rem; padding: 0 0 1.2rem; border-bottom: 1px solid var(--line); list-style: none; }
.form-progress li { color: #7b8b9e; font-size: .75rem; font-weight: 700; }
.form-progress li span { display: block; margin-bottom: .35rem; }
.form-progress li[aria-current='step'] { color: var(--blue-strong); }
.form-progress li[aria-current='step'] span { width: fit-content; padding: .15rem .42rem; background: var(--blue-soft); border-radius: .35rem; }
.form-step[hidden] { display: none; }
.form-step h2 { margin-bottom: .8rem; font-size: clamp(2rem,4vw,3rem); }
.form-step h2[tabindex='-1']:focus { outline: 0; box-shadow: none; }
.form-consent { margin-top: 1.5rem; }
.form-step > .lede { margin-bottom: 2rem; font-size: 1rem; }
.field-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: .45rem; font-size: .85rem; font-weight: 700; }
.field label span { color: var(--ink-soft); font-size: .75rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3.35rem;
  padding: .78rem .9rem;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid #cbd5df;
  border-radius: .65rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input[aria-invalid='true'], .field select[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180,35,24,.1); }
.field-error { margin: .35rem 0 0; color: var(--danger); font-size: .78rem; font-weight: 600; }
.radio-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label { display: flex; min-height: 5.5rem; align-items: center; padding: 1rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: .75rem; cursor: pointer; font-family: var(--display); font-size: 1rem; font-weight: 600; }
.radio-card input:checked + label { color: var(--blue-strong); background: var(--blue-soft); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.radio-card input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 3px; }
.checkbox-field { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; align-items: start; }
.checkbox-field input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; }
.form-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.error-summary { margin-bottom: 1.5rem; padding: 1rem 1.15rem; color: #7a271a; background: #fef3f2; border-left: 4px solid var(--danger); border-radius: .4rem; }
.error-summary[hidden] { display: none; }
.error-summary h3 { margin-bottom: .35rem; font-size: 1rem; }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: .5rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: #07543b; background: #ecfdf3; }
.form-status.is-error { color: #7a271a; background: #fef3f2; }
.review-table { margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.review-row { display: grid; grid-template-columns: .65fr 1.35fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.review-row dt { font-weight: 700; }
.review-row dd { margin: 0; color: var(--ink-soft); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Reclamevrij */
.rvp-hero { padding-top: 8.5rem; }
.rvp-hero h1 { font-size: clamp(3.2rem, 5.8vw, 5.2rem); }
.rvp-hero .page-hero-media { position: relative; }
.rvp-hero .page-hero-media img { height: auto; aspect-ratio: 16 / 9; object-position: center; }
.rvp-hero .page-hero-media::before { position: absolute; top: -1rem; right: -1rem; width: 45%; height: 45%; content: ''; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 0 1.25rem 0 0; }
.compare-stage { padding: 1rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.compare-screen { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 25rem; overflow: hidden; border: 1px solid #b8c3cf; border-radius: 1rem; }
.compare-side { position: relative; display: grid; place-items: center; padding: 2rem; }
.compare-before { color: var(--white); background: var(--navy-900); }
.compare-after { background: #eef4fb; }
.compare-tag { position: absolute; top: 1rem; left: 1rem; padding: .4rem .65rem; border-radius: .35rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.compare-before .compare-tag { background: var(--navy-950); }
.compare-after .compare-tag { color: var(--ink); background: var(--white); }
.device-window { width: min(17rem,90%); padding: 1rem; background: var(--white); border: 1px solid #c8d2dc; border-radius: .8rem; box-shadow: var(--shadow-sm); }
.device-bar { display: flex; gap: .35rem; margin-bottom: 1rem; }
.device-bar i { width: .45rem; height: .45rem; background: #cbd5df; border-radius: 50%; }
.device-copy { height: .6rem; margin-bottom: .6rem; background: #dce5ef; border-radius: 99px; }
.device-copy.short { width: 65%; }
.device-ad { margin-top: .9rem; padding: .8rem; color: #8a2132; background: #ffe7ea; border: 1px solid #f4abb5; border-radius: .45rem; text-align: center; font-size: .75rem; font-weight: 700; }
.device-calm { margin-top: .9rem; padding: .8rem; color: var(--blue-strong); background: var(--blue-soft); border-radius: .45rem; text-align: center; font-size: .75rem; font-weight: 700; }
.compare-divider { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--gold); transform: translateX(-50%); }
.compare-divider::after { position: absolute; top: 50%; left: 50%; display: grid; width: 2.7rem; height: 2.7rem; place-items: center; content: '↔'; color: var(--ink); background: var(--gold); border: 4px solid var(--white); border-radius: 50%; transform: translate(-50%,-50%); }
.compare-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: var(--ink-soft); font-size: .75rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.metric { min-height: 12rem; padding: 2rem; border-right: 1px solid var(--line-dark); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-bottom: .7rem; color: var(--gold); font-family: var(--display); font-size: clamp(2rem,4vw,3rem); line-height: 1; }
.metric span { color: rgba(255,255,255,.68); font-size: .8rem; }
.metric-note { margin: 1rem 0 0 auto; color: rgba(255,255,255,.62); font-size: .78rem; font-style: italic; text-align: right; }

/* Legal */
.legal-hero { padding: 10rem 0 6rem; background: var(--paper); }
.legal-box { width: min(52rem,100%); margin-inline: auto; padding: clamp(1.5rem,5vw,4.5rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.legal-box h1 { margin-bottom: .8rem; font-size: clamp(1.75rem,8vw,3.4rem); }
.legal-box h2 { margin: 3rem 0 .8rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: clamp(1.5rem,2.4vw,2rem); letter-spacing: -.02em; }
.legal-box p, .legal-box li { color: #354a61; }
.legal-updated { color: var(--ink-soft); font-size: .82rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }

.bridge-main { min-height: 100vh; display: grid; place-items: center; padding: 2rem 0; background: var(--paper); }
.bridge-box { width: min(42rem,100%); margin-inline: auto; padding: clamp(1.5rem,5vw,4rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.bridge-wordmark { display: inline-block; margin-bottom: 3rem; }
.bridge-wordmark img { width: 12rem; height: auto; }
.bridge-box h1 { margin-bottom: 1rem; font-size: clamp(2.5rem,6vw,4.2rem); }
.bridge-box p { color: var(--ink-soft); }
.btn { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: .78rem 1.25rem; border-radius: .65rem; font-weight: 700; text-decoration: none; }
.btn-primary { color: var(--ink); background: var(--gold); }

/* Footer */
.site-footer { color: var(--white); background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: clamp(2rem,5vw,5rem); padding: 5rem 0 3rem; }
.footer-brand img { width: 13rem; margin-bottom: 1.4rem; }
.footer-brand p { color: rgba(255,255,255,.62); font-size: .9rem; }
.footer-col h2 { margin-bottom: 1.2rem; color: var(--gold); font-family: var(--body); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: .55rem 0; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .88rem; text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { padding: 1.2rem 0 2rem; color: rgba(255,255,255,.5); border-top: 1px solid var(--line-dark); font-size: .76rem; }

/* Responsive */
@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .nav-cta { margin-left: auto; }
  .menu-toggle { display: block; }
  .mobile-menu {
    position: fixed;
    z-index: 95;
    top: 5.7rem;
    left: 50%;
    display: block;
    width: min(38rem, calc(100% - 2rem));
    max-height: calc(100vh - 6.5rem);
    padding: .55rem;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%,-.75rem);
    transition: opacity .18s ease, transform .18s ease;
  }
  .mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%,0); }
  .mobile-menu a { display: flex; min-height: 3.25rem; align-items: center; padding: .7rem .85rem; border-radius: .55rem; color: var(--ink); font-weight: 700; text-decoration: none; }
  .mobile-menu a:hover, .mobile-menu a[aria-current='page'] { color: var(--blue-strong); background: var(--blue-soft); }
  .mobile-menu .mobile-cta { justify-content: center; margin-top: .45rem; color: var(--ink); background: var(--gold); }
  .hero-copy { width: 67%; }
}

@media (max-width: 800px) {
  :root { --header-height: 4rem; }
  .container { width: min(100% - 2rem, var(--container)); }
  .site-header { top: .55rem; }
  .nav-shell { min-height: 4rem; padding: .4rem .45rem .4rem .85rem; border-radius: .75rem; }
  .brand img { width: 8.6rem; }
  .site-header .nav-cta { display: none; }
  .mobile-menu { top: 5rem; }
  .hero { display: flex; min-height: auto; flex-direction: column; padding-top: 0; }
  .hero-media { position: relative; order: 1; height: 23rem; margin: 0; }
  .hero-media img { object-position: 68% 42%; }
  .hero::after { display: none; }
  .hero .container { order: 2; min-height: auto; width: 100%; padding: 3.4rem 1rem 6.5rem; background: var(--navy-950); }
  .hero-copy { width: min(100%,40rem); margin-inline: auto; }
  .hero h1 { font-size: clamp(3rem,11vw,4.5rem); }
  .route-band { margin-top: -3.5rem; }
  .route-card { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem; }
  .route-intro { padding: 0 0 1rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .route-steps { gap: .6rem; }
  .route-step { padding-left: 1.4rem; }
  .route-step:not(:last-child)::after { left: .8rem; right: -.5rem; }
  .split-heading, .choice-layout, .contract-lens, .human-proof, .reviews-layout, .service-bridge, .page-hero-grid, .intake-grid { grid-template-columns: 1fr; }
  .situation-grid, .process-grid, .content-grid { grid-template-columns: 1fr; }
  .situation-card, .situation-card:nth-child(2), .situation-card:nth-child(3) { min-height: 0; margin-top: 0; }
  .situation-index { margin-bottom: 1.8rem; }
  .choice-layout { gap: 1.5rem; }
  .lens-tabs, .lens-document { display: none; }
  .lens-mobile { display: block; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
  .human-photo { order: 2; }
  .human-photo::after { right: 0; bottom: 0; }
  .process-grid { gap: 0; }
  .process-step { min-height: 0; border-bottom: 1px solid var(--line); }
  .process-step span { margin-bottom: 2rem; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card, .review-card:nth-child(2) { min-height: 21rem; margin-top: 0; }
  .cta-panel { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 7.5rem; }
  .page-hero-media { order: -1; }
  .rvp-hero .page-hero-media img { aspect-ratio: 16 / 10; object-position: 62% center; }
  .rvp-hero .page-hero-media::before { top: 0; right: 0; }
  body[data-page='contact'] .page-hero-media img { aspect-ratio: 16 / 10; object-position: 60% center; }
  .intake-shell { padding-top: 7.2rem; }
  .intake-aside { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { line-height: 1.58; }
  h1 { font-size: clamp(2.75rem,13vw,3.75rem); }
  h2 { font-size: clamp(2.15rem,10vw,3rem); }
  .section { padding: 4.05rem 0; }
  .section-compact { padding: 2.9rem 0; }
  .hero-media { height: 19.5rem; }
  .hero-media img { object-position: 67% 45%; }
  .hero .container { padding-top: 2.8rem; padding-bottom: 6.2rem; }
  .hero h1 { font-size: clamp(2.75rem,11.8vw,3.45rem); }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .hero-trust { display: grid; gap: .25rem; }
  .hero-trust li + li::before { display: none; }
  .route-card { padding: 1rem; }
  .route-steps { grid-template-columns: 1fr; }
  .route-step { min-height: 2.7rem; }
  .route-step:not(:last-child)::after { top: 1.1rem; bottom: -.8rem; left: .32rem; width: 1px; height: auto; }
  .route-step::before { top: .6rem; left: 0; }
  .choice-option label { min-height: 4.7rem; grid-template-columns: 1.5rem 1fr auto; padding: .85rem 1rem; }
  .choice-detail { min-height: 13rem; }
  .review-card { min-height: 18.5rem; padding: 1.5rem; }
  .field-grid, .radio-cards { grid-template-columns: 1fr; }
  .form-progress li { font-size: .67rem; }
  .form-progress li b { display: none; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .compare-screen { grid-template-columns: 1fr; }
  .compare-side { min-height: 14rem; }
  .compare-divider { top: 50%; bottom: auto; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .metric { min-height: 9rem; padding: 1.25rem; border-bottom: 1px solid var(--line-dark); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(3), .metric:nth-child(4) { border-bottom: 0; }
  .definition-row, .review-row { grid-template-columns: 1fr; gap: .25rem; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 1.25rem); }
  .brand img { width: 7.9rem; }
  .nav-shell { padding-left: .65rem; }
  .hero-media { height: 17.75rem; }
  .hero h1 { font-size: 2.75rem; }
  .route-band { margin-top: -2.7rem; }
}

@media (max-width: 800px) and (max-height: 500px) {
  .hero-media { height: 10rem; }
  .hero .container { padding-top: 2rem; padding-bottom: 5rem; }
  .page-hero { padding-top: 5.5rem; }
  .page-hero-grid { gap: 1.5rem; }
  .page-hero-media img,
  .rvp-hero .page-hero-media img,
  body[data-page='contact'] .page-hero-media img,
  body[data-page='over-hab'] .page-hero-media img { aspect-ratio: 16 / 5; }
}

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

@media print {
  .site-header, .site-footer, .button, .page-actions { display: none !important; }
  .legal-hero { padding: 0; background: #fff; }
  .legal-box { width: 100%; padding: 0; border: 0; box-shadow: none; }
}

/* Full-width marketing heroes — aligned with the Home hero system. */
@media screen {
  body[data-page='zo-werkt-het'] .page-hero,
  body[data-page='over-hab'] .page-hero,
  body[data-page='contact'] .page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: clamp(43rem, 76vh, 49rem);
    align-items: center;
    overflow: hidden;
    padding: clamp(9.75rem, 14vh, 11.5rem) 0 clamp(5.5rem, 8vw, 7rem);
    color: var(--white);
    background: var(--navy-950);
  }

  body[data-page='zo-werkt-het'] .page-hero::before,
  body[data-page='over-hab'] .page-hero::before,
  body[data-page='contact'] .page-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(2, 19, 40, .38) 0%, rgba(2, 19, 40, .2) 36%, rgba(2, 19, 40, .07) 55%, rgba(2, 19, 40, 0) 74%);
    pointer-events: none;
  }

  body[data-page='zo-werkt-het'] .page-hero::after,
  body[data-page='over-hab'] .page-hero::after,
  body[data-page='contact'] .page-hero::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: '';
    background: linear-gradient(180deg, rgba(2, 19, 40, .05) 0%, transparent 56%, rgba(2, 19, 40, .16) 100%);
    pointer-events: none;
  }

  body[data-page='zo-werkt-het'] .page-hero-grid,
  body[data-page='over-hab'] .page-hero-grid,
  body[data-page='contact'] .page-hero-grid {
    position: static;
    display: block;
  }

  body[data-page='zo-werkt-het'] .page-hero-grid > :first-child,
  body[data-page='over-hab'] .page-hero-grid > :first-child,
  body[data-page='contact'] .page-hero-grid > :first-child {
    position: relative;
    z-index: 2;
    width: min(100%, 42rem);
  }

  body[data-page='zo-werkt-het'] .page-hero h1,
  body[data-page='over-hab'] .page-hero h1,
  body[data-page='contact'] .page-hero h1 {
    color: var(--white);
  }

  body[data-page='zo-werkt-het'] .page-hero .lede,
  body[data-page='over-hab'] .page-hero .lede,
  body[data-page='contact'] .page-hero .lede {
    color: rgba(255, 255, 255, .76);
  }

  body[data-page='zo-werkt-het'] .page-hero .button-secondary,
  body[data-page='over-hab'] .page-hero .button-secondary,
  body[data-page='contact'] .page-hero .button-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .035);
  }

  body[data-page='zo-werkt-het'] .page-hero-media,
  body[data-page='over-hab'] .page-hero-media,
  body[data-page='contact'] .page-hero-media {
    position: absolute;
    z-index: 0;
    inset: 0;
    margin: 0;
    pointer-events: none;
  }

  body[data-page='zo-werkt-het'] .page-hero-media picture,
  body[data-page='over-hab'] .page-hero-media picture,
  body[data-page='contact'] .page-hero-media picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  body[data-page='zo-werkt-het'] .page-hero-media img,
  body[data-page='over-hab'] .page-hero-media img,
  body[data-page='contact'] .page-hero-media img {
    width: 100%;
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
  }
}

@media screen and (min-width: 769px) {
  body[data-page='zo-werkt-het'] .page-hero-media img {
    object-position: 68% 50%;
  }
}

@media screen and (max-width: 768px) {
  body[data-page='zo-werkt-het'] .page-hero,
  body[data-page='over-hab'] .page-hero,
  body[data-page='contact'] .page-hero {
    min-height: clamp(40rem, 88svh, 45rem);
    align-items: flex-end;
    padding: 8.5rem 0 4.25rem;
  }

  body[data-page='zo-werkt-het'] .page-hero::before,
  body[data-page='over-hab'] .page-hero::before,
  body[data-page='contact'] .page-hero::before {
    background: linear-gradient(180deg, rgba(2, 19, 40, .02) 0%, rgba(2, 19, 40, .05) 38%, rgba(2, 19, 40, .18) 62%, rgba(2, 19, 40, .34) 100%);
  }

  body[data-page='zo-werkt-het'] .page-hero::after,
  body[data-page='over-hab'] .page-hero::after,
  body[data-page='contact'] .page-hero::after {
    background: linear-gradient(90deg, rgba(2, 19, 40, .08) 0%, transparent 70%, rgba(2, 19, 40, .05) 100%);
  }

  body[data-page='zo-werkt-het'] .page-hero-media img,
  body[data-page='over-hab'] .page-hero-media img,
  body[data-page='contact'] .page-hero-media img { object-position: center top; }
}

@media screen and (max-width: 560px) {
  body[data-page='zo-werkt-het'] .page-hero,
  body[data-page='over-hab'] .page-hero,
  body[data-page='contact'] .page-hero {
    min-height: 42.5rem;
    padding: 7.75rem 0 3.5rem;
  }

  body[data-page='zo-werkt-het'] .page-hero-grid > :first-child,
  body[data-page='over-hab'] .page-hero-grid > :first-child,
  body[data-page='contact'] .page-hero-grid > :first-child {
    width: 100%;
  }
}
