/* ============================================================
   azed.io — design system
   Warm paper canvas, deep teal ink, high-contrast display serif,
   grainy celestial bodies, layered Firewatch-style hero parallax.
   ============================================================ */

:root {
  --paper: #fbf9f3;          /* warm off-white canvas */
  --paper-2: #ffffff;        /* raised cards */
  --ink: #122b2e;            /* deep teal-black text */
  --ink-soft: rgba(18, 43, 46, 0.64);
  --ink-faint: rgba(18, 43, 46, 0.38);
  --line: rgba(18, 43, 46, 0.10);
  --teal: #20808d;
  --teal-deep: #0e3a42;
  --copper: #c4633a;
  --cream: #fbf9f3;          /* light text on dark surfaces */
  --cream-soft: rgba(251, 249, 243, 0.68);
  --space: #07181c;          /* scene sky */

  /* Display: Fraunces stands in for GT Canon. To switch, add the
     @font-face for your licensed font and change this variable. */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --max-w: 1140px;
  --radius: 26px;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* the pin collapse manages scroll compensation itself */
  overflow-anchor: none;
}

::selection { background: var(--teal); color: var(--cream); }

h1, h2, h3 { font-weight: 400; }
h1, h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              background 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-teal {
  background: var(--teal);
  color: var(--cream);
}
.btn-teal:hover {
  background: #26929f;
  box-shadow: 0 10px 28px -10px rgba(32, 128, 141, 0.55);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}
.btn-ink:hover { box-shadow: 0 10px 28px -10px rgba(18, 43, 46, 0.5); }

.btn-paper {
  background: var(--cream);
  color: var(--ink);
}
.btn-paper:hover { box-shadow: 0 10px 28px -10px rgba(251, 249, 243, 0.4); }

.btn-line {
  border: 1px solid rgba(251, 249, 243, 0.4);
  color: var(--cream);
  background: rgba(251, 249, 243, 0.05);
  backdrop-filter: blur(4px);
}
.btn-line:hover { border-color: rgba(251, 249, 243, 0.8); }

/* ============================================================
   Navigation — light over the dark scene, solid once past it
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 20px clamp(22px, 5vw, 60px);
  color: var(--cream);
  transition: background 0.4s ease, color 0.4s ease,
              border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  color: var(--ink);
  padding-top: 13px;
  padding-bottom: 13px;
  background: rgba(251, 249, 243, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
}
.nav-logo em { font-style: normal; opacity: 0.55; }

/* ============================================================
   Hero scene — inset dark panel, layered parallax
   ============================================================ */

/* The wrapper provides scroll runway; the scene sticks to the top
   and scroll progress drives the animation, Apple-keynote style. */
.motion-ok .scene-pin { height: 240vh; }
/* once the animation has played and scrolled away, the runway
   collapses so scrolling back up is a normal page */
.motion-ok .scene-pin.collapsed { height: auto; }

.scene {
  position: sticky;
  top: 12px;
  height: calc(100svh - 24px);
  min-height: 620px;
  margin: 12px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--space);
  isolation: isolate;
}

/* layers oversized so parallax travel never exposes edges */
.layer {
  position: absolute;
  left: -5%; right: -5%;
  top: -16%; bottom: -6%;
  will-change: transform;
  pointer-events: none;
}
.layer-sky { z-index: 1; }
.layer-mid { z-index: 2; }
.scene-title { z-index: 3; }
.layer-near { z-index: 4; }
.layer-front { z-index: 5; }   /* rocks pass behind the hills */
.layer-fore { z-index: 6; }    /* the hills are the foreground frame */
.layer-bridge { z-index: 7; }
.scene-grain { z-index: 8; }

