/* ==========================================================================
   Fyra website styles
   Built only on tokens from brand/tokens.css. Do not add raw colours,
   font sizes or spacing values here; add a token first.
   ========================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 120px; }

body {
  margin: 0;
  font-family: var(--fy-font-sans);
  font-size: var(--fy-text-body);
  line-height: 1.53;
  letter-spacing: -0.005em;
  color: var(--fy-ink);
  background: var(--fy-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--fy-font-display); font-weight: var(--fy-weight-bold); color: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
.t-lead, .statement { text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--fy-focus); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: var(--fy-space-4); top: -60px; z-index: 100;
  background: var(--fy-teal-900); color: var(--fy-white);
  padding: var(--fy-space-2) var(--fy-space-4); border-radius: var(--fy-radius-sm);
}
.skip-link:focus { top: var(--fy-space-4); }

/* ---------- Type ---------- */
.t-display { font-size: var(--fy-text-display); line-height: 1.04; letter-spacing: -0.025em; }
.t-h1 { font-size: var(--fy-text-h1); line-height: 1.07; letter-spacing: -0.022em; }
.t-h2 { font-size: var(--fy-text-h2); line-height: 1.1; letter-spacing: -0.02em; }
.t-h3 { font-size: var(--fy-text-h3); line-height: 1.18; letter-spacing: -0.014em; }
.t-h4 { font-size: var(--fy-text-h4); line-height: 1.28; letter-spacing: -0.01em; }
.t-lead { font-size: var(--fy-text-lead); line-height: 1.4; letter-spacing: -0.01em; color: var(--fy-ink-2); font-weight: var(--fy-weight-regular); }
.t-small { font-size: var(--fy-text-small); line-height: 1.45; color: var(--fy-ink-3); }
.t-label {
  display: block;
  font-size: var(--fy-text-label);
  font-weight: var(--fy-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fy-ink-3);
}
.t-muted { color: var(--fy-ink-2); }
.on-dark { color: var(--fy-white); }
.on-dark .t-lead, .on-dark .t-muted { color: rgba(255, 255, 255, 0.86); }
.on-dark .t-label, .hero .t-label, .band .t-label, .tile .t-label { color: rgba(255, 255, 255, 0.78); }
.hero .link-more, .band .link-more, .tile .link-more { color: var(--fy-white); }
.band .t-lead, .tile p { color: rgba(255, 255, 255, 0.88); }

.prose p + p { margin-top: var(--fy-space-4); }
.prose p { color: var(--fy-ink-2); }
.prose a { color: var(--fy-link); }
.prose a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--fy-content) + var(--fy-gutter) * 2); margin: 0 auto; padding: 0 var(--fy-gutter); }
.container-wide { width: 100%; max-width: calc(var(--fy-wide) + var(--fy-gutter) * 2); margin: 0 auto; padding: 0 var(--fy-gutter); }
.section { padding: var(--fy-section) 0; }
.section--mist { background: var(--fy-mist); }
.section--teal { background: var(--fy-teal-900); color: var(--fy-white); }
.section--flush-top { padding-top: 0; }

.grid { display: grid; grid-template-columns: repeat(var(--fy-columns), minmax(0, 1fr)); column-gap: var(--fy-column-gap); row-gap: var(--fy-space-6); }
.grid > [class*="col-"] { grid-column: var(--start, auto) / span var(--span, 12); }
.col-3 { --span: 3; } .col-4 { --span: 4; } .col-5 { --span: 5; } .col-6 { --span: 6; }
.col-7 { --span: 7; } .col-8 { --span: 8; } .col-9 { --span: 9; } .col-12 { --span: 12; }
.start-4 { --start: 4; } .start-5 { --start: 5; } .start-7 { --start: 7; } .start-8 { --start: 8; }

/* Section heading pattern: label in the left 3 columns, content to the right. */
.section-head { margin-bottom: var(--fy-space-8); align-items: start; }
.section-head .t-label { padding-top: 10px; }
.section-head h2 + p { margin-top: var(--fy-space-4); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--fy-space-2);
  min-height: 44px; padding: 0 22px;
  border-radius: var(--fy-radius-pill);
  border: 1px solid transparent;
  font-size: var(--fy-text-small); font-weight: var(--fy-weight-medium); letter-spacing: 0;
  cursor: pointer; white-space: nowrap;
  transition: background var(--fy-duration) var(--fy-ease), border-color var(--fy-duration) var(--fy-ease), color var(--fy-duration) var(--fy-ease);
}
.btn--lg { min-height: 50px; padding: 0 28px; font-size: var(--fy-text-body); }
.btn--primary { background: var(--fy-teal-900); color: var(--fy-white); }
.btn--primary:hover { background: var(--fy-teal-800); }
.btn--secondary { border-color: var(--fy-line); color: var(--fy-ink); background: var(--fy-white); }
.btn--secondary:hover { border-color: var(--fy-ink-3); }
.btn--inverse { background: var(--fy-gold-500); color: var(--fy-teal-900); font-weight: var(--fy-weight-semibold); }
.btn--inverse:hover { background: var(--fy-gold-600); }
.btn--ghost-inverse { border-color: rgba(255, 255, 255, 0.6); color: var(--fy-white); }
.btn--ghost-inverse:hover { border-color: var(--fy-white); background: rgba(255, 255, 255, 0.08); }

