/* ============================================================
   TIMEZEN LLC — main.css
   Dark, atmospheric, space-inspired, Zen-influenced design.
   ============================================================ */

/* ---------- Self-hosted fonts ----------
   Sourced from Google Fonts (SIL Open Font License) and served
   from the same origin to eliminate third-party DNS + CSS
   round-trips. `font-display: swap` shows fallback immediately. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg: #05070d;
  --bg-1: #070a13;
  --bg-2: #0a0f1c;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-strong: rgba(255, 255, 255, 0.045);

  /* Text */
  --text: #e7eaf2;
  --text-dim: #aab2c5;
  --text-muted: #7a8399;
  --text-faint: #566079;

  /* Accent — soft ice-blue starlight */
  --accent: #a9c8ff;
  --accent-2: #d8e6ff;
  --accent-soft: rgba(169, 200, 255, 0.14);
  --accent-glow: rgba(169, 200, 255, 0.35);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 600ms;

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Inter", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11", "cv06";
  font-optical-sizing: auto;
  font-synthesis: none;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 700px at 50% -10%, rgba(58, 75, 127, 0.18), transparent 70%),
    radial-gradient(900px 600px at 90% 30%, rgba(40, 56, 100, 0.10), transparent 70%),
    linear-gradient(180deg, #05070d 0%, #060913 40%, #05070d 100%);
}
/* When the WebGL backdrop boots, drop the body radial gradients
   so the shader owns the atmosphere. */
html.has-cosmos body { background-image: none; background: #05070d; }
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* Selection */
::selection { background: var(--accent-soft); color: var(--accent-2); }

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #05070d;
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  font-weight: 400;
  color: var(--text);
  text-wrap: balance;
}
h3, h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
}
h3 { font-size: 1.15rem; line-height: 1.35; }
h4 { font-size: 0.82rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); font-family: var(--font-mono); }
p  { color: var(--text-dim); text-wrap: pretty; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.15rem;
  font-weight: 500;
  font-feature-settings: "ss01";
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
.gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #cfd8ec 60%, #a9c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--text-muted); }
.lead {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 1rem auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.35em;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 300ms var(--ease), background 300ms var(--ease),
              border-color 300ms var(--ease), color 300ms var(--ease),
              box-shadow 400ms var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #eaf0ff 0%, #b6c9ef 100%);
  color: #0a0f1c;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 0 0 1px rgba(169, 200, 255, 0.4),
    0 20px 40px -20px rgba(169, 200, 255, 0.45);
}
.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 0 0 1px rgba(169, 200, 255, 0.65),
    0 24px 50px -18px rgba(169, 200, 255, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(169, 200, 255, 0.35);
  color: var(--accent-2);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(5, 7, 13, 0.25);
  border-bottom: 1px solid transparent;
  transition: background 400ms var(--ease), border-color 400ms var(--ease),
              padding 300ms var(--ease);
}
.site-header.is-scrolled {
  background: rgba(5, 7, 13, 0.75);
  border-bottom-color: var(--border);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}
.brand-dim { color: var(--text-muted); font-weight: 400; }
.brand-mark { display: inline-flex; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav ul {
  display: flex;
  gap: 2rem;
}
.site-nav a {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 6px 2px;
  position: relative;
  transition: color 250ms var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right 350ms var(--ease-out);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { right: 0; }

.header-cta { font-size: 0.85rem; padding: 0.6em 1.1em; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border-radius: 8px;
  position: relative;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  margin: 4.5px 0;
  border-radius: 1px;
  transition: transform 300ms var(--ease), opacity 200ms var(--ease);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  padding: 20px var(--gutter);
  border-top: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.95);
  backdrop-filter: blur(16px);
}
.mobile-nav ul { display: grid; gap: 1rem; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--text-dim);
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg .orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  animation: drift 60s linear infinite;
}
.haze {
  position: absolute;
  inset: -10% -10% 0 -10%;
  background:
    radial-gradient(50% 40% at 50% 60%, rgba(120, 150, 230, 0.12), transparent 70%),
    radial-gradient(40% 30% at 70% 30%, rgba(180, 140, 220, 0.08), transparent 70%);
  filter: blur(20px);
}
.haze-soft {
  opacity: 0.6;
}
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(5, 7, 13, 0.85) 100%);
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
}
.hero-title {
  margin: 1rem 0 1.4rem;
  font-weight: 500;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 620px;
  margin: 0 auto 2.2rem;
  color: var(--text-dim);
}
.hero-cta {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.hero-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
  list-style: none;
}

