/* ============================================================================
   Solar Cape Town — SOLAR-20261009-V3KR
   Archetype B · full-bleed photographic overlay.
   Cape dusk ink + solar amber. Fraunces (display) over Karla (text).

   Design authority: /workspace/shared/design-standard.md (13 Oct 2026) and
   /workspace/shared/design/solar-cape-town/art-direction.md.
   Single stylesheet for every route: the homepage is the full archetype-B
   page; inner routes keep their existing markup and inherit the tokens, type
   and components below.

   Nav rules carry the t_ca2b1794 fix: exactly one nav bar, the top-level row
   is scoped to `.nav > ul` so `ul.sub` stays hidden until hover/focus, and
   below 820px the open menu takes its own full-width row.
   ========================================================================== */

/* --- Type: Fraunces + Karla, self-hosted, SIL OFL 1.1 ------------------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/karla-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/karla-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  --ground: #FFFFFF;        /* page                          */
  --ink: #0B1E2D;           /* text, scrim, dark bands       */
  --ink-soft: #33495A;      /* secondary text on white       */
  --accent: #F2A104;        /* fills, rules on dark          */
  --accent-text: #9D6803;   /* accent as text on a light ground */
  --accent-bright: #FFBB33; /* accent as text on a dark ground  */
  --surface: #E9F0F3;       /* quiet panels                  */
  --rule: #D3E0E6;          /* decorative hairlines          */
  --field: #7A8F9C;         /* control borders (>=3:1 on white, WCAG 1.4.11) */

  --max: 1160px;
  --gutter: clamp(24px, 6vw, 96px);
  --section: clamp(64px, 9vw, 128px);
  --radius: 2px;

  --scrim: linear-gradient(180deg, rgba(11, 30, 45, .78) 0%, rgba(11, 30, 45, .60) 55%, rgba(11, 30, 45, .78) 100%);
  --scrim-flat: rgba(11, 30, 45, .66);

  --sans: 'Karla', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* --- Base -------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.3rem, 1.15rem + 4.6vw, 5.4rem); }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.1vw, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.25rem, 1.05rem + .85vw, 1.6rem); }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.prose { max-width: 64ch; }
.prose h2 { margin-top: 2rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 0; top: 0;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.2rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* --- Header / navigation ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem clamp(16px, 3vw, 40px);
  min-height: 74px;
  padding-block: .5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 38px; height: 38px; }
.brand span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.brand small {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* Keep the header on one row on small phones: the strapline is the first
   thing to go rather than letting the menu button wrap. */
@media (max-width: 419.98px) {
  .brand small { display: none; }
}

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--field);
  border-radius: var(--radius);
  padding: .6rem .65rem;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block;
  padding: .55rem 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.nav a:hover { color: var(--accent-text); }
.nav a[aria-current="page"] { color: var(--accent-text); box-shadow: inset 0 -2px 0 var(--accent); }

@media (max-width: 819.98px) {
  .nav-toggle { display: inline-flex; }
  /* The open menu takes its own full-width row beneath the brand row
     (t_ca2b1794). It used to sit beside the brand as a third flex item, which
     squeezed it into a narrow column and pushed links off-screen. */
  .nav { flex: 1 0 100%; }
  .nav.open {
    display: block;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    border-top: 1px solid var(--rule);
    padding: .35rem 0 1rem;
  }
  .nav .sub a { padding-left: 1.5rem; font-weight: 400; }
}

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav { display: block; margin-left: auto; }
  /* The top-level row is scoped to the direct child. An unscoped `.nav ul`
     rule out-specifies `.sub { display: none }`, which made both dropdown
     panels render as always-visible bars over the hero. */
  .nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.1vw, 30px); }
  .nav a { padding: .35rem 0; font-size: .97rem; }
  .has-sub { position: relative; }
  .has-sub > a::after {
    content: "";
    display: inline-block;
    width: .34em; height: .34em;
    margin-left: .45em;
    vertical-align: .12em;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
  }
  .sub {
    display: none;
    position: absolute;
    top: calc(100% + .55rem);
    left: -.9rem;
    z-index: 120;
    min-width: 268px;
    padding: .55rem;
    background: #fff;
    border: 1px solid var(--rule);
    border-top: 2px solid var(--accent);
    box-shadow: 0 18px 40px rgba(11, 30, 45, .13);
  }
  .has-sub:hover > .sub,
  .has-sub:focus-within > .sub { display: block; }
  .sub a { padding: .5rem .7rem; border-radius: var(--radius); }
  .sub a:hover { background: var(--surface); color: var(--ink); }
}

