/* ==========================================================================
   Borydder — "estate ledger" design system
   Warm paper archive aesthetic: a well-kept inventory book, not a SaaS app.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/static/fonts/fraunces-normal.woff2?v=7234ed86') format('woff2-variations'),
       url('/static/fonts/fraunces-normal.woff2?v=7234ed86') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('/static/fonts/fraunces-italic.woff2?v=13cd664e') format('woff2-variations'),
       url('/static/fonts/fraunces-italic.woff2?v=13cd664e') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/static/fonts/hanken-grotesk.woff2?v=e9201edd') format('woff2-variations'),
       url('/static/fonts/hanken-grotesk.woff2?v=e9201edd') format('woff2');
}

:root {
  /* Palette — warm paper, ink, clay, moss */
  --ink: #211c15;
  --ink-soft: #55503f;
  --ink-faint: #6b6350;
  --paper: #f3ecdc;
  --paper-raised: #fbf7ec;
  --paper-deep: #e8dfc7;
  --line: #d9cca8;
  --clay: #b6502e;
  --clay-deep: #8c3a1f;
  --clay-tint: #f1ded1;
  --moss: #4f5b34;
  --moss-deep: #363f22;
  --moss-tint: #dfe3ca;
  --gold: #b1863c;

  --font-display: 'Fraunces', 'Iowan Old Style', ui-serif, Georgia, serif;
  --font-body: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;

  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3.5rem;
  --space-6: 5.5rem;
  --space-7: 8rem;

  --radius: 3px;
  --shadow-card: 0 1px 2px rgba(33, 28, 21, 0.06), 0 12px 24px -12px rgba(33, 28, 21, 0.18);
  --shadow-lift: 0 4px 8px rgba(33, 28, 21, 0.08), 0 24px 40px -16px rgba(33, 28, 21, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------------- */

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 900px 600px at 12% -10%, rgba(182, 80, 46, 0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(79, 91, 52, 0.08), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  font-weight: 600;
}

p { margin: 0 0 var(--space-2); color: var(--ink-soft); }

a { color: var(--clay-deep); }
a:hover { color: var(--clay); }

::selection { background: var(--clay); color: var(--paper-raised); }

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--space-3);
}

/* ---------------------------------------------------------------------- Skip link */

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-2);
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75em 1.25em;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: var(--space-2);
}

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

.site-header {
  position: relative;
  z-index: 10;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  transform: translateY(1px);
}

.site-nav { display: flex; align-items: center; gap: var(--space-3); }
.site-nav a.text-link {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.site-nav a.text-link:hover { color: var(--ink); border-color: var(--ink-faint); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-clay {
  background: var(--clay);
  color: var(--paper-raised);
  box-shadow: var(--shadow-card);
}
.btn-clay:hover { background: var(--clay-deep); color: var(--paper-raised); box-shadow: var(--shadow-lift); transform: translateY(-1px); }

.btn-moss {
  background: var(--moss);
  color: var(--paper-raised);
  box-shadow: var(--shadow-card);
}
.btn-moss:hover { background: var(--moss-deep); color: var(--paper-raised); box-shadow: var(--shadow-lift); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-faint); background: var(--paper-raised); }

.btn-wide { width: 100%; justify-content: center; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding-block: var(--space-6) var(--space-6);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: end;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.kicker::before {
  content: '';
  width: 1.6em;
  height: 1px;
  background: var(--clay-deep);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 500;
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--clay-deep);
}

.hero .lede {
  font-size: 1.14rem;
  max-width: 42ch;
  color: var(--ink-soft);
  margin-top: var(--space-2);
}

.hero-cta { display: flex; gap: var(--space-2); margin-top: var(--space-4); flex-wrap: wrap; }

.hero-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  position: relative;
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--paper-deep);
  border-radius: 2px;
  pointer-events: none;
}
.hero-panel .stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: var(--space-2);
  border-bottom: 1px dashed var(--line);
}
.hero-panel .stat:last-child { border-bottom: none; }
.hero-panel .stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-panel .stat .label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: right;
  max-width: 16ch;
}

/* ---------------------------------------------------------------------- Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up 0.7s var(--ease) forwards;
}
@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 0.01ms !important; }
}

/* ---------------------------------------------------------------------- Section shell */

section.block { padding-block: var(--space-6); }
.block-head { max-width: 56ch; margin-bottom: var(--space-4); }
.block-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; }
.block-head .kicker { color: var(--moss); }
.block-head .kicker::before { background: var(--moss); }

/* ---------------------------------------------------------------------- Ledger steps */