@keyframes drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Star fields ---------- */
.stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  opacity: 0.9;
}
.stars-1 {
  background-image:
    radial-gradient(1px 1px at 20px 30px, #ffffff 50%, transparent 100%),
    radial-gradient(1px 1px at 80px 120px, #cfd8ec 50%, transparent 100%),
    radial-gradient(1px 1px at 160px 60px, #ffffff 50%, transparent 100%),
    radial-gradient(1px 1px at 240px 200px, #a9c8ff 50%, transparent 100%),
    radial-gradient(1px 1px at 320px 90px, #ffffff 50%, transparent 100%),
    radial-gradient(1px 1px at 120px 240px, #eaf0ff 50%, transparent 100%);
  background-size: 400px 300px;
  opacity: 0.5;
  animation: twinkle 8s ease-in-out infinite;
}
.stars-2 {
  background-image:
    radial-gradient(1.5px 1.5px at 60px 80px, #ffffff 50%, transparent 100%),
    radial-gradient(1px 1px at 180px 180px, #a9c8ff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 300px 40px, #ffffff 50%, transparent 100%),
    radial-gradient(1px 1px at 420px 200px, #cfd8ec 50%, transparent 100%);
  background-size: 500px 280px;
  opacity: 0.4;
  animation: twinkle 11s ease-in-out infinite 2s;
}
.stars-3 {
  background-image:
    radial-gradient(2px 2px at 140px 140px, #ffffff 50%, transparent 100%),
    radial-gradient(1px 1px at 360px 220px, #eaf0ff 50%, transparent 100%),
    radial-gradient(2px 2px at 520px 60px, #ffffff 50%, transparent 100%);
  background-size: 600px 320px;
  opacity: 0.35;
  animation: twinkle 15s ease-in-out infinite 4s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.6; }
}

/* ---------- Section base ---------- */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0;
}
.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 420px;
}
.section-head h2, .section-head-center h2 { margin: 0.4rem 0 0; }
.section-head-center {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.section-body p + p { margin-top: 1rem; }
.section-body p {
  font-size: 1.04rem;
  max-width: 580px;
}

/* ---------- Stats row ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-row dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.stat-row dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Process ---------- */
.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  position: relative;
}
.process-step {
  position: relative;
  padding: 28px 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  transition: border-color 400ms var(--ease), transform 500ms var(--ease);
}
.process-step:hover {
  border-color: rgba(169, 200, 255, 0.2);
  transform: translateY(-2px);
}
.process-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 1rem;
  padding: 4px 10px;
  border: 1px solid rgba(169, 200, 255, 0.25);
  border-radius: 999px;
  background: rgba(169, 200, 255, 0.06);
}
.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.94rem; color: var(--text-dim); }

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why-item {
  padding: 32px 30px;
  background: var(--bg-1);
  transition: background 400ms var(--ease);
}
.why-item:hover { background: #0c1120; }
.why-item h3 { margin-bottom: 0.6rem; }
.why-item p { font-size: 0.96rem; color: var(--text-dim); }

/* ---------- Contact ---------- */
.section-contact {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--border);
  overflow: hidden;
  padding-bottom: clamp(100px, 14vw, 160px);
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.contact-inner { position: relative; }
.contact-form {
  max-width: 720px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(12px);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(5, 7, 13, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 0.98rem;
  transition: border-color 250ms var(--ease), background 250ms var(--ease),
              box-shadow 250ms var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.field input:hover,
.field textarea:hover { border-color: var(--border-strong); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(169, 200, 255, 0.4);
  background: rgba(5, 7, 13, 0.8);
  box-shadow: 0 0 0 4px rgba(169, 200, 255, 0.08);
}
.form-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.form-note a {
  color: var(--accent);
  border-bottom: 1px solid rgba(169, 200, 255, 0.3);
  transition: border-color 250ms var(--ease);
}
.form-note a:hover { border-color: var(--accent); }
.form-status {
  grid-column: 1 / -1;
  color: var(--accent);
  font-size: 0.9rem;
  min-height: 1.2em;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 320px; }
.brand-footer { margin-bottom: 1rem; }
.footer-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.footer-nav h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.footer-nav ul { display: grid; gap: 0.7rem; }
.footer-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 250ms var(--ease);
}
.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-faint);
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.footer-bottom .credits { color: var(--text-faint); }

/* ---------- Reveal animation ----------
   Note: .hero-title has its own lensFocus animation and should not
   be hidden by the reveal system (would block LCP). */
[data-reveal]:not(.hero-title) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.is-open .mobile-nav { display: block; }
  .section-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 130px 0 80px; min-height: 90svh; }
  .hero-meta { gap: 0.6rem; font-size: 0.74rem; }
  .contact-form { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 1rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Wave 2 — WebGL cosmos backdrop
   ============================================================ */
.cosmos-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  pointer-events: none;
  display: block;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}
html.has-cosmos .cosmos-canvas { opacity: 1; }

/* Fade the CSS fallback visuals once the shader is live.
   Browsers without WebGL keep the CSS star field as their baseline. */
html.has-cosmos .hero-bg .stars,
html.has-cosmos .hero-bg .haze,
html.has-cosmos .hero-bg .orbit,
html.has-cosmos .hero-bg .vignette,
html.has-cosmos .contact-bg .stars,
html.has-cosmos .contact-bg .haze {
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}

/* ============================================================
   Wave 1 — Texture, micro-type, editorial chrome
   ============================================================ */

/* ---------- Film grain overlay ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.28 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ---------- Custom scrollbar ---------- */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(169, 200, 255, 0.25) transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(169, 200, 255, 0.18);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(169, 200, 255, 0.35);
  background-clip: content-box;
  border: 2px solid transparent;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  z-index: 9999;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(169, 200, 255, 0) 0%, rgba(169, 200, 255, 0.55) 60%, rgba(216, 230, 255, 0.75) 100%);
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
}

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  background: radial-gradient(circle at center, rgba(169, 200, 255, 0.09) 0%, rgba(169, 200, 255, 0.03) 35%, transparent 65%);
  opacity: 0;
  transition: opacity 500ms var(--ease);
  transform: translate3d(-9999px, -9999px, 0);
  will-change: transform, opacity;
}
.cursor-glow.is-active { opacity: 1; }
@media (max-width: 960px), (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ---------- HUD corner marks (hero) ---------- */
.hud {
  position: absolute;
  inset: clamp(24px, 3vw, 44px);
  pointer-events: none;
  z-index: 1;
}
.hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(169, 200, 255, 0.28);
}
.hud-tl { top: 0; left: 0;  border-right: 0; border-bottom: 0; }
.hud-tr { top: 0; right: 0; border-left: 0;  border-bottom: 0; }
.hud-bl { bottom: 0; left: 0;  border-right: 0; border-top: 0; }
.hud-br { bottom: 0; right: 0; border-left: 0;  border-top: 0; }

/* ---------- Hero data strip ---------- */
.hero-data {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(30px, 4vw, 54px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  z-index: 2;
  pointer-events: none;
}
.hero-data span { white-space: nowrap; }
@media (max-width: 760px) {
  .hero-data { font-size: 0.6rem; gap: 0.8rem; flex-wrap: wrap; justify-content: center; text-align: center; }
  .hero-data span:nth-child(2) { display: none; }
}

/* ---------- Page index rail (right side) ---------- */
.page-index {
  position: fixed;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 50;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  pointer-events: auto;
}
.page-index a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  padding: 2px 0;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-index ol {
  display: grid;
  gap: 14px;
  list-style: none;
}
.page-index li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--text-faint);
  transition: color 500ms var(--ease), transform 500ms var(--ease), opacity 500ms var(--ease);
  opacity: 0.55;
  cursor: default;
}
.page-index li span {
  min-width: 16px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.page-index li::after {
  content: "";
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: width 500ms var(--ease), opacity 500ms var(--ease), background 500ms var(--ease);
}
.page-index li.is-active {
  color: var(--accent-2);
  opacity: 1;
}
.page-index li.is-active::after {
  width: 28px;
  opacity: 1;
  background: var(--accent);
}
@media (max-width: 1200px) { .page-index { display: none; } }

/* ---------- Asymmetric section heads ---------- */
.section-head-split {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.2fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  margin: 0 0 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.section-head-split .eyebrow { margin-bottom: 1rem; }
.section-head-split h2 { margin: 0; max-width: 520px; }
.section-head-split .lead { margin: 0; max-width: 460px; text-align: left; }
@media (max-width: 800px) {
  .section-head-split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.2rem;
  }
  .section-head-split .lead { margin-top: 0.4rem; }
}

.section-head-wide {
  margin: 0 0 3.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.section-head-wide h2 {
  max-width: 680px;
  margin: 0.3rem 0 0;
}
.section-head-wide .lead {
  max-width: 520px;
  margin: 1.1rem 0 0;
  text-align: left;
}

/* ============================================================
   Wave 3 — Editorial narrative, imagery, handcrafted details
   ============================================================ */

/* Hide the defs-only SVG so it never takes up layout space */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ---------- Section backdrop with NASA/JWST duotone ---------- */
.section.has-backdrop { position: relative; isolation: isolate; overflow: hidden; }
.section-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.section-backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: url(#duotone) brightness(0.62) contrast(1.08) saturate(0.9);
  transform: scale(1.06);
  transition: opacity 1.6s var(--ease-out);
  will-change: transform;
}
.section-backdrop.is-visible img { opacity: 0.4; }
.section-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 50%, transparent 25%, rgba(5, 7, 13, 0.82) 80%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.7) 0%, rgba(5, 7, 13, 0) 18%, rgba(5, 7, 13, 0) 82%, rgba(5, 7, 13, 0.85) 100%);
  pointer-events: none;
}

/* Gentle Ken Burns — opt out on reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .section-backdrop img {
    animation: kenBurns 60s ease-in-out infinite alternate;
  }
}
@keyframes kenBurns {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

.backdrop-pillars .section-backdrop img { object-position: center 20%; }

/* ---------- Services — editorial plate ---------- */
.service-plate {
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.service-row {
  display: grid;
  grid-template-columns: 58px 52px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  padding: 32px 2px 34px;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 500ms var(--ease), padding-left 400ms var(--ease);
}
.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(169, 200, 255, 0.08), rgba(169, 200, 255, 0));
  transition: width 500ms var(--ease);
  pointer-events: none;
}
.service-row:hover { padding-left: 18px; }
.service-row:hover::before { width: 100%; }
.service-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 12px;
  font-variant-numeric: tabular-nums;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid var(--border);
  background: rgba(169, 200, 255, 0.05);
  margin-top: 4px;
  transition: border-color 400ms var(--ease), background 400ms var(--ease);
}
.service-row:hover .service-icon {
  border-color: rgba(169, 200, 255, 0.3);
  background: rgba(169, 200, 255, 0.09);
}
.service-icon svg { width: 22px; height: 22px; }
.service-body { padding-top: 4px; min-width: 0; }
.service-body h3 {
  margin-bottom: 0.45rem;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.service-body p {
  color: var(--text-dim);
  font-size: 0.98rem;
  max-width: 560px;
  margin: 0;
}
.service-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 16px;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .service-row {
    grid-template-columns: 40px 44px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0 26px;
  }
  .service-tag { display: none; }
  .service-row:hover { padding-left: 10px; }
}