.link-more { color: var(--fy-link); font-weight: var(--fy-weight-regular); display: inline-flex; align-items: center; gap: 2px; }
.link-more::after { content: "›"; font-size: 1.2em; line-height: 1; transform: translateY(-1px); margin-left: 3px; }
.link-more:hover { text-decoration: underline; }
.on-dark .link-more { color: var(--fy-white); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--fy-space-3) var(--fy-space-5); }

/* ---------- Utility bar ---------- */
.utility { background: var(--fy-teal-900); color: rgba(255, 255, 255, 0.82); font-size: 13px; }
.utility .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: var(--fy-space-4); }
.utility a { color: var(--fy-white); }
.utility a:hover { text-decoration: underline; }
.utility-notice { display: flex; align-items: center; gap: var(--fy-space-2); }
.utility-notice::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fy-gold-500); flex-shrink: 0; }
.utility-links { display: flex; gap: var(--fy-space-5); }
.u-short { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--fy-line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--fy-space-6); }
.nav-list { display: flex; gap: var(--fy-space-6); list-style: none; margin: 0; padding: 0; }
.nav-list a { font-size: var(--fy-text-small); color: var(--fy-ink-2); padding: var(--fy-space-2) 0; transition: color var(--fy-duration); }
.nav-list a:hover { color: var(--fy-ink); }
.nav-list a[aria-current="page"] { color: var(--fy-ink); font-weight: var(--fy-weight-medium); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; margin-right: -10px; }
.menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 1.5px; background: var(--fy-ink); position: relative; transition: transform var(--fy-duration) var(--fy-ease); }
.menu-btn span::before { content: ""; position: absolute; top: 6px; }
.menu-btn span { transform: translateY(-3px); }
.menu-open .menu-btn span { transform: translateY(0) rotate(45deg); }
.menu-open .menu-btn span::before { transform: translateY(-6px) rotate(-90deg); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--fy-space-2); list-style: none; margin: 0 0 var(--fy-space-5); padding: 0; font-size: var(--fy-text-small); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--fy-space-2); opacity: 0.5; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.breadcrumb a:hover { text-decoration-color: currentColor; }

/* ---------- Image hero (text on photography) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(86vh, 780px);
  display: flex; align-items: flex-end;
  color: var(--fy-white);
  background: var(--fy-teal-900);
  overflow: hidden;
}
.hero--page { min-height: min(62vh, 560px); }
.hero > img, .band > img, .tile > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero::before, .band::before, .tile::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: var(--fy-scrim-left); }
.hero-content { padding-top: var(--fy-space-9); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { max-width: 19ch; margin-top: var(--fy-space-4); font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; }
.hero--page h1 { max-width: 13ch; }
.hero--page .t-lead { max-width: 34ch; }
.hero .t-lead { max-width: 38ch; margin-top: var(--fy-space-5); color: rgba(255, 255, 255, 0.88); }
.hero .actions { margin-top: var(--fy-space-6); }

/* Light hero: dark text over a bright photograph */
.hero--light { color: var(--fy-ink); background: var(--fy-mist); }
.hero--light::before { background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.8) 38%, rgba(255, 255, 255, 0) 68%); }
.hero--light .t-lead { color: var(--fy-ink-2); }
.hero--light .t-label { color: var(--fy-ink-3); }
.hero--light .link-more { color: var(--fy-link); }
.hero--light .breadcrumb a { text-decoration-color: rgba(0, 0, 0, 0.25); }

/* ---------- Centred section head (Apple pattern) ---------- */
.head-center { text-align: center; max-width: 820px; margin: 0 auto var(--fy-space-8); }
.head-center .t-lead { margin-top: var(--fy-space-4); }
.actions--center { justify-content: center; }

/* ---------- Statement (two-tone paragraph) ---------- */
.statement {
  max-width: 940px; margin: 0 auto; text-align: center;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.22; letter-spacing: -0.02em;
  font-weight: var(--fy-weight-semibold); color: var(--fy-ink);
}
.statement span { color: var(--fy-ink-3); }

/* ---------- Cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--fy-space-4); }
.card {
  background: var(--fy-white); border-radius: var(--fy-radius-lg);
  padding: var(--fy-space-6) var(--fy-space-5) var(--fy-space-5);
  display: flex; flex-direction: column; min-height: 300px;
}
.card-num { font-size: var(--fy-text-small); font-weight: var(--fy-weight-semibold); color: var(--fy-teal-900); margin-bottom: var(--fy-space-7); font-variant-numeric: tabular-nums; }
.card h3 { margin-bottom: var(--fy-space-2); }
.card p { color: var(--fy-ink-2); font-size: 15px; line-height: 1.5; }
.card-meta { margin-top: auto; padding-top: var(--fy-space-5); font-size: 13px; color: var(--fy-ink-3); }

/* ---------- Facts strip ---------- */
.facts { border-bottom: 1px solid var(--fy-line-soft); }
.facts-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.facts-list li { padding: var(--fy-space-6) var(--fy-space-5) var(--fy-space-6) 0; }
.facts-list li + li { padding-left: var(--fy-space-5); border-left: 1px solid var(--fy-line-soft); }
.facts-list strong { display: block; font-size: var(--fy-text-h3); font-weight: var(--fy-weight-semibold); letter-spacing: -0.02em; line-height: 1.1; }
.facts-list span { display: block; margin-top: 6px; font-size: var(--fy-text-small); color: var(--fy-ink-3); }