.layer-sky {
  background:
    radial-gradient(110% 70% at 50% 110%, #14454d 0%, transparent 60%),
    linear-gradient(180deg, #050f12 0%, #07181c 45%, #0a2228 100%);
}
#sceneStars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* galaxy glows: warm gold heart, teal sweep, faint plum */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.glow-gold {
  width: 55vw; height: 30vw;
  left: 8vw; top: 22%;
  background: radial-gradient(ellipse, rgba(214, 160, 96, 0.20) 0%, transparent 65%);
  transform: rotate(-12deg);
}
.glow-teal {
  width: 60vw; height: 32vw;
  right: -10vw; top: 8%;
  background: radial-gradient(ellipse, rgba(46, 144, 158, 0.22) 0%, transparent 65%);
  transform: rotate(10deg);
}
.glow-plum {
  width: 36vw; height: 22vw;
  left: -8vw; top: 4%;
  background: radial-gradient(ellipse, rgba(122, 84, 138, 0.14) 0%, transparent 65%);
}

/* thin orbit path drifting behind the title */
.orbit-line { color: rgba(251, 249, 243, 0.12); }
.scene-orbit {
  position: absolute;
  width: 130%;
  left: -15%;
  top: 22%;
}

/* ===== title block ===== */

.scene-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* keep the actions clear of the foreground ridges */
  padding: 0 24px clamp(70px, 14vh, 170px);
  will-change: transform, opacity;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-bottom: 26px;
}

.scene-title h1 {
  font-size: clamp(2.3rem, 6.4vw, 5.2rem);
  line-height: 1.06;
  color: var(--cream);
  margin-bottom: 26px;
  text-wrap: balance;
}
.scene-title h1 em {
  font-style: italic;
  font-weight: 300;
}

.scene-sub {
  max-width: 520px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--cream-soft);
  margin-bottom: 38px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== celestial bodies ===== */

.orb {
  position: absolute;
  border-radius: 50%;
}
.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: var(--noise);
  mix-blend-mode: overlay;
  opacity: 0.7;
}

