/* Barnes AI: shared stylesheet. Mobile-first. Every color is a custom property;
   light by default, dark from the system setting or the footer theme toggle. */

/* Self-hosted fonts (see /assets/fonts/LICENSE.md). Preloaded in each page's <head>. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;   /* one static cut at 500; every serif use on the site is 500 */
  font-display: swap;
  src: url("/assets/fonts/newsreader-500.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/work-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Mrs Saint Delafield";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/mrs-saint-delafield-signature.woff2") format("woff2");
}

:root {
  /* Warm & Editorial palette. Brief tokens -> variables used here:
     --bg-page=--bg, --bg-surface=--bg-alt, --text-primary=--ink,
     --text-secondary=--ink-soft, --border-subtle=--line, --accent-on-solid=--on-accent */
  --bg: #f7f5f0;              /* warm paper */
  --bg-alt: #efece5;
  --ink: #1c1b18;
  --ink-soft: #57544d;
  --line: #e2ded5;
  --accent: #963228;          /* Barn Red */
  --accent-hover: #7a261e;
  --accent-tint: rgba(150, 50, 40, 0.08);
  --on-accent: #faf9f6;
  --band-bg: #1c1b18;         /* footer and stats band: warm charcoal */
  --band-ink: #f2efe9;
  --band-soft: #a6a198;
  --band-line: #2d2a26;
  --band-accent: #dc6b5f;

  --read: 42.5rem;            /* 680px reading measure */
  --wide: 46.25rem;           /* 740px: one column for header, main and footer */
  --radius: 4px;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-serif);   /* headings */
  --font-body: var(--font-sans);       /* body copy */
  --font-ui: var(--font-sans);         /* nav, buttons, labels */
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161513;
    --bg-alt: #201e1b;
    --ink: #f2efe9;
    --ink-soft: #a6a198;
    --line: #2d2a26;
    --accent: #dc6b5f;
    --accent-hover: #e7857a;
    --accent-tint: rgba(220, 107, 95, 0.14);
    --on-accent: #161513;
    --band-bg: #100f0d;
    --band-line: #2d2a26;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161513;
  --bg-alt: #201e1b;
  --ink: #f2efe9;
  --ink-soft: #a6a198;
  --line: #2d2a26;
  --accent: #dc6b5f;
  --accent-hover: #e7857a;
  --accent-tint: rgba(220, 107, 95, 0.14);
  --on-accent: #161513;
  --band-bg: #100f0d;
  --band-line: #2d2a26;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.45em;
  font-weight: 500;
}
h1 { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1.05em; }

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  background: var(--ink);
  color: var(--bg);
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

/* ---------- Containers ---------- */

.wrap,
.wrap-wide {
  width: 100%;
  margin: 0 auto;
  padding-inline: 1.5rem;
  max-width: calc(var(--wide) + 3rem);
}
.wrap > * { max-width: var(--read); }
.wrap > h1, .hero h1 { max-width: none; }   /* headings use the full 740px */

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  padding: 0;
}
.wordmark:hover { color: var(--ink); opacity: 0.8; }
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo-mark { width: auto; height: 20px; flex: none; }
.site-footer .wordmark { align-items: baseline; gap: 0.45rem; }
.site-footer .logo-mark { height: 0.7em; }
.site-header .logo-mark { width: auto; height: 28px; display: block; }

.nav-toggle {
  display: none;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  min-height: 44px;
  cursor: pointer;
}

.site-nav { width: 100%; font-family: var(--font-ui); }
.site-nav ul { list-style: none; margin: 0; padding: 0 0 0.75rem; }
.site-nav a {
  display: block;
  padding: 0.75rem 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0;
  border-top: 1px solid var(--line);
  line-height: 1.4;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); }

/* With JS, the small-screen nav hides behind the toggle. Without JS it stays open. */
.js .nav-toggle { display: inline-block; }
.js .site-nav[data-open="false"] { display: none; }

