/* =========================================================
   Kaings · Work / case-study pages
   Extends landing.css with case-specific elements
   ========================================================= */

:root {
  --black: #030303;
  --gold-dark: #a98326;
  --gold: #d4af37;
  --gold-light: #f5e1a0;
  --champagne: #fbf0c4;
  --text: #e8dcb8;
  --text-dim: rgba(232, 220, 184, 0.72);
  --text-faint: rgba(232, 220, 184, 0.62);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-lux: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); -webkit-tap-highlight-color: transparent; }
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }
html, body {
  background: var(--black);
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 60px;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 300;
  letter-spacing: 0.18em;
  font-size: 11px;
  text-transform: uppercase;
}

/* =========================================================
   Atmosphere — bigger / cinematic for showcase
   ========================================================= */

.bg-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 17%, rgba(245, 225, 160, 0.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 78% 23%, rgba(245, 225, 160, 0.4), transparent 50%),
    radial-gradient(1px 1px at 35% 8%, rgba(232, 220, 184, 0.5), transparent 50%),
    radial-gradient(2px 2px at 92% 71%, rgba(245, 225, 160, 0.35), transparent 50%),
    radial-gradient(1.5px 1.5px at 8% 87%, rgba(232, 220, 184, 0.4), transparent 50%),
    radial-gradient(1px 1px at 65% 92%, rgba(245, 225, 160, 0.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 22% 56%, rgba(245, 225, 160, 0.3), transparent 50%);
  opacity: 0.7;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.bg-orb-1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.36) 0%, transparent 70%);
  top: -240px; left: -200px;
  animation: orb-drift 24s ease-in-out infinite;
}
.bg-orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.22) 0%, transparent 72%);
  bottom: -180px; right: -160px;
  animation: orb-drift 30s ease-in-out infinite reverse;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(120px, 100px); }
}

.bg-grain {
  position: fixed; inset: -10%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.bg-vignette {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0%, transparent 38%, rgba(3,3,3,0.6) 78%, rgba(3,3,3,0.95) 100%);
}

.bg-scanline {
  position: fixed; left: 0; right: 0;
  top: 80px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,0.5) 50%, transparent 100%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
  animation: scan 11s linear infinite;
  opacity: 0.7;
}
@keyframes scan {
  0%   { transform: translateY(0); opacity: 0; }
  6%   { opacity: 0.7; }
  94%  { opacity: 0.7; }
  100% { transform: translateY(calc(100vh - 80px)); opacity: 0; }
}

/* =========================================================
   Top nav
   ========================================================= */

.nav-top {
  position: sticky;
  top: 0; z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  background: linear-gradient(180deg, rgba(3,3,3,0.95), rgba(3,3,3,0.7) 70%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.24em;
  transition: color 0.3s var(--ease-lux);
  min-height: 44px;
  padding: 8px 4px;
}
.back-link:hover { color: var(--gold-light); }
.arrow-left { color: var(--gold); font-size: 14px; }
.brand-mono { font-weight: 500; }

.nav-side {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
}
.nav-side a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 12px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}
.nav-side a:hover { color: var(--gold-light); }
.nav-side .dot { color: var(--gold); }

/* =========================================================
   Page main
   ========================================================= */

.work {
  position: relative;
  z-index: 5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 28px;
}

/* Hero */
.work-hero {
  text-align: center;
  margin-bottom: 100px;
  padding: 60px 0 40px;
}
.work-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.work-eyebrow .bracket { color: var(--gold); font-size: 13px; }
.work-eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  display: inline-block;
}

.work-client {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.work-title {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.work-title em {
  font-style: italic;
  background: linear-gradient(115deg, #a98326 0%, #f5e1a0 40%, #ffffff 50%, #f5e1a0 60%, #a98326 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 9s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.work-sub {
  font-family: "Instrument Serif", serif;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.work-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-faint);
}
.work-meta .sep { color: rgba(212, 175, 55, 0.6); }

/* Big visit-live banner */
.visit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -60px auto 80px;
  padding: 22px 32px;
  background: linear-gradient(180deg, rgba(14, 11, 4, 0.85), rgba(10, 8, 3, 0.7));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  max-width: 720px;
  transition: all 0.4s var(--ease-lux);
  position: relative;
  overflow: hidden;
}
.visit-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(245, 225, 160, 0.15) 50%, transparent 65%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 0.6s var(--ease-lux);
}
.visit-banner:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.18);
}
.visit-banner:hover::before { background-position: 100% 0; }

