/* DDA Lifeline Solutions — site styles
   Concept: the lighthouse at night. A navy harbour band opens the page and a
   single gold lifeline (the beam-into-heartbeat from the logo) crosses it.
   Everything after the hero stays quiet: white and fog surfaces, navy type,
   teal for interaction, gold kept for the beam and the primary action. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.825fabef695f.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-italic.740db8084ae9.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin-400-normal.de140f3124a8.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Palette — sampled from the logo */
  --harbor: #0b2f57;        /* navy: hero, headings, primary button */
  --harbor-deep: #082544;   /* footer */
  --tide: #0e6a80;          /* teal: links, icons, focus on light (6.2:1 on white) */
  --beam: #dca543;          /* gold: the lifeline + primary CTA on navy; never text on light */
  --beam-text: #8a5f12;     /* gold for small text on light (5.6:1) */
  --white: #ffffff;
  --fog: #eef3f6;           /* cool light surface */
  --ink: #13253b;
  --slate: #475a6e;
  --rule: #c9d6e1;
  --field: #758a9f;         /* form control boundary (3.5:1) */
  --error: #b42318;
  --error-tint: #fdecea;
  --success: #116149;
  --success-tint: #e7f5ef;

  --font-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;

  /* Type scale (≈ 1.25 ratio from an 18px base) */
  --step--1: .889rem;
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.5rem);
  --step-4: clamp(2.6rem, 1.5rem + 4.2vw, 4.6rem);

  --measure: 34em;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-pad: clamp(4rem, 8vw, 7rem);
  --max: 1200px;
  --header-h: 88px;
  --focus: var(--tide);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0; color: var(--harbor); font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--tide); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--harbor); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1.1rem;
  background: var(--harbor); color: var(--white);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); --focus: var(--beam); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: .85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font: 700 var(--step-0)/1.2 var(--font-text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--block { width: 100%; }
.btn--primary { background: var(--harbor); color: var(--white); }
.btn--primary:hover { background: var(--harbor-deep); color: var(--white); }
.btn--beam { background: var(--beam); color: var(--harbor); }
.btn--beam:hover { background: #e8b95e; color: var(--harbor); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); /* solid: the JPEG logo's white background must blend in */
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand__logo { width: 176px; height: auto; }
.brand__text { font: 400 1.3rem/1 var(--font-display); color: var(--harbor); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav__list { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.site-nav__list a {
  display: block; padding: .6rem .75rem;
  color: var(--harbor); font-weight: 600; font-size: 1rem; text-decoration: none;
}
.site-nav__list a:hover { color: var(--tide); text-decoration: underline; text-decoration-thickness: 2px; }
.site-nav__cta { min-height: 46px; padding: .6rem 1.15rem; font-size: 1rem; }

.nav-toggle {
  display: none; align-items: center; gap: .55rem;
  min-height: 44px; padding: .5rem .9rem;
  border: 1.5px solid var(--harbor); border-radius: 4px;
  background: var(--white); color: var(--harbor);
  font: 700 1rem var(--font-text); cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
  :root { --header-h: 72px; }
  .brand__logo { width: 138px; }

  /* Without JavaScript the menu simply stays visible under the logo. */
  .site-header__inner { flex-wrap: wrap; }
  .js .site-header__inner { flex-wrap: nowrap; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: .75rem; padding-bottom: .75rem; }
  .site-nav__list { flex-wrap: wrap; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav__list { flex-direction: column; }
  .js .site-nav__list a { padding: .9rem 0; font-size: var(--step-0); border-bottom: 1px solid var(--fog); }
  .js .site-nav__cta { width: 100%; min-height: 52px; }
}

/* ── Hero: the harbour at night ─────────────────────────────────────── */
.hero {
  --focus: var(--beam);
  position: relative;
  background: var(--harbor);
  color: var(--white);
  overflow: hidden;
}

/* The lifeline: drawn once when the page opens. */
.lifeline { width: 100%; height: 48px; margin-top: clamp(1.5rem, 4vw, 3rem); }
.lifeline path {
  fill: none; stroke: var(--beam); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .lifeline path { animation: lifeline-draw 1.6s cubic-bezier(.45, 0, .2, 1) .15s both; }
  @keyframes lifeline-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

/* Copy aligns with the page container; the photograph runs off the right edge. */
.hero__inner {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [copy-start] minmax(0, calc(var(--max) * .47 - var(--gutter)))
    [copy-end] clamp(2rem, 5vw, 4.5rem)
    [media-start] minmax(0, calc(var(--max) * .53 - var(--gutter) - clamp(2rem, 5vw, 4.5rem)))
    minmax(var(--gutter), 1fr) [full-end];
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 4.5rem);
}
.hero__copy { grid-column: copy-start / copy-end; }
.hero__media { grid-column: media-start / full-end; }

.hero__heading {
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero__text {
  max-width: 30em;
  margin-top: 1.5rem;
  color: #dbe6f0;          /* 10.6:1 on navy */
  font-size: var(--step-1);
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.hero__link { color: var(--white); font-weight: 700; text-decoration: underline; text-decoration-color: var(--beam); text-decoration-thickness: 2px; }
.hero__link:hover { color: var(--beam); }

.hero__media picture { display: block; background: var(--harbor-deep); border-radius: 4px 0 0 4px; overflow: hidden; }
.hero__img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }

@media (max-width: 959px) {
  .hero__inner {
    grid-template-columns: [full-start] var(--gutter) [copy-start media-start] minmax(0, 1fr) [copy-end] var(--gutter) [full-end];
    row-gap: 2.5rem;
  }
  .hero__media { grid-column: media-start / copy-end; }
  .hero__media picture { border-radius: 4px; }
  .hero__img { aspect-ratio: 19 / 13; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding-block: var(--section-pad); }
.section-head { max-width: var(--measure); margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-heading {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.12;
  text-wrap: balance;
}
.section-lead { max-width: var(--measure); margin-top: 1rem; color: var(--slate); font-size: var(--step-1); line-height: 1.55; }
.rich-text ul, .rich-text ol { padding-left: 1.25rem; }

/* Introduction: one large statement, set in the display face. */
.intro__inner > * { max-width: 920px; }
.intro__heading {
  margin-bottom: 1.25rem;
  color: var(--tide);
  font-family: var(--font-text);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.3;
}
.intro__text {
  color: var(--harbor);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.3vw, 2rem);
  line-height: 1.42;
}

/* Services: a quiet list, not a grid of cards. */
.services { background: var(--fog); }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
  margin: 0; padding: 0; list-style: none;
}
.service {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.75rem 2rem;
  border-top: 2px solid var(--harbor);
}
.service__icon { color: var(--tide); padding-top: .2rem; }
.service__icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.22; }
.service__text { margin-top: .6rem; color: var(--slate); }
@media (max-width: 719px) {
  .service-list { grid-template-columns: 1fr; }
  .service { grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; }
  .service__icon svg { width: 34px; height: 34px; }
}

.services__prompt {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.75rem;
  border-top: 2px solid var(--harbor);
}
.services__prompt p { max-width: 36em; margin: 0; font-size: var(--step-1); color: var(--harbor); }

/* About */
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: baseline;
}
.about__text { max-width: var(--measure); font-size: var(--step-1); line-height: 1.65; }
@media (max-width: 799px) { .about__inner { grid-template-columns: 1fr; } }

/* Who's behind the service */
.team { padding-top: 0; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4.5rem); margin: 0; padding: 0; list-style: none; }
.person { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.person__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.person__photo--initials {
  display: grid; place-items: center;
  background: var(--harbor); color: var(--beam);
  font-family: var(--font-display); font-size: 2.2rem; line-height: 1;
}
.person__name { font-family: var(--font-display); font-size: var(--step-2); }
.person__role { margin: .35rem 0 0; color: var(--tide); font-weight: 700; }
.person__credentials { margin: .2rem 0 0; color: var(--slate); }
.person__bio { margin-top: .9rem; max-width: var(--measure); }
@media (max-width: 479px) {
  .person { grid-template-columns: 1fr; gap: 1rem; }
  .person__photo { width: 88px; height: 88px; }
  .person__photo--initials { font-size: 1.8rem; }
}

/* Mission & vision — back under the night sky. */
.purpose { --focus: var(--beam); background: var(--harbor); color: var(--white); }
.purpose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.purpose__item { padding-block: .25rem; padding-inline: 0 clamp(2rem, 5vw, 4.5rem); }
.purpose__item + .purpose__item { padding-inline: clamp(2rem, 5vw, 4.5rem) 0; border-left: 1px solid var(--beam); }
.purpose__label { margin-bottom: 1.1rem; color: var(--beam); font-family: var(--font-text); font-size: var(--step-0); font-weight: 700; }
.purpose__text { color: var(--white); font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.38; }
@media (max-width: 799px) {
  .purpose__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .purpose__item, .purpose__item + .purpose__item { padding-inline: 0; border-left: 0; }
  .purpose__item + .purpose__item { padding-top: 2.5rem; border-top: 1px solid var(--beam); }
}

/* Consultation */
.consultation__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.consultation__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 899px) {
  .consultation__inner { grid-template-columns: 1fr; }
  .consultation__intro { position: static; }
}
.contact-list { margin: 2rem 0 0; display: grid; gap: .75rem; }
.contact-list div { display: grid; grid-template-columns: 6rem 1fr; }
.contact-list dt { color: var(--slate); font-weight: 700; }
.contact-list dd { margin: 0; }

.next-steps__title { margin-top: 2.25rem; margin-bottom: .75rem; font-family: var(--font-text); font-size: var(--step-0); font-weight: 700; }
.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: .9rem; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; align-items: baseline; }
.next-steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--harbor); color: var(--white); font-weight: 700; font-size: 1rem;
}
.response-time { margin-top: 1.5rem; padding-left: 1rem; border-left: 4px solid var(--beam); color: var(--harbor); font-weight: 700; }
.service-area { margin-top: 1.25rem; color: var(--slate); }