/* ---------- Image tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--fy-space-3); }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--fy-radius-lg);
  min-height: clamp(460px, 52vw, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  color: var(--fy-white);
  background: var(--fy-teal-900);
}
.tile::before { background: var(--fy-scrim-bottom); }
.tile > img { transition: transform 600ms var(--fy-ease); }
.tile:hover > img { transform: scale(1.02); }
.tile h3 { margin-top: var(--fy-space-3); }
.tile p { margin-top: var(--fy-space-3); max-width: 34ch; color: rgba(255, 255, 255, 0.88); }
.tile .actions { margin-top: var(--fy-space-5); }

/* ---------- Ruled table / list (university style) ---------- */
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fy-ink); }
.ruled-row {
  display: grid; grid-template-columns: 72px minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr);
  gap: var(--fy-space-5); align-items: baseline;
  padding: var(--fy-space-5) 0;
  border-bottom: 1px solid var(--fy-line);
}
.ruled-row .num { font-size: var(--fy-text-small); color: var(--fy-ink-3); font-variant-numeric: tabular-nums; }
.ruled-row h3 { font-size: var(--fy-text-h4); letter-spacing: -0.01em; }
.ruled-row p { color: var(--fy-ink-2); }
.ruled-row .meta { font-size: var(--fy-text-small); color: var(--fy-ink-3); text-align: right; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fy-text-body); min-width: 640px; }
.table caption { text-align: left; }
.table th, .table td { text-align: left; padding: 18px var(--fy-space-4) 18px 0; border-bottom: 1px solid var(--fy-line); vertical-align: top; }
.table thead th { font-size: var(--fy-text-label); font-weight: var(--fy-weight-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fy-ink-3); border-bottom: 1px solid var(--fy-ink); padding-top: 0; }
.table tbody th { font-weight: var(--fy-weight-semibold); }
.table td.t-muted { color: var(--fy-ink-2); }
.table .num { font-variant-numeric: tabular-nums; }
.table td:last-child, .table th:last-child { text-align: right; padding-right: 0; }
.table--compare td:last-child, .table--compare th:last-child, .table--left td:last-child, .table--left th:last-child { text-align: left; }
.table--compare th[scope="col"] { color: var(--fy-ink); font-size: var(--fy-text-body); letter-spacing: -0.005em; text-transform: none; font-weight: var(--fy-weight-semibold); }
.table--compare tbody th { color: var(--fy-ink-3); font-weight: var(--fy-weight-regular); width: 22%; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fy-text-small); color: var(--fy-ink-2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fy-ink-3); }
.status--open::before { background: var(--fy-success); }

/* ---------- Photo band ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(440px, 48vw, 600px);
  display: flex; align-items: center;
  color: var(--fy-white); background: var(--fy-teal-900);
}
.band::before { background: var(--fy-scrim-left); }
.band h2 { max-width: 18ch; margin-top: var(--fy-space-4); }
.band p { max-width: 44ch; margin-top: var(--fy-space-5); }
.band .actions { margin-top: var(--fy-space-6); }

/* ---------- Quote ---------- */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--fy-font-serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3; letter-spacing: -0.01em; color: var(--fy-ink);
}
.quote::before { content: ""; display: block; width: 40px; height: 2px; background: var(--fy-gold-500); margin: 0 auto var(--fy-space-6); }
.quote figcaption { margin-top: var(--fy-space-6); font-size: var(--fy-text-small); color: var(--fy-ink-3); }
.quote figcaption strong { display: block; color: var(--fy-ink); font-size: var(--fy-text-body); font-weight: var(--fy-weight-semibold); }