.orb-copper {
  background:
    radial-gradient(circle at 33% 28%,
      #e8a06b 0%, #c4633a 34%, #7a3018 68%, #3c1408 100%);
  box-shadow: 0 30px 80px -20px rgba(196, 99, 58, 0.45);
}
.orb-teal {
  background:
    radial-gradient(circle at 33% 28%,
      #4aa5b1 0%, #20808d 40%, #0e3a42 75%, #071e23 100%);
  box-shadow: 0 30px 80px -20px rgba(32, 128, 141, 0.4);
}
.orb-pearl {
  background:
    radial-gradient(circle at 35% 30%,
      #ffffff 0%, #efe9dc 38%, #c6bba6 72%, #948a73 100%);
  box-shadow: 0 24px 60px -18px rgba(18, 43, 46, 0.35);
}

.scene-copper {
  width: clamp(90px, 11vw, 150px);
  height: clamp(90px, 11vw, 150px);
  left: 10%;
  top: 16%;
}
.scene-pearl {
  width: clamp(44px, 5vw, 70px);
  height: clamp(44px, 5vw, 70px);
  right: 14%;
  top: 24%;
}

/* big ringed planet rising bottom-right */
.scene-planet {
  position: absolute;
  right: -6%;
  bottom: 4%;
  width: clamp(260px, 30vw, 460px);
  height: clamp(260px, 30vw, 460px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%,
      #2d7d8a 0%, #15505a 40%, #0a2c33 72%, #051a1f 100%);
  box-shadow:
    inset -40px -30px 90px rgba(0, 0, 0, 0.65),
    0 0 110px rgba(46, 144, 158, 0.25);
}
.scene-planet::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: var(--noise);
  mix-blend-mode: overlay;
  opacity: 0.55;
}
.scene-planet-ring {
  position: absolute;
  inset: -30% -44%;
  border-radius: 50%;
  border: 2px solid rgba(251, 249, 243, 0.28);
  transform: rotateX(74deg) rotate(-16deg);
  border-top-color: transparent;
}

/* ===== foreground ridges ===== */

.ridge {
  position: absolute;
  left: -5%; right: -5%;
  bottom: 0;
  width: 110%;
  display: block;
  pointer-events: none;
  will-change: transform;
}
.layer-fore { top: auto; bottom: -8%; height: 50%; }
.ridge-back { left: 0; right: 0; width: 100%; height: 100%; will-change: transform, opacity; }

/* The landing ground: a cream curve with a deep paper slab below.
   At rest only the curve peeks above the panel edge; during the
   descent it rises until the slab fills the frame, handing off
   seamlessly to the paper page. */
.layer-bridge {
  top: auto;
  bottom: -120vh;
  height: calc(120vh + clamp(60px, 10vh, 130px));
}
.ridge-front {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: clamp(60px, 10vh, 130px);
}
.layer-bridge::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: calc(clamp(60px, 10vh, 130px) - 2px);
  bottom: 0;
  background: var(--paper);
}

/* near-field rocks, out of focus for depth */
.asteroid {
  position: absolute;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  background:
    radial-gradient(circle at 36% 30%, #1d4d57 0%, #0c272d 55%, #061a1f 100%);
  filter: blur(6px);
  opacity: 0.92;
}
.asteroid::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--noise);
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.asteroid-a {
  width: clamp(140px, 16vw, 240px);
  height: clamp(110px, 13vw, 190px);
  left: -2%;
  bottom: 26%;
  transform: rotate(-14deg);
}
.asteroid-b {
  width: clamp(80px, 9vw, 140px);
  height: clamp(64px, 7vw, 110px);
  right: 2%;
  top: 12%;
  transform: rotate(18deg);
}

/* passers: bodies parked above the frame that drift through as
   the scene travels, keeping the depth layers in motion */
/* layer tops sit at -16% scene height with 1.22x scale, so these
   offsets park each body just above the visible frame */
.scene-passer-pearl {
  width: clamp(26px, 3.5vw, 44px);
  height: clamp(26px, 3.5vw, 44px);
  right: 28%;
  top: -20%;  /* ≈ 40vh above the frame: enters at warp ignition */
}
.scene-passer-teal {
  width: clamp(48px, 6vw, 80px);
  height: clamp(48px, 6vw, 80px);
  left: 16%;
  top: 5%;    /* ≈ 10vh above the frame: drifts in early in the cruise */
}
.rock {
  position: absolute;
  border-radius: 52% 48% 60% 40% / 45% 60% 40% 55%;
  background:
    radial-gradient(circle at 38% 32%, #2a5d68 0%, #11333b 55%, #081f24 100%);
  filter: blur(2px);
  opacity: 0.95;
}
.rock::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--noise);
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.scene-rock {
  width: clamp(70px, 8vw, 120px);
  height: clamp(56px, 6.5vw, 96px);
  left: 58%;
  top: -2%;   /* ≈ 18vh above the frame: sweeps the frame mid-cruise */
}

/* film grain over the whole scene */
.scene-grain {
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.05;
  pointer-events: none;
}

/* ============================================================
   Light sections
   ============================================================ */

.section {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(90px, 13vh, 150px) clamp(22px, 5vw, 60px);
}

.kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.kicker-light { color: rgba(251, 249, 243, 0.55); }

.section-head { margin-bottom: clamp(46px, 6vw, 72px); }
.section-head h2, .contact-panel h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
}

/* decorative orbit paths on paper */
.about-orbit, .focus-orbit {
  position: absolute;
  color: rgba(18, 43, 46, 0.10);
  pointer-events: none;
}
.about-orbit { width: 110%; left: -5%; top: -6%; }
.focus-orbit { width: 105%; left: -2%; top: 8%; }

/* drifting orbs in the margins */
.drift-orb { will-change: transform; }
.about-orb {
  width: clamp(70px, 8vw, 110px);
  height: clamp(70px, 8vw, 110px);
  right: clamp(-30px, 1vw, 40px);
  top: 6%;
}
.work-orb {
  width: clamp(50px, 6vw, 84px);
  height: clamp(50px, 6vw, 84px);
  left: clamp(-40px, -2vw, -10px);
  top: 14%;
}
.focus-orb {
  position: absolute;
  width: clamp(56px, 7vw, 100px);
  height: clamp(56px, 7vw, 100px);
  right: clamp(-30px, 0vw, 30px);
  top: 4%;
}
.orbit-line { will-change: transform; }

/* ===== About: pinned statement ===== */

.motion-ok .statement-pin { height: 155vh; }
/* ride up over the cream-covered scene so the words arrive during
   the landing instead of after a stretch of blank paper */
.motion-ok .statement-pin { margin-top: -55vh; }
.motion-ok.pin-collapsed .statement-pin { margin-top: 0; }

.statement-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  /* opaque so the pin can collapse invisibly behind it */
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 60px);
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.28;
  max-width: 880px;
}
.statement em { color: var(--teal); }
.statement .w { will-change: opacity; }