/* ---------- Process — drawn timeline ---------- */
.process-timeline {
  position: relative;
  padding-left: 56px;
  --progress: 0%;
}
.process-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.process-timeline::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 8px;
  width: 1px;
  height: var(--progress);
  background: linear-gradient(180deg, rgba(169, 200, 255, 0.15) 0%, rgba(169, 200, 255, 0.7) 40%, rgba(216, 230, 255, 0.95) 100%);
  box-shadow: 0 0 10px rgba(169, 200, 255, 0.35);
  transition: height 120ms linear;
  pointer-events: none;
}
.process {
  /* override the Wave-1 grid — now a vertical timeline */
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.process-step {
  position: relative;
  padding: 24px 26px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0));
  transform: none !important;
  transition: border-color 400ms var(--ease), background 400ms var(--ease);
}
.process-step:hover {
  border-color: rgba(169, 200, 255, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005));
}
.process-dot {
  position: absolute;
  left: -41px;
  top: 30px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(169, 200, 255, 0.12), 0 0 14px rgba(169, 200, 255, 0.55);
  z-index: 1;
}
.process-body h3 { margin-top: 0.4rem; }
.process-body p { font-size: 0.96rem; }
@media (max-width: 640px) {
  .process-timeline { padding-left: 36px; }
  .process-timeline::before,
  .process-timeline::after { left: 10px; }
  .process-dot { left: -29px; top: 26px; width: 9px; height: 9px; }
  .process-step { padding: 20px 20px 22px; }
}

