/* =====================================================
   ColdCompute — Strategic Domain Listing
   Visual direction: Arctic / infrastructure / editorial
   Palette: deep midnight surfaces, steel-blue, frost cyan accent
   Type: Fraunces (editorial italic display) + Inter Tight (body) + JetBrains Mono
   ===================================================== */

/* ---------- Design tokens ---------- */
:root,
[data-theme='dark'] {
  /* Surfaces — deep, cold, slightly blue-shifted */
  --color-bg: #0b1418;
  --color-surface: #0f1a1f;
  --color-surface-2: #14222a;
  --color-surface-offset: #182a33;
  --color-border: #1f3540;
  --color-divider: #18313c;

  /* Text */
  --color-text: #e6eef1;
  --color-text-muted: #8aa3ac;
  --color-text-faint: #4f6a73;
  --color-text-inverse: #0b1418;

  /* Accent — frost cyan, restrained */
  --color-primary: #a8d8e0;
  --color-primary-hover: #c4e3e9;
  --color-primary-active: #8cc2cc;
  --color-primary-deep: #4f98a3;

  /* Hairlines */
  --hairline: rgba(168, 216, 224, 0.14);
  --hairline-strong: rgba(168, 216, 224, 0.28);

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --text-3xl: clamp(2.75rem, 1.6rem + 4.5vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Shadows */
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);

  /* Fonts */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --content-wide: 1200px;
  --content-default: 1040px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms var(--ease);
  --t-med: 320ms var(--ease);
}

/* Light mode — frost / paper. The dark mode is the canonical look. */
[data-theme='light'] {
  --color-bg: #f4f6f7;
  --color-surface: #ffffff;
  --color-surface-2: #ecf1f3;
  --color-surface-offset: #e2e9ec;
  --color-border: #d3dde1;
  --color-divider: #dde5e8;

  --color-text: #0e1a1f;
  --color-text-muted: #4a5e66;
  --color-text-faint: #8ea2aa;
  --color-text-inverse: #ffffff;

  --color-primary: #0d4d57;
  --color-primary-hover: #0a3b43;
  --color-primary-active: #062a30;
  --color-primary-deep: #0d4d57;

  --hairline: rgba(14, 26, 31, 0.1);
  --hairline-strong: rgba(14, 26, 31, 0.22);

  --shadow-md: 0 6px 22px rgba(11, 20, 24, 0.08);
  --shadow-lg: 0 18px 50px rgba(11, 20, 24, 0.12);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
ul[role='list'] {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}
::selection {
  background: rgba(168, 216, 224, 0.22);
  color: var(--color-text);
}
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  color: var(--color-primary);
}
p {
  text-wrap: pretty;
  max-width: 64ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.84em;
  letter-spacing: 0.02em;
  font-feature-settings: 'tnum' on;
}
.muted {
  color: var(--color-text-muted);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.section {
  padding-block: clamp(4rem, 9vw, 8rem);
  position: relative;
}
.section + .section {
  border-top: 1px solid var(--hairline);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-title {
  font-size: var(--text-2xl);
  margin-top: var(--space-3);
}
.section-lede {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.5;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.kicker::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--color-text-muted);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
}
.brand-mark {
  color: var(--color-primary);
}
.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand-name {
  font-weight: 400;
}
.brand-tld {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-left: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font-size: var(--text-sm);
}
.site-nav a {
  color: var(--color-text-muted);
  transition: color var(--t-fast);
  padding: 8px 0;
}
.site-nav a:hover {
  color: var(--color-text);
}
.nav-cta {
  color: var(--color-text) !important;
  padding: 8px 16px !important;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav-cta:hover {
  border-color: var(--color-primary);
  background: rgba(168, 216, 224, 0.06);
}
.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--hairline-strong);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 22px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
    transform var(--t-fast);
  white-space: nowrap;
}
.btn-lg {
  padding: 18px 28px;
  font-size: var(--text-base);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
}
.btn-ghost {
  color: var(--color-text);
  border-color: var(--hairline-strong);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline {
  color: var(--color-text);
  border-color: var(--hairline-strong);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  padding-block: clamp(5rem, 11vw, 9rem) clamp(4rem, 8vw, 7rem);
  isolation: isolate;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
/* faint engineering grid */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 90% 70% at 30% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 35%, #000 30%, transparent 75%);
  opacity: 0.7;
}
.hero::after {
  /* cold radial wash */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      ellipse 60% 50% at 85% 0%,
      rgba(168, 216, 224, 0.08),
      transparent 60%
    ),
    radial-gradient(ellipse 70% 60% at 5% 100%, rgba(79, 152, 163, 0.06), transparent 65%);
  pointer-events: none;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-surface) 60%, transparent);
}
.hero-meta .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(168, 216, 224, 0.15);
}