.form-panel { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--fog); border-radius: 6px; }
.consult-form__title { margin-bottom: 1.25rem; font-family: var(--font-display); font-size: var(--step-2); }

.privacy-note {
  display: flex; gap: .75rem; align-items: flex-start;
  margin: 0 0 1.5rem; padding: 1rem 1.1rem;
  background: var(--white);
  border-left: 4px solid var(--beam);
  color: var(--ink);
  font-size: 1rem; line-height: 1.5;
}
.privacy-note svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--beam-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-required-note { margin-bottom: 1.25rem; color: var(--slate); font-size: 1rem; }
.form-required-note span, .req { color: var(--error); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.75rem; }
.field--service, .field--message { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; margin-bottom: .4rem; color: var(--harbor); font-weight: 700; }
.field .optional { margin-left: .3rem; color: var(--slate); font-weight: 400; }
.field__help { margin: -.15rem 0 .45rem; color: var(--slate); font-size: 1rem; }
.field__error { margin: 0 0 .45rem; color: var(--error); font-weight: 700; font-size: 1rem; }

.field input, .field select, .field textarea {
  width: 100%; min-height: 52px;
  padding: .75rem .9rem;
  border: 1.5px solid var(--field); /* 3.5:1 — WCAG 1.4.11 */
  border-radius: 4px;
  background: var(--white); color: var(--ink);
  font: inherit; font-size: var(--step-0);
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2f57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--harbor); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--tide); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); border-width: 2px; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { display: flex; gap: .85rem; margin-bottom: 1.5rem; padding: 1rem 1.15rem; border-left: 4px solid; }
.notice__icon { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice__title { margin-bottom: .2rem; color: inherit; font-family: var(--font-text); font-size: var(--step-0); font-weight: 700; }
.notice p { margin-bottom: .25rem; }
.notice__list { margin: .4rem 0 0; padding-left: 1.1rem; }
.notice__list a { color: inherit; }
.notice--success { color: var(--success); background: var(--success-tint); }
.notice--error { color: var(--error); background: var(--error-tint); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { --focus: var(--beam); background: var(--harbor-deep); color: #c9d6e3; font-size: 1rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--beam); text-decoration: underline; }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 7vw, 4.5rem) 2.5rem;
}
.site-footer__logo { display: inline-block; padding: .85rem 1rem; margin-bottom: 1.25rem; background: var(--white); border-radius: 4px; }
.site-footer__logo img { width: 190px; }
.site-footer__tagline { color: var(--beam); font-family: var(--font-display); font-size: var(--step-1); }
.site-footer__heading { margin-bottom: 1rem; color: var(--white); font-family: var(--font-text); font-size: 1rem; font-weight: 700; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.social-links { margin-top: 1.25rem !important; display: flex !important; flex-wrap: wrap; gap: .5rem 1.25rem !important; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #b8c7d6; font-size: .95rem;
}
.site-footer__legal { display: flex !important; flex-wrap: wrap; gap: .5rem 1.5rem !important; }
.site-footer__legal a { color: #dbe6f0; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); }

/* ── Text pages (privacy, accessibility) ────────────────────────────── */
.text-page__header { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); background: var(--harbor); color: var(--white); }
.text-page__title { color: var(--white); font-family: var(--font-display); font-size: var(--step-4); line-height: 1.05; }
.text-page__intro { max-width: var(--measure); margin-top: 1rem; color: #dbe6f0; font-size: var(--step-1); }
.text-page__body { max-width: 40em; padding-block: clamp(2.5rem, 6vw, 4rem) 1rem; }
.text-page__body h2 { margin: 2.25rem 0 .75rem; font-family: var(--font-display); font-size: var(--step-2); }
.text-page__body h3 { margin: 1.75rem 0 .5rem; font-size: var(--step-1); font-weight: 700; }
.text-page__back { padding-bottom: var(--section-pad); }

@media (max-width: 799px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 479px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ── Error page ─────────────────────────────────────────────────────── */
.error-page { text-align: center; }
.error-page .btn { margin-top: 1rem; }

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

/* ── Forced colours (Windows high contrast) ─────────────────────────── */
@media (forced-colors: active) {
  .btn { border-color: ButtonText; }
  .lifeline path { stroke: CanvasText; }
  .form-panel { border: 1px solid CanvasText; }
}

@media print {
  .site-header, .nav-toggle, .hero__actions, .form-panel, .lifeline { display: none !important; }
  .hero, .purpose { background: none; color: #000; }
  .hero__heading, .purpose__text { color: #000; }
}
