/* ==========================================================================
   unklefunk.music — v1
   Dark record-sleeve. One variable font (Fraunces) for display,
   system stack for body. Mobile-first.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Neon Nights palette — AMOLED true black, ice-blue neon tubes,
     sky-blue accent (#3BA7E0, pulled from the Movement Detroit hero sky),
     mint tally. This is the canonical unklefunk.music look Glenn signed
     off on — do NOT recolor without his explicit call. Copy scheme is
     the approved HYBRID: white body copy, blue accents/headings glow. */
  --bg: #000000;          /* AMOLED true black */
  --bg-alt: #060609;      /* barely-lifted black for section striping */
  --surface: #0B0B11;     /* cards, embed facades */
  --line: #1A1A24;        /* subtle border */
  --ink: #F4F7FA;         /* white copy */
  --ink-muted: #9AA7B4;   /* cool slate for secondary copy */
  --amber: #3BA7E0;       /* sky-blue accent (legacy var name kept for refs) */
  --amber-deep: #7FC5EE;  /* brighter blue for hover glow-up */
  --neon: #AEDCF7;        /* ice-blue neon tube color */
  --teal: #35D9A6;        /* mint — tally pill + live states */
  --indigo: #081420;      /* deep blue-black for radial depth */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --script: "Mr Dafoe", "Brush Script MT", cursive;
  --mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 68rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain — one fixed SVG-noise overlay, very quiet */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.06;
  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' 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(--amber); text-underline-offset: 3px; }
a:hover { color: #63BCEC; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 1001;
  background: var(--amber);
  color: #00131F;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0.75rem; }

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

.site-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 0;
}

.wordmark {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.35rem;
  color: #CFEAFB;
  text-decoration: none;
  text-shadow:
    0 0 4px rgba(174,220,247,0.7),
    0 0 12px rgba(59,167,224,0.5),
    0 0 26px rgba(59,167,224,0.35);
}

.site-head nav {
  display: flex;
  gap: 1.25rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.site-head nav a {
  color: var(--ink-muted);
  text-decoration: none;
}
.site-head nav a:hover { color: var(--amber); }

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6.5rem 1.25rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 42% at 50% 32%, rgba(30,111,184,0.16) 0%, rgba(30,111,184,0) 70%),
    radial-gradient(120% 90% at 50% 100%, var(--indigo) 0%, var(--bg) 55%);
}
/* faint CRT scanlines over the void */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.022) 0px,
    rgba(255,255,255,0.022) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.9rem;
}

/* Neon-tube script wordmark. Double stroke via text-stroke-ish shadow
   layering; glow via stacked blue shadows; flicker via keyframes. */
.hero h1 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3.6rem, 13vw, 8.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #EAF6FF;
  margin: 0 0 1.6rem;
  text-shadow:
    0 0 3px rgba(234,246,255,0.95),
    0 0 10px rgba(174,220,247,0.85),
    0 0 22px rgba(122,197,238,0.65),
    0 0 46px rgba(59,167,224,0.5),
    0 0 90px rgba(59,167,224,0.4),
    0 0 140px rgba(30,111,184,0.3);
  animation: neonFlicker 9s linear infinite;
}

@keyframes neonFlicker {
  0%, 6.9%, 7.3%, 22.9%, 23.2%, 54.9%, 55.4%, 55.8%, 56.2%, 100% {
    opacity: 1;
    text-shadow:
      0 0 3px rgba(234,246,255,0.95),
      0 0 10px rgba(174,220,247,0.85),
      0 0 22px rgba(122,197,238,0.65),
      0 0 46px rgba(59,167,224,0.5),
      0 0 90px rgba(59,167,224,0.4),
      0 0 140px rgba(30,111,184,0.3);
  }
  7%, 7.2%, 23%, 23.1%, 55%, 55.3%, 55.9%, 56.1% {
    opacity: 0.82;
    text-shadow:
      0 0 2px rgba(234,246,255,0.5),
      0 0 6px rgba(174,220,247,0.35),
      0 0 14px rgba(59,167,224,0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 { animation: none; }
}

/* "75 DEEP" display line — heavy sans, soft white-blue bloom */
.hero-75 {
  font-family: "Archivo Black", var(--body);
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #F2FAFF;
  margin: 0 0 1.4rem;
  text-shadow:
    0 0 14px rgba(242,250,255,0.55),
    0 0 40px rgba(174,220,247,0.4),
    0 0 80px rgba(59,167,224,0.28);
}

.tagline {
  max-width: 26em;
  margin: 0 auto 2rem;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: var(--amber);
  text-wrap: balance;
}

.tally-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  margin-bottom: 2.5rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  color: var(--teal);
  box-shadow: 0 0 18px rgba(53,217,166,0.14), inset 0 0 14px rgba(53,217,166,0.06);
}

.tally-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px 1px rgba(53,217,166,0.85);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--amber);
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn-solid {
  background: var(--amber);
  color: #00131F;
}
.btn-solid:hover { background: #63BCEC; color: #00131F; }

.btn-ghost {
  background: transparent;
  color: var(--amber);
}
.btn-ghost:hover { background: rgba(59,167,224,0.14); color: #63BCEC; }

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-muted);
  font-size: 1.1rem;
}

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