/* ---------- Split (image + text) ---------- */
.split { align-items: center; }
.split-media { border-radius: var(--fy-radius-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fy-mist); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media--tall { aspect-ratio: 4 / 5; }

/* ---------- Definition list (key facts) ---------- */
.dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--fy-line); }
.dl div { padding: var(--fy-space-4) var(--fy-space-4) var(--fy-space-4) 0; border-bottom: 1px solid var(--fy-line); }
.dl dt { font-size: var(--fy-text-small); color: var(--fy-ink-3); }
.dl dd { margin: 4px 0 0; font-weight: var(--fy-weight-semibold); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fy-space-5); counter-reset: s; }
.steps li { counter-increment: s; padding-top: var(--fy-space-5); border-top: 2px solid var(--fy-teal-900); }
.steps li::before { content: "Step " counter(s); display: block; font-size: var(--fy-text-label); font-weight: var(--fy-weight-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fy-ink-3); margin-bottom: var(--fy-space-3); }
.steps h3 { font-size: var(--fy-text-h4); }
.steps p { margin-top: var(--fy-space-2); color: var(--fy-ink-2); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Local (sticky) nav ---------- */
.local-nav {
  position: sticky; top: 64px; z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--fy-line-soft);
}
.local-nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--fy-space-5); min-height: 56px; }
.local-nav-title { font-weight: var(--fy-weight-semibold); font-size: var(--fy-text-body); white-space: nowrap; }
.local-nav ul { display: flex; gap: var(--fy-space-5); list-style: none; margin: 0 0 0 auto; padding: 0; overflow-x: auto; scrollbar-width: none; }
.local-nav ul::-webkit-scrollbar { display: none; }
.local-nav a:not(.btn) { font-size: 13px; color: var(--fy-ink-2); white-space: nowrap; padding: var(--fy-space-2) 0; border-bottom: 2px solid transparent; }
.local-nav a:not(.btn):hover { color: var(--fy-ink); }
.local-nav a.is-active { color: var(--fy-ink); border-bottom-color: var(--fy-teal-900); }
.local-nav .btn { min-height: 32px; padding: 0 14px; font-size: 13px; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--fy-ink); }
.accordion details { border-bottom: 1px solid var(--fy-line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--fy-space-5);
  padding: var(--fy-space-5) 0;
  font-size: var(--fy-text-h4); font-weight: var(--fy-weight-semibold); letter-spacing: -0.01em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; width: 10px; height: 10px; flex-shrink: 0;
  border-right: 1.5px solid var(--fy-ink-3); border-bottom: 1.5px solid var(--fy-ink-3);
  margin: -5px 4px 0 0; transform: rotate(45deg); transition: transform var(--fy-duration) var(--fy-ease), margin var(--fy-duration) var(--fy-ease);
}
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: 5px; }
.accordion details p { padding: 0 var(--fy-space-8) var(--fy-space-5) 0; color: var(--fy-ink-2); max-width: 68ch; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: var(--fy-column-gap); border-top: 1px solid var(--fy-ink); }
.person { display: grid; grid-template-columns: 56px 1fr; gap: var(--fy-space-4); align-items: start; padding: var(--fy-space-5) 0; border-bottom: 1px solid var(--fy-line); }
.monogram { width: 56px; height: 56px; border-radius: 50%; background: var(--fy-teal-100); color: var(--fy-teal-900); display: grid; place-items: center; font-weight: var(--fy-weight-semibold); font-size: var(--fy-text-small); letter-spacing: 0.02em; }
.person h3 { font-size: var(--fy-text-h4); }
.person .role { font-size: var(--fy-text-small); color: var(--fy-ink-3); margin-top: 2px; }
.person p { margin-top: var(--fy-space-2); color: var(--fy-ink-2); font-size: 15px; }

/* ---------- Form (outlined fields) ---------- */
.form-card { background: var(--fy-white); border-radius: var(--fy-radius-lg); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--fy-line-soft); }
.field { display: grid; gap: 6px; margin-bottom: var(--fy-space-5); }
.field label, .field legend { font-size: var(--fy-text-small); font-weight: var(--fy-weight-medium); color: var(--fy-ink); padding: 0; }
.field .hint { font-size: 13px; color: var(--fy-ink-3); }
.input {
  font: inherit; font-size: var(--fy-text-body); color: var(--fy-ink);
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--fy-line-strong); border-radius: var(--fy-radius-sm);
  background: var(--fy-white);
  transition: border-color var(--fy-duration), box-shadow var(--fy-duration);
}
textarea.input { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: var(--fy-ink-2); }
.input:focus { outline: none; border-color: var(--fy-link); box-shadow: 0 0 0 3px var(--fy-focus); }
.input[aria-invalid="true"] { border-color: var(--fy-error); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--fy-space-4); }
fieldset.field { border: 0; margin: 0 0 var(--fy-space-5); padding: 0; min-width: 0; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fy-space-2); margin-top: 6px; }
.segmented label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: 8px 10px;
  border: 1px solid var(--fy-line-strong); border-radius: var(--fy-radius-sm);
  font-size: var(--fy-text-small); font-weight: var(--fy-weight-medium); cursor: pointer;
  transition: border-color var(--fy-duration), background var(--fy-duration);
}
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { border-color: var(--fy-teal-900); background: var(--fy-teal-100); color: var(--fy-teal-900); }
.segmented label:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--fy-focus); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--fy-space-4); flex-wrap: wrap; margin-top: var(--fy-space-2); }
.form-success { display: none; padding: var(--fy-space-7) 0; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }

.contact-list { list-style: none; margin: var(--fy-space-6) 0 0; padding: 0; border-top: 1px solid var(--fy-line); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: var(--fy-space-4); padding: var(--fy-space-4) 0; border-bottom: 1px solid var(--fy-line); }
.contact-list dt, .contact-list .k { font-size: var(--fy-text-small); color: var(--fy-ink-3); }
.contact-list a { color: var(--fy-link); }
.contact-photo { margin-top: var(--fy-space-6); aspect-ratio: 3 / 2; }