@media (min-width: 40rem) {
  .js .nav-toggle { display: none; }
  .site-nav,
  .js .site-nav[data-open="false"] { display: block; width: auto; }
  .site-nav ul { display: flex; gap: 2.25rem; padding: 0; }
  .site-nav a {
    border: 0;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--ink-soft);
  }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] { color: var(--accent); }
}

/* Contact is a button on wider screens, a plain link in the small-screen menu */
@media (min-width: 40rem) {
  .site-nav ul { align-items: center; }
  .site-nav a.nav-cta {
    padding: 0.45rem 1rem;
    border-radius: 6px;
    background: var(--accent);
    color: var(--on-accent);
  }
  .site-nav a.nav-cta:hover,
  .site-nav a.nav-cta[aria-current="page"] { background: var(--accent-hover); color: var(--on-accent); }
}

/* ---------- Text pieces ---------- */

.meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--accent);
  margin: 0 0 0.65rem;
}
.meta a { color: inherit; text-decoration: none; }
.meta a:hover { text-decoration: underline; }
.lede {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38rem;
}

.more {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.more:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  min-height: 44px;
  border-radius: 6px;
  border: 2px solid var(--accent);
  transition: background-color 0.15s ease, border-color 0.15s ease;
  line-height: 1.4;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

/* ---------- Sections ---------- */

.section { padding: 4.5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: var(--read); margin-bottom: 2.75rem; }
.section-head p:not(.meta) { color: var(--ink-soft); }
@media (min-width: 52rem) {
  .section { padding: 7rem 0; }
}

/* Hero: big editorial display heading, portrait alongside on wide screens */
.hero { padding: 2.25rem 0 3rem; }
.hero-grid h1 { max-width: none; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) {
  .hero { padding: 3.25rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 3fr 2fr; gap: 4rem; }
}

.photo-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}
.photo-portrait { aspect-ratio: 4 / 5; max-width: 26rem; }

