/* SpearLink — site styles. Single stylesheet, mobile-first, no framework. */

/* ---------- Imports ---------- */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Inter:wght@400;500;600&display=swap');

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- Tokens ---------- */
:root {
  --bg: #fdfcf7;
  --bg-alt: #f3efe5;
  --bg-deep: #1f2a25;
  --ink: #1a1f1c;
  --ink-muted: #55605a;
  --ink-soft: #7a8580;
  --rule: #d8d2c2;
  --primary: #2c4a3e;
  --primary-deep: #1f342b;
  --accent: #b8895a;
  --accent-deep: #8e6740;
  --warn: #8a4b1a;
  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
  --serif: 'Source Serif 4', Georgia, "Times New Roman", Times, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(31, 52, 43, 0.04), 0 2px 4px rgba(31, 52, 43, 0.04);
  --shadow-md: 0 4px 12px rgba(31, 52, 43, 0.08), 0 1px 3px rgba(31, 52, 43, 0.04);
  --shadow-lg: 0 14px 32px rgba(31, 52, 43, 0.10), 0 4px 8px rgba(31, 52, 43, 0.04);
}

/* ---------- Typography ---------- */
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); margin-bottom: 0.5rem; font-weight: 600; }
h4 { font-size: 1.05rem; margin-bottom: 0.35rem; font-weight: 600; }

p { max-width: 65ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-muted); }