/* ---------- Closing CTA ---------- */
.closing { text-align: center; }
.closing h2 { max-width: 20ch; margin: 0 auto; }
.closing p { max-width: 48ch; margin: var(--fy-space-4) auto 0; }
.closing .actions { justify-content: center; margin-top: var(--fy-space-6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--fy-mist); color: var(--fy-ink-2); font-size: 13px; padding: var(--fy-space-8) 0 var(--fy-space-6); }
.footer-top { display: grid; grid-template-columns: 4fr 2fr 2fr 2fr 2fr; gap: var(--fy-space-6); padding-bottom: var(--fy-space-7); border-bottom: 1px solid var(--fy-line); }
.footer-top .logo img { height: 30px; }
.footer-about { margin-top: var(--fy-space-4); max-width: 30ch; font-size: var(--fy-text-small); line-height: 1.5; }
.footer-col h2 { font-size: 13px; font-weight: var(--fy-weight-semibold); color: var(--fy-ink); margin-bottom: var(--fy-space-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--fy-ink); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--fy-space-3); padding-top: var(--fy-space-5); color: var(--fy-ink-3); }
.footer-base ul { display: flex; gap: var(--fy-space-5); list-style: none; margin: 0; padding: 0; }
.footer-base a:hover { color: var(--fy-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .steps--4 { grid-template-columns: 1fr 1fr; row-gap: var(--fy-space-6); }
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .utility-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { gap: var(--fy-space-3); }
  .nav-list {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--fy-ivory);
    padding: var(--fy-space-4) var(--fy-gutter);
    overflow-y: auto;
  }
  .menu-open .nav-list { display: flex; }
  .menu-open { overflow: hidden; }
  .nav-list li { border-bottom: 1px solid var(--fy-line-soft); }
  .nav-list a { display: block; padding: var(--fy-space-4) 0; font-size: 28px; font-weight: var(--fy-weight-semibold); letter-spacing: -0.02em; color: var(--fy-ink); }

  .grid { grid-template-columns: 1fr; row-gap: var(--fy-space-5); }
  .grid > [class*="col-"] { --start: 1; --span: 1; grid-column: 1 / -1; }
  .section-head { margin-bottom: var(--fy-space-7); }
  .section-head .t-label { padding-top: 0; }

  .facts-list { grid-template-columns: 1fr 1fr; }
  .facts-list li { padding: var(--fy-space-5) var(--fy-space-4) var(--fy-space-5) 0; }
  .facts-list li + li { padding-left: 0; border-left: 0; }
  .facts-list li:nth-child(even) { padding-left: var(--fy-space-4); border-left: 1px solid var(--fy-line-soft); }
  .facts-list li:nth-child(n+3) { border-top: 1px solid var(--fy-line-soft); }

  .tiles { grid-template-columns: 1fr; }
  .ruled-row { grid-template-columns: 48px 1fr; row-gap: var(--fy-space-2); }
  .ruled-row p, .ruled-row .meta { grid-column: 2; text-align: left; }
  .hero::before, .band::before { background: linear-gradient(180deg, rgba(6, 30, 34, 0.15) 0%, rgba(6, 30, 34, 0.55) 40%, rgba(6, 30, 34, 0.9) 75%); }
  .hero--light::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0.96) 70%); }
  .card { min-height: 0; }
  .card-num { margin-bottom: var(--fy-space-5); }
  .band { align-items: flex-end; }
  .band .container { padding-bottom: var(--fy-space-7); }
  .steps, .steps--4 { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .local-nav-title { display: none; }
  .local-nav ul { margin-left: 0; }
  .split-media { aspect-ratio: 3 / 2; }
  .split-media--tall { aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .u-long { display: none; }
  .u-short { display: inline; }
  .hero h1 { font-size: 38px; }
  .hero--page h1 { font-size: 36px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .segmented { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; }
  .accordion details p { padding-right: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero .actions .btn, .band .actions .btn, .closing .actions .btn { width: 100%; }
  .local-nav .btn { display: none; }
  .cards { grid-template-columns: 1fr; }
  .table--stack { min-width: 0; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px var(--fy-space-4); padding: var(--fy-space-5) 0; border-bottom: 1px solid var(--fy-line); }
  .table--stack tbody tr:first-child { border-top: 1px solid var(--fy-ink); }
  .table--stack th, .table--stack td { display: block; padding: 0; border: 0; text-align: left !important; }
  .table--stack th[scope="row"] { grid-column: 1 / -1; font-size: var(--fy-text-h4); }
  .table--stack td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--fy-ink-3); margin-bottom: 2px; }
  .head-center { text-align: left; }
  .actions--center { justify-content: flex-start; }
  .statement { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile > img { transition: none; }
  .tile:hover > img { transform: none; }
}

/* ==========================================================================
   Apple layer (v1.1)
   Global nav, ribbon, showcase hero, page intro, spec grid, feature rows,
   scroll reveal. Placed last so it refines the base components above.
   ========================================================================== */

/* ---------- Global nav: 48px, centred links ---------- */
.site-header { background: rgba(251, 248, 241, 0.86); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 48px; }
.logo img { height: 30px; width: auto; }
.nav { justify-content: center; }
.nav-list { gap: 36px; }
.nav-list a { font-size: 12.5px; color: rgba(16, 38, 42, 0.82); letter-spacing: -0.01em; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--fy-ink); font-weight: var(--fy-weight-regular); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: var(--fy-space-2); }
.btn--xs { min-height: 28px; padding: 0 14px; font-size: 12px; }

/* ---------- Ribbon (announcement below nav) ---------- */
.ribbon { background: var(--fy-mist); text-align: center; padding: 14px var(--fy-gutter); font-size: 14px; color: var(--fy-ink-2); }
.ribbon a { color: var(--fy-link); white-space: nowrap; }
.ribbon a:hover { text-decoration: underline; }

/* ---------- Showcase hero (home) ---------- */
.showcase {
  position: relative; isolation: isolate; overflow: hidden;
  background: #061e22; color: var(--fy-white); text-align: center;
  min-height: min(100vh, 940px);
  display: flex; flex-direction: column;
}
.showcase-text { position: relative; z-index: 2; padding-top: clamp(56px, 8vw, 96px); }
.showcase-eyebrow { font-size: clamp(17px, 1.6vw, 21px); font-weight: var(--fy-weight-semibold); color: rgba(255, 255, 255, 0.72); letter-spacing: -0.01em; }
.showcase h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; letter-spacing: -0.03em; max-width: 15ch; margin: 10px auto 0; }
.showcase-sub { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: rgba(255, 255, 255, 0.82); max-width: 36ch; margin: 18px auto 0; letter-spacing: -0.01em; }
.showcase .actions { margin-top: var(--fy-space-6); }
.showcase-media { position: absolute; left: 0; right: 0; bottom: 0; height: 72%; z-index: 0; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #061e22 0%, rgba(6, 30, 34, 0.6) 22%, rgba(6, 30, 34, 0) 55%); }

/* ---------- Page intro (inner pages) ---------- */
.intro { text-align: center; padding-top: clamp(56px, 7vw, 96px); }
.intro-eyebrow { font-size: clamp(17px, 1.6vw, 21px); font-weight: var(--fy-weight-semibold); color: var(--fy-teal-900); }
.intro h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -0.028em; max-width: 16ch; margin: 10px auto 0; }
.intro .t-lead { max-width: 40ch; margin: 20px auto 0; }
.intro .actions { margin-top: var(--fy-space-6); }
.intro-media { margin-top: clamp(40px, 5vw, 64px); border-radius: var(--fy-radius-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--fy-mist); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section eyebrow (Apple uses a small product name above titles) ---------- */
.eyebrow { display: block; font-size: clamp(17px, 1.5vw, 19px); font-weight: var(--fy-weight-semibold); color: var(--fy-teal-900); margin-bottom: 8px; letter-spacing: -0.01em; }
.section--teal .eyebrow, .band .eyebrow { color: rgba(255, 255, 255, 0.72); }

/* ---------- Spec grid ---------- */
.specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--fy-line-soft); border-radius: var(--fy-radius-lg); overflow: hidden; }
.specs li { background: var(--fy-white); padding: var(--fy-space-6) var(--fy-space-5); text-align: center; }
.section--mist .specs li { background: var(--fy-white); }
.specs strong { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: var(--fy-weight-semibold); letter-spacing: -0.02em; line-height: 1.15; }
.specs span { display: block; margin-top: 6px; font-size: var(--fy-text-small); color: var(--fy-ink-3); }