.visit-info { position: relative; z-index: 1; }
.visit-info .label {
  display: block;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.visit-info .url {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--gold-light);
}
.visit-arrow {
  color: var(--gold-light);
  font-size: 32px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease-lux);
}
.visit-banner:hover .visit-arrow { transform: translate(6px, -6px); }

/* Section blocks */
.block {
  margin-bottom: 80px;
}
.block-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.block-idx {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
}
.block-title {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 48px);
  color: var(--gold-light);
  line-height: 1.05;
  flex: 1;
}

.block-body {
  font-family: "Instrument Serif", serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 18px;
  max-width: 760px;
}
.block-body em {
  color: var(--gold-light);
  font-style: italic;
}
.block-body strong {
  color: var(--gold-light);
  font-weight: 400;
  font-style: italic;
}

/* Stat callouts */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 36px 0;
}
.stat {
  padding: 24px 22px;
  background: rgba(10, 8, 3, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.18);
  text-align: left;
  transition: all 0.4s var(--ease-lux);
}
.stat:hover {
  border-color: var(--gold);
  background: rgba(14, 11, 4, 0.7);
  transform: translateY(-2px);
}
.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.stat-value {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 4.8vw, 54px);
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.stat-value .unit {
  font-size: 0.5em;
  font-style: normal;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  margin-left: 4px;
  letter-spacing: 0.1em;
}
.stat-hint {
  font-family: "Instrument Serif", serif;
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
}

/* Tech stack pills */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.tech {
  padding: 8px 16px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(10, 8, 3, 0.4);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all 0.3s var(--ease-lux);
}
.tech:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(14, 11, 4, 0.6);
}

/* Browser-frame mock for visuals */
.browser {
  margin: 32px 0;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(10, 8, 3, 0.6);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
              0 0 60px rgba(212, 175, 55, 0.08);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(20, 14, 2, 0.5);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.browser-dots {
  display: inline-flex;
  gap: 6px;
}
.browser-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  display: inline-block;
}
.browser-dots i:last-child {
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
}
.browser-url {
  flex: 1;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.browser-screen {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212,175,55,0.06) 0%, transparent 70%),
    rgba(3, 3, 3, 0.9);
  position: relative;
  overflow: hidden;
}
.browser-screen-text {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: var(--text-faint);
  text-align: center;
}

/* Quote block */
.quote {
  margin: 48px 0;
  padding: 36px 32px;
  border-left: 2px solid var(--gold);
  background: rgba(10, 8, 3, 0.5);
}
.quote-text {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.45;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.quote-attr {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.quote-attr .name { color: var(--gold-light); }

/* Cross-discipline / next-case nav */
.next-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 60px;
}
@media (max-width: 720px) {
  .next-nav { grid-template-columns: 1fr; }
}
.next-card {
  display: block;
  padding: 32px 28px;
  background: rgba(10, 8, 3, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.18);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease-lux);
  position: relative;
  overflow: hidden;
}
.next-card:hover {
  background: rgba(14, 11, 4, 0.8);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.next-card .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.next-card h3 {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 38px);
  color: var(--gold-light);
  margin-bottom: 8px;
  line-height: 1;
}
.next-card p {
  font-family: "Instrument Serif", serif;
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 18px;
}
.next-card .arrow {
  color: var(--gold);
  font-size: 18px;
  transition: transform 0.4s var(--ease-lux);
}
.next-card:hover .arrow { transform: translateX(6px); }

/* Index grid (work overview) */
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.index-card {
  display: block;
  padding: 36px 32px;
  background: rgba(10, 8, 3, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.18);
  text-decoration: none;
  color: inherit;
  transition: all 0.5s var(--ease-lux);
  position: relative;
  overflow: hidden;
}
.index-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(245, 225, 160, 0.06) 50%, transparent 70%);
  background-size: 200% 200%;
  background-position: -100% -100%;
  transition: background-position 0.8s var(--ease-lux);
  pointer-events: none;
}
.index-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.index-card:hover::before { background-position: 100% 100%; }

