:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050914;
  --text: #eef3fb;
  --muted: #93a4c3;
  --gold: #e0c48a;
  --gold-deep: #b8925a;
  --ice: #9fd4ff;
  --line: rgba(224, 196, 138, 0.28);
  --card: rgba(10, 22, 44, 0.72);
  --nav: rgba(5, 9, 20, 0.78);
  --hairline: rgba(255, 255, 255, 0.08);
  --panel: rgba(6, 14, 30, 0.82);
  --chip-border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  --menu: rgba(5, 9, 20, 0.96);
  --skill: rgba(255, 255, 255, 0.03);
  --node: #0c1830;
  --node-text: #eef3fb;
  --node-sub: #93a4c3;
  --node-stroke: rgba(159, 212, 255, 0.45);
  --packet: #f3e2bc;
  --glow-blue: rgba(70, 120, 220, 0.22);
  --glow-gold: rgba(224, 196, 138, 0.12);
  --glow-deep: rgba(18, 48, 110, 0.35);
  --star: 224, 196, 138;
  --heading: #f0d48a;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #fbfaff;
  --text: #2a2144;
  --muted: #6d6288;
  --gold: #6d28d9;
  --gold-deep: #5b21b6;
  --ice: #7c3aed;
  --line: rgba(109, 40, 217, 0.28);
  --card: #ffffff;
  --nav: rgba(255, 255, 255, 0.92);
  --hairline: rgba(109, 40, 217, 0.16);
  --panel: #f6f1ff;
  --chip-border: rgba(109, 40, 217, 0.22);
  --shadow: 0 16px 40px rgba(91, 33, 182, 0.1);
  --menu: #ffffff;
  --skill: #f6f1ff;
  --node: #ffffff;
  --node-text: #2a2144;
  --node-sub: #6d6288;
  --node-stroke: rgba(109, 40, 217, 0.4);
  --packet: #6d28d9;
  --glow-blue: rgba(124, 58, 237, 0.07);
  --glow-gold: rgba(196, 181, 253, 0.22);
  --glow-deep: rgba(255, 255, 255, 0.4);
  --star: 109, 40, 217;
  --heading: #5b21b6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 500;
  font-stretch: 108%;
  letter-spacing: 0.015em;
  background: var(--bg);
  line-height: 1.65;
  transition: background 0.35s ease, color 0.35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font-family: inherit; }

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 8% -10%, var(--glow-blue), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, var(--glow-gold), transparent 55%),
    radial-gradient(800px 500px at 50% 110%, var(--glow-deep), transparent 50%),
    var(--bg);
  transition: background 0.35s ease;
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.55;
}
.aurora::before {
  left: -8vw;
  top: 30vh;
  background: radial-gradient(circle, var(--glow-blue), transparent 68%);
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora::after {
  right: -10vw;
  bottom: 0;
  background: radial-gradient(circle, var(--glow-gold), transparent 68%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, -6vh, 0) scale(1.08); }
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--ice));
  z-index: 40;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7vw;
  background: var(--nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav-end { display: flex; align-items: center; gap: 18px; }
.theme-toggle {
  position: relative;
  z-index: 5;
  width: 76px;
  height: 38px;
  padding: 0;
  flex: none;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--panel);
  box-shadow: var(--shadow);
  cursor: pointer;
  pointer-events: auto;
}
.theme-knob {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 1;
  transition: transform 0.25s ease;
}
[data-theme="light"] .theme-knob { transform: translateX(36px); background: #f0c36a; }
.theme-icon {
  position: absolute;
  top: 7px;
  z-index: 0;
  font-size: 15px;
  line-height: 1;
  pointer-events: none;
}
.theme-icon-moon { left: 10px; color: #1a1208; }
.theme-icon-sun { right: 10px; color: var(--gold); }
[data-theme="light"] .theme-icon-moon { color: var(--muted); }
[data-theme="light"] .theme-icon-sun { color: #1a1208; }
.logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--gold);
}
.nav nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }
.nav a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1px;
  margin: 6px 11px;
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 48px 7vw 72px;
  overflow: hidden;
}
#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hero-copy, .portrait { position: relative; z-index: 1; min-width: 0; }
.hero-wash {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
html[data-theme="light"] .hero-wash { display: block; }
.hero-wash svg { width: 100%; height: 100%; display: block; }
.hero-wash path {
  stroke-dasharray: 14 18;
  animation: band-flow 18s linear infinite;
}
.hero-wash path:nth-child(2) { animation-duration: 24s; animation-direction: reverse; }
.hero-wash path:nth-child(3) { animation-duration: 14s; }
@keyframes band-flow { to { stroke-dashoffset: -280; } }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}
h1, h2, h3 { letter-spacing: 0.012em; }
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(52px, 6.4vw, 84px);
  line-height: 1.08;
  margin: 0 0 22px;
  max-width: 100%;
}
h1 em, h2 em { font-style: italic; color: var(--gold); }
.lede { max-width: 540px; color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: linear-gradient(180deg, #f0d7a8, var(--gold-deep)); color: #1a1208; }
.btn.ghost { border-color: var(--line); color: var(--text); }
.hero-stats {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 28px 0 0;
  margin: 8px 0 0;
}
.hero-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--text);
}
.hero-stats span { color: var(--muted); font-size: 13px; }

