/* ==========================================================================
   Stillpoint Yoga — design system
   Organic-editorial: warm paper, deep pine, terracotta accents.
   Fonts (self-hosted in /fonts): Fraunces (display) + Karla (body).
   ========================================================================== */

:root {
  --paper: #f3edde;
  --paper-deep: #eae1cb;
  --card: #faf6ea;
  --ink: #26302a;
  --ink-soft: #57625a;
  --pine: #33513f;
  --pine-deep: #24392c;
  --terra: #c05b2e;
  --terra-deep: #9c4720;
  --terra-soft: rgba(192, 91, 46, 0.12);
  --line: #d8cbae;
  --shadow: 7px 7px 0 rgba(38, 48, 42, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-mono: "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;
  --wrap: 1160px;
}

/* ---- reset & base ------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "opsz" 90, "SOFT" 30;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 6.5vw, 5.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }

.wonk {
  font-style: italic;
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 80;
  color: var(--terra);
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--terra-soft);
  border: 1px solid rgba(192, 91, 46, 0.25);
  border-radius: 6px;
  padding: 0.08em 0.4em;
}

a { color: var(--pine-deep); }

::selection { background: var(--terra); color: #fff6e9; }

:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: min(var(--wrap), 100% - 2.6rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.6rem;
  z-index: 3000;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.skip-link:focus { left: 0.6rem; }

.muted { color: var(--ink-soft); }

/* ---- shared type pieces -------------------------------------------------- */

.eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "✳ ";
  letter-spacing: 0;
}

.lede {
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34em;
}

.sec-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--terra);
  letter-spacing: 0.14em;
  display: inline-block;
  margin-bottom: 0.7rem;
}

.sec-num::after {
  content: "";
  display: inline-block;
  width: 3.2rem;
  height: 1px;
  background: var(--line);
  vertical-align: middle;
  margin-left: 0.9rem;
}

.section { padding: clamp(3.6rem, 8vw, 6.5rem) 0; }

.section-head { max-width: 44em; margin-bottom: 2.6rem; }

.sec-sub { color: var(--ink-soft); font-size: 1.12rem; }

/* ---- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: translate 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.btn-primary {
  background: var(--terra);
  border-color: var(--terra-deep);
  color: #fff6e9;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  translate: -2px -2px;
  box-shadow: 9px 9px 0 rgba(38, 48, 42, 0.15);
  background: var(--terra-deep);
}

.btn-ghost { background: transparent; color: var(--ink); }

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  translate: -2px -2px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.1rem;
}

.text-link {
  font-weight: 700;
  color: var(--terra-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--terra-soft);
  transition: border-color 0.15s ease;
}

.text-link:hover { border-color: var(--terra); }

/* ---- header / nav ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(243, 237, 222, 0.88);
  backdrop-filter: blur(9px) saturate(1.15);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.mark { width: 1.5rem; height: 1.5rem; color: var(--terra); flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  margin-left: auto;
}

.site-nav > a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--ink);
  padding-block: 0.3rem;
  background: linear-gradient(var(--terra), var(--terra)) bottom left / 0 2px no-repeat;
  transition: background-size 0.22s ease;
}

.site-nav > a:hover,
.site-nav > a.active { background-size: 100% 2px; }

.nav-request {
  border: 1.5px solid var(--pine-deep);
  border-radius: 999px;
  padding: 0.42rem 1.05rem !important;
  background: var(--pine);
  color: var(--paper) !important;
  transition: background 0.16s ease, translate 0.16s ease, box-shadow 0.16s ease !important;
}

.nav-request:hover {
  background: var(--pine-deep);
  translate: -1px -1px;
  box-shadow: 4px 4px 0 rgba(38, 48, 42, 0.16);
}

.nav-request.active { background: var(--terra); border-color: var(--terra-deep); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font: 700 0.9rem var(--font-body);
  color: var(--ink);
  cursor: pointer;
}

/* ---- hero ----------------------------------------------------------------- */

.hero { padding: clamp(2.8rem, 6vw, 5.2rem) 0 clamp(2.4rem, 5vw, 4rem); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy > * {
  animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > *:nth-child(2) { animation-delay: 0.07s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.21s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.28s; }

@keyframes rise {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: 0 0; }
}

.hero-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.hero-note::before { content: "— "; color: var(--terra); }

.hero-media {
  position: relative;
  margin: 0;
  animation: rise 0.9s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 300px 300px var(--radius) var(--radius);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  translate: 16px 16px;
  border: 2px solid var(--terra);
  border-radius: 300px 300px var(--radius) var(--radius);
  z-index: -1;
}

.hero-media figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--font-display);
}

/* ---- ticker ----------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  background: var(--pine);
  color: #efe9d6;
  border-block: 1px solid var(--pine-deep);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding-block: 0.62rem;
  animation: ticker 26s linear infinite;
}

.ticker-track > span {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ticker-track > span::after { content: "✳"; font-style: normal; color: var(--terra); }

@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- cards ----------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.class-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}

.class-card:hover {
  translate: -4px -4px;
  box-shadow: var(--shadow);
}

.class-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.card-body { padding: 1.3rem 1.4rem 1.5rem; }

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 0.55rem;
}

.card-body h3 { margin-bottom: 0.35rem; }

.card-body p { color: var(--ink-soft); font-size: 0.99rem; }

/* staggered reveal */
.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in { opacity: 1; translate: 0 0; }

.card-grid > .reveal:nth-child(2) { transition-delay: 0.09s; }
.card-grid > .reveal:nth-child(3) { transition-delay: 0.18s; }

/* ---- quote band ------------------------------------------------------------ */

.quote-band {
  background: var(--pine-deep);
  color: #efe9d6;
  padding: clamp(3.4rem, 7vw, 5.4rem) 0;
  border-block: 1px solid var(--pine-deep);
}