.hero-title {
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero-lede {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 56ch;
}
.hero-lede strong {
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.hero-stats > div {
  padding: var(--space-5) var(--space-5) var(--space-5) 0;
  border-left: 1px solid var(--hairline);
  padding-left: var(--space-5);
}
.hero-stats > div:first-child {
  border-left: none;
  padding-left: 0;
}
.hero-stats dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}
.hero-stats dd {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--color-primary);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(168, 216, 224, 0.15);
  vertical-align: middle;
}

.hero-ticks {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  pointer-events: none;
  z-index: 3;
}
.hero-ticks span {
  width: 1px;
  height: 14px;
  background: var(--hairline-strong);
}

/* ---------- Thesis ---------- */
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.thesis-card {
  background: var(--color-bg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}
.thesis-num {
  color: var(--color-primary);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
}
.thesis-card h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-4);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.thesis-card p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- Uses ---------- */
.uses-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.use {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem) clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.use:nth-child(odd) {
  padding-right: clamp(2rem, 4vw, 3rem);
  border-right: 1px solid var(--hairline);
}
.use:nth-child(even) {
  padding-left: clamp(2rem, 4vw, 3rem);
}
.use-index {
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  margin-bottom: var(--space-4);
}
.use h3 {
  font-size: var(--text-lg);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}
.use p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* ---------- Pair ---------- */
.pair-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-6);
  align-items: stretch;
}
.pair-card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  overflow: hidden;
}
.pair-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(168, 216, 224, 0.04),
    transparent 40%
  );
  pointer-events: none;
}
.pair-primary {
  background: linear-gradient(180deg, var(--color-surface-2), var(--color-surface));
  border-color: var(--hairline-strong);
}
.pair-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.pair-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  padding: 6px 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}
.pair-primary .pair-tag {
  color: var(--color-primary);
  border-color: rgba(168, 216, 224, 0.4);
}
.pair-mark {
  color: var(--color-primary);
}
.pair-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.pair-tld {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.6em;
  margin-left: 2px;
}
.pair-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pair-points li {
  position: relative;
  padding-left: 20px;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}
.pair-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--color-primary);
}
.pair-foot {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.link-arrow {
  color: var(--color-primary);
  font-weight: 500;
  transition: gap var(--t-fast), color var(--t-fast);
}
.link-arrow:hover {
  color: var(--color-primary-hover);
}

/* ---------- Name (why it fits) ---------- */
.name-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.name-col {
  background: var(--color-bg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.name-col h3 {
  font-size: var(--text-lg);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}
.name-col p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}
.name-pullquote {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  max-width: 900px;
}
.name-pullquote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-text);
  text-wrap: balance;
}
.name-pullquote blockquote::before {
  content: '“';
  color: var(--color-primary);
  margin-right: 0.1em;
}
.name-pullquote blockquote::after {
  content: '”';
  color: var(--color-primary);
  margin-left: 0.05em;
}

/* ---------- CTA ---------- */
.section-cta {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cta-card {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-surface-2), var(--color-surface));
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(168, 216, 224, 0.1), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(79, 152, 163, 0.08), transparent 55%);
  pointer-events: none;
}
.cta-card::after {
  /* hairline tick row */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hairline-strong),
    transparent
  );
}
.kicker-light {
  color: var(--color-primary);
}
.kicker-light::before {
  background: var(--color-primary);
}
.cta-title {
  font-size: var(--text-2xl);
  margin-top: var(--space-3);
}
.cta-lede {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.5;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: clamp(2rem, 3vw, 2.5rem);
  position: relative;
}
.cta-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: clamp(2rem, 3vw, 2.5rem);
  border-top: 1px solid var(--hairline);
  position: relative;
}
.cta-meta dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}
.cta-meta dd {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.45;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--color-surface);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text);
}
.footer-brand svg {
  color: var(--color-primary);
}
.footer-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 64ch;
}
.footer-meta {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  color: var(--color-text-faint);
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .site-nav {
    display: none;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats > div {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid var(--hairline);
  }
  .hero-stats > div:first-child {
    border-top: none;
  }
  .hero-stats > div:nth-child(2) {
    border-top: none;
  }
  .pair-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .thesis-grid,
  .name-grid {
    grid-template-columns: 1fr;
  }
  .uses-list {
    grid-template-columns: 1fr;
  }
  .use:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }
  .use:nth-child(even) {
    padding-left: 0;
  }
  .cta-meta {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-stats > div {
    border-top: 1px solid var(--hairline);
  }
  .hero-stats > div:nth-child(2) {
    border-top: 1px solid var(--hairline);
  }
  .hero-stats > div:first-child {
    border-top: none;
  }
  .hero-ticks span:nth-child(n + 7) {
    display: none;
  }
}

/* ---------- Scroll-aware header ---------- */
.site-header.is-scrolled {
  border-bottom-color: var(--hairline-strong);
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
}

/* ---------- Reveal on scroll ---------- */
/* Only hide when JS has flagged the body as ready, so SSR/no-JS always shows content. */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.js-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

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