/* ==========================================================================
   Scer — Workplace Psychology Platform
   Shared stylesheet
   Palette: deep ink background · warm muted text · honey-amber accent
   Type:    Fraunces (display serif) + Hanken Grotesk (body grotesque)
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:            #11151b;   /* deepest ink */
  --bg-grad-a:     #131922;
  --bg-grad-b:     #0e1217;
  --surface:       #181f29;   /* card / panel */
  --surface-2:     #1f2733;   /* raised panel */
  --line:          #2a3441;   /* hairline borders */
  --line-soft:     #232c38;

  /* Text */
  --text:          #ece8e1;   /* warm off-white */
  --text-muted:    #a6afba;   /* muted slate */
  --text-dim:      #6f7b88;   /* captions, meta */

  /* Accent — warm honey amber */
  --accent:        #e3a96b;
  --accent-bright: #f0bd84;
  --accent-deep:   #c98948;
  --accent-tint:   rgba(227, 169, 107, 0.12);
  --accent-line:   rgba(227, 169, 107, 0.40);

  /* A secondary cool tone for quiet variety (sage) */
  --sage:          #8fae9b;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", "Segoe UI", Helvetica, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.6rem + 1.7vw, 3rem);
  --step-4:  clamp(2.5rem, 1.9rem + 3vw, 4.4rem);
  --step-5:  clamp(3rem, 2rem + 5vw, 6rem);

  /* Spacing scale */
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-s:   1rem;
  --space-m:   1.5rem;
  --space-l:   2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Geometry */
  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1180px;
  --maxw-text: 70ch;

  /* Effects */
  --shadow:    0 18px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 8px 24px -16px rgba(0, 0, 0, 0.65);
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast:    0.18s var(--ease);
  --t:         0.32s var(--ease);
}

/* ---------- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Atmospheric depth: soft amber dawn glow + faint grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(227, 169, 107, 0.10), transparent 60%),
    radial-gradient(700px 700px at 8% 4%, rgba(143, 174, 155, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-grad-a), var(--bg-grad-b) 60%, var(--bg));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  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.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--accent-bright); }

::selection { background: var(--accent); color: #1a130a; }

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

/* ---------- Typography ---------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--text);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { color: var(--text-muted); max-width: var(--maxw-text); }
strong { color: var(--text); font-weight: 600; }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
}

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: var(--space-s);
}
.eyebrow::before {
  content: "";
  width: 1.8em;
  height: 1px;
  background: var(--accent-line);
}

.section-title { margin-bottom: var(--space-s); }
.section-intro { font-size: var(--step-1); color: var(--text-muted); line-height: 1.55; }

/* ---------- Layout -------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 5vw, 3rem);
}

section { padding-block: var(--space-2xl); }
.section--tight { padding-block: var(--space-xl); }

.stack > * + * { margin-top: var(--space-m); }
.stack-s > * + * { margin-top: var(--space-s); }

.grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid--tight { gap: var(--space-s); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--text-right { grid-template-columns: 0.95fr 1.05fr; }
}

.measure { max-width: var(--maxw-text); }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  --b: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--b);
  border: 1px solid var(--b);
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t-fast);
}
.btn:hover {
  background: var(--b);
  color: #1a130a;
  transform: translateY(-2px);
}
.btn--solid {
  background: var(--accent);
  color: #1a130a;
}
.btn--solid:hover { background: var(--accent-bright); color: #1a130a; }
.btn--ghost-light { --b: var(--text); color: var(--text); }
.btn--ghost-light:hover { background: var(--text); color: var(--bg); }
.btn .arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-s); }

/* Plain text link with arrow */
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
}
.textlink .arrow { transition: transform var(--t-fast); }
.textlink:hover .arrow { transform: translateX(4px); }

