/* IRIS website V1. One stylesheet for every page.
   Colors and type come from the "IRIS Site - Slate" design mockup. */

/* Fonts are served from this site's own fonts folder, so a visitor's browser never
   contacts a third party. All three are licensed under the SIL Open Font License. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 400; font-display: swap; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 400; font-display: swap; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("../fonts/jost.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono.woff2") format("woff2"); }

:root {
  --slate: #6C8299;       /* main brand background */
  --slate-light: #7C90A6; /* input fill on slate */
  --slate-line: #93A6B7;  /* borders on slate */
  --ink: #1D2A3A;         /* dark navy text and buttons */
  --paper: #FBFCFE;       /* light page background */
  --white: #FFFFFF;
  --pale: #E6E8F1;        /* light button fill */
  --amber: #E9A268;       /* accent and hover */
  --amber-tint: #FDF3EB;
  --sky: #99C8E7;         /* italic headline accent */
  --line: #DCE3EA;        /* borders on light */
  --text: #4A5663;        /* body text on light */
  --muted: #6A7684;
  --faint: #8C97A3;
  --on-slate: #DCE4EB;    /* body text on slate */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4.5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--slate);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 300; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- shared pieces ---------- */

.btn {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; text-align: center;
  border-radius: 999px; border: 1px solid transparent;
  padding: 16px 34px; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-small { padding: 11px 26px; }
.btn-large { padding: 18px 40px; }
.btn-block { display: block; width: 100%; }
.btn-pale { background: var(--pale); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-pale:hover, .btn-dark:hover { background: var(--amber); color: var(--ink); }
.btn-outline-light { color: var(--white); border-color: var(--slate-line); background: transparent; }
.btn-outline-light:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-outline-dark { color: var(--ink); border-color: #C7D3DE; background: transparent; }
.btn-outline-dark:hover { border-color: var(--amber); color: #B5651D; }

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
}
.eyebrow-amber { color: #C77A35; }
.display { font-family: var(--serif); font-weight: 300; line-height: 1.03; letter-spacing: -0.01em; color: var(--ink); }
.lede { font-size: 16px; line-height: 1.75; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px var(--gutter); background: var(--slate);
}
.topbar .logo img { height: 23px; width: auto; }
.topbar-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.code-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--amber-tint); }

.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap;
  padding: 24px var(--gutter);
  background: var(--slate); border-top: 1px solid #7E92A6;
  color: var(--white); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.site-footer .wordmark { font-size: 12px; letter-spacing: 0.34em; }
.site-footer .tagline { color: #D3DEE8; letter-spacing: 0.2em; }
.site-footer nav { display: flex; gap: 10px 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.site-footer a:hover { border-bottom-color: var(--amber); }

/* The eye mark with an orbiting dot */
.orbit { position: relative; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.orbit::before { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 1px solid #8397AB; }
.orbit .dot-track { position: absolute; inset: 0; animation: iris-orbit 18s linear infinite; }
.orbit .dot-track::before {
  content: ""; position: absolute; top: -5px; left: 50%; margin-left: -5px;
  width: 10px; height: 10px; border-radius: 999px; background: var(--amber);
}
.orbit img { width: 65%; position: relative; }
.orbit-on-light::before { border-color: var(--line); }

@keyframes iris-orbit { to { transform: rotate(360deg); } }
@keyframes iris-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes iris-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes iris-blink { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0); } }
@keyframes iris-out { to { opacity: 0; transform: scale(1.1); } }

/* ---------- form controls ---------- */

.field { display: flex; flex-direction: column; gap: 10px; }
.field > label, .field > .label { font-size: 15px; line-height: 1.55; color: var(--ink); }
.field .num { font-family: var(--mono); font-size: 11px; color: #8E99A6; margin-right: 10px; }
.field .optional { color: var(--faint); }
.field .hint { font-size: 13px; line-height: 1.6; color: var(--muted); }
.input, .textarea {
  width: 100%; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  padding: 14px 16px; outline: none;
}
.textarea { min-height: 92px; resize: vertical; line-height: 1.65; }
.input:focus, .textarea:focus { border-color: var(--slate); background: var(--white); }
.input::placeholder { color: #A8B2BD; }
.field-error { font-size: 13px; color: #A8501A; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block; font-size: 13.5px; line-height: 1.4; padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chip:hover span { border-color: var(--amber); }
.chip input:checked + span { border-color: var(--amber); background: var(--amber-tint); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 11px; font-size: 15px; line-height: 1.55; color: var(--ink); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.65; color: var(--text); }
.consent input { margin: 4px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--ink); }
.consent a { color: var(--ink); }

.preview-note {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.6; letter-spacing: 0.04em;
  border: 1px dashed var(--amber); padding: 12px 16px; max-width: 520px;
}

/* ---------- landing page (index.html) ---------- */

.view-slate { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--slate); }
.view-slate .topbar { padding-top: 34px; padding-bottom: 34px; }

.hero {
  flex: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  padding: 24px var(--gutter) 56px;
}
.hero-copy { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.hero .kicker { font-size: 11px; letter-spacing: 0.24em; color: #D3DEE8; text-transform: uppercase; }
.hero h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 6.4vw, 88px);
  line-height: 0.98; letter-spacing: -0.015em; color: var(--white);
}
.hero h1 span { display: block; }
.hero h1 em { display: block; color: var(--sky); }
.hero p { font-size: 17px; line-height: 1.7; color: var(--on-slate); max-width: 420px; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark .orbit { width: min(380px, 34vw); aspect-ratio: 1; }

.center-stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px var(--gutter) 64px; }
.code-card { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.code-card h1, .sent-card h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 50px); line-height: 1.04; color: var(--white); }
.code-card p, .sent-card p { font-size: 15px; line-height: 1.7; color: var(--on-slate); }
.code-card form { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.code-input {
  width: 100%; font-family: var(--mono); font-size: 18px; letter-spacing: 0.18em; text-align: center;
  color: var(--white); background: var(--slate-light); border: 1px solid var(--slate-line); border-radius: 999px;
  padding: 19px 24px; outline: none;
}
.code-input::placeholder { color: #C3CEDA; letter-spacing: 0.1em; }
.code-input:focus { border-color: var(--amber); }
.code-error { color: var(--amber-tint); font-size: 14px; line-height: 1.6; }
.code-card .small { font-size: 13px; color: #D3DEE8; }
.code-card .small a { color: var(--white); }
.sent-card { max-width: 480px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; animation: iris-fade-in 0.7s ease-out both; }
.sent-card .preview-note { color: var(--white); text-align: left; }

.view-paper { background: var(--paper); animation: iris-fade-in 0.5s ease-out both; }
.inquiry { display: grid; grid-template-columns: 1fr 380px; }
.inquiry-main { padding: 72px var(--gutter) 88px; }
.inquiry-form { max-width: 620px; display: flex; flex-direction: column; gap: 34px; }
.inquiry-head { display: flex; flex-direction: column; gap: 14px; }
.inquiry-head h1 { font-size: clamp(38px, 5vw, 52px); }
.aside-slate { background: var(--slate); color: var(--white); padding: 72px 44px; display: flex; flex-direction: column; gap: 30px; }
.aside-slate section { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.7; }
.aside-slate section + section { border-top: 1px solid var(--slate-line); padding-top: 30px; }
.aside-slate .eyebrow { color: var(--pale); font-size: 10.5px; }

/* code unlock overlay */
.unlock {
  position: fixed; inset: 0; z-index: 90; background: var(--slate);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  animation: iris-fade-in 0.3s ease-out both;
}
.unlock img { width: 220px; animation: iris-blink 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }
.unlock .rule { width: 240px; height: 1px; background: var(--pale); }
.unlock-text { text-align: center; display: flex; flex-direction: column; gap: 12px; animation: iris-rise 0.9s ease-out 0.9s both; }
.unlock-text strong { font-family: var(--serif); font-weight: 300; font-size: 46px; color: var(--white); }
.unlock-text span { font-size: 11px; letter-spacing: 0.24em; color: var(--pale); }
.unlock.leaving { animation: iris-out 0.5s ease-in both; }

/* ---------- potential client page (prospect.html) ---------- */

.prospect-body { background: var(--paper); }
.prospect { display: grid; grid-template-columns: 268px 1fr; align-items: start; min-height: 80vh; }
.side {
  background: var(--white); border-right: 1px solid var(--line);
  position: sticky; top: 0; min-height: 100vh; padding: 40px 0;
  display: flex; flex-direction: column; gap: 4px;
}
.side .eyebrow { padding: 0 28px 14px; }
.side a.nav {
  font-size: 15px; padding: 13px 28px; text-decoration: none; color: var(--muted);
  border-left: 2px solid transparent;
}
.side a.nav:hover { color: var(--ink); }
.side a.nav[aria-current="true"] { color: var(--ink); background: var(--paper); border-left-color: var(--amber); }
.side .line-box { margin: 26px 28px 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.side .line-box .eyebrow { padding: 0; }
.line-number { font-family: var(--mono); font-size: 13px; color: var(--ink); text-transform: uppercase; }
.side .line-box p { font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.panel { padding: 68px var(--gutter) 80px; animation: iris-fade-in 0.4s ease-out both; }
.panel-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 44px; }
.panel-head h1 { font-size: clamp(34px, 4.2vw, 48px); }

.welcome-top {
  margin: -68px calc(var(--gutter) * -1) 0; padding: 76px var(--gutter) 60px;
  background: var(--white); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center;
}
.welcome-copy { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.welcome-copy h1 { font-size: clamp(40px, 5vw, 56px); }
.welcome-top .orbit { width: 200px; height: 200px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.steps3 { padding-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h2, .card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); }
.card p { font-size: 13.5px; line-height: 1.7; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.person { background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; }
.person .photo { background: #EDF1F5; min-height: 260px; display: flex; align-items: center; justify-content: center; }
.person .photo img.portrait { width: 100%; height: 100%; object-fit: cover; }
.person .photo img.mark { width: 84px; opacity: 0.9; }
.person .bio { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.person h2 { font-family: var(--serif); font-weight: 400; font-size: 27px; color: var(--ink); }
.person .role { font-size: 13px; line-height: 1.5; font-style: italic; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.person p { font-size: 13.5px; line-height: 1.75; }
.callout { grid-column: 1 / -1; background: var(--white); border: 1px solid var(--line); border-left: 2px solid var(--amber); padding: 30px 34px; font-size: 15px; line-height: 1.7; }

/* expandable cards: capabilities and the four stops */
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
details.fold { background: var(--white); border: 1px solid var(--line); transition: border-color 0.3s ease; }
details.fold[open] { border-color: var(--amber); }
details.fold summary { list-style: none; cursor: pointer; padding: 32px; display: flex; flex-direction: column; gap: 11px; position: relative; }
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary::after {
  content: "+"; position: absolute; top: 30px; right: 32px;
  font-family: var(--mono); font-size: 20px; line-height: 1; color: var(--faint);
}
details.fold[open] summary::after { content: "\2013"; color: var(--amber); }
details.fold summary h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); padding-right: 30px; }
details.fold summary p { font-size: 14px; line-height: 1.75; }
details.fold .more {
  margin: 0 32px 32px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.75;
  animation: iris-unfold 1.2s ease both;
}
/* How slowly the boxes open. Change 0.9s and 1.2s (above) to taste. */
@keyframes iris-unfold { from { opacity: 0; transform: translateY(10px); } 35% { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details.fold::details-content { height: 0; overflow: clip; transition: height 0.9s ease, content-visibility 0.9s allow-discrete; }
  details.fold[open]::details-content { height: auto; }
}
.q-followup { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.q-followup h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); }
.q-followup > p { font-size: 14.5px; line-height: 1.7; margin-top: -12px; }
details.fold ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 1.6; }
details.fold li { padding-left: 20px; position: relative; }
details.fold li::before { content: "\2013"; position: absolute; left: 0; }

.journey { max-width: 1000px; display: flex; flex-direction: column; gap: 44px; position: relative; padding-top: 30px; padding-bottom: 46px; }
.journey::before { content: ""; position: absolute; top: 0; bottom: 12px; left: 0; border-left: 1.5px dashed #C7D3DE; }
.journey::after { content: ""; position: absolute; bottom: 0; left: -6px; width: 13px; height: 13px; border-radius: 999px; background: var(--amber); }
details.stop { position: relative; }
details.stop::before {
  content: ""; position: absolute; left: -10px; top: 42px; width: 18px; height: 18px; border-radius: 999px;
  background: var(--paper); border: 2px solid #C7D3DE; transition: background 0.3s ease, border-color 0.3s ease;
}
details.stop[open]::before { background: var(--amber); border-color: var(--amber); }
details.stop summary { padding: 30px 34px; }
details.stop summary .ordinal { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); }
details.stop summary h2 { font-size: 29px; }
details.stop .more { margin: 0 34px 30px; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.two-up div { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 1.7; }
.two-up .eyebrow { font-size: 10px; }
.privacy-card { margin-top: 38px; max-width: 900px; }
.privacy-card p { font-size: 14.5px; line-height: 1.75; }

.questions { display: grid; grid-template-columns: 200px 1fr; gap: 44px; align-items: start; }
.rail { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 24px; }
.rail button {
  font-size: 14.5px; text-align: left; padding: 11px 14px; cursor: pointer;
  border: 0; border-left: 2px solid var(--line); background: transparent; color: var(--muted);
}
.rail button[aria-current="true"] { border-left-color: var(--amber); color: var(--ink); background: var(--white); }
.q-card { background: var(--white); border: 1px solid var(--line); padding: 40px 44px 36px; }
.q-part { display: flex; flex-direction: column; gap: 30px; }
.q-part h2 { font-family: var(--serif); font-size: 36px; color: var(--ink); margin-top: -22px; }
.q-foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.submitted { max-width: 720px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; padding-top: 40px; }
.submitted img { width: 84px; }
.submitted h1 { font-size: clamp(36px, 4.4vw, 50px); }

.contact { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; max-width: 620px; align-items: stretch; }
.contact-form h1 { font-size: clamp(34px, 4.2vw, 48px); }
.contact-form .btn { align-self: flex-start; }
.contact .aside-slate { padding: 32px; gap: 22px; }
.contact .aside-slate section + section { padding-top: 22px; }
.contact .line-number { color: var(--white); font-size: 14px; }

.site-footer .confidential { font-family: var(--mono); letter-spacing: 0.28em; }

/* ---------- privacy policy (privacy.html) ---------- */

.legal-body { background: var(--paper); }
.legal { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter) 96px; font-size: 16px; line-height: 1.75; }
.legal header { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.legal h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 54px); line-height: 1.03; color: var(--ink); }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 29px; line-height: 1.15; color: var(--ink); margin: 48px 0 14px; scroll-margin-top: 24px; }
.legal h3 { font-family: var(--sans); font-weight: 500; font-size: 16px; color: var(--ink); margin: 26px 0 8px; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--ink); }
.legal .toc { background: var(--white); border: 1px solid var(--line); padding: 22px 26px; font-size: 14.5px; }
.legal .toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .key { background: var(--white); border: 1px solid var(--line); border-left: 2px solid var(--amber); padding: 20px 24px; margin: 16px 0; color: var(--ink); }

/* ---------- smaller screens ---------- */

@media (max-width: 1100px) {
  .people { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (min-width: 1200px) {
  /* the staggered path from the mockup */
  .journey::before { display: none; }
  .journey::after { left: 294px; }
  .stop-1 { margin-left: 70px; width: 730px; }
  .stop-2 { margin-left: 250px; width: 600px; }
  .stop-3 { margin-left: 120px; width: 670px; }
  .stop-4 { margin-left: 300px; width: 570px; }
  details.stop::after { content: ""; position: absolute; left: -1px; top: -45px; height: 44px; border-left: 1.5px dashed #C7D3DE; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .hero-mark { order: -1; justify-content: flex-start; }
  .hero-mark .orbit { width: 150px; }
  .inquiry { grid-template-columns: 1fr; }
  .inquiry-main { padding-top: 48px; padding-bottom: 56px; }
  .aside-slate { padding: 44px var(--gutter); }
  .prospect { grid-template-columns: 1fr; }
  .side {
    position: sticky; top: 0; z-index: 5; min-height: 0; padding: 0;
    flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .side .eyebrow, .side .line-box { display: none; }
  .side a.nav { white-space: nowrap; padding: 16px 18px; border-left: 0; border-bottom: 2px solid transparent; }
  .side a.nav[aria-current="true"] { border-bottom-color: var(--amber); }
  .panel { padding-top: 44px; padding-bottom: 60px; }
  .welcome-top { margin-top: -44px; grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 44px; }
  .welcome-top .orbit { display: none; }
  .steps3 { grid-template-columns: 1fr; }
  .questions { grid-template-columns: 1fr; gap: 20px; }
  .rail { position: static; flex-direction: row; overflow-x: auto; }
  .rail button { white-space: nowrap; border-left: 0; border-bottom: 2px solid var(--line); }
  .rail button[aria-current="true"] { border-bottom-color: var(--amber); }
  .q-card { padding: 28px 22px; }
  .two-up { grid-template-columns: 1fr; }
  .journey { padding-left: 4px; }
  .legal .toc ol { columns: 1; }
}
@media (max-width: 560px) {
  .person { grid-template-columns: 1fr; }
  .person .photo { min-height: 0; height: 280px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .topbar-actions { flex-wrap: nowrap; gap: 8px; }
  .topbar .btn-small { padding: 10px 14px; font-size: 10px; letter-spacing: 0.14em; white-space: nowrap; }
  .topbar .logo img { height: 20px; }
  .hero h1 { font-size: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.line-number a { color: inherit; text-decoration: none; }
