/* Christine Yager Consulting: shared styles */

:root {
  --navy: #1B2E4B;
  --navy-deep: #14233A;
  --navy-soft: #2A4166;
  --gold: #E3A72F;
  --gold-dark: #9C6A12;
  --accent-ink: #9C6A12;
  --slate: #3D4654;
  --muted: #5A6372;
  --paper: #FFFFFF;
  --tint: #F5F2EB;
  --line: #E2DDD2;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9D1DD;
  --error: #B3261E;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-width: 320px;
}

img, svg { max-width: 100%; }
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-color: var(--gold-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 2px; }
.site-header :focus-visible, .hero :focus-visible, .independence :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible, .portrait :focus-visible { outline-color: var(--gold); }
main:focus { outline: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: var(--on-dark); border-bottom: 1px solid rgba(227,167,47,.35); }
/* Slim bar above the logo and menu: a standing link to the comparison page,
   which has no place of its own in the six-link menu. */
.util-bar { background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,.08); font-size: .82rem; letter-spacing: .03em; }
.util-bar p { margin: 0; text-align: right; color: var(--on-dark-muted); }
.util-bar a { display: inline-block; padding: 7px 0; color: var(--gold); font-weight: 600; text-decoration: none; }
.util-bar a:hover { text-decoration: underline; }
.util-bar a[aria-current="page"] { color: #fff; }
.util-bar a[aria-current="page"] .util-arrow { display: none; }
.util-q { margin-right: .5em; }
@media (max-width: 700px) {
  .util-bar p { text-align: center; }
  .util-q { display: none; }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 88px; flex-wrap: wrap;
}
.brand { display: block; line-height: 0; margin-left: -10px; }
.brand img { height: 72px; width: auto; display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 10px 14px; color: var(--on-dark); text-decoration: none;
  font-size: .95rem; letter-spacing: .04em; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-toggle { display: none; }
/* Six links: tighten spacing on narrower desktops so the bar stays beside the logo. */
@media (min-width: 901px) and (max-width: 1080px) {
  .site-nav ul { gap: 2px; }
  .site-nav a { padding-left: 8px; padding-right: 8px; }
}

/* 900, not 860: between 861 and 890 px the six links dropped to a row of their own. */
@media (max-width: 900px) {
  .header-inner { min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
  .brand img { height: 48px; }
  /* Without JS the links simply wrap below the logo. */
  .site-nav { width: 100%; }
  .site-nav ul { gap: 0 2px; margin: 0 -10px; }
  .site-nav a { padding: 8px 10px; font-size: .9rem; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: transparent; color: var(--on-dark); border: 1px solid rgba(255,255,255,.45);
    border-radius: var(--radius); padding: 9px 14px; font: inherit; font-size: .9rem; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: "";
  }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; margin: 4px 0 8px; border-top: 1px solid rgba(255,255,255,.15); }
  .js .site-nav a { padding: 13px 2px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .js .site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: rgba(255,255,255,.1); }
}
@media (max-width: 400px) {
  .brand img { height: 40px; }
}
/* Smallest phones: keep the Menu button beside the logo. */
@media (max-width: 360px) {
  .brand img { height: 34px; }
  .header-inner { gap: 8px; }
}

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--serif); font-variant: small-caps; letter-spacing: .14em; text-transform: lowercase;
  color: var(--accent-ink); font-size: 1.05rem; font-weight: 700; margin: 0 0 .35em;
}
.eyebrow-light { color: var(--gold); }
.rule { display: block; width: 64px; height: 2px; background: var(--gold-dark); margin: 4px 0 22px; }
.rule-gold { background: var(--gold); }
.band-tint { background: var(--tint); --accent-ink: #8A5C0E; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-intro { max-width: 680px; margin-bottom: 36px; }
.lede { font-size: 1.18rem; max-width: 760px; color: var(--slate); }
.note { font-size: .9rem; color: var(--muted); margin-top: 32px; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.narrow { max-width: 760px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: #F0BC52; border-color: #F0BC52; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 28px; }

.icon { width: 30px; height: 30px; color: var(--gold-dark); flex: none; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(8px, 2vw, 16px); border-bottom: 1px solid var(--line); }
.page-head .lede { margin-bottom: clamp(28px, 4vw, 44px); }
.crumb { font-size: .92rem; margin-bottom: 16px; }
.crumb a::before { content: "\2190\00a0"; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-deep); color: #fff;
  min-height: min(78vh, 680px); display: flex; align-items: center;
}
.hero-art {
  position: absolute; inset: 0;
  background: url("../img/hero-road.svg") 62% 50% / cover no-repeat;
}
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,30,51,.94) 0%, rgba(17,30,51,.82) 38%, rgba(17,30,51,.25) 70%, rgba(17,30,51,0) 100%);
}
.hero-inner { position: relative; padding-top: clamp(64px, 10vw, 112px); padding-bottom: clamp(64px, 10vw, 112px); width: 100%; }
.hero h1 { color: #fff; max-width: 620px; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); line-height: 1.12; margin-bottom: .35em; }
.hero-eyebrow {
  font-family: var(--serif); font-variant: small-caps; text-transform: lowercase; letter-spacing: .16em;
  color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-bottom: 18px;
}
/* The eyebrow line is part of the h1 but keeps its own small-caps look. */
.hero h1 .hero-eyebrow { display: block; line-height: 1.65; margin-bottom: 18px; text-wrap: wrap; }
.hero-title { display: block; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-text { color: var(--on-dark-muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 560px; margin-bottom: 28px; }
.hero .btn-row { margin-bottom: 0; }
@media (max-width: 700px) {
  .hero { min-height: 0; align-items: flex-end; }
  .hero-art { background-position: 74% 50%; }
  .hero-art::after { background: linear-gradient(180deg, rgba(17,30,51,.55) 0%, rgba(17,30,51,.82) 45%, rgba(17,30,51,.95) 100%); }
  .hero-inner { padding-top: 120px; padding-bottom: 48px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero-eyebrow { letter-spacing: .1em; font-size: 1rem; }
}

/* ---------- Specialty tiles (home) ---------- */
.spec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-tile {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 28px 26px 30px; text-decoration: none; color: var(--slate);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .15s ease;
}
.spec-tile:hover { background: var(--tint); }
.spec-tile .icon { margin-bottom: 10px; }
.spec-tile-name { font-family: var(--serif); color: var(--navy); font-size: 1.22rem; font-weight: 600; line-height: 1.25; }
.spec-tile-kicker { font-size: .95rem; color: var(--muted); }
.spec-tile:hover .spec-tile-name { text-decoration: underline; text-decoration-color: var(--gold-dark); text-underline-offset: .18em; }
/* wide closing tile: fills the last row when one specialty tile would sit alone */
.spec-grid-more { grid-column: span 2; }
.spec-tile-more { justify-content: center; background: var(--tint); }
.spec-tile-more .spec-tile-kicker { color: var(--navy); font-weight: 600; }
.spec-tile-more .spec-tile-kicker::after { content: " \2192"; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } .spec-tile { padding: 22px 20px; } .spec-grid-more { grid-column: auto; } }

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.two-col-wide { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
@media (max-width: 860px) { .two-col, .two-col-wide { grid-template-columns: 1fr; } }

.q-list { list-style: none; margin: 0; padding: 0; }
.q-list li {
  position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.15rem; color: var(--navy); line-height: 1.4;
}
.q-list li:first-child { border-top: 1px solid var(--line); }
.q-list li::before {
  content: ""; position: absolute; left: 4px; top: 1.55em; width: 14px; height: 2px; background: var(--gold-dark);
}
.q-list-plain li { font-family: var(--sans); font-size: 1.0625rem; color: var(--slate); padding: 12px 0 12px 30px; line-height: 1.55; }
.q-list-plain li::before { top: 1.45em; }

/* Checklist: each item carries a drawn check mark (decorative, CSS only). */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 6px; top: calc(12px + .3em); width: 14px; height: 8px;
  border-left: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(-45deg);
}
.check-card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.check-card h2 { font-size: 1.35rem; }
.check-card h3 { font-size: 1.2rem; }

/* Side-by-side comparison cards */
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 28px 28px 20px; }
.compare-card-hf { border-top: 4px solid var(--gold); box-shadow: 0 2px 12px rgba(27,46,75,.08); }
.compare-card h3 { font-size: 1.35rem; margin-bottom: .2em; }
.compare-sub { color: var(--accent-ink); font-size: .92rem; font-weight: 600; margin-bottom: 1em; }
.compare-card .q-list li:last-child { border-bottom: 0; }
@media (max-width: 480px) { .compare-card { padding: 22px 20px 14px; } }

/* ---------- Independence band ---------- */
.independence { background: var(--navy); color: var(--on-dark-muted); padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.independence-inner { max-width: 860px; }
.independence-quote { font-family: var(--serif); color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); line-height: 1.25; margin-bottom: .4em; }
.independence p:last-child { font-size: 1.1rem; max-width: 680px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-deep); color: var(--on-dark-muted); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid rgba(227,167,47,.35); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; max-width: 620px; }

/* ---------- Capabilities ---------- */
.support-card { background: var(--navy); color: var(--on-dark-muted); padding: 32px 30px; border-radius: var(--radius); border-top: 4px solid var(--gold); }
.support-card h2 { color: #fff; font-size: 1.5rem; }
.support-card .btn { margin-top: 6px; }
.spec-buttons { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 820px; }
.spec-button {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: var(--paper);
  border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius);
  text-decoration: none; color: var(--slate); transition: border-color .15s ease, box-shadow .15s ease;
}
.spec-button:hover { border-left-color: var(--gold); box-shadow: 0 2px 10px rgba(27,46,75,.08); }
.spec-button-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.spec-button-name { font-family: var(--serif); color: var(--navy); font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.spec-button-kicker { font-size: .95rem; color: var(--muted); }
.chev { width: 10px; height: 10px; border-right: 2px solid var(--navy); border-top: 2px solid var(--navy); transform: rotate(45deg); flex: none; margin-right: 4px; }
@media (max-width: 480px) { .spec-button { padding: 16px 16px; gap: 14px; } .spec-button .icon { width: 26px; height: 26px; } }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 32px; }
.services li { border-top: 2px solid var(--navy); padding-top: 16px; }
.services h3 { margin-bottom: .3em; }
.services p { margin: 0; font-size: .98rem; }

/* ---------- Expert ---------- */
.expert-hero { padding: clamp(40px, 6vw, 80px) 0; }
.expert-grid { display: grid; grid-template-columns: minmax(240px, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 72px); align-items: start; }
.portrait img { display: block; width: 100%; max-width: 400px; height: auto; border-radius: var(--radius); }
.expert-role { font-family: var(--serif); font-size: 1.2rem; color: var(--slate); margin: -.2em 0 .4em; }
.expert-intro .btn-row { margin-top: 0; }
@media (max-width: 760px) {
  .expert-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 220px; }
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px clamp(24px, 4vw, 56px); }
.fact { border-top: 2px solid var(--gold-dark); padding-top: 16px; }
.fact h2 { font-size: 1.3rem; }
.fact p { margin: 0; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 6vw, 72px); }
.cv-grid h3, .pubs h3 { font-size: 1.15rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin: 28px 0 12px; }
.cv-grid > div > h3:first-child { margin-top: 0; }
.cv-list { list-style: none; margin: 0; padding: 0; }
.cv-list li { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 9px 0; font-size: .98rem; line-height: 1.5; }
.cv-year { color: var(--accent-ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv-what strong { display: block; color: var(--navy); font-weight: 600; }
.cv-what span { color: var(--slate); }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; text-decoration: none; background: var(--tint); }
.tag-list a:hover { border-color: var(--gold-dark); }
.pubs { margin-top: 20px; max-width: 900px; }
.cite-list { margin: 0; padding-left: 1.1em; }
.cite-list li { padding: 6px 0; font-size: .96rem; line-height: 1.55; }
.cite-list li::marker { color: var(--gold-dark); }
@media (max-width: 760px) {
  .cv-grid { grid-template-columns: 1fr; }
  .cv-grid > div + div > h3:first-child { margin-top: 28px; }
  .cv-list li { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Articles ---------- */
.article-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
@media (max-width: 400px) { .article-grid { grid-template-columns: 1fr; } }
.article-card a {
  display: flex; flex-direction: column; height: 100%; padding: 28px 28px 26px;
  border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius);
  text-decoration: none; color: var(--slate); background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease;
}
.article-card a:hover { border-top-color: var(--gold); box-shadow: 0 2px 12px rgba(27,46,75,.08); }
.article-card .icon { margin-bottom: 14px; }
.article-card h2 { font-size: 1.35rem; margin-bottom: .2em; }
.article-kicker { color: var(--accent-ink); font-size: .92rem; font-weight: 600; margin-bottom: .7em; }
.article-card p { font-size: .98rem; }
.read-more { margin-top: auto; color: var(--navy); font-weight: 600; font-size: .95rem; }
.read-more::after { content: "\00a0\2192"; }

.article-head .lede { max-width: 780px; }
.article-title { display: flex; gap: 20px; align-items: flex-start; }
.article-icon { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.article-icon .icon { color: var(--gold); width: 30px; height: 30px; }
.article-title h1 { margin-bottom: .2em; }
.byline { font-size: .95rem; color: var(--muted); margin: 6px 0 12px; }
@media (max-width: 520px) { .article-title { flex-direction: column; gap: 14px; } .article-icon { width: 48px; height: 48px; margin: 0; } .article-icon .icon { width: 24px; height: 24px; } }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.article-body { max-width: 700px; }
.article-cta { margin-top: 40px; padding: 26px 28px; background: var(--tint); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.article-cta p { margin-bottom: 16px; }
.article-aside { position: sticky; top: 24px; border-top: 2px solid var(--navy); padding-top: 16px; }
.article-aside h2 { font-size: 1.15rem; }
.article-aside ul { list-style: none; margin: 0 0 20px; padding: 0; }
.article-aside li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .96rem; line-height: 1.4; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h2 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.35rem); margin-bottom: .45em; }
.faq-item p { margin: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.inquiry-form fieldset { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.inquiry-form .form-section > legend:not(.vh) {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy);
  padding: 0; margin-bottom: 14px; width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 8px;
}
.req { color: var(--error); font-size: .85em; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label, .sub-group > legend, .consent > legend { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .98rem; padding: 0; }
.inquiry-form .sub-group { margin-bottom: 0; }
.field .sub-label { font-weight: 400; font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.inquiry-form input[type="text"], .inquiry-form input[type="email"], .inquiry-form input[type="tel"],
.inquiry-form input[type="date"], .inquiry-form select, .inquiry-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--slate); background: #fff;
  border: 1px solid #8C93A0; border-radius: var(--radius); padding: 11px 12px; min-height: 48px;
}
.inquiry-form textarea { resize: vertical; min-height: 140px; }
.inquiry-form input:focus-visible, .inquiry-form select:focus-visible, .inquiry-form textarea:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 1px; border-color: var(--navy); }
.inquiry-form [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 400 !important; color: var(--slate) !important; cursor: pointer; min-height: 44px; }
.field label.check { display: flex; align-items: center; margin: 0; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; flex: none; }
.inquiry-form .consent { margin-bottom: 24px; }
.consent .field { margin-bottom: 0; }
.consent-text { border: 1px solid var(--line); background: var(--tint); padding: 14px 16px; border-radius: var(--radius); font-size: .96rem; margin: 0 0 8px; }
.hint { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.field-error { color: var(--error); font-size: .92rem; font-weight: 600; margin: 6px 0 0; }
.form-status { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 24px; border-left: 4px solid; }
.form-status:focus { outline: none; }
.form-status.is-error { background: #FBEDEC; border-color: var(--error); color: #6E1712; }
.form-status.is-info { background: #FDF5E4; border-color: var(--gold-dark); color: #4A3307; }
.form-status h2 { font-size: 1.15rem; color: inherit; margin-bottom: .3em; }
.form-status ul { margin: .4em 0 0; padding-left: 1.2em; }
.form-status a { color: inherit; }
.form-status p:last-child { margin-bottom: 0; }
/* Spam-trap field for Netlify Forms: hidden from people, left in the page for bots. */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; margin: 0; }

.contact-intro .rule + p { margin-bottom: 24px; }
.aside-warn { background: var(--tint); border-left: 4px solid var(--navy); padding: 18px 20px; border-radius: var(--radius); }
.aside-warn h2 { font-size: 1.08rem; }
.aside-warn p { margin: 0; font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: 36px 0 40px; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; align-items: flex-end; }
.footer-name { font-family: var(--serif); font-variant: small-caps; font-size: 1.3rem; letter-spacing: .05em; color: #fff; margin: 0; }
.footer-tag { font-family: var(--serif); font-variant: small-caps; text-transform: lowercase; letter-spacing: .14em; color: var(--gold); margin: 0; font-weight: 700; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 4px; }
.site-footer a { color: #fff; text-decoration-color: var(--gold); }
.affil { color: var(--on-dark-muted); }
@media (max-width: 760px) { .footer-meta { text-align: left; } }

@media print {
  .site-header, .nav-toggle, .cta-band, .hero-art, .btn-row { display: none !important; }
  body { color: #000; }
  .site-footer { background: none; color: #000; }
  .site-footer a, .footer-name { color: #000; }
}