.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.ledger-row .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--paper-deep);
  -webkit-text-stroke: 1.5px var(--clay-deep);
  color: transparent;
  line-height: 1;
}
.ledger-row h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.35em; }
.ledger-row p { max-width: 52ch; }

/* ---------------------------------------------------------------------- Provider banner */

.provider-band {
  background: var(--moss-deep);
  color: var(--moss-tint);
  border-radius: var(--radius);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(ellipse 600px 400px at 90% -20%, rgba(223, 227, 202, 0.12), transparent 60%);
}
.provider-band .kicker { color: var(--moss-tint); }
.provider-band .kicker::before { background: var(--moss-tint); }
.provider-band h2 { color: var(--paper-raised); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; max-width: 20ch; }
.provider-band p { color: var(--moss-tint); max-width: 48ch; opacity: 0.92; }
.provider-band .services {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-block: var(--space-3);
}
.provider-band .services span {
  font-size: 0.82rem;
  border: 1px solid rgba(223, 227, 202, 0.35);
  border-radius: 999px;
  padding: 0.4em 0.9em;
  color: var(--paper-raised);
}
.provider-band .btn-ghost { border-color: rgba(223, 227, 202, 0.4); color: var(--paper-raised); }
.provider-band .btn-ghost:hover { background: rgba(223, 227, 202, 0.1); border-color: var(--paper-raised); }

/* ---------------------------------------------------------------------- Footer */

.site-footer {
  margin-top: var(--space-6);
}
.site-footer small { color: var(--ink-faint); font-size: 0.85rem; }

/* ---------------------------------------------------------------------- Forms */

.form-shell {
  max-width: 640px;
  margin-inline: auto;
}
.form-shell .kicker { justify-content: center; }
.form-shell .form-head { text-align: center; margin-bottom: var(--space-4); }
.form-shell .form-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; }

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}
.steps .dot {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  border: 1px solid var(--line);
  color: var(--ink-faint);
  background: var(--paper-raised);
}
.steps .dot.active { border-color: var(--clay); color: var(--clay-deep); background: var(--clay-tint); }
.steps .bar { width: 2.5rem; height: 1px; background: var(--line); }

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}

.status-dot {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  margin-right: 0.15em;
}
.status-dot.status-offered { background: var(--gold); }
.status-dot.status-accepted { background: var(--moss); }
.status-dot.status-declined { background: var(--clay-deep); }
.status-dot.status-done { background: var(--ink-faint); }
.status-dot.status-new { background: var(--gold); }
.status-dot.status-assigned { background: var(--moss); }
.status-dot.status-closed { background: var(--ink-faint); }

.field { margin-bottom: var(--space-3); border: 0; padding: 0; min-width: 0; }
.field label,
.field legend {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5em;
}
.field .hint { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.4em; font-weight: 400; text-transform: none; letter-spacing: normal; }
.field-error { font-size: 0.82rem; color: var(--clay-deep); margin-top: 0.4em; font-weight: 400; text-transform: none; letter-spacing: normal; }
.field legend .hint-inline { font-weight: 400; text-transform: none; letter-spacing: normal; color: var(--ink-faint); }
.images-preview { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: 0.5em; }
.images-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.image-thumb { position: relative; width: 64px; height: 64px; }
.image-thumb img, .image-thumb .file-placeholder { width: 64px; height: 64px; }
.image-thumb-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  line-height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--ink-faint);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.9rem;
  cursor: pointer;
}
.image-thumb-remove:hover { color: var(--clay-deep); }
.file-placeholder {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--paper-deep);
  border: 1px solid var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25em;
  font-size: 0.62rem;
  line-height: 1.15;
  color: var(--ink-soft);
  text-align: center;
  overflow: hidden;
  word-break: break-word;
}

.upload-progress { margin-bottom: var(--space-3); }
.upload-progress-track { background: var(--paper-deep); border-radius: var(--radius); height: 0.5em; overflow: hidden; }
.upload-progress-bar { background: var(--clay); height: 100%; width: 0%; transition: width 0.2s var(--ease); }
.upload-progress-label { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.4em; }