.section { padding: 5rem 1.25rem; }
.section-alt {
  /* The plaid weave — signature element. Slack Teal thin thread,
     Deep Indigo medium thread, deeper-teal thick thread; woven on
     an 80px repeat. Whisper-quiet on rest, catches the eye if you
     look for it. This is where the plaid identity shows up. */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='%231F7A72' fill-opacity='0.35'%3E%3Crect x='18' width='1' height='80'/%3E%3Crect y='18' width='80' height='1'/%3E%3C/g%3E%3Cg fill='%231B2A5B' fill-opacity='0.4'%3E%3Crect x='38' width='2' height='80'/%3E%3Crect y='38' width='80' height='2'/%3E%3C/g%3E%3Cg fill='%230A2D2D' fill-opacity='0.55'%3E%3Crect x='58' width='4' height='80'/%3E%3Crect y='58' width='80' height='4'/%3E%3C/g%3E%3C/svg%3E") repeat,
    var(--bg-alt);
}

.wrap { max-width: var(--wrap); margin: 0 auto; }

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "wght" 540;
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.75rem;
  max-width: 14em;
}

h3 {
  font-family: var(--display);
  font-variation-settings: "opsz" 40, "wght" 560;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.lede {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
}

/* Centered mid-line rhythm: headers centered, copy in a centered measure,
   images centered wider than the copy — same axis the 2x2 track grid sits on. */
#mission .label, #mission h2, #about .label, #about h2,
#connect .label, #connect h2 { text-align: center; }

.connect-headshot {
  display: block;
  width: min(300px, 70%);
  margin: 0 auto 3rem;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(59,167,224,0.12),
    0 16px 44px rgba(0,0,0,0.65),
    0 0 36px rgba(59,167,224,0.07);
}

.mission-copy { max-width: 42em; margin-inline: auto; }
.mission-copy p + p { margin-top: 1.1rem; }
.mission-copy p:not(.lede) { color: var(--ink-muted); }
.mission-copy .lede { text-align: center; margin-inline: auto; }

/* Centered photo between paragraphs — borderless, rounded, faint blue halo */
.mission-img {
  display: block;
  width: min(720px, 100%);
  margin: 3rem auto;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(59,167,224,0.14),
    0 18px 48px rgba(0,0,0,0.65),
    0 0 44px rgba(59,167,224,0.08);
}

/* Widescreen hero-weight photo — the first striking image after the
   mission lede. Runs wider than the standard mission-img measure. */
.mission-img--wide {
  width: min(980px, 100%);
  box-shadow:
    0 0 0 1px rgba(59,167,224,0.18),
    0 24px 64px rgba(0,0,0,0.7),
    0 0 70px rgba(59,167,224,0.12);
}

/* ---------- The Start (2001 duo, closing) ---------- */
#the-start .wrap { text-align: center; }
.legacy-duo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.legacy-img {
  width: min(320px, 44%);
  min-width: 220px;
  height: auto;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(59,167,224,0.12),
    0 14px 38px rgba(0,0,0,0.6),
    0 0 30px rgba(59,167,224,0.06);
}
.legacy-caption {
  max-width: 36em;
  margin-inline: auto;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.section-note { color: var(--ink-muted); max-width: 38em; margin-bottom: 1rem; }

/* ---------- Embeds (click-to-load facades) ---------- */

.video-frame { margin-top: 2.5rem; }

.embed-facade {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    radial-gradient(80% 100% at 50% 100%, rgba(31, 122, 114, 0.22) 0%, transparent 70%),
    var(--surface);
  color: var(--ink-muted);
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.embed-facade:hover { border-color: var(--amber-deep); color: var(--ink); }

.facade-play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  position: relative;
}
.facade-play::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--amber);
}

.embed-live { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.embed-live iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
}

/* ---------- Music grid ---------- */

.track-grid {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.track-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.5rem;
}