a { text-decoration: none; }
a:hover, a:focus { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); color: #e8e6dd; }
.section-deep h1, .section-deep h2, .section-deep h3, .section-deep h4 { color: #f3f0e6; }
.section-deep .lede { color: #c8c5b8; }
.section-deep a { color: #e0d6bf; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}
.section-deep .eyebrow { color: #d4b88c; }

.divider {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: clamp(2rem, 4vw, 3rem) 0;
}

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .nav { padding: 1rem 0; }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img {
  height: 56px;
  width: auto;
  display: block;
}
.brand:hover { text-decoration: none; }
@media (min-width: 760px) {
  .brand img { height: 80px; }
}
@media (min-width: 1100px) {
  .brand img { height: 96px; }
}
.nav-links {
  list-style: none;
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--primary);
  text-decoration: none;
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-cta:hover { background: var(--primary-deep); text-decoration: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: transparent;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  color: var(--ink);
}
.nav-toggle:hover { background: var(--bg-alt); }

@media (min-width: 760px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--rule);
  padding: 0.75rem 0 1rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile a {
  display: block;
  padding: 0.6rem 0;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
}
.nav-mobile a:last-child { border-bottom: 0; }
@media (min-width: 760px) { .nav-mobile { display: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  letter-spacing: -0.005em;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(31, 52, 43, 0.12), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.btn-primary:hover {
  background: var(--primary-deep);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(31, 52, 43, 0.18), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}
.section-deep .btn-secondary { color: #f3f0e6; border-color: #f3f0e6; }
.section-deep .btn-secondary:hover { background: #f3f0e6; color: var(--bg-deep); }

.btn-row { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  isolation: isolate;
  color: #f3efe2;
  background: #1a2620;
  min-height: 580px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(15, 25, 20, 0.82) 0%, rgba(15, 25, 20, 0.55) 45%, rgba(15, 25, 20, 0.35) 75%, rgba(15, 25, 20, 0.50) 100%),
    linear-gradient(180deg, rgba(31, 52, 43, 0.08) 0%, rgba(15, 25, 20, 0.55) 100%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  max-width: 720px;
  position: relative;
}
.hero h1 {
  margin-bottom: 1.5rem;
  color: #fdfcf7;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  letter-spacing: -0.028em;
}
.hero .lede {
  margin-bottom: 1.75rem;
  max-width: 50ch;
  line-height: 1.55;
  color: #e8e3d2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero .eyebrow { color: #e0c794; }
.hero .btn-secondary {
  color: #fdfcf7;
  border-color: rgba(253, 252, 247, 0.6);
  backdrop-filter: blur(6px);
  background: rgba(253, 252, 247, 0.08);
}
.hero .btn-secondary:hover {
  background: #fdfcf7;
  color: var(--ink);
  border-color: #fdfcf7;
}
.hero-meta {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253, 252, 247, 0.18);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 600px;
}
.hero-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fdfcf7;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.hero-meta span { font-size: 0.92rem; color: #c8c5b8; line-height: 1.55; }

.hero-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 25, 20, 0.55);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #e0c794;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(224, 199, 148, 0.25);
  z-index: 1;
}

/* Pause for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: #1a2620 url('../video/hero-poster.jpg') center / cover; }
}

/* ---------- Pillars / generic 3-col ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 74, 62, 0.18);
}
.section-alt .card { background: var(--bg); }
.card-num {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-muted); font-size: 0.96rem; }

/* ---------- Audience strip ---------- */
.audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 720px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .audience { grid-template-columns: repeat(4, 1fr); } }
.audience-card {
  border-top: 3px solid var(--primary);
  padding: 1.25rem 0.25rem 0.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.audience-card:hover {
  border-top-color: var(--accent);
  transform: translateY(-2px);
}
.audience-card h3 { font-family: var(--sans); font-size: 1.02rem; margin-bottom: 0.4rem; font-weight: 600; }
.audience-card p { font-size: 0.94rem; color: var(--ink-muted); }

/* ---------- Process / steps ---------- */
.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}
.step {
  counter-increment: step;
  position: relative;
  padding: 1.4rem 1.25rem 1.4rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 74, 62, 0.18);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fdfcf7;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}
.step h3 { font-family: var(--sans); font-size: 1rem; margin-bottom: 0.4rem; font-weight: 600; }
.step p { font-size: 0.92rem; color: var(--ink-muted); margin: 0; line-height: 1.55; }

/* ---------- Timeline ---------- */
.timeline {
  margin-top: 2rem;
  border-top: 2px solid var(--primary);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
  }
}
.timeline-item { position: relative; padding-left: 0; }
.timeline-item::before {
  content: "";
  display: block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  margin: -1.5rem 0 1rem 0;
  position: relative;
  top: -10px;
}
.timeline-month {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.timeline-item h4 { margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.92rem; color: var(--ink-muted); margin: 0; }
.timeline-warning {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--warn);
  background: rgba(138, 75, 26, 0.06);
  font-size: 0.95rem;
  color: var(--ink);
}
.timeline-warning strong { color: var(--warn); }

/* ---------- CTA banner ---------- */
.cta-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 760px) {
  .cta-banner { grid-template-columns: 1.4fr auto; gap: 2rem; }
}
.cta-banner h2 { margin-bottom: 0.5rem; }
.cta-banner p { color: #c8c5b8; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: #c8c5b8;
  padding: 3rem 0 1.5rem;
}
.site-footer h4 { color: #f3f0e6; font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.85rem; }
.site-footer a { color: #c8c5b8; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.95rem; }
.footer-tagline { font-family: var(--serif); font-size: 1.15rem; color: #f3f0e6; margin-bottom: 0.75rem; }
.footer-brand {
  display: inline-block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.footer-brand:hover { text-decoration: none; }
.footer-brand-mark {
  display: inline-block;
  background: #fdfcf7;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-brand:hover .footer-brand-mark {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.footer-brand-mark img {
  height: 56px;
  width: auto;
  display: block;
}
.footer-totop {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: #c8c5b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-totop:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  text-decoration: none;
}
.footer-meta {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: #8a8d83;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-attrib {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-attrib a {
  color: #d4cfb8;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 207, 184, 0.4);
}
.footer-attrib a:hover { color: #fff; text-decoration-color: #fff; }
.footer-attrib img {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  background: #fdfcf7;
  padding: 4px 8px;
  border-radius: 3px;
}
@media (min-width: 760px) {
  .footer-attrib img { height: 38px; }
}

/* ---------- Process diagram (walkthrough) ---------- */
.process-diagram {
  margin: 2.5rem 0 3rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.process-diagram h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}
.process-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}
.process-node {
  position: relative;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.process-node-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fdfcf7;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}
.process-node-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.process-node-month {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
@media (min-width: 760px) {
  .process-flow {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
  }
  .process-node {
    border-radius: 0;
    border-right: 0;
  }
  .process-node:first-child { border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
  .process-node:last-child { border-right: 1px solid var(--rule); border-top-right-radius: 6px; border-bottom-right-radius: 6px; }
}

/* Step badges for walkthrough sections */
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  background: rgba(44, 74, 62, 0.08);
  border-radius: 999px;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-deep);
  font-family: var(--sans);
}
.step-badge .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fdfcf7;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.82rem;
}

/* "Illustrative" banner */
.illustrative-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  background: rgba(184, 137, 90, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--ink);
}
.illustrative-banner strong { color: var(--accent-deep); }

/* ---------- Speargrass divider band ---------- */
.speargrass-divider {
  height: 110px;
  background-image: url('../images/speargrass-divider.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  margin: 0;
  border: 0;
}
@media (min-width: 1100px) {
  .speargrass-divider { height: 140px; background-size: 100% auto; }
}

/* Subtle decorative grass corner — used on light sections */
.section-with-grass {
  position: relative;
  overflow: hidden;
}
.section-with-grass::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 240px;
  height: 240px;
  background-image: url('../images/speargrass-4.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
}
@media (min-width: 720px) {
  .section-with-grass::after { width: 320px; height: 320px; opacity: 0.22; }
}

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  background: var(--bg-alt);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--rule);
}
.page-header h1 { margin-bottom: 0.75rem; }
.page-header p { color: var(--ink-muted); font-size: 1.1rem; max-width: 60ch; }

/* ---------- Prose / long-form content ---------- */
.prose {
  max-width: 70ch;
  margin: 0 auto;
}
.prose h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1.25rem 1.25rem; }
.prose ul li { margin-bottom: 0.4rem; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 600px;
}
@media (min-width: 600px) {
  .form-grid .full { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.muted { color: var(--ink-muted); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.full-width { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