/* --- Breadcrumbs -------------------------------------------------------- */
.breadcrumbs { font-size: .84rem; color: var(--ink-soft); background: var(--surface); border-bottom: 1px solid var(--rule); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: .7rem 0; }
.breadcrumbs li::after { content: "/"; margin-left: .45rem; color: #8FA6B2; }
.breadcrumbs li:last-child::after { content: ""; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.55rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #171104; }
.btn-primary:hover { background: #DC9403; color: #171104; }
.btn-cta { background: var(--ink); color: #fff; }
.btn-cta:hover { background: #14324A; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: none; }
.btn-outline:hover { background: var(--surface); color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .72); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* --- Section furniture -------------------------------------------------- */
section { padding: var(--section) 0; }
.section-soft { background: var(--surface); }
/* On the tinted surface the derived accent needs one more step down to clear
   AA for normal text (#8A5B02 = 5.09:1 on #E9F0F3; the #9D6803 used on white
   measures 4.13:1 there). Re-pointing the token keeps one accent family. */
.section-soft { --accent-text: #8A5B02; }
.section-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow {
  margin: 0 0 .7rem;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.rule-top { border-top: 1px solid var(--rule); }

/* --- Hero: full-bleed photograph + scrim (archetype B) ------------------ */
.hero-bleed {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(540px, 78vh, 800px);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 0;
}
.hero-bleed .hero-media { position: absolute; inset: 0; }
.hero-bleed .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim);
}
.hero-bleed .hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 12vh, 132px) var(--gutter);
}
.hero-bleed h1, .hero-bleed h2 { color: #fff; max-width: 20ch; }
.hero-bleed p {
  max-width: 42ch;
  margin-top: 1.1rem;
  font-size: clamp(1.03rem, 1rem + .45vw, 1.25rem);
  color: rgba(255, 255, 255, .93);
}
.hero-bleed .cta-row { margin-top: 1.9rem; }
.hero-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.hero-link:hover { color: var(--accent); }

/* Inner-route page header: ink band, no photograph, one accent rule. */
.hero { background: var(--ink); color: #fff; padding: clamp(44px, 6.5vw, 84px) 0; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
.hero p { color: #C7D6E0; max-width: 46ch; margin-bottom: 0; }
.hero .cta-row { margin-top: 1.5rem; }
.hero .btn-outline { border-color: rgba(255, 255, 255, .72); color: #fff; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* --- Full-bleed photographic bands -------------------------------------- */
.band {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(420px, 52vw, 640px);
  padding: 0;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.band .band-media { position: absolute; inset: 0; }
.band .band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: var(--scrim-flat); }
.band .band-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
}
.band h2 { color: #fff; max-width: 24ch; }
.band p { color: rgba(255, 255, 255, .92); max-width: 52ch; }
.band .eyebrow { color: var(--accent-bright); }
/* The services band puts its heading at the lower edge, so the scrim is
   weighted to the bottom: the photograph reads across the top two thirds and
   the type gets a solid ground under it. */
.band--services { align-content: end; }
.band--services::after {
  background: linear-gradient(180deg, rgba(11, 30, 45, .34) 0%, rgba(11, 30, 45, .58) 46%, rgba(11, 30, 45, .92) 100%);
}
.band--services .band-copy { padding-bottom: clamp(28px, 3.4vw, 56px); }

/* The services band is a true 21:9 strip; on narrow screens the heading needs
   more room than that ratio allows. */
.band--services { aspect-ratio: 21 / 9; min-height: 0; }
@media (max-width: 760px) {
  .band--services { aspect-ratio: auto; min-height: 320px; }
}

/* Wide in-container figure used by the areas section. */
.wide-figure { margin: 0 0 clamp(24px, 4vw, 44px); }
.wide-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.section-foot { margin-top: clamp(20px, 3vw, 32px); }

/* --- Stacked rows with hairlines ---------------------------------------- */
.rows { border-top: 1px solid var(--rule); }
.row {
  display: grid;
  gap: clamp(18px, 3.5vw, 48px);
  padding-block: clamp(30px, 4.4vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.row h3 { margin-bottom: .35rem; }
.row p { color: var(--ink-soft); margin-bottom: 0; max-width: 62ch; }
.row-media { margin: 0; }
.row-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.row-media figcaption { margin-top: .6rem; font-size: .74rem; color: var(--ink-soft); }

/* Two balanced body columns for the explainer paragraph pair. */
.bicol { display: grid; gap: clamp(20px, 3.5vw, 56px); }
.bicol p { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) {
  .bicol { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bicol--ruled p { border-top: 1px solid var(--rule); padding-top: 1rem; }
}
@media (min-width: 900px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
  .row > .row-media { grid-column: 1; grid-row: 1; }
  .row > .row-body { grid-column: 2; grid-row: 1; }
  .row--reverse > .row-media { grid-column: 2; }
  .row--reverse > .row-body { grid-column: 1; }
  /* Only the first row carries a photograph. The two shorter points pair up
     side by side so no row is left with an empty column. */
  .row--pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .row--pair > .row-body { grid-column: auto; }
}

/* --- Services: editorial list, not cards -------------------------------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.svc-list > li { border-bottom: 1px solid var(--rule); }
.svc-list a {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: .4rem clamp(12px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(18px, 2.4vw, 28px) 0;
  text-decoration: none;
  color: var(--ink);
}
.svc-list a:hover { color: var(--ink); }
.svc-list .num {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 500;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.svc-list .ttl {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.svc-list .desc {
  display: block;
  margin-top: .3rem;
  font-size: .97rem;
  color: var(--ink-soft);
  max-width: 62ch;
}
.svc-list .go { color: var(--accent-text); font-weight: 700; white-space: nowrap; }
@media (min-width: 760px) {
  .svc-list a { grid-template-columns: 3.2rem minmax(0, 1fr) auto; }
  .svc-list .go { align-self: center; }
}
@media (max-width: 759.98px) {
  .svc-list .go { grid-column: 2; }
}
/* The services list sits over a photograph: white type, lighter rules. */
.band .svc-list { border-top-color: rgba(255, 255, 255, .3); }
.band .svc-list > li { border-bottom-color: rgba(255, 255, 255, .22); }
.band .svc-list a { color: #fff; }
.band .svc-list .num,
.band .svc-list .go { color: var(--accent); }
.band .svc-list .desc { color: rgba(255, 255, 255, .9); }

/* --- Two-column directory ---------------------------------------------- */
.directory { list-style: none; margin: 0; padding: 0; }
.directory li { border-top: 1px solid var(--rule); padding: .95rem 0; }
.directory li:last-child { border-bottom: 1px solid var(--rule); }
.directory a {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.directory a:hover { color: var(--accent-text); }
.directory span { display: block; margin-top: .15rem; font-size: .92rem; color: var(--ink-soft); }
@media (min-width: 800px) {
  /* Zero column gap so the hairline on each item joins into one continuous
     rule across the row; the gutter is padding instead. */
  .directory { grid-template-columns: 1fr 1fr; column-gap: 0; }
  .directory li:nth-child(odd) { padding-right: clamp(24px, 4vw, 56px); }
  .directory li:nth-child(even) { padding-left: clamp(24px, 4vw, 56px); }
  .directory li:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

/* --- Numbered steps ----------------------------------------------------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.8vw, 32px); }
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: .45rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent-text);
}
.steps strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.steps p { color: var(--ink-soft); margin: .3rem 0 0; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --- Advice list + one supporting image --------------------------------- */
.advice { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) {
  .advice { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
}
.advice-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.advice-media figcaption { margin-top: .6rem; font-size: .74rem; color: var(--ink-soft); }
.advice-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.advice-list li { border-top: 1px solid var(--rule); padding: .8rem 0; }
.advice-list li:last-child { border-bottom: 1px solid var(--rule); }
.advice-list a { font-weight: 500; }
.more { font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* --- FAQ ---------------------------------------------------------------- */
.faq-cols { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) {
  .faq-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .faq-cols > .section-head { margin-bottom: 0; position: sticky; top: 96px; }
}
.faq details {
  border-top: 1px solid var(--rule);
  padding: 1rem 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\002B"; float: right; color: var(--accent-text); font-family: var(--sans); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: .7rem; color: var(--ink-soft); }

/* --- Form band ---------------------------------------------------------- */
.form-band { padding: 0; display: grid; background: var(--ink); color: #fff; }
@media (min-width: 900px) { .form-band { grid-template-columns: 1fr 1fr; } }
.form-band-media { position: relative; min-height: 260px; }
.form-band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.form-band-body { padding: clamp(48px, 7vw, 88px) var(--gutter); }
.form-band h2 { color: #fff; }
.form-band p { color: rgba(255, 255, 255, .9); max-width: 46ch; }

.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: .7rem .8rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--field);
  border-radius: var(--radius);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--ink);
}
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-status { margin-top: 1rem; font-weight: 700; }
section.wrap .form-status, .form-band .form-status { min-height: 1.4em; }

/* --- Legacy content components (inner routes) -------------------------- */
.grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) {
  .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 1.3rem;
}
.card h3 { margin-top: 0; margin-bottom: .4rem; }
.card p { color: var(--ink-soft); margin-bottom: .6rem; }
.card img { margin-bottom: .8rem; }

.confirm {
  background: #FFF6E2;
  border: 1px solid #E7BE63;
  padding: .8rem 1rem;
  font-size: .9rem;
  color: #6B4A00;
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #B9C9D4;
  font-size: .93rem;
  padding: clamp(48px, 6vw, 76px) 0 1.6rem;
}
.site-footer h2 {
  margin: 0 0 .7rem;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.site-footer a { color: #E4EDF2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-bottom {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .82rem;
  color: #93A8B5;
}
.credits { margin-top: .8rem; font-size: .72rem; line-height: 1.6; color: #8FA3B0; max-width: 90ch; }
.credits a { color: #B9C9D4; text-decoration: underline; }
.preferred-source { margin-top: 1.2rem; min-height: 24px; }

/* --- Print -------------------------------------------------------------- */
@media print {
  .site-header, .nav-toggle, .hero-bleed .hero-media, .band .band-media, .cf-turnstile { display: none; }
  body { color: #000; }
}