/* ---------- Contact — telescope form ---------- */
.contact-form.telescope {
  border: none;
  background: none;
  backdrop-filter: none;
  padding: 10px 0 0;
  max-width: 760px;
  gap: 30px 48px;
}
.telescope .field {
  position: relative;
  padding: 22px 0 6px;
  gap: 0;
}
.telescope .field label {
  position: absolute;
  left: 0;
  top: 26px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 320ms var(--ease), color 320ms var(--ease), letter-spacing 320ms var(--ease);
}
.telescope .field input,
.telescope .field textarea {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0 10px;
  font-size: 1rem;
  color: var(--text);
  font-family: var(--font-sans);
}
.telescope .field input:hover,
.telescope .field textarea:hover { background: transparent; }
.telescope .field input:focus,
.telescope .field textarea:focus {
  outline: none;
  background: transparent;
  box-shadow: none;
}
.telescope .field-line {
  display: block;
  height: 1px;
  background: var(--border-strong);
  position: relative;
  margin-top: -1px;
}
.telescope .field-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, rgba(169, 200, 255, 0.15), var(--accent), rgba(169, 200, 255, 0.15));
  transition: width 500ms var(--ease);
}
.telescope .field:focus-within .field-line::after { width: 100%; }
.telescope .field:has(input:focus) label,
.telescope .field:has(textarea:focus) label,
.telescope .field:has(input:not(:placeholder-shown)) label,
.telescope .field:has(textarea:not(:placeholder-shown)) label {
  transform: translateY(-22px) scale(0.72);
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.telescope textarea {
  resize: vertical;
  min-height: 88px;
}
.telescope .form-actions {
  margin-top: 1rem;
  padding-top: 0;
}
.telescope .btn-primary svg { transition: transform 350ms var(--ease); }
.telescope .btn-primary:hover svg { transform: translateX(3px); }

/* ---------- Footer refinements ---------- */
.footer-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr auto;
  align-items: center;
  gap: 40px;
}
.footer-bottom-left p { margin: 0 0 4px; }
.footer-bottom-mid .credits { margin: 0; line-height: 1.65; }
.footer-bottom-right { display: flex; justify-content: flex-end; }
.signature {
  width: 80px;
  height: 30px;
  opacity: 0.85;
  transition: opacity 400ms var(--ease);
}
.signature:hover { opacity: 1; }
@media (max-width: 880px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom-right { justify-content: flex-start; }
}