.index-card .meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.index-card .name {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 12px;
}
.index-card .desc {
  font-family: "Instrument Serif", serif;
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 24px;
}
.index-card .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.index-card .tags {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.index-card .tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.index-card .arrow {
  color: var(--gold);
  font-size: 18px;
  transition: transform 0.4s var(--ease-lux);
}
.index-card:hover .arrow { transform: translate(4px, -4px); }

/* Footer */
.foot-work {
  position: relative;
  z-index: 5;
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--text-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  margin-top: 60px;
}
.foot-work a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.foot-work a:hover { color: var(--gold-light); }
.foot-work .sep { color: rgba(212, 175, 55, 0.4); }

/* Reveal-on-scroll for sections */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 720px) {
  .nav-top { padding: 16px 20px; }
  .work { padding: 40px 20px; }
  .work-hero { margin-bottom: 60px; padding: 30px 0; }
  .visit-banner { margin: -30px auto 50px; padding: 18px 22px; }
  .block { margin-bottom: 50px; }
  .quote { padding: 24px 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

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

/* =========================================================
   SPECTACULAR POLISH (v20260426) — work pages
   ========================================================= */

/* 1 · Fixed gold corner brackets */
.lp-corner {
  position: fixed;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 8;
  opacity: 0.55;
}
.lp-corner::before,
.lp-corner::after {
  content: "";
  position: absolute;
  background: var(--gold);
}
.lp-corner.tl { top: 14px; left: 14px; }
.lp-corner.tr { top: 14px; right: 14px; }
.lp-corner.bl { bottom: 14px; left: 14px; }
.lp-corner.br { bottom: 14px; right: 14px; }
.lp-corner.tl::before, .lp-corner.tr::before,
.lp-corner.bl::before, .lp-corner.br::before { width: 10px; height: 1px; top: 0; }
.lp-corner.tl::after,  .lp-corner.tr::after,
.lp-corner.bl::after,  .lp-corner.br::after  { width: 1px; height: 10px; left: 0; }
.lp-corner.tr::before, .lp-corner.tr::after  { right: 0; left: auto; }
.lp-corner.bl::before, .lp-corner.bl::after  { bottom: 0; top: auto; }
.lp-corner.br::before { right: 0; left: auto; bottom: 0; top: auto; }
.lp-corner.br::after  { right: 0; left: auto; bottom: 0; top: auto; }

/* 2 · Page-entrance: blur-up on hero title */
.work-title em,
.work-title {
  animation: w-title-in 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.work-title em {
  animation-delay: 220ms;
  display: inline-block;
}
@keyframes w-title-in {
  0%   { opacity: 0; filter: blur(14px); transform: translateY(8px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; filter: blur(0); transform: none; }
}

/* 3 · Hover glow + corner brackets reveal on cards/stats */
.stat,
.next-card,
.index-card {
  position: relative;
  transition: transform 0.45s var(--ease-lux),
              border-color 0.45s var(--ease-lux),
              box-shadow 0.6s var(--ease-lux),
              background 0.6s var(--ease-lux);
}
.stat::before,
.stat::after,
.next-card::before,
.next-card::after,
.index-card::before,
.index-card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.45s var(--ease-lux), transform 0.5s var(--ease-lux);
  pointer-events: none;
}
.stat::before, .next-card::before, .index-card::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
  transform: translate(4px, 4px);
}
.stat::after, .next-card::after, .index-card::after {
  bottom: 8px;
  right: 8px;
  border-left: 0;
  border-top: 0;
  transform: translate(-4px, -4px);
}
.stat:hover,
.next-card:hover,
.index-card:hover {
  box-shadow:
    0 14px 60px -10px rgba(212,175,55,0.22),
    inset 0 0 80px rgba(212,175,55,0.06);
  background-image:
    linear-gradient(180deg, rgba(212,175,55,0.04), rgba(212,175,55,0) 60%);
}
.stat:hover::before, .stat:hover::after,
.next-card:hover::before, .next-card:hover::after,
.index-card:hover::before, .index-card:hover::after {
  opacity: 0.85;
  transform: translate(0, 0);
}

/* 4 · Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .work-title,
  .work-title em,
  .stat,
  .next-card,
  .index-card {
    animation: none !important;
  }
  .work-title em { opacity: 1; filter: none; transform: none; }
}

/* 5 · Mobile softer orbs + slower scanline */
@media (max-width: 720px), (pointer: coarse) {
  .bg-orb-1, .bg-orb-2 {
    width: 360px;
    height: 360px;
    opacity: 0.55;
  }
  .bg-scanline { animation-duration: 22s; opacity: 0.22; }
}

/* 6 · iOS dynamic viewport */
@supports (height: 100dvh) {
  body { min-height: 100dvh; }
}
