/* ==========================================================================
   MEM Travel — site styles (white & navy)
   ========================================================================== */

:root {
  /* Brand colours, sampled from the MEM Travel logo */
  --navy: #0e2048;
  --navy-2: #1a3062;
  --navy-3: #34497a;
  --text: #17223a;
  --muted: #5b6175;
  --faint: #8b8f9e;
  --white: #ffffff;
  --paper: #fcf8f5;
  --tint: #f6f1ec;
  --line: #e7e1da;
  --line-strong: #cfc8c0;
  --error: #a3322a;

  --display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Helvetica, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; color: var(--navy); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
h2 em, h1 em { font-style: italic; }
p { margin: 0 0 1em; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--white); padding: .75rem 1rem; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 2rem; height: 2rem; }

/* Shared ------------------------------------------------------------------- */
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy-3); margin: 0 0 1rem;
}
.eyebrow--light { color: rgba(255, 255, 255, .7); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: .85rem 1.6rem; border: 1px solid transparent; border-radius: 2px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--tint); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: 0 0 .2rem; background: none; border: 0;
  border-bottom: 1px solid currentColor; font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--navy); cursor: pointer;
}
.link-btn span { transition: transform .25s var(--ease); }
.link-btn:hover span { transform: translateX(3px); }

/* Top bar + header --------------------------------------------------------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: .8rem; }
.topbar__inner {
  max-width: var(--max); margin: auto; padding: .55rem var(--gutter);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.topbar p { margin: 0; }
.topbar__contact { display: flex; gap: 1.75rem; }
.topbar a { text-decoration: none; color: var(--white); }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .topbar__inner > p:first-child { display: none; }
  .topbar__contact { width: 100%; justify-content: space-between; gap: 1rem; }
}

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(252, 248, 245, .97); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(14, 32, 72, .5); }
.site-header__inner {
  height: 100%; max-width: var(--max); margin: auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
/* Wordmark set to match the logo: wide-spaced serif MEM over spaced TRAVEL */
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; color: var(--navy); margin: 0; }
.brand__name { font-family: var(--display); font-size: 1.9rem; font-weight: 500; letter-spacing: .22em; margin-right: -.22em; line-height: .9; }
.brand__sub { font-size: .62rem; font-weight: 500; letter-spacing: .5em; margin-right: -.5em; text-transform: uppercase; line-height: 1; }
.brand--light { color: var(--white); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--text); position: relative; }
.site-nav a:not(.site-nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.35rem; height: 1px; background: var(--navy);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:not(.site-nav__cta):hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav__cta {
  padding: .7rem 1.15rem; background: var(--navy); color: var(--white) !important; border-radius: 2px;
  font-size: .78rem !important; font-weight: 600 !important; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .2s;
}
.site-nav__cta:hover { background: var(--navy-2); }

.nav-toggle { display: none; position: relative; width: 2.75rem; height: 2.75rem; background: none; border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer; }
.nav-toggle__bar { position: absolute; left: 25%; right: 25%; top: 50%; height: 1.5px; background: var(--navy); transition: transform .3s var(--ease); }
.nav-toggle__bar:nth-of-type(1) { transform: translateY(-4px); }
.nav-toggle__bar:nth-of-type(2) { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-of-type(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-of-type(2) { transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: .25rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(14, 32, 72, .4);
    opacity: 0; visibility: hidden; transform: translateY(-.4rem);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .site-nav a::after { display: none; }
  .site-nav__cta { margin-top: 1.25rem; text-align: center; border-bottom: 0 !important; padding: .95rem !important; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; padding: 0; border: 0; box-shadow: none; background: none; }
  html:not(.js) .site-nav a:not(.site-nav__cta) { display: none; }
  html:not(.js) .site-nav__cta { margin: 0; }
}

/* Hero --------------------------------------------------------------------- */
.hero { background: var(--navy); color: var(--white); }
.hero__inner {
  max-width: var(--max); margin: auto; padding: clamp(4rem, 9vw, 7.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.hero h1 { color: var(--white); font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.04; margin-bottom: 1.5rem; }
.hero h1 em { color: rgba(255, 255, 255, .78); }
.hero__lede { max-width: 36rem; font-size: 1.1rem; color: rgba(255, 255, 255, .78); margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__card { background: var(--white); color: var(--text); padding: 2rem; border-radius: 2px; }
.hero__card-title { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--navy); margin-bottom: 1.25rem; }
.hero__card-note { margin: 1.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; gap: .1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list__label { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.contact-list a { color: var(--navy); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

.assurances {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 4.5rem); max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
}
.assurances li { display: flex; gap: .9rem; padding: 1.5rem 1.5rem 0 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.assurances .icon { color: rgba(255, 255, 255, .85); margin-top: .1rem; }
.assurances strong { display: block; font-weight: 600; font-size: .95rem; }
.assurances span { font-size: .86rem; color: rgba(255, 255, 255, .65); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .assurances { grid-template-columns: 1fr; } }

/* Sections ----------------------------------------------------------------- */
.section { max-width: var(--max); margin: auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter); }
.section--tint { max-width: none; background: var(--tint); border-block: 1px solid var(--line); }
.section__inner { max-width: calc(var(--max) - 2 * var(--gutter)); margin: auto; }
.section__inner--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.section__inner--split .section__head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
.section__head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section__lede { margin: 1.1rem 0 0; font-size: 1.05rem; color: var(--muted); max-width: 36rem; }
.section__lede a { color: var(--navy); }
@media (max-width: 860px) {
  .section__inner--split { grid-template-columns: 1fr; }
  .section__inner--split .section__head { position: static; }
}

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 2.25rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s; }
.service:hover { background: var(--tint); }
.service .icon { color: var(--navy); margin-bottom: 1.25rem; }
.service h3 { margin-bottom: .85rem; }
.service ul { list-style: none; margin: 0; padding: 0; }
.service li { position: relative; padding: .3rem 0 .3rem 1.1rem; color: var(--muted); font-size: .95rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .95rem; width: .4rem; height: 1px; background: var(--navy-3); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

.support-band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem 3rem; align-items: center;
  margin-top: 3rem; padding: clamp(2rem, 4vw, 3rem); background: var(--navy); color: var(--white); border-radius: 2px;
}
.support-band h3 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; }
.support-band .eyebrow { margin-bottom: .6rem; }
.support-band > p { margin: 0; color: rgba(255, 255, 255, .78); }
@media (max-width: 760px) { .support-band { grid-template-columns: 1fr; } }

/* Destinations */
.destinations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.dest { display: flex; flex-direction: column; padding: 2.25rem 2rem; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--navy); }
.dest__label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: var(--faint); margin-bottom: 2.5rem; }
.dest h3 { font-size: 2rem; font-weight: 500; margin-bottom: .75rem; }
.dest p:not(.dest__label) { color: var(--muted); }
.dest .link-btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .destinations { grid-template-columns: 1fr; } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.step__num {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1.25rem;
  border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 600; font-size: .95rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.portal {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem 3.5rem; align-items: start;
  margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line);
}
.portal h3 { font-size: 1.75rem; margin-bottom: .75rem; }
.portal__intro p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .portal { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.matrix { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: .92rem; }
.matrix th, .matrix td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.matrix thead th { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--tint); }
.matrix tbody th { font-weight: 500; }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.yes, .no { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; }
.yes { color: var(--navy); font-weight: 600; }
.yes::before {
  content: ""; width: .9rem; height: .9rem; border-radius: 50%; background: var(--navy)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.no { color: var(--faint); }
.no::before { content: ""; width: .9rem; height: 1px; background: currentColor; }

/* Instagram band */
.insta { background: var(--white); border-top: 1px solid var(--line); }
.insta__inner {
  max-width: var(--max); margin: auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center;
}
.insta__logo { width: 7.5rem; height: 7.5rem; border-radius: 50%; box-shadow: 0 18px 40px -26px rgba(14, 32, 72, .55); }
.insta__copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .5rem; }
.insta__copy p:last-child { margin: 0; color: var(--muted); }
.insta__copy .eyebrow { margin-bottom: .5rem; }
@media (max-width: 760px) { .insta__inner { grid-template-columns: 1fr; justify-items: start; } }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.35rem 0; font-weight: 600; font-size: 1.02rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: .65rem; height: .65rem; margin-right: .3rem;
  border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
  transform: translateY(-25%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.faq details p { margin: 0 0 1.5rem; max-width: 40rem; color: var(--muted); }

/* Enquiry ------------------------------------------------------------------ */
.enquiry { background: var(--white); }
.enquiry__inner {
  max-width: var(--max); margin: auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.enquiry__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.enquiry__intro h2 { margin-bottom: 1.25rem; }
.enquiry__intro > p { color: var(--muted); }
.contact-box { margin-top: 2rem; padding: 1.75rem; background: var(--tint); border: 1px solid var(--line); }
.contact-box__title { font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
@media (max-width: 960px) {
  .enquiry__inner { grid-template-columns: 1fr; }
  .enquiry__intro { position: static; }
}

.wizard { background: var(--white); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 24px 50px -40px rgba(14, 32, 72, .45); }
.wizard__progress { margin-bottom: 2rem; }
.wizard__count { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .7rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wizard__count span:last-child { color: var(--navy); }
.wizard__bar { height: 3px; background: var(--line); overflow: hidden; border-radius: 3px; }
.wizard__bar span { display: block; height: 100%; width: 100%; background: var(--navy); transform-origin: left; transform: scaleX(0); transition: transform .45s var(--ease); }

.wizard__restored {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem;
  margin-bottom: 1.75rem; padding: .85rem 1.1rem; background: var(--tint); border-left: 2px solid var(--navy); font-size: .92rem;
}

.stage { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
.js .stage { margin-bottom: 0; animation: stage-in .35s var(--ease); }
@keyframes stage-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.stage legend { padding: 0; margin-bottom: 1.5rem; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 500; color: var(--navy); }
.stage__hint { color: var(--muted); margin: -.75rem 0 1.25rem; }
.stage:focus { outline: none; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 1.4rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: var(--text); }
.req { color: var(--navy-3); }
.opt { font-weight: 400; color: var(--faint); font-size: .8rem; margin-left: .2rem; }
.field__hint { font-size: .84rem; color: var(--muted); margin: -.2rem 0 .5rem; }

input:not([type="checkbox"]), select, textarea {
  width: 100%; padding: .8rem .95rem; background: var(--white); border: 1px solid var(--line-strong); border-radius: 2px;
  font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
select {
  padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e2048' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
textarea { resize: vertical; min-height: 6rem; }
input::placeholder, textarea::placeholder { color: #9aa2b1; }
input:not([type="checkbox"]):hover, select:hover, textarea:hover { border-color: #a9b3c4; }
input:not([type="checkbox"]):focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14, 32, 72, .12); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field__error { margin: .4rem 0 0; font-size: .84rem; color: var(--error); }

.affix { position: relative; }
.affix span { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.affix input { padding-left: 1.9rem !important; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: .8rem; height: 100%; padding: .85rem 1rem;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 2px; font-size: .95rem;
  transition: border-color .2s, background-color .2s;
}
.choice span::before {
  content: ""; flex: none; width: 1.05rem; height: 1.05rem; border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--white) center / 80% no-repeat; transition: background-color .2s, border-color .2s;
}
.choice:hover span { border-color: #a9b3c4; }
.choice input:checked + span { border-color: var(--navy); background: var(--tint); }
.choice input:checked + span::before {
  background-color: var(--navy); border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { outline: 2px solid var(--navy-3); outline-offset: 2px; }
.choice--radio span::before { border-radius: 50%; }
.choice--radio input:checked + span::before { background-image: radial-gradient(circle, var(--white) 0 32%, transparent 36%); }

/* Grouped questions and follow-ups inside a step */
.subgroup, .radio-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.subgroup { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.stage__hint + .subgroup { margin-top: 0; padding-top: 0; border-top: 0; }
.subgroup__title, .radio-group__legend { padding: 0; margin-bottom: .9rem; font-size: .85rem; font-weight: 600; color: var(--text); }
.subgroup__title { font-family: var(--display); font-size: 1.35rem; font-weight: 500; color: var(--navy); }
.subgroup__title .opt { font-family: var(--body); }
.subgroup > .field__hint { margin: -.4rem 0 .9rem; }
.choices--radio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.followups { margin-top: 1.3rem; }
.followups:not(:has(> .field:not([hidden]))) { margin-top: 0; }
.followups > .field { padding: 1rem 1.1rem; background: var(--tint); border-left: 2px solid var(--navy); animation: stage-in .3s var(--ease); }
.fields > .field[data-when] { animation: stage-in .3s var(--ease); }

.review { display: grid; gap: 1rem; margin-bottom: 2rem; }
.review__group { border: 1px solid var(--line); }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--tint); }
.review__head h3 { font-family: var(--body); font-size: .95rem; font-weight: 600; }
.review__head .link-btn { font-size: .72rem; }
.review dl { margin: 0; padding: .3rem 1.1rem; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.review dt, .review dd { margin: 0; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.review dt { color: var(--muted); padding-right: 1rem; }
.review dd { white-space: pre-line; overflow-wrap: anywhere; }
.review dl > :nth-last-child(-n+2) { border-bottom: 0; }
.review__empty { padding: .85rem 1.1rem; margin: 0; color: var(--faint); font-size: .9rem; }

.consent { display: flex !important; gap: .8rem; align-items: flex-start; font-size: .95rem !important; font-weight: 400 !important; cursor: pointer; }
.consent input { flex: none; width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; accent-color: var(--navy); }
.consent a { color: var(--navy); }

.wizard__error { margin: 1.5rem 0 0; padding: .85rem 1.1rem; background: #fbf1f0; border-left: 2px solid var(--error); color: var(--error); font-size: .92rem; }
.wizard__error a { color: inherit; }

.wizard__actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.wizard__actions [data-next], .wizard__actions [data-submit] { margin-left: auto; }

.btn__spinner { display: none; width: 1rem; height: 1rem; border: 1.5px solid rgba(255, 255, 255, .35); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
.is-sending .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .fields, .choices { grid-template-columns: 1fr; }
  .review dl { grid-template-columns: 1fr; }
  .review dt { border-bottom: 0; padding-bottom: 0; }
  .wizard__actions .btn { flex: 1; padding-inline: 1rem; }
}

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: .92rem; }
.site-footer__inner {
  max-width: var(--max); margin: auto; padding: clamp(3.5rem, 7vw, 4.5rem) var(--gutter) 2rem;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 2.5rem;
}
.site-footer__brand .brand { margin-bottom: 1rem; }
.site-footer__brand p { max-width: 22rem; }
.site-footer__tag { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--white); margin: 0; }
.site-footer__title { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer__list a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer__list a:hover { color: var(--white); text-decoration: underline; }
.site-footer__legal { grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 800px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* Simple pages (privacy, thank you, 404) ----------------------------------- */
.page { min-height: 100svh; display: flex; flex-direction: column; }
.page__header { border-bottom: 1px solid var(--line); }
.page__header-inner { max-width: var(--max); margin: auto; padding: 1.4rem var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.page__header-inner a:not(.brand) { font-size: .88rem; color: var(--navy); text-decoration: none; }
.page__header-inner a:not(.brand):hover { text-decoration: underline; }
.page__main { flex: 1; width: 100%; max-width: 48rem; margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) var(--gutter) 5rem; }
.page__main h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1.5rem; }
.page__main h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 600; margin: 2.5rem 0 .8rem; }
.page__main p, .page__main li { color: var(--muted); }
.page__main a { color: var(--navy); }
.page__lede { font-size: 1.15rem; }
.page__note { margin-top: 3rem; padding: 1.1rem 1.25rem; background: var(--tint); border-left: 2px solid var(--navy); font-size: .92rem; }
.page__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; }
.page__actions .btn { color: var(--white); }
.page__actions .btn--outline { color: var(--navy); }
.next-steps { list-style: none; padding: 0; margin: 2.5rem 0 0; counter-reset: s; border-top: 1px solid var(--line); }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 2.75rem 1fr; align-items: start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.next-steps li::before {
  content: counter(s); display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--navy); color: var(--white); font-size: .82rem; font-weight: 600;
}
.page__contact { margin-top: 2.5rem; padding: 1.5rem; background: var(--tint); border: 1px solid var(--line); }
.page__contact p:first-child { font-weight: 600; color: var(--navy); margin-bottom: .75rem; }

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