.quote-band blockquote {
  margin: 0;
  max-width: 22em;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.25;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}

.quote-band .wonk { color: #e8a87c; }

.quote-band cite {
  display: block;
  margin-top: 1.3rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(239, 233, 214, 0.66);
}

/* ---- visit / split layouts --------------------------------------------------- */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: center;
}

.split-grid img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

address { font-style: normal; }

.stat-row {
  display: flex;
  gap: 2.4rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--pine);
}

.stat span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---- page hero (subpages) ---------------------------------------------------- */

.page-hero {
  padding: clamp(3rem, 7vw, 5.6rem) 0 clamp(1.8rem, 4vw, 2.6rem);
  border-bottom: 1px dashed var(--line);
}

/* ---- schedule table ----------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.filter-btn {
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.42rem 1.1rem;
  font: 700 0.9rem var(--font-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover { border-color: var(--ink); }

.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.schedule-wrap { overflow-x: auto; }

.schedule {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.schedule th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--ink);
}

.schedule td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.schedule tbody tr { transition: background 0.14s ease; }
.schedule tbody tr:hover { background: var(--paper-deep); }

.schedule .time { font-family: var(--font-mono); font-size: 0.9rem; white-space: nowrap; }
.schedule .cls { font-weight: 700; }
.schedule .lvl { color: var(--terra-deep); font-size: 0.9rem; white-space: nowrap; }
.schedule tr.hidden { display: none; }

/* ---- teachers ------------------------------------------------------------------ */

.teacher-card { text-align: left; }

.teacher-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.92);
}

.teacher-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin: 0.15rem 0 0.6rem;
}

/* ---- values ---------------------------------------------------------------------- */

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.values-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.4rem;
  padding: 1.4rem 0.4rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.values-list .v-num {
  font-family: var(--font-mono);
  color: var(--terra);
  font-size: 0.9rem;
}

.values-list b {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}

.values-list p { margin: 0; color: var(--ink-soft); }

/* ---- contact form ------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: start;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}

.field { margin-bottom: 1.15rem; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field textarea { resize: vertical; min-height: 7.5rem; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--terra);
  background: #fffdf6;
}

.form-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.9rem; }

.form-success {
  border: 1.5px solid var(--pine);
  background: rgba(51, 81, 63, 0.08);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--pine-deep);
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 1.1rem;
}

.detail-list li { padding-left: 1.6rem; position: relative; }

.detail-list li::before {
  content: "✳";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--terra);
}

.detail-list b {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---- /request page ------------------------------------------------------------------ */

.req-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 1.6rem 0 0;
}

.req-meta li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1.05rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.req-meta li span {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 0.55rem;
}

.request-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.8rem;
  align-items: start;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.panel-head h2 { margin: 0; font-size: 1.25rem; }

.pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--terra);
  color: #fff6e9;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
}

.panel-demo { padding-bottom: 1.4rem; }

.panel-copy { padding: 1.05rem 1.35rem 0; margin: 0; }

.panel-demo .btn { margin: 1rem 1.35rem 0; }

.panel-result {
  margin: 1.2rem 1.35rem 0;
  border: 1px dashed var(--terra);
  border-radius: 12px;
  overflow: hidden;
}

.panel-result .panel-copy { padding: 0.8rem 1rem 0.2rem; }

.panel-result .hdr-list { border-bottom: 0; }

.panel-note {
  padding: 0 1.35rem;
  margin: 1.1rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.hdr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.93rem;
}

.hdr-line {
  display: flex;
  gap: 0.7rem;
  padding: 0.62rem 1.35rem;
  border-bottom: 1px dashed var(--line);
  line-height: 1.5;
}

.hdr-line:last-child { border-bottom: 0; }

.hdr-name {
  color: var(--pine);
  font-weight: 700;
  white-space: nowrap;
}

.hdr-eq { color: var(--terra); font-weight: 700; flex: none; }

.hdr-val {
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hdr-highlight {
  background: var(--terra-soft);
  box-shadow: inset 3px 0 0 var(--terra);
}

.hdr-empty { color: var(--ink-soft); font-style: italic; }

/* ---- footer --------------------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  background: var(--pine-deep);
  color: #d9d2bd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
  gap: 2.2rem;
  padding-block: 3rem 2.2rem;
}

.site-footer .brand { color: #efe9d6; }
.site-footer .mark { color: var(--terra); }
.site-footer .brand-sub { color: rgba(239, 233, 214, 0.55); }

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(239, 233, 214, 0.72);
  max-width: 26em;
}

.site-footer h4 {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239, 233, 214, 0.55);
  margin: 0.2rem 0 0.8rem;
}

.site-footer p, .site-footer address { font-size: 0.97rem; line-height: 1.7; }

.footer-links { display: grid; gap: 0.15rem; }

.site-footer a { color: #efe9d6; text-decoration: none; }

.site-footer a:hover { color: #e8a87c; text-decoration: underline; }

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 1.1rem;
  border-top: 1px solid rgba(239, 233, 214, 0.16);
  font-size: 0.85rem;
  color: rgba(239, 233, 214, 0.6);
}

/* ---- responsive ------------------------------------------------------------------------ */

@media (max-width: 960px) {
  .hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .request-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.3rem 1.2rem;
    margin-left: 0;
  }

  .site-nav.open { display: flex; }

  .site-nav > a { padding: 0.7rem 0.2rem; border-bottom: 1px dashed var(--line); }
  .site-nav > a.nav-request { border-bottom: 0; margin-top: 0.8rem; justify-content: center; }

  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .stat-row { gap: 1.6rem; }
}

/* ---- motion preferences ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-media { animation: none; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; translate: 0 0; transition: none; }
  .btn, .class-card { transition: none; }
}