/* Honeypot: off-screen (not display:none, which some bots skip), never
   shown to a real visitor, only reachable by a bot filling every field. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8em 0.9em;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
textarea { resize: vertical; min-height: 6rem; font-family: var(--font-body); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--clay);
  background: var(--paper-raised);
  box-shadow: 0 0 0 3px var(--clay-tint);
}
input[type="file"] { padding: 0.6em; cursor: pointer; }

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}
.checks label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55em 1.1em;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink-soft);
  cursor: pointer;
  background: var(--paper);
  transition: all 0.2s var(--ease);
}
.checks input { accent-color: var(--clay); width: auto; }
.checks label:has(input:checked) {
  border-color: var(--clay);
  background: var(--clay-tint);
  color: var(--clay-deep);
}

.form-error {
  background: var(--clay-tint);
  border: 1px solid var(--clay);
  color: var(--clay-deep);
  border-radius: var(--radius);
  padding: 0.8em 1em;
  font-size: 0.9rem;
  margin-bottom: var(--space-3);
}

.htmx-error-banner {
  position: fixed;
  top: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: 90vw;
  margin-bottom: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.htmx-error-banner[hidden] { display: none; }

.thanks {
  text-align: center;
  padding-block: var(--space-4);
}
.thanks .stamp {
  width: 4.5rem; height: 4.5rem;
  border: 2px solid var(--moss);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-3);
  color: var(--moss);
  font-size: 1.8rem;
  transform: rotate(-8deg);
}
.thanks h2 { font-size: 1.7rem; }

/* ---------------------------------------------------------------------- Announcement bar */

.announce {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.6em var(--space-3);
}
.announce strong { color: var(--gold); font-weight: 600; }

/* ---------------------------------------------------------------------- Stats strip */

.stats-strip {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--space-5);
  background-image: radial-gradient(ellipse 700px 400px at 15% 0%, rgba(182, 80, 46, 0.18), transparent 60%);
}
.stats-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.stats-strip .stat-block { text-align: center; }
.stats-strip .stat-block .n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--paper);
}
.stats-strip .stat-block .l {
  display: block;
  font-size: 0.82rem;
  color: var(--paper-deep);
  margin-top: 0.35em;
}

/* ---------------------------------------------------------------------- Testimonial / quote */

.quote-block { text-align: center; max-width: 52ch; margin-inline: auto; }
.quote-block .glyph {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  color: var(--clay);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-1);
}
.quote-block blockquote {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
}
.quote-block cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.quote-block cite::before { content: '— '; }

/* ---------------------------------------------------------------------- FAQ accordion */

.faq-list { border-top: 1px solid var(--line); max-width: 68ch; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-3);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 1.6rem; height: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--clay-deep);
  font-size: 1.1rem;
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--clay-tint); }
.faq-item p { padding-bottom: var(--space-3); max-width: 60ch; }

/* ---------------------------------------------------------------------- Closing CTA band */

.cta-band {
  background: var(--clay);
  background-image: radial-gradient(ellipse 600px 400px at 90% 0%, rgba(251, 247, 236, 0.15), transparent 60%);
  border-radius: var(--radius);
  padding: var(--space-5);
  text-align: center;
}
.cta-band .kicker { color: var(--paper-raised); justify-content: center; }
.cta-band .kicker::before { background: var(--paper-raised); }
.cta-band h2 { color: var(--paper-raised); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; max-width: 24ch; margin-inline: auto; }
.cta-band p { color: var(--paper-raised); max-width: 44ch; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: var(--space-3); }
.cta-band .btn-ghost { border-color: rgba(251, 247, 236, 0.5); color: var(--paper-raised); }
.cta-band .btn-ghost:hover { background: rgba(251, 247, 236, 0.12); border-color: var(--paper-raised); }

/* ---------------------------------------------------------------------- Expanded footer */

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
}
.footer-grid .blurb { max-width: 32ch; color: var(--ink-soft); font-size: 0.92rem; margin-top: var(--space-2); }
.footer-grid h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6em; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--clay-deep); }

/* ---------------------------------------------------------------------- Responsive */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .ledger-row { grid-template-columns: 3.2rem 1fr; }
  .site-nav .text-link:first-child { display: none; }
  .stats-strip .wrap { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* htmx swap fade */
[hx-swap] { view-transition-name: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.25s; }

/* ---------------------------------------------------------------------- Utility classes (#673) */
/* Promoted from repeated inline style="..." attributes so style-src can drop 'unsafe-inline'. */

.text-moss { color: var(--moss); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mb-3 { margin-bottom: var(--space-3); }
.d-inline { display: inline; }
.row-gap-2 { display: flex; gap: var(--space-2); }
.img-row { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-2); }
.thumb-96 { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }
.reveal-delay-1 { animation-delay: .05s; }
.reveal-delay-2 { animation-delay: .18s; }
.brand-text { font-size: 1.05rem; }
.mark-sm { width: 1.5rem; height: 1.5rem; font-size: 0.8rem; }
.footer-row { padding-top: var(--space-3); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.stamp-moss { border-color: var(--moss); color: var(--moss); }