.section-cols { padding-top: 0; }

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.col {
  border-top: 1px solid rgba(18, 43, 46, 0.22);
  padding-top: 22px;
}
.col h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}
.col p { font-size: 0.95rem; color: var(--ink-soft); }

/* ===== Work cards ===== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(32, 128, 141, 0.35);
  box-shadow: 0 30px 60px -30px rgba(18, 43, 46, 0.25);
}
.card-link { cursor: pointer; }
.card-link:focus-visible {
  outline: 3px solid rgba(32, 128, 141, 0.45);
  outline-offset: 4px;
  transform: translateY(-3px);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.card-icon {
  width: 32px; height: 32px;
  color: var(--teal);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 12px;
}
.card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.badge-active   { color: #0e6a4e; background: rgba(22, 142, 104, 0.10); }
.badge-dev      { color: var(--teal); background: rgba(32, 128, 141, 0.10); }
.badge-research { color: #7a548a; background: rgba(122, 84, 138, 0.10); }
.badge-retired  { color: var(--ink-faint); background: rgba(18, 43, 46, 0.06); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.tags li {
  font-size: 0.78rem;
  color: var(--ink-soft);
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(18, 43, 46, 0.055);
}

/* ===== Focus ===== */

.focus-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.focus-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px 34px;
  border-radius: var(--radius);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.focus-row h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.chips li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(18, 43, 46, 0.16);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.chips li:hover { border-color: var(--teal); color: var(--ink); }

/* ===== Contact panel ===== */

.section-contact { padding-bottom: clamp(50px, 8vh, 100px); }

.contact-panel {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(90% 130% at 50% -25%, #15505a 0%, transparent 55%),
    var(--space);
  isolation: isolate;
}
#contactStars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.contact-orb {
  position: absolute;
  z-index: 1;
  width: clamp(100px, 12vw, 170px);
  height: clamp(100px, 12vw, 170px);
  right: -3%;
  bottom: -12%;
  will-change: transform;
}
.contact-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(60px, 9vw, 110px) clamp(24px, 6vw, 80px);
}
.contact-panel h2 {
  color: var(--cream);
  margin-bottom: 20px;
}
.contact-sub {
  color: var(--cream-soft);
  max-width: 460px;
  margin: 0 auto 38px;
}
.contact-panel .scene-grain { z-index: 3; }

/* ===== Footer ===== */

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 30px clamp(22px, 5vw, 60px) 44px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ===== Project redirect toast ===== */

.project-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  width: min(620px, calc(100vw - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 18px 24px;
  border: 1px solid rgba(251, 249, 243, 0.16);
  border-radius: 18px;
  color: var(--cream);
  background: rgba(7, 24, 28, 0.96);
  box-shadow: 0 24px 70px -24px rgba(7, 24, 28, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: toast-in 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-toast[hidden] { display: none; }
.project-toast p {
  font-size: 0.92rem;
  line-height: 1.45;
}
.project-toast-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.toast-action {
  border: 1px solid rgba(251, 249, 243, 0.28);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--cream);
  background: transparent;
  font: 500 0.82rem/1 var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.toast-action:hover,
.toast-action:focus-visible {
  border-color: rgba(251, 249, 243, 0.7);
  background: rgba(251, 249, 243, 0.09);
  outline: none;
}
.toast-action-primary {
  border-color: var(--teal);
  background: var(--teal);
}
.toast-action-primary:hover,
.toast-action-primary:focus-visible {
  border-color: #26929f;
  background: #26929f;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .scene-planet { right: -24%; bottom: 0; }
  .scene-pearl { right: 7%; }
}

@media (max-width: 640px) {
  .scene { margin: 8px; height: calc(100svh - 16px); }
  .scene-copper { left: 4%; top: 12%; }
  .focus-row { grid-template-columns: 1fr; gap: 14px; }
  .drift-orb { display: none; }
  .project-toast {
    bottom: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }
  .project-toast-actions { justify-content: flex-end; }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .layer, .scene-title, .drift-orb, .scene-planet, .scene-pearl,
  .orbit-line, .contact-orb { transform: none !important; }
  .scene-title { opacity: 1 !important; }
  .project-toast { animation: none; }
}