/* ---------- Navigation (injected) ---------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(17, 21, 27, 0.62);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  height: 4.6rem;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand .dot { color: var(--accent); }
.brand small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  padding: 0;
}
.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-block: 0.4rem;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--t);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 0.4rem; }

@media (max-width: 480px) {
  .nav-links { display: none; }
}

/* ---------- Breadcrumbs --------------------------------------------------- */
.breadcrumb {
  padding-top: calc(4.6rem + var(--space-l));
  padding-bottom: 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  font-size: var(--step--1);
  color: var(--text-dim);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--line);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  padding-top: calc(4.6rem + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  position: relative;
}
.hero h1 {
  font-size: var(--step-5);
  font-weight: 400;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero .lead { margin-top: var(--space-m); max-width: 54ch; }
.hero .btn-row { margin-top: var(--space-l); }

.page-head { padding-top: var(--space-l); padding-bottom: var(--space-m); }
.page-head h1 { margin-top: var(--space-2xs); }
.page-head .lead { margin-top: var(--space-m); }

/* ---------- Cards --------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-m);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t), transform var(--t), background var(--t);
  height: 100%;
}
.card:hover {
  border-color: var(--accent-line);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.card h3 { font-size: var(--step-1); }
.card p { font-size: var(--step-0); }
.card .card-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.card .textlink { margin-top: auto; padding-top: var(--space-2xs); }

a.card { color: inherit; }
a.card:hover { color: inherit; }
a.card h3 { transition: color var(--t-fast); }
a.card:hover h3 { color: var(--accent-bright); }

.card--feature {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--radius-lg);
}

.tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.3em 0.8em;
  border: 1px solid var(--accent-line);
  border-radius: 100px;
}
.meta {
  font-size: var(--step--1);
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ---------- Stats --------------------------------------------------------- */
.stats {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding-block: var(--space-l);
}
.stat .num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat .label {
  margin-top: var(--space-2xs);
  font-size: var(--step--1);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---------- Feature / image placeholder ----------------------------------- */
.media-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(227, 169, 107, 0.16), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  min-height: clamp(260px, 38vw, 440px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--space-m);
}
.media-panel .media-cap {
  font-size: var(--step--1);
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.media-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  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.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

/* ---------- Lists of features (checks) ------------------------------------ */
.ticks { list-style: none; padding: 0; display: grid; gap: var(--space-s); }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text-muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.7rem; height: 0.7rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.ticks strong { color: var(--text); }

/* Definition-style list */
.deflist { display: grid; gap: 0; }
.deflist .row {
  display: grid;
  gap: var(--space-xs);
  grid-template-columns: 1fr;
  padding-block: var(--space-m);
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 720px) {
  .deflist .row { grid-template-columns: 0.4fr 0.6fr; gap: var(--space-l); }
}
.deflist .row:last-child { border-bottom: 1px solid var(--line-soft); }
.deflist dt { font-family: var(--font-display); font-size: var(--step-1); color: var(--text); }
.deflist dd { color: var(--text-muted); }

/* ---------- Schedule table ------------------------------------------------ */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-0);
}
.schedule-table caption {
  text-align: left;
  color: var(--text-dim);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  padding-bottom: var(--space-s);
}
.schedule-table th,
.schedule-table td {
  text-align: left;
  padding: var(--space-s) var(--space-s);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.schedule-table thead th {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  font-weight: 600;
}
.schedule-table tbody th {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  font-size: var(--step-1);
}
.schedule-table td { color: var(--text-muted); }
.schedule-table tr:hover td,
.schedule-table tr:hover th { color: var(--text); }
.table-scroll { overflow-x: auto; }

/* ---------- Gallery ------------------------------------------------------- */
.gallery-grid {
  display: grid;
  gap: var(--space-s);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.frame {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 120% at 70% 20%, rgba(227, 169, 107, 0.14), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  transition: border-color var(--t), transform var(--t);
  display: flex;
  align-items: flex-end;
  padding: var(--space-s);
}
.frame:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.frame.tall { aspect-ratio: 3 / 4; }
.frame.wide { aspect-ratio: 16 / 9; grid-column: span 2; }
@media (max-width: 560px) { .frame.wide { grid-column: span 1; } }
.frame figcaption { font-size: var(--step--1); color: var(--text-dim); letter-spacing: 0.03em; }

/* ---------- Article prose ------------------------------------------------- */
.prose { max-width: var(--maxw-text); }
.prose > * + * { margin-top: var(--space-m); }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-l); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-m); }
.prose p { color: var(--text-muted); }
.prose ul, .prose ol { color: var(--text-muted); padding-left: 1.3rem; display: grid; gap: var(--space-2xs); }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  margin-block: var(--space-l);
  padding: var(--space-m) var(--space-l);
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--text);
  font-style: italic;
}
.prose a { text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  align-items: center;
  color: var(--text-dim);
  font-size: var(--step--1);
  margin-top: var(--space-m);
}
.article-meta .dot-sep::before { content: "·"; margin-right: var(--space-s); color: var(--line); }

/* ---------- Author / contact rows ----------------------------------------- */
.contact-grid { display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.contact-item .label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-dim); font-weight: 600; margin-bottom: var(--space-2xs);
}
.contact-item a, .contact-item p { font-size: var(--step-1); color: var(--text); }
.contact-item a:hover { color: var(--accent); }

/* ---------- Pull / CTA band ----------------------------------------------- */
.band {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(120% 160% at 90% 0%, rgba(227, 169, 107, 0.12), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  text-align: center;
}
.band h2 { max-width: 20ch; margin-inline: auto; }
.band p { margin-inline: auto; margin-top: var(--space-s); }
.band .btn-row { justify-content: center; margin-top: var(--space-l); }

/* ---------- Related links (spiderweb) ------------------------------------- */
.related-links {
  border-top: 1px solid var(--line-soft);
  padding-block: var(--space-xl);
}
.related-links .eyebrow { margin-bottom: var(--space-m); }
.related-grid {
  display: grid;
  gap: var(--space-s);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.related-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: var(--space-m);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--t), transform var(--t), background var(--t);
}
.related-grid a:hover {
  border-color: var(--accent-line);
  background: var(--surface-2);
  transform: translateY(-3px);
  color: var(--text);
}
.related-grid .r-kicker {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); font-weight: 600;
}
.related-grid .r-title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.15; }
.related-grid .r-desc { font-size: var(--step--1); color: var(--text-dim); }

/* ---------- Footer (injected) -------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: var(--space-2xl);
  padding-block: var(--space-xl) var(--space-l);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
}
.footer-top {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand p { font-size: var(--step--1); color: var(--text-dim); margin-top: var(--space-s); max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-dim); font-weight: 600; margin-bottom: var(--space-s);
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--text-muted); font-size: var(--step--1); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--line-soft);
  font-size: var(--step--1);
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Motion: staggered reveal -------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
}
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }
.reveal.d4 { animation-delay: 0.32s; }
.reveal.d5 { animation-delay: 0.40s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Small print / utilities --------------------------------------- */
.muted { color: var(--text-dim); }
.accent { color: var(--accent); }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: var(--space-s); }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.note {
  font-size: var(--step--1);
  color: var(--text-dim);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: var(--space-s) var(--space-m);
}
.note strong { color: var(--text-muted); }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #1a130a;
  padding: 0.6em 1em;
  border-radius: 0 0 var(--radius) 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #1a130a; }