.portrait { justify-self: end; width: min(380px, 100%); }
.portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}
.ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(224, 196, 138, 0.45);
  animation: spin 28s linear infinite;
}
.ring-2 {
  inset: -36px;
  border-style: dashed;
  border-color: rgba(159, 212, 255, 0.35);
  animation-duration: 46s;
  animation-direction: reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.portrait figcaption {
  text-align: center;
  color: var(--muted);
  margin-top: 28px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  padding: 14px 0;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.marquee span::before { content: "·"; margin-right: 48px; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section {
  padding: 88px 7vw;
  max-width: 1440px;
  margin: 0 auto;
  min-width: 0;
  border-top: 1px solid var(--hairline);
}
.section-head { max-width: 720px; margin-bottom: 36px; }
h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: 0.012em;
  margin: 0;
  padding: 0;
  display: block;
  background: none;
  color: var(--heading);
}
html[data-theme="light"] .btn.gold {
  background: linear-gradient(180deg, #8b5cf6, #5b21b6);
  color: #ffffff;
}
html[data-theme="light"] .cert-box,
html[data-theme="light"] .work-card,
html[data-theme="light"] .edu,
html[data-theme="light"] .arch-tabs button,
html[data-theme="light"] .lab-controls,
html[data-theme="light"] .stage-wrap {
  background: #ffffff;
  border-color: rgba(109, 40, 217, 0.28);
}
.section-note { color: var(--muted); margin: 14px 0 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}
.about-grid > p { color: var(--muted); margin: 0; font-size: 17px; }
.about-card, .work-card, .edu {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}
.about-card h3, .edu h3, .skill-groups h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 26px; }
.about-card p, .edu p { margin: 0; color: var(--muted); }

.work-grid, .about-grid, .skill-groups, .split {
  width: 100%;
  min-width: 0;
}
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.work-card {
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
}
.work-kicker { margin: 0; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; }
.work-card h3 { font-family: var(--serif); font-size: 32px; margin: 8px 0 10px; }
.work-card p { color: var(--muted); margin: 0 0 14px; }
.work-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.work-card li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--gold);
}

