:root {
  --ink: #45494b;
  --ink-soft: #6d7476;
  --paper: #ffffff;
  --ground: #f3f3f3;
  --blue: #4f7890;
  --blue-deep: #355e74;
  --blue-pale: #eaf3f7;
  --line: #d8dfe2;
  --warm: #f4efe8;
  --alert: #a33f38;
  --container: 980px;
  --gutter: clamp(20px, 4vw, 42px);
  --shadow: 0 14px 34px rgba(60, 77, 84, 0.1);
  --ease: 220ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ground);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: #2f5f78; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d46c3f; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); background: #fff; color: #111; padding: 10px 14px; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }

.site-header { background: #fff; }
.header-inner {
  width: min(var(--container), 100% - 40px);
  min-height: 217px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 128px 89px;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; }
.header-inner > .brand { grid-column: 1; grid-row: 1; }
.brand-mark { width: 72px; height: 72px; padding: 10px; background: var(--blue-pale); color: var(--blue-deep); stroke: currentColor; stroke-width: 4; fill: none; }
.brand strong { display: block; color: #777; font-size: clamp(27px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.brand small { display: block; margin-top: 8px; color: #707577; font-size: 15px; font-weight: 700; }
.primary-nav { grid-column: 1 / -1; grid-row: 2; align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 0; border-top: 1px solid #eee; }
.primary-nav a { position: relative; padding: 10px 20px; color: #777; font-size: 15px; text-decoration: none; }
.primary-nav a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 18px; background: #ddd; transform: translateY(-50%); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--blue-deep); }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 4px; height: 2px; background: var(--blue); }
.header-cta { grid-column: 2; grid-row: 1; align-self: center; padding: 11px 16px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background var(--ease), transform var(--ease); }
.header-cta:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); }
.menu-toggle { display: none; grid-column: 2; grid-row: 1; width: 48px; height: 48px; border: 0; background: transparent; padding: 12px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

main { display: block; }
.canvas { width: min(var(--container), 100%); margin: 0 auto; background: #fff; }
.section { padding: 78px var(--gutter); }
.section--tight { padding-block: 52px; }
.section--blue { background: var(--blue); color: #fff; }
.section--pale { background: var(--blue-pale); }
.section--warm { background: var(--warm); }
.section--ground { background: var(--ground); }
.eyebrow { margin: 0 0 14px; color: var(--blue-deep); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.section--blue .eyebrow { color: #fff; opacity: 0.88; }
h1, h2, h3 { margin: 0 0 20px; color: #666d70; font-weight: 300; line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(42px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4.5vw, 50px); }
h3 { font-size: 24px; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue .lead { color: rgba(255, 255, 255, 0.92); }
.lead { max-width: 680px; margin: 0; color: #687073; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; }
.kicker { margin: 0; color: #697174; font-size: 19px; line-height: 1.7; }
.fine-print { color: var(--ink-soft); font-size: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--blue-deep); background: var(--blue-deep); color: #fff; font-weight: 700; text-decoration: none; transition: transform var(--ease), background var(--ease), color var(--ease); }
.button:hover { background: #355e74; color: #fff; transform: translateY(-2px); }
.button--secondary { background: transparent; color: var(--blue-deep); }
.button--secondary:hover { background: var(--blue-pale); color: #355e74; }
.button--light { border-color: #fff; background: #fff; color: var(--blue-deep); }
.button--light:hover { background: transparent; color: #fff; }
.text-link { font-weight: 700; }

.hero { position: relative; min-height: 520px; overflow: hidden; isolation: isolate; }
.hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 52% 48%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 40, 45, 0.86) 0%, rgba(31, 48, 54, 0.72) 44%, rgba(31, 48, 54, 0.12) 76%); }
.hero-content { width: 70%; padding: 48px var(--gutter) 52px; color: #fff; }
.hero .eyebrow, .hero h1, .hero .lead { color: #fff; }
.hero h1 { max-width: 660px; font-size: clamp(43px, 5.6vw, 56px); }
.hero .lead { max-width: 610px; color: rgba(255,255,255,0.94); font-size: 18px; line-height: 1.45; }
.concept-note { display: flex; gap: 16px; align-items: flex-start; padding: 24px var(--gutter); background: #fff; border-bottom: 1px solid var(--line); }
.concept-note svg { flex: 0 0 28px; color: var(--blue-deep); }
.concept-note p { margin: 0; color: #687073; font-size: 14px; }

.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.plain-list { margin: 22px 0 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 12px; border: 2px solid var(--blue); border-radius: 50%; }
.scope-card { padding: 30px; background: var(--blue-pale); border-left: 5px solid var(--blue); }
.scope-card h3 { font-size: 29px; }
.scope-card p:last-child { margin-bottom: 0; }

.process-band { padding: 38px var(--gutter); background: var(--blue); color: #fff; }
.process-band h2 { margin: 0; color: #fff; text-align: center; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.process-steps li { position: relative; padding: 40px 32px 34px; border-right: 1px solid rgba(255,255,255,0.46); }
.process-steps li:last-child { border-right: 0; }
.step-label { display: block; margin-bottom: 22px; color: var(--blue-deep); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.process-steps h3 { margin-bottom: 12px; color: #667074; font-size: 27px; }
.process-steps p { margin: 0; color: #747c7f; }

.dashboard { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.dashboard-panel { min-height: 230px; padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dashboard-panel h3 { margin-bottom: 8px; }
.dashboard-panel > p { margin-top: 0; color: var(--ink-soft); }
.appointment-list, .task-list { margin: 24px 0 0; padding: 0; list-style: none; }
.appointment-list li, .task-list li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.appointment-list span:first-child, .task-list span:first-child { color: var(--blue-deep); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.dashboard-caption { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: 13px; }

.photo-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; }
.photo-split figure { min-height: 470px; margin: 0; overflow: hidden; }
.photo-split img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-split-content { padding: 68px var(--gutter); background: #fff; }

.page-hero { padding: 92px var(--gutter) 80px; background: #fff; }
.page-hero .lead { max-width: 760px; }
.page-hero--blue { background: var(--blue); }
.page-hero--blue .eyebrow, .page-hero--blue h1, .page-hero--blue .lead { color: #fff; }
.page-hero--image { position: relative; min-height: 480px; display: flex; align-items: end; isolation: isolate; color: #fff; }
.page-hero--image img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30,47,54,.88), rgba(30,47,54,.2)); }
.page-hero--image .page-hero-content { width: 68%; padding: 72px var(--gutter); }
.page-hero--image h1, .page-hero--image .lead, .page-hero--image .eyebrow { color: #fff; }

.stage-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stage-tabs button { min-height: 90px; padding: 16px; border: 0; background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; }
.stage-tabs button span { display: block; margin-bottom: 5px; color: var(--blue-deep); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.stage-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.stage-tabs button[aria-selected="true"] span { color: #fff; }
.stage-panel { padding: 42px; background: var(--blue-pale); }
.stage-panel-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 50px; }
.stage-panel ol { margin: 0; padding-left: 20px; }
.stage-panel li { margin-bottom: 12px; }

.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.boundary-card { padding: 32px; border-top: 5px solid var(--blue); background: #fff; box-shadow: var(--shadow); }
.boundary-card--muted { border-top-color: #92999c; }
.boundary-card ul { margin-bottom: 0; padding-left: 20px; }

.checklist-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 38px; }
.checklist { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.checklist label { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.checklist input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue-deep); }
.tool-aside { align-self: start; position: sticky; top: 24px; padding: 28px; background: var(--blue-pale); }
.tool-aside strong { display: block; margin-bottom: 12px; color: var(--blue-deep); font-size: 20px; }
.tool-aside p { margin-top: 0; }
.tool-button { min-height: 44px; padding: 9px 15px; border: 1px solid var(--blue-deep); background: transparent; color: var(--blue-deep); font-weight: 700; cursor: pointer; }
.tool-button:hover { background: var(--blue-deep); color: #fff; }

.question-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; }
.question-groups { display: grid; gap: 18px; }
.question-group { padding: 26px; background: #fff; border: 1px solid var(--line); }
.question-group h3 { font-size: 24px; }
.question-chip { width: 100%; margin-top: 8px; padding: 11px 13px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.question-chip::before { content: "+"; display: inline-block; width: 24px; color: var(--blue-deep); font-weight: 700; }
.question-chip[aria-pressed="true"] { border-color: var(--blue-deep); background: var(--blue-pale); }
.question-chip[aria-pressed="true"]::before { content: "✓"; }
.question-output { align-self: start; position: sticky; top: 24px; padding: 30px; background: #fff; border-top: 6px solid var(--blue); box-shadow: var(--shadow); }
.question-output ol { padding-left: 22px; }
.question-output li { margin-bottom: 12px; }
.question-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.resource-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.resource-filters button { padding: 10px 16px; border: 1px solid var(--blue-deep); background: #fff; color: var(--blue-deep); cursor: pointer; }
.resource-filters button[aria-pressed="true"] { background: var(--blue-deep); color: #fff; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.resource-card { padding: 30px; background: #fff; border: 1px solid var(--line); }
.resource-card svg { width: 42px; height: 42px; color: var(--blue-deep); stroke: currentColor; fill: none; stroke-width: 1.8; }
.resource-card h3 { margin-top: 22px; }
.resource-card dl { display: grid; grid-template-columns: 108px 1fr; gap: 9px 16px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.resource-card dt { color: var(--blue-deep); font-weight: 700; }
.resource-card dd { margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 30px; background: #fff; border-top: 5px solid var(--blue); box-shadow: var(--shadow); }
.value-card b { display: block; margin-bottom: 14px; color: var(--blue-deep); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

.form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; }
.form-context { position: sticky; top: 24px; }
.form-card { padding: 40px; background: #fff; border-top: 6px solid var(--blue); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label, .field > span:first-child { display: block; margin-bottom: 7px; color: #5e6668; font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid #b9c2c6; background: #fff; color: var(--ink); padding: 13px 14px; }
.field input { min-height: 50px; }
.field textarea { min-height: 170px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--alert); box-shadow: 0 0 0 1px var(--alert); }
.field-note { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 13px; }
.field-error { min-height: 21px; margin: 5px 0 0; color: var(--alert); font-size: 13px; }
.consent-group { margin: 34px 0; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 13px; padding: 18px 0; border-top: 1px solid var(--line); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue-deep); }
.consent label { font-size: 14px; line-height: 1.55; }
.consent .field-error { grid-column: 2; margin: 0; }
.consent-meta { display: block; margin-bottom: 5px; color: var(--blue-deep); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.consent--external-meta > .consent-meta { grid-column: 2; grid-row: 1; }
.consent--external-meta > input { grid-column: 1; grid-row: 2; }
.consent--external-meta > label { grid-column: 2; grid-row: 2; }
.consent--external-meta > .field-error { grid-column: 2; grid-row: 3; }
.form-status { min-height: 28px; margin-top: 18px; color: var(--blue-deep); font-weight: 700; }
.form-card button[type="submit"] { min-width: 180px; min-height: 50px; border: 1px solid var(--blue-deep); background: var(--blue-deep); color: #fff; font-weight: 700; cursor: pointer; }
.form-card button[disabled] { opacity: .7; cursor: wait; }
.contact-details { margin-top: 32px; padding: 26px; background: var(--blue-pale); }
.contact-details address { font-style: normal; }

.legal-copy { max-width: 760px; }
.legal-copy .last-updated { margin: 0 0 42px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-soft); font-weight: 700; }
.legal-copy h2 { margin-top: 46px; font-size: 32px; }
.legal-copy p { margin: 0 0 20px; }
.legal-note { padding: 20px 24px; background: var(--warm); border-left: 4px solid #b79670; }
.not-found { min-height: 620px; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); }
.not-found .brand-mark { margin: 0 auto 28px; }

.site-footer { width: min(var(--container), 100%); margin: 0 auto; background: #fff; }
.footer-ribbon { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px var(--gutter); background: var(--blue); color: #fff; }
.footer-ribbon p { margin: 0; font-size: clamp(21px, 3vw, 30px); font-weight: 300; line-height: 1.25; }
.footer-ribbon a { flex: 0 0 auto; padding: 10px 14px; border: 1px solid #fff; color: #fff; font-weight: 700; text-decoration: none; }
.footer-main { display: grid; grid-template-columns: .9fr 1.4fr; gap: 60px; padding: 54px var(--gutter) 44px; background: var(--ground); }
.brand--footer .brand-mark { width: 58px; height: 58px; }
.brand--footer strong { font-size: 26px; }
.brand--footer small { font-size: 13px; }
.footer-brand p { font-size: 14px; }
.footer-brand address { margin-top: 22px; font-size: 14px; font-style: normal; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-nav h2 { margin-bottom: 15px; color: #6a7072; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-nav a { display: block; margin: 8px 0; color: #5f686b; font-size: 14px; }
.footer-disclaimer { padding: 28px var(--gutter); background: var(--ground); border-top: 1px solid #ddd; }
.footer-disclaimer p { max-width: 850px; margin: 0; color: #6d7476; font-size: 12px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px var(--gutter); border-top: 1px solid #eee; color: #687073; font-size: 12px; }
.footer-bottom p { margin: 0; }

[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .header-inner { min-height: 100px; grid-template-rows: auto; grid-template-columns: 1fr auto; padding: 15px 0; }
  .header-inner > .brand { grid-row: 1; }
  .brand-mark { width: 56px; height: 56px; }
  .brand strong { font-size: 26px; }
  .brand small { font-size: 12px; margin-top: 4px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; z-index: 50; top: 100px; left: 0; right: 0; display: none; align-items: stretch; padding: 12px 20px 24px; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 12px; }
  .primary-nav a + a::before { display: none; }
  .primary-nav a[aria-current="page"]::after { left: 12px; right: auto; width: 28px; bottom: 5px; }
  .hero { min-height: 580px; }
  .hero-content { width: 76%; }
  .hero::after { background: linear-gradient(90deg, rgba(26,40,45,.9), rgba(26,40,45,.42)); }
  .intro-grid, .dashboard, .photo-split, .stage-panel-grid, .checklist-shell, .question-layout, .form-layout { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .dashboard-caption { grid-column: auto; }
  .photo-split figure { min-height: 380px; }
  .photo-split-content { padding-block: 52px; }
  .tool-aside, .question-output, .form-context { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  :root { --gutter: 22px; }
  .header-inner { width: min(100% - 28px, var(--container)); }
  .brand { gap: 10px; }
  .brand-mark { width: 46px; height: 46px; padding: 7px; }
  .brand strong { font-size: 22px; }
  .brand small { max-width: 210px; font-size: 11px; line-height: 1.25; }
  .section { padding-block: 58px; }
  .hero { min-height: 650px; display: flex; align-items: end; }
  .hero img { object-position: 64% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(26,40,45,.95) 0%, rgba(26,40,45,.72) 56%, rgba(26,40,45,.14) 100%); }
  .hero-content { width: 100%; padding-top: 210px; }
  .hero h1 { font-size: 43px; }
  .hero .lead { font-size: 18px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .concept-note { flex-direction: column; }
  .process-band h2 { text-align: left; }
  .page-hero { padding-block: 66px 56px; }
  .page-hero--image { min-height: 560px; }
  .page-hero--image .page-hero-content { width: 100%; padding-top: 220px; }
  .stage-tabs { grid-template-columns: 1fr; }
  .stage-tabs button { min-height: 70px; text-align: left; }
  .stage-panel { padding: 28px 22px; }
  .boundary-grid, .resource-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 28px 22px; }
  .footer-ribbon { align-items: flex-start; flex-direction: column; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-nav > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .button-row, .question-groups, .question-actions, .resource-filters { display: none !important; }
  body, .canvas, .section, .question-output { background: #fff !important; box-shadow: none !important; }
  .question-layout { display: block; }
  .question-output { border-top: 0; padding: 0; }
}