/* ---------- Hero H1 — telescopic focus on load ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-title {
    animation: lensFocus 1.6s var(--ease-out) both;
    animation-delay: 0.15s;
  }
}
@keyframes lensFocus {
  /* Start visible so LCP can register immediately, but defocused. */
  0%   { opacity: 1; filter: blur(10px); transform: translateY(6px); }
  60%  { opacity: 1; filter: blur(2px); }
  100% { opacity: 1; filter: blur(0);    transform: translateY(0); }
}

/* ============================================================
   Wave 4 — Editorial polish
   ============================================================ */

/* ---------- Principles as staggered verses ---------- */
.principles-verses {
  display: grid;
  gap: clamp(36px, 5.5vw, 80px);
  margin-top: clamp(40px, 6vw, 70px);
  list-style: none;
  padding: 0;
  counter-reset: verse;
}
.verse {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 44px);
  align-items: baseline;
  padding-left: calc(var(--indent, 0) * clamp(28px, 6vw, 88px));
  position: relative;
  max-width: 820px;
}
.verse::before {
  content: "";
  position: absolute;
  left: calc(var(--indent, 0) * clamp(28px, 6vw, 88px));
  right: 0;
  top: -18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(169, 200, 255, 0.28) 0%, rgba(169, 200, 255, 0.06) 40%, transparent 80%);
  opacity: 0.9;
}
.verse:first-child::before { display: none; }
.verse-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  align-self: start;
  padding-top: 16px;
}
.verse-text { min-width: 0; }
.verse-name {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 40, "WONK" 0;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #dbe3f4 55%, #a9c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.verse-body {
  margin: 0.55rem 0 0;
  max-width: 520px;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .verse {
    grid-template-columns: 34px 1fr;
    column-gap: 16px;
    padding-left: calc(var(--indent, 0) * 10px);
  }
  .verse::before { left: calc(var(--indent, 0) * 10px); }
  .verse-num { padding-top: 10px; }
}