.track-no {
  font-family: var(--display);
  font-variation-settings: "opsz" 60, "wght" 560;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.track-title { margin-bottom: 1.1rem; }

@media (min-width: 640px) {
  .track-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- WIP waveform player (self-hosted, no third party) ---------- */

.wip-player {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  background: var(--indigo);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.wip-play {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--amber);
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.wip-play:hover { border-color: var(--amber-deep); box-shadow: 0 0 16px rgba(59,167,224,0.35); }
.wip-play::after {
  content: "";
  position: absolute;
  left: 56%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--amber);
}
.wip-play[data-playing="true"]::after {
  border-width: 0;
  width: 10px;
  height: 12px;
  left: 50%;
  background:
    linear-gradient(90deg, var(--amber) 0 3px, transparent 3px 7px, var(--amber) 7px 10px);
}

.wip-waveform { flex: 1 1 auto; min-width: 0; height: 52px; cursor: pointer; }
.wip-time {
  flex: none;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
  min-width: 3.6em;
  text-align: right;
}
.wip-player.is-loading .wip-waveform { opacity: 0.35; }
.wip-player.is-missing { opacity: 0.55; }
.wip-player.is-missing .wip-play { cursor: not-allowed; border-color: var(--line); }
.wip-player.is-missing .wip-play::after { border-color: transparent transparent transparent var(--ink-muted); }
.wip-missing-note {
  flex: none;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}
.wip-player-note {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

/* ---------- WIP Q&A ---------- */

.wip-qa {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
}

.wip-qa-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  max-height: 9.5rem;
  overflow-y: auto;
}
.wip-qa-list:empty { display: none; }
.wip-qa-item { font-size: 0.88rem; line-height: 1.5; }
.wip-qa-item .who {
  font-family: var(--mono);
  color: var(--teal);
  margin-right: 0.4em;
}
.wip-qa-item .msg { color: var(--ink); }
.wip-qa-empty { font-size: 0.85rem; color: var(--ink-muted); font-style: italic; margin-bottom: 0.9rem; }

.wip-qa-form { display: flex; flex-direction: column; gap: 0.5rem; }
.wip-qa-row { display: flex; gap: 0.5rem; }
.wip-qa-form input,
.wip-qa-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  padding: 0.55rem 0.7rem;
}
.wip-qa-form textarea { resize: vertical; min-height: 3.2rem; }
.wip-qa-form input:focus,
.wip-qa-form textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.wip-qa-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wip-qa-submit { align-self: flex-end; }
.wip-qa-status { font-size: 0.8rem; color: var(--teal); min-height: 1.1em; }
.wip-qa-status[data-state="error"] { color: #FF9B7A; }

.wip-tally {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.wip-tally-num {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "wght" 620;
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  color: var(--amber);
}

.wip-tally-slash {
  color: var(--ink-muted);
  font-variation-settings: "opsz" 144, "wght" 420;
}

.wip-tally-label {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* ---------- About ---------- */

/* About — single centered flow: paragraph, photo, paragraph, photo…
   Photos are borderless and captionless (captions return when Glenn
   picks the final three + writes the lines himself). */
.about-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.bio-p {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 38em;
  margin-inline: auto;
}
.bio-p:first-child {
  color: var(--ink);
  font-size: 1.12rem;
}
.bio-p strong { color: var(--ink); font-weight: 600; }
.bio-p em { font-style: italic; }

.about-img {
  display: block;
  width: min(440px, 88%);
  height: auto;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(59,167,224,0.12),
    0 16px 44px rgba(0,0,0,0.65),
    0 0 36px rgba(59,167,224,0.07);
}

.bio p + p { margin-top: 1.1rem; }
.bio p { color: var(--ink-muted); }
.bio p:first-child { color: var(--ink); }

.about-portrait {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  max-width: 26rem;
}



/* ---------- Sunday Slackin thumb ---------- */

.slackin-thumb {
  width: 52px;
  height: 52px;
  border-radius: 3px;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--line);
}
.slackin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Sunday Slackin' ---------- */

.slackin {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 1.25rem;
}

.slackin-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--ink-muted);
}

.slackin-text { font-size: 0.95rem; letter-spacing: 0.06em; }
.slackin-text strong {
  font-family: var(--display);
  font-variation-settings: "opsz" 60, "wght" 580;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.twitch-glyph { color: #5E7488; flex: none; }

/* ---------- Connect ---------- */

.connect-grid {
  display: grid;
  gap: 3rem;
  margin-top: 1rem;
}

.big-link {
  font-family: var(--display);
  font-variation-settings: "opsz" 100, "wght" 480;
  font-size: clamp(1.3rem, 4.5vw, 1.9rem);
  text-decoration-thickness: 1px;
}

.social-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.75rem 0 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.social-row a { color: var(--ink-muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.social-row a:hover { color: var(--amber); border-color: var(--amber); }

.list-form label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}

.list-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.list-row input {
  flex: 1 1 14rem;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.list-row input::placeholder { color: #5E7488; }
.list-row input:focus { border-color: var(--amber); outline: none; }

@media (min-width: 820px) {
  .connect-grid { grid-template-columns: 1fr 1fr; }
}

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

.site-foot {
  padding: 3rem 1.25rem 3.5rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.foot-note { margin-top: 0.5rem; font-size: 0.8rem; color: #5E7488; }

/* ---------- Scroll reveal (JS adds .reveal-ready; no-JS stays visible) ---------- */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-ready .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