/* Stats: high-contrast deep navy band with oversized condensed numerals */
.section:has(.stats) {
  background: var(--band-bg);
  color: var(--band-ink);
  border-top: 0;
  padding: 3.75rem 0;
}
@media (min-width: 52rem) {
  .section:has(.stats) { padding: 4.75rem 0; }
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 1.75rem;
  margin: 0;
}
.stats div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 2px solid var(--band-line);
  padding-top: 1.1rem;
}
.stats dt {
  order: 2;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  color: var(--band-soft);
  line-height: 1.45;
}
.stats dd {
  order: 1;
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--band-accent);
}
@media (min-width: 52rem) { .stats { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* Stacked one-idea blocks (Nathan Barry editorial rhythm) */
.stack {
  counter-reset: stack;
  display: grid;
  gap: 3.5rem;
}
.stack > div {
  counter-increment: stack;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.stack > div:first-child { border-top: 0; padding-top: 0; }
.stack > div .meta::before {
  content: "0" counter(stack) " \2014  ";
  color: var(--ink-soft);
}
.stack > div p:not(.meta) { color: var(--ink-soft); }
.stack h2 { margin-bottom: 0.45em; }
@media (min-width: 52rem) {
  .stack { gap: 4.5rem; }
  .stack > div { padding-top: 2.75rem; }
}

/* Before / after cards */
.ba { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .ba { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 40rem) { .ba-3 { grid-template-columns: 1fr; } }   /* three examples read better stacked in the 740px column */
.ba li {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 1.5rem 1.65rem;
}
.ba .ba-tag {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  margin: 0 0 0.55rem;
  line-height: 1.5;
}
.ba .ba-problem { color: var(--ink-soft); margin: 0 0 0.45rem; font-size: 1.0625rem; }
.ba .ba-result { margin: 0; font-weight: 600; color: var(--ink); }
.ba .ba-label { font-family: var(--font-ui); font-weight: 600; color: var(--ink-soft); }
.ba .ba-result .ba-label { color: var(--accent); }

/* Process steps: oversized editorial numerals */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 2.75rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--line);
  padding-top: 1.25rem;
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.steps p { color: var(--ink-soft); }

/* FAQ: native details, no JS */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 1.25rem 2.5rem 1.25rem 0;
  list-style: none;
  position: relative;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding-bottom: 0.65rem; }

/* Closing CTA */
.cta p { color: var(--ink-soft); }

/* ---------- Shared inner-page layouts ---------- */

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 52rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
}
.card p { color: var(--ink-soft); font-size: 1.0625rem; }
.card .more { margin-top: auto; padding-top: 0.75rem; }

.split { display: grid; gap: 2.5rem; align-items: start; }
.split p:not(.meta) { color: var(--ink-soft); }
.split h3 { margin-top: 0.25rem; }
.split h3 + .checklist { margin-bottom: 1.5rem; }
@media (min-width: 52rem) { .split { grid-template-columns: 3fr 2fr; gap: 4rem; } }

.checklist { padding: 0; margin: 0 0 1em; list-style: none; }
.checklist li { position: relative; padding-left: 1.35rem; margin-bottom: 0.65rem; color: var(--ink-soft); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.68em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Footer: deep navy band in both modes ---------- */

.site-footer {
  background: var(--band-bg);
  color: var(--band-soft);
  padding: 4.5rem 0 2.5rem;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
}
.site-footer .wrap { max-width: calc(var(--wide) + 3rem); }
.site-footer .wrap > * { max-width: none; }
.site-footer .wordmark { color: var(--band-ink); display: inline-flex; }
.site-footer .wordmark:hover { color: var(--band-accent); }
.site-footer a { color: var(--band-ink); text-decoration: none; display: inline-block; padding: 0.3rem 0; }
.site-footer a:hover { color: var(--band-accent); text-decoration: underline; }
.site-footer h2 {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--band-soft);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--band-line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}
.footer-legal p { margin: 0; }

/* Theme toggle (shown only when JS runs) */
.theme-toggle { display: none; align-items: center; gap: 0.5rem; border: 0; margin: 0; padding: 0; }
.js .theme-toggle { display: flex; }
.theme-toggle legend { float: left; margin-right: 0.25rem; padding: 0; }
.theme-toggle button {
  font: inherit;
  font-size: 0.875rem;
  color: var(--band-soft);
  background: none;
  border: 1px solid var(--band-line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  min-height: 36px;
  cursor: pointer;
}
.theme-toggle button:hover { color: var(--band-ink); }
.theme-toggle button[aria-pressed="true"] { color: var(--band-bg); background: var(--band-ink); border-color: var(--band-ink); }
.site-footer :focus-visible { outline-color: var(--band-accent); }

/* ---------- Home: letter layout ---------- */

.wrap.letter > * { max-width: var(--read); }
.letter h1 { max-width: none; }
.letter p:not(.meta):not(.sig) { font-size: 1.125rem; }
.letter .photo-placeholder { aspect-ratio: 16 / 9; margin: 2rem 0; }
.letter-photo { width: 100%; height: auto; margin: 2rem 0; border-radius: 6px; background: var(--bg-alt); }
.wrap.letter > .photo-placeholder, .wrap.letter > .letter-photo, .wrap > .faq { max-width: none; }   /* boxes and rules span the full 740px column */

/* Home hero: headline, subhead and button above the fold, with a vertical portrait beside them */
.wrap.letter > .hero-intro { max-width: none; }
.hero-intro { display: grid; gap: 1.5rem; margin-bottom: 2.75rem; }
.hero-intro h1 { margin-top: 0; }
.hero-intro .lede { font-size: 1.1875rem; }
.hero-intro .btn-row { margin-top: 1.5rem; }
.hero-avatar {
  width: 144px; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 6px; background: var(--bg-alt);
}
@media (min-width: 46.25rem) {
  .hero-intro { grid-template-columns: 1fr 15rem; align-items: center; gap: 3rem; }
  .hero-avatar { width: 100%; order: 2; }
}
.letter ul { padding-left: 1.2rem; font-size: 1.125rem; }
.letter li { margin-bottom: 0.4rem; }
.letter .sig { font-family: "Mrs Saint Delafield", "Snell Roundhand", "Brush Script MT", cursive; font-size: 3.5rem; line-height: 1.1; color: var(--ink); margin: 2rem 0 0; }

/* ---------- Continuous paper: sections separated by a hairline inside the column ---------- */

.continuous .section { padding: 3.25rem 0; }
.continuous .section + .section { border-top: 0; padding-top: 0; }
.continuous .section + .section > :first-child {
  padding-top: 3.25rem;
  background: linear-gradient(var(--line), var(--line)) no-repeat 50% 0 / calc(100% - 3rem) 1px;
}

/* Stacked one-idea blocks: dividers span the full column, text keeps the reading measure */
.wrap.stack > div { max-width: none; }
.wrap.stack > div > * { max-width: var(--read); }

/* ---------- Home: examples and FAQ close ---------- */

.examples > .wrap { background: linear-gradient(var(--line), var(--line)) no-repeat 50% 0 / calc(100% - 3rem) 1px; }   /* hairline inside the column */
.section.examples { padding: 0; }
.examples > .wrap { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.example-grid { display: grid; gap: 2rem 2.5rem; margin-top: 2rem; }
.wrap > .example-grid { max-width: none; }
@media (min-width: 40rem) { .example-grid { grid-template-columns: repeat(2, 1fr); } }
.example-grid h3 { color: var(--ink); margin: 0 0 0.5rem; }
.example-grid p { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.faq-more { margin-top: 2rem; }
.faq-more a { white-space: nowrap; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Services: billing cue, consulting pricing ---------- */

.billing { font-family: var(--font-ui); font-size: 0.875rem; color: var(--ink-soft); margin: 0 0 0.5rem; }
.pricing-note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); max-width: var(--read); }
.pricing-note strong { color: var(--ink); font-family: var(--font-ui); font-weight: 600; }

/* ---------- Photos on inner pages ---------- */

.about-photo { width: 100%; max-width: 26rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 6px; background: var(--bg-alt); }
.photo-3x4 { aspect-ratio: 3 / 4; }   /* full frame: keeps the street and signs in view */

/* ---------- Contact form ---------- */

.contact-form { display: grid; gap: 0.4rem; margin-top: 2rem; max-width: var(--read); }
.contact-form label { font-family: var(--font-ui); font-size: 0.9375rem; font-weight: 600; color: var(--ink); margin-top: 0.85rem; }
.contact-form input, .contact-form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 7.5rem; line-height: 1.55; }
.contact-form ::placeholder { color: var(--ink-soft); opacity: 0.85; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact-form button { justify-self: start; margin-top: 1.25rem; cursor: pointer; }
.contact-form .form-hint { margin: 0.85rem 0 -0.35rem; font-size: 0.9375rem; color: var(--ink-soft); }
.contact-form .optional { font-weight: 400; color: var(--ink-soft); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin: 0 0 0.5rem; padding: 0.85rem 1rem; border-radius: var(--radius); border-left: 3px solid var(--accent); background: var(--accent-tint); color: var(--ink); }
.form-status:target { display: block; }
.form-fallback { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--ink-soft); }

/* ---------- Footer: social links ---------- */

.site-footer .social { display: flex; gap: 0.35rem; margin-top: 0.5rem; }
.site-footer .social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; margin-left: -0.5rem; margin-right: 0.5rem; color: var(--band-soft); }
.site-footer .social a:hover { color: var(--band-accent); }
.site-footer .social svg { width: 1.15rem; height: 1.15rem; }