/* ---------- Hero — editorial cover composition ---------- */
.hero-inner.hero-editorial {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  max-width: 1080px;
  text-align: left;
}
.hero-rail {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 30px 0 30px 14px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.hero-content { min-width: 0; }
.hero-editorial .eyebrow,
.hero-editorial .hero-title,
.hero-editorial .hero-sub { text-align: left; }
.hero-editorial .hero-title { margin: 0.9rem 0 1.4rem; }
.hero-editorial .hero-sub {
  margin: 0 0 2.3rem;
  max-width: 560px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.hero-editorial .hero-cta { justify-content: flex-start; }
.hero-editorial .hero-meta {
  justify-content: flex-start;
  margin-top: 2.5rem;
}
@media (max-width: 880px) {
  .hero-inner.hero-editorial {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 720px;
  }
  .hero-rail { display: none; }
  .hero-editorial .eyebrow,
  .hero-editorial .hero-title,
  .hero-editorial .hero-sub { text-align: center; }
  .hero-editorial .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-editorial .hero-cta,
  .hero-editorial .hero-meta { justify-content: center; }
}

/* ---------- Hand-drawn underline ---------- */
.underlined {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding-bottom: 0.12em;
}
/* When nested inside a gradient-clipped parent, the child inherits
   color: transparent with no background of its own — re-apply the
   same gradient so the text renders. */
.gradient-text .underlined {
  background: linear-gradient(180deg, #ffffff 0%, #cfd8ec 60%, #a9c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.underline-draw {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.04em;
  width: 104%;
  height: 0.32em;
  pointer-events: none;
  overflow: visible;
}
.underline-draw path {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  filter: drop-shadow(0 0 6px rgba(169, 200, 255, 0.35));
}
@media (prefers-reduced-motion: no-preference) {
  .underline-draw path {
    animation: drawUnderline 1.6s var(--ease-out) 1.95s both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .underline-draw path { stroke-dashoffset: 0; }
}
@keyframes drawUnderline {
  to { stroke-dashoffset: 0; }
}

/* ---------- Process timeline — native scroll-timeline (progressive enhancement) ---------- */
@property --progress {
  syntax: "<percentage>";
  initial-value: 0%;
  inherits: true;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .process-timeline {
      animation: tlFill linear both;
      animation-timeline: view();
      animation-range: entry 25% cover 65%;
    }
  }
}
@keyframes tlFill {
  from { --progress: 0%; }
  to   { --progress: 100%; }
}

/* ============================================================
   Extras — field notes marquee + OpenType polish
   ============================================================ */

/* ---------- Field notes marquee ---------- */
.field-notes {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0));
}
.field-notes::before,
.field-notes::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 8vw, 140px);
  z-index: 2;
  pointer-events: none;
}
.field-notes::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.field-notes::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}
.field-notes-track {
  display: flex;
  gap: 2.2em;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  width: max-content;
  animation: fieldDrift 80s linear infinite;
  will-change: transform;
}
.field-notes-track span {
  display: inline-block;
}
@keyframes fieldDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .field-notes-track { animation: none; }
}

/* ---------- OpenType polish ----------
   Tighter numerals + small-caps alternates where supported by the fonts. */
.service-num,
.process-num,
.verse-num,
.page-index li span,
.hero-data,
.stat-row,
.footer-bottom {
  font-variant-numeric: tabular-nums;
}
.eyebrow {
  /* JetBrains Mono supports `smcp` (true small caps) — enable alongside
     the existing upper-case transform for a softer, more refined read. */
  font-feature-settings: "ss01", "smcp";
}
.hero-title {
  /* Pull in tighter on very large sizes — Fraunces becomes more expressive
     above ~3rem, needs a touch of hand-tuned kerning. */
  font-kerning: normal;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-bg .orbit { animation: none; }
  .stars-1, .stars-2, .stars-3 { animation: none; }
  .cursor-glow { display: none; }
}