.timeline { list-style: none; margin: 42px 0 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.timeline h3 { margin: 0 0 6px; font-size: 20px; }
.timeline p { margin: 0; color: var(--muted); }
.timeline time { color: var(--gold); font-size: 14px; }

.principles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip, .presets button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.chip.active, .presets button.active, .chip:hover, .presets button:hover {
  color: #1a1208;
  background: var(--gold);
  border-color: var(--gold);
}

.lab-shell {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.lab-controls, .stage-wrap {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 20px;
}
.lab-controls label { display: block; color: var(--muted); font-size: 14px; }
.lab-controls strong { color: var(--text); font-family: var(--serif); font-size: 28px; font-weight: 400; margin-left: 6px; }
input[type="range"] {
  width: 100%;
  margin: 16px 0 12px;
  accent-color: var(--gold);
  cursor: pointer;
}
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 8px;
}
.metrics div {
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}
.metrics dt { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.metrics dd { margin: 2px 0 0; font-family: var(--serif); font-size: 26px; }
.principle { color: var(--muted); min-height: 72px; margin: 12px 0 0; }

.stage-wrap { padding: 8px; overflow: hidden; min-width: 0; max-width: 100%; }
#diagram { width: 100%; max-width: 100%; height: auto; min-height: 420px; display: block; }
.node-label { font-family: var(--sans); font-size: 15px; fill: var(--node-text); }
.node-sub { font-family: var(--sans); font-size: 11px; fill: var(--node-sub); }
.flow {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  animation: flow var(--flow, 1.35s) linear infinite;
}
.focus-dim { opacity: 0.28; }
.focus-hot { stroke: #e0c48a; }
@keyframes flow { to { stroke-dashoffset: -48; } }

.skill-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.skill-groups div {
  padding: 20px;
  border-radius: 16px;
  background: var(--skill);
  border: 1px solid var(--hairline);
}
.skill-groups p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.award-copy { color: var(--muted); font-size: 18px; max-width: 460px; }
.edu { margin-bottom: 12px; }
.cert { color: var(--gold); letter-spacing: 0.04em; }

.contact h2 { max-width: 740px; }
.contact p { color: var(--muted); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 7vw 40px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  font-size: 14px;
}
footer a { color: var(--gold); text-decoration: none; }

.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.8s ease forwards; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .nav, .hero, .section, footer { padding-left: 22px; padding-right: 22px; }
  .nav-toggle { display: inline-block; }
  .eyebrow { letter-spacing: 0.08em; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .hero-stats strong { font-size: 22px; }
  .nav nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 16px;
    padding: 18px 7vw 22px;
    background: var(--menu);
    border-bottom: 1px solid var(--hairline);
  }
  .nav nav.open { display: flex; }
  .about-grid, .work-grid, .lab-shell, .skill-groups, .split, .duo, .arch-tabs, .timeline li {
    grid-template-columns: minmax(0, 1fr);
  }
  .portrait { justify-self: center; margin-top: 12px; }
  .hero { min-height: auto; padding-top: 28px; }
  .hero-stats { flex-wrap: wrap; }
  footer { flex-direction: column; }
}

.aws-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 3px 10px 3px 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.aws-badge {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--gold);
  color: #1a1208;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
html[data-theme="light"] .aws-pill .aws-badge {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}
.edu-list { display: grid; gap: 12px; }
.cert-box {
  margin-top: 8px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(224, 196, 138, 0.16), transparent 70%),
    var(--card);
  box-shadow: var(--shadow);
}
.cert-box h3 { margin: 6px 0 8px; font-family: var(--serif); font-size: 30px; }
.cert-box p { margin: 0; color: var(--muted); }
button.work-card {
  display: block;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--hairline);
}
button.work-card.is-on { border-color: var(--gold); }
.arch-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.arch-tabs button {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 18px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow);
}
.arch-tabs button small {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.arch-tabs button.is-on {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(224, 196, 138, 0.28), transparent 72%),
    var(--card);
  color: var(--text);
}
.arch-tabs button.is-on small { color: var(--text); }
html[data-theme="light"] .cert-box {
  background: linear-gradient(180deg, rgba(109, 40, 217, 0.1), #ffffff 72%);
  border-color: rgba(109, 40, 217, 0.35);
}
html[data-theme="light"] .arch-tabs button.is-on {
  background: linear-gradient(180deg, rgba(109, 40, 217, 0.14), #ffffff 72%);
  border-color: #6d28d9;
}

.diagram-hint {
  display: none;
  margin: 4px 8px 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
  .lab-shell { grid-template-columns: minmax(0, 1fr); }
  .stage-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  #diagram {
    width: 960px;
    max-width: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 12 / 7;
  }
}

@media (max-width: 900px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .nav {
    padding-top: max(14px, env(safe-area-inset-top));
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }
  .hero, .section, footer {
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }
  .nav nav { top: 100%; padding: 6px 22px 16px; z-index: 5; }
  .nav nav.open {
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  }
  .nav nav a { display: block; padding: 12px 0; font-size: 17px; }
  .work-card h3 { font-size: 28px; }
  .portrait { width: min(300px, calc(100% - 64px)); }
  .ring { inset: -12px; }
  .ring-2 { inset: -28px; }
  .portrait figcaption {
    margin-top: 40px;
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    width: max-content;
    max-width: calc(100vw - 44px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .diagram-hint { display: block; }
  input[type="range"] { height: 32px; }
  html[data-theme="light"] .hero-wash {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0 48%, #000 68%);
    mask-image: linear-gradient(to bottom, transparent 0 48%, #000 68%);
  }
}

@media (max-width: 720px) {
  .duo, .arch-tabs { grid-template-columns: minmax(0, 1fr); }
  .arch-tabs button { font-size: 22px; }
  .cert-box h3 { font-size: 26px; }
}

@media (max-width: 380px) {
  h1 { font-size: 42px; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-stats li {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
  }
  .hero-stats strong { font-size: 26px; }
  .lede { font-size: 16px; }
}

@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    padding-top: 20px;
    padding-bottom: 36px;
  }
  .portrait { width: min(200px, 100%); margin-top: 0; }
  .ring { inset: -8px; }
  .ring-2 { inset: -16px; }
  .portrait figcaption { margin-top: 26px; }
  h1 { font-size: 42px; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats li { display: block; }
  .hero-stats strong { font-size: 22px; }
  html[data-theme="light"] .hero-wash {
    -webkit-mask-image: linear-gradient(to right, transparent 0 38%, #000 68%);
    mask-image: linear-gradient(to right, transparent 0 38%, #000 68%);
  }
}

@media (hover: none) {
  .work-card:hover, .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { transform: none; }
}