/* ---------- Feature row (image + text) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: var(--fy-space-9); }
.feature-media { border-radius: var(--fy-radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--fy-mist); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media--wide { aspect-ratio: 4 / 3; }
.feature--flip .feature-media { order: 2; }
.feature h3 { font-size: var(--fy-text-h2); line-height: 1.1; letter-spacing: -0.02em; }
.feature p { margin-top: var(--fy-space-4); color: var(--fy-ink-2); font-size: 19px; line-height: 1.47; }
.feature .actions { margin-top: var(--fy-space-5); }
.feature .table-wrap { margin-top: var(--fy-space-5); }

.subhead { text-align: center; font-size: var(--fy-text-h3); letter-spacing: -0.015em; margin: var(--fy-space-9) 0 var(--fy-space-6); }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Cards: allow 3 columns ---------- */
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.section:not(.section--mist) .card { background: var(--fy-mist); }

/* ---------- Footer breadcrumb (Apple places it here) ---------- */
.footer-crumb { display: flex; align-items: center; gap: 10px; padding-bottom: var(--fy-space-5); margin-bottom: var(--fy-space-6); border-bottom: 1px solid var(--fy-line); font-size: 12px; }
.footer-crumb img { width: 18px; height: 18px; }
.footer-crumb a:hover { text-decoration: underline; }
.footer-crumb span::before { content: "›"; margin-right: 10px; color: var(--fy-ink-3); }
.site-footer { font-size: 12px; padding-top: var(--fy-space-6); }
.footer-note { color: var(--fy-ink-3); padding-bottom: var(--fy-space-5); margin-bottom: var(--fy-space-5); border-bottom: 1px solid var(--fy-line); line-height: 1.5; }
.footer-top { padding-bottom: var(--fy-space-6); }
.footer-col h2 { font-size: 12px; }
.footer-col ul { gap: 8px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--fy-ease), transform 900ms var(--fy-ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1024px) {
  .cards--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { position: static; }
  .showcase { min-height: 760px; }
  .showcase-media { height: 58%; }
  .intro-media { aspect-ratio: 4 / 3; }
  .specs { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature-media { order: 0; }
  .feature-media { aspect-ratio: 4 / 3; }
  .nav-list a, .nav-list a[aria-current="page"] { font-size: 28px; color: var(--fy-ink); font-family: var(--fy-font-display); font-weight: var(--fy-weight-bold); }
  .nav-list a[aria-current="page"] { color: var(--fy-teal-900); box-shadow: inset 4px 0 0 var(--fy-gold-500); padding-left: var(--fy-space-4); }
}
@media (max-width: 560px) {
  .cards--3 { grid-template-columns: 1fr; }
  .showcase h1 { font-size: 40px; }
  .intro h1 { font-size: 38px; }
  .ribbon { font-size: 13px; }
  .feature p { font-size: 17px; }
}
.showcase .link-more { color: var(--fy-link-dark); }
.footer-top { grid-template-columns: repeat(4, 1fr); }
.footer-top > :first-child { grid-column: auto; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
}
@media (max-width: 560px) {
  /* Apple keeps headings and their actions centred on phones. */
  .head-center, .statement { text-align: center; }
  .actions--center { justify-content: center; }
}

/* ---------- v1.3 simplification ---------- */
.plain-list { list-style: none; margin: var(--fy-space-5) 0 0; padding: 0; border-top: 1px solid var(--fy-line); }
.plain-list li { padding: 14px 0; border-bottom: 1px solid var(--fy-line); font-size: 17px; font-weight: var(--fy-weight-medium); }
.tiles-only { padding-top: 12px; }
.site-footer { padding: var(--fy-space-6) 0; }
.footer-simple { display: flex; justify-content: space-between; align-items: center; gap: var(--fy-space-4); flex-wrap: wrap; font-size: 12px; color: var(--fy-ink-3); }
.footer-simple ul { display: flex; flex-wrap: wrap; gap: var(--fy-space-5); list-style: none; margin: 0; padding: 0; }
.footer-simple a { color: var(--fy-ink-2); }
.footer-simple a:hover { color: var(--fy-ink); text-decoration: underline; }
.footer-simple img { width: 20px; height: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.contact-line { margin-top: var(--fy-space-4); font-size: 17px; color: var(--fy-ink-2); }
.contact-line a { color: var(--fy-link); }
.form-wrap { max-width: 720px; margin: 0 auto; }
.accordion details .table-wrap { padding-bottom: var(--fy-space-5); }
.accordion details .table { font-size: 15px; }

/* ---------- v1.5 bigger, brighter imagery ---------- */
/* Hero: photo fills the whole screen; shading only behind the headline. */
.showcase { min-height: 100vh; min-height: 100svh; }
.showcase-media { top: 0; height: 100%; }
.showcase-media::after { background: linear-gradient(180deg, rgba(6, 30, 34, 0.86) 0%, rgba(6, 30, 34, 0.5) 32%, rgba(6, 30, 34, 0) 58%); }

/* Tiles: near edge to edge, much taller, lighter scrim. */
.tiles-only .container-wide { max-width: none; padding: 0 12px; }
.tile { min-height: clamp(560px, 64vw, 920px); border-radius: 28px; }
.tile::before { background: linear-gradient(180deg, rgba(6, 30, 34, 0) 52%, rgba(6, 30, 34, 0.72) 100%); }

/* Photo bands: taller, lighter. */
.band { min-height: clamp(560px, 66vw, 940px); }
.band::before { background: linear-gradient(90deg, rgba(6, 30, 34, 0.74) 0%, rgba(6, 30, 34, 0.38) 38%, rgba(6, 30, 34, 0) 64%); }

/* Page intro images: near edge to edge and tall. */
.intro .container-wide { max-width: none; padding: 0 12px; }
.intro-media { aspect-ratio: auto; height: clamp(420px, 60vw, 900px); border-radius: 28px; }

/* Feature rows: image takes the larger share and runs wider than the text column. */
.feature { grid-template-columns: 1.3fr 1fr; }
.feature--flip { grid-template-columns: 1fr 1.3fr; }
.section .container:has(> .feature) { max-width: calc(1320px + var(--fy-gutter) * 2); }
.feature-media { border-radius: 28px; }

@media (max-width: 860px) {
  .tiles-only .container-wide, .intro .container-wide { padding: 0 8px; }
  .tile { min-height: 560px; border-radius: 22px; }
  .intro-media { height: 72vw; min-height: 320px; border-radius: 22px; }
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature-media { aspect-ratio: 4 / 5; border-radius: 22px; }
  .band::before { background: linear-gradient(180deg, rgba(6, 30, 34, 0) 30%, rgba(6, 30, 34, 0.8) 85%); }
  .showcase-media::after { background: linear-gradient(180deg, rgba(6, 30, 34, 0.9) 0%, rgba(6, 30, 34, 0.6) 40%, rgba(6, 30, 34, 0.1) 70%); }
}
.specs--4 { grid-template-columns: repeat(4, 1fr); }
.showcase-media img { object-position: 62% 30%; }
@media (max-width: 860px) {
  .specs--4 { grid-template-columns: 1fr 1fr; }
  .showcase-media img { object-position: 80% 40%; }
}
@media (max-width: 860px) {
  .showcase { min-height: 0; }
  .showcase-text { padding-bottom: var(--fy-space-6); }
  .showcase-media { position: relative; top: auto; height: 108vw; max-height: 560px; }
  .showcase-media img { object-position: 76% 35%; }
  .showcase-media::after { background: linear-gradient(180deg, #061e22 0%, rgba(6, 30, 34, 0) 30%); }
}
/* v1.8: no eyebrow labels above headings; restore spacing they provided */
.showcase h1, .intro h1 { margin-top: 0; }

/* ==========================================================================
   v2.0: entry, people, working form, privacy, mobile touch targets
   ========================================================================== */

/* Sticky sub-nav sits directly under the 48px global header. */
.local-nav { top: 48px; }

/* Unfilled facts from build.py. Must not survive to launch. */
mark.todo { background: #fff3b0; color: var(--fy-ink); padding: 0 4px; border-radius: 4px; font-weight: var(--fy-weight-medium); }

/* Spacing helpers that replace inline styles */
.feature--spaced { margin-top: var(--fy-space-9); }
.feature .plain-list + p { font-size: var(--fy-text-body); }
.sub-head { margin: var(--fy-space-8) 0 var(--fy-space-4); }
.sub-actions { margin-top: var(--fy-space-7); }
.head-center .t-lead { margin-top: var(--fy-space-4); }


.dl dd { line-height: 1.4; }

/* Steps stacked inside a narrow column */
.steps--stack { grid-template-columns: repeat(3, 1fr); }
.steps--stack h4 { font-size: var(--fy-text-h4); }

/* Teaching cards: content-height, not fixed */
.cards--4 .card { min-height: 0; }
.cards--4 .card h3 { margin-bottom: var(--fy-space-2); }

/* People */
.people { list-style: none; margin: 0; padding: 0; }
.people--single { grid-template-columns: 1fr; }
.partner-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--fy-space-3); }
.partner-list li { padding: var(--fy-space-2) var(--fy-space-4); border: 1px solid var(--fy-line); border-radius: var(--fy-radius-pill); font-size: var(--fy-text-small); }

/* Form */
.optional { color: var(--fy-ink-3); font-weight: var(--fy-weight-regular); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--fy-ink-3) 50%), linear-gradient(135deg, var(--fy-ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.only-management { display: none; }
form:has(input[name=topic][value=management]:checked) .only-management { display: grid; }
form:has(input[name=topic][value=management]:checked) .only-development,
form:has(input[name=topic][value=other]:checked) .only-development { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--fy-space-3); align-items: start; margin: var(--fy-space-2) 0 var(--fy-space-5); font-size: var(--fy-text-small); color: var(--fy-ink-2); line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--fy-teal-900); }
.check a { color: var(--fy-link); text-decoration: underline; }
.check:has(input[aria-invalid="true"]) { color: var(--fy-error); }
.form-error { margin: 0 0 var(--fy-space-4); padding: var(--fy-space-3) var(--fy-space-4); border-radius: var(--fy-radius-sm); background: #fbeaee; color: var(--fy-error); font-size: var(--fy-text-small); }
.form-error[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success .t-muted { margin-top: var(--fy-space-2); }
button[disabled] { opacity: 0.6; cursor: progress; }

/* Intake banner state */
.closing .intake-closed, .closing.is-closed .intake-open { display: none; }
.closing.is-closed .intake-closed { display: block; }

/* Legal pages */
.legal h1 { margin-bottom: var(--fy-space-2); }
.legal h2 { margin: var(--fy-space-7) 0 var(--fy-space-3); }
.legal p { max-width: 68ch; }

/* ---------- Phones: comfortable touch targets (min 44px) and type ---------- */
@media (max-width: 860px) {
  .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .btn--xs { min-height: 36px; padding: 0 16px; font-size: 14px; }
  .btn--xs { position: relative; }
  .btn--xs::after { content: ""; position: absolute; inset: -4px -4px; } /* 44px tap area, 36px visual */
  .check a { display: inline-block; padding: 6px 0; margin: -6px 0; }
  .local-nav .container { min-height: 48px; }
  .local-nav ul { gap: var(--fy-space-5); }
  .local-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .link-more { min-height: 44px; }
  .steps--stack { grid-template-columns: 1fr; row-gap: var(--fy-space-5); }
  .cards--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer { padding: var(--fy-space-5) 0 var(--fy-space-6); }
  .footer-simple { flex-direction: column-reverse; align-items: flex-start; font-size: 14px; gap: var(--fy-space-3); }
  .footer-simple ul { gap: 0 var(--fy-space-5); }
  .footer-simple ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .cards--4 { grid-template-columns: 1fr; }
  .dl div { padding-right: 0; }
  .sub-head { margin-top: var(--fy-space-7); }
  .form-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .form-foot .btn { width: 100%; }
  .feature .actions .btn, .sub-actions .btn { width: 100%; }
  .accordion summary { font-size: 18px; }
}

/* ---------- Home hero placement (v2.1) ----------
   Desktop and tablet landscape: headline left, over a dark fade, so it never
   covers the people in the photograph (they sit on the right).
   Phones keep the stacked layout: text on solid dark, photo below. */
.showcase .link-more { color: var(--fy-white); }
@media (min-width: 861px) {
  .showcase { justify-content: center; min-height: min(100svh, 860px); }
  .showcase-text { text-align: left; padding-top: 0; padding-bottom: 0; }
  .showcase h1 { margin-left: 0; max-width: 14ch; }
  .showcase-sub { margin-left: 0; max-width: 34ch; }
  .showcase .actions--center { justify-content: flex-start; }
  .showcase-media img { object-position: 75% 35%; }
  .showcase-media::after { background: linear-gradient(90deg, rgba(6, 30, 34, 0.92) 0%, rgba(6, 30, 34, 0.72) 34%, rgba(6, 30, 34, 0.1) 62%, rgba(6, 30, 34, 0) 75%); }
}
/* Phones: band text sits over the photo, so darken the lower half more. */
@media (max-width: 860px) {
  .band::before { background: linear-gradient(180deg, rgba(6, 30, 34, 0) 15%, rgba(6, 30, 34, 0.6) 42%, rgba(6, 30, 34, 0.9) 70%); }
}
