:root {
  --bg: #090b0a;
  --panel: #101311;
  --panel-2: #151917;
  --ink: #f1f4ef;
  --muted: #8d9690;
  --line: rgba(217, 255, 56, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --signal: #d9ff38;
  --signal-rgb: 217, 255, 56;
  --orange: #ff5a27;
  --display: "Space Grotesk", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --mouse-x: 50vw;
  --mouse-y: 50vh;
}

[data-theme="amber"] {
  --signal: #ff5a27;
  --signal-rgb: 255, 90, 39;
  --orange: #d9ff38;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  font-family: var(--display);
  transition: color .3s ease, background-color .3s ease;
  animation: grid-drift 32s linear infinite;
}
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  left: var(--mouse-x);
  top: var(--mouse-y);
  width: 520px;
  height: 520px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--signal-rgb), .07), transparent 68%);
  transform: translate(-50%, -50%);
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: #090b0a; background: var(--signal); }
:focus-visible { outline: 1px solid var(--signal); outline-offset: 5px; }
@keyframes grid-drift { to { background-position: 48px 48px, 48px 48px; } }

.boot-screen { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; color: var(--signal); background: #060806; animation: boot-fallback .01s 3s forwards; }
.boot-screen::before { content: ""; position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(217,255,56,.08) 4px); animation: scan-flicker .12s steps(2) infinite; }
.boot-screen.is-done, .boot-screen.is-skip { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility .45s; }
.boot-terminal { position: relative; width: min(520px, calc(100% - 48px)); font: 9px var(--mono); letter-spacing: .12em; }
.boot-terminal > p { margin: 0 0 14px; }
.boot-line { height: 2px; overflow: hidden; background: rgba(217,255,56,.15); }
.boot-line span { display: block; width: var(--boot, 0%); height: 100%; background: var(--signal); box-shadow: 0 0 14px var(--signal); }
.boot-status { display: flex; justify-content: space-between; margin-top: 12px; }
.boot-status strong { font-size: 11px; }
@keyframes scan-flicker { 50% { opacity: .28; } }
@keyframes boot-fallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .075;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.section-shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.section-spacing { padding-top: 160px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.serif { font: inherit; font-style: normal; }
.accent { color: var(--signal); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 70px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line-soft);
  background: rgba(9,11,10,.82);
  backdrop-filter: blur(18px);
}
[data-theme="amber"] .site-header { background: rgba(9,11,10,.86); }
.brand { display: flex; align-items: center; gap: 13px; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.brand::after { content: "// FX_2026"; margin-left: 14px; color: var(--muted); font-weight: 400; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; color: #090b0a; background: var(--signal); font-family: var(--display); font-size: 14px; font-weight: 700; }
.site-nav { display: flex; align-items: stretch; min-height: 70px; border-left: 1px solid var(--line-soft); font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.site-nav a { display: flex; align-items: center; padding: 0 22px; border-right: 1px solid var(--line-soft); transition: color .2s, background .2s; }
.site-nav a:hover { color: #090b0a; background: var(--signal); }
.site-nav a.is-active { color: var(--signal); box-shadow: inset 0 -2px var(--signal); }
.theme-toggle { display: grid; place-items: center; width: 70px; padding: 0; cursor: pointer; border: 0; border-right: 1px solid var(--line-soft); background: transparent; }
.theme-icon { display: grid; place-items: center; width: 18px; height: 18px; color: var(--signal); border: 1px solid currentColor; border-radius: 50%; font-size: 8px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 70px);
  padding-top: 50px;
  padding-bottom: 60px;
}
.hero::before { content: "001"; position: absolute; left: -54px; top: 50%; color: var(--muted); font: 10px var(--mono); transform: rotate(-90deg); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--signal); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(58px, 7vw, 108px); font-weight: 500; line-height: .93; letter-spacing: -.075em; }
.hero h1 .accent { display: inline-block; font-family: var(--display); font-weight: 600; text-shadow: 0 0 36px rgba(var(--signal-rgb), .18); }
.glitch-word { position: relative; }
.glitch-word::before, .glitch-word::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.glitch-word::before { color: var(--orange); transform: translateX(3px); }
.glitch-word::after { color: #55dfff; transform: translateX(-3px); }
.hero h1:hover .glitch-word::before { opacity: .75; animation: glitch-a .45s steps(2) infinite; }
.hero h1:hover .glitch-word::after { opacity: .65; animation: glitch-b .35s steps(2) infinite; }
@keyframes glitch-a { 0% { clip-path: inset(8% 0 72%); } 50% { clip-path: inset(62% 0 10%); } 100% { clip-path: inset(35% 0 42%); } }
@keyframes glitch-b { 0% { clip-path: inset(70% 0 5%); } 55% { clip-path: inset(20% 0 58%); } 100% { clip-path: inset(48% 0 30%); } }
.hero-intro { max-width: 680px; margin: 38px 0 0; padding-left: 18px; border-left: 1px solid var(--signal); color: var(--muted); font-size: 15px; line-height: 1.9; }
.name-placeholder { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 53px; padding: 0 20px; border: 1px solid var(--signal); font: 600 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.button-primary { color: #090b0a; background: var(--signal); transition: box-shadow .2s, transform .2s; }
.button-primary:hover { box-shadow: 0 0 32px rgba(var(--signal-rgb), .2); transform: translateY(-2px); }
.text-link { display: inline-flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font: 500 11px var(--mono); text-transform: uppercase; }
.text-link:hover { color: var(--signal); border-color: var(--signal); }

.hero-art { position: relative; overflow: hidden; aspect-ratio: .92; border: 1px solid var(--line-soft); background: #0c100e; }
#fx-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .9; }
.hero-art::before { content: "SIMULATION VIEWPORT / LIVE"; position: absolute; z-index: 5; top: 16px; left: 16px; color: var(--signal); font: 9px var(--mono); letter-spacing: .08em; }
.hero-art::after { content: attr(data-frame) "    24 FPS    CACHE 100%"; position: absolute; z-index: 5; right: 16px; bottom: 14px; color: #778078; font: 8px var(--mono); letter-spacing: .05em; }
.sun { position: absolute; z-index: 1; top: 19%; left: 16%; width: 68%; aspect-ratio: 1; border: 1px solid rgba(var(--signal-rgb),.35); border-radius: 50%; background: radial-gradient(circle at calc(35% + var(--look-x, 0px)) calc(33% + var(--look-y, 0px)), #344037 0, #171d19 28%, #050706 70%); box-shadow: 0 0 60px rgba(var(--signal-rgb),.08), inset -25px -20px 60px #000; transform: translate(var(--look-x, 0), var(--look-y, 0)); transition: transform .18s ease-out; animation: core-breathe 4.8s ease-in-out infinite; }
.sun::before { content: ""; position: absolute; inset: 18%; border: 1px dashed rgba(var(--signal-rgb), .22); border-radius: 50%; animation: inner-scan 7s linear infinite; }
.sun::after { content: ""; position: absolute; top: 12%; right: 18%; width: 8px; height: 8px; background: var(--signal); border-radius: 50%; box-shadow: 0 0 16px var(--signal); animation: signal-orbit 6s cubic-bezier(.45,.05,.55,.95) infinite; }
.orbit { position: absolute; z-index: 2; border: 1px solid rgba(var(--signal-rgb), .45); border-radius: 50%; }
.orbit-one { top: 13%; left: -3%; width: 106%; height: 68%; transform: rotate(-16deg); animation: orbit-one-spin 11s linear infinite; }
.orbit-two { top: 25%; left: 6%; width: 89%; height: 49%; border-style: dashed; transform: rotate(31deg); animation: orbit-two-spin 16s linear infinite reverse; }
.orbit-one::before, .orbit-two::before { content: ""; position: absolute; top: 50%; left: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); }
.orbit-two::before { right: -3px; left: auto; width: 4px; height: 4px; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
@keyframes orbit-one-spin { to { transform: rotate(344deg); } }
@keyframes orbit-two-spin { to { transform: rotate(391deg); } }
@keyframes inner-scan { to { transform: rotate(360deg); } }
@keyframes core-breathe {
  0%, 100% { box-shadow: 0 0 45px rgba(var(--signal-rgb),.06), inset -25px -20px 60px #000; filter: brightness(.9); }
  50% { box-shadow: 0 0 90px rgba(var(--signal-rgb),.17), 0 0 0 8px rgba(var(--signal-rgb),.025), inset -25px -20px 60px #000; filter: brightness(1.12); }
}
@keyframes signal-orbit {
  0%, 100% { top: 12%; right: 18%; transform: scale(.85); }
  25% { top: 45%; right: -1%; transform: scale(1.25); }
  50% { top: 86%; right: 48%; transform: scale(.8); }
  75% { top: 42%; right: 94%; transform: scale(1.1); }
}
.art-note { position: absolute; z-index: 4; color: #929b94; font: 8px/1.55 var(--mono); letter-spacing: .1em; }
.art-note-top { top: 16px; right: 16px; text-align: right; }
.art-note-bottom { left: 16px; bottom: 14px; }
.spark { position: absolute; z-index: 4; color: var(--orange); font-size: 19px; }
.spark-one { top: 24%; right: 9%; }
.spark-two { left: 9%; bottom: 27%; font-size: 13px; }

.section-label { display: flex; align-items: center; gap: 13px; color: var(--ink); font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.section-label span { display: grid; place-items: center; width: 30px; height: 22px; color: #090b0a; background: var(--signal); font-size: 9px; }
.section-label p { margin: 0; }
.about-content { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; margin-top: 62px; padding-top: 58px; border-top: 1px solid var(--line-soft); }
.about-lead { margin: 0; font-size: clamp(38px, 4.6vw, 66px); font-weight: 500; line-height: 1.12; letter-spacing: -.055em; }
.about-details > p { margin: 2px 0 44px; color: var(--muted); font-size: 14px; line-height: 2; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-soft); }
.fact-grid div { display: flex; flex-direction: column; gap: 11px; min-height: 86px; padding: 17px; border-bottom: 1px solid var(--line-soft); }
.fact-grid div:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.fact-grid div:nth-child(n+3) { border-bottom: 0; }
.fact-grid span { color: var(--signal); font: 9px var(--mono); text-transform: uppercase; }
.fact-grid strong { font-size: 12px; font-weight: 500; }
.status i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: var(--signal); border-radius: 50%; box-shadow: 0 0 9px var(--signal); }

.section-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.section-heading > p { margin: 0; color: var(--muted); font: 10px var(--mono); letter-spacing: .02em; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px 22px; margin-top: 36px; }
.project-card-wide { grid-column: 1 / -1; }
.project-visual { position: relative; display: grid; place-items: center; overflow: hidden; height: 520px; border: 1px solid var(--line-soft); background: var(--panel); transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transform-style: preserve-3d; transition: border-color .25s, transform .18s ease-out; }
.project-card:not(.project-card-wide) .project-visual { height: 550px; }
.project-card:hover .project-visual { border-color: var(--signal); }
.visual-one { background-color: #121713; background-image: linear-gradient(rgba(217,255,56,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(217,255,56,.05) 1px, transparent 1px); background-size: 32px 32px; }
.project-card.has-video .project-visual { height: auto; aspect-ratio: 16 / 9; }
.project-card.compact-media .project-visual { height: auto !important; aspect-ratio: 16 / 9; }
.project-card.has-video.is-playing .project-visual { transform: none; }
.project-video { background: #000; }
.project-video::before { content: attr(data-label); position: absolute; z-index: 3; top: 15px; left: 15px; padding: 6px 8px; color: #090b0a; background: var(--signal); font: 8px var(--mono); letter-spacing: .08em; pointer-events: none; }
.project-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.project-video .project-index { z-index: 3; padding: 5px 7px; color: #090b0a; background: var(--signal); pointer-events: none; }
.mock-window { width: 76%; height: 72%; border: 1px solid rgba(217,255,56,.35); background: #080b09; box-shadow: 25px 25px 0 rgba(217,255,56,.055); transform: perspective(900px) rotateY(-7deg) rotateX(2deg); }
.mock-bar { display: flex; gap: 7px; padding: 12px; border-bottom: 1px solid rgba(217,255,56,.2); }
.mock-bar i { width: 5px; height: 5px; background: var(--signal); }
.mock-layout { display: flex; justify-content: space-between; align-items: end; height: calc(100% - 30px); padding: 34px; color: #eef6e9; }
.mock-layout span { width: 27%; height: 100%; border: 1px dashed rgba(217,255,56,.32); background: linear-gradient(to top, rgba(217,255,56,.12), transparent); }
.mock-layout strong { font-size: clamp(29px, 4.2vw, 62px); line-height: .86; letter-spacing: -.07em; }
.project-index { position: absolute; right: 18px; bottom: 15px; color: var(--signal); font: 11px var(--mono); }
.visual-two { background: #161916; }
.visual-two::after { content: "AIGC / CULTURAL FILM"; position: absolute; left: 15px; bottom: 14px; color: #7f8881; font: 8px var(--mono); }
.visual-two img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.74) contrast(1.08); transition: filter .35s, transform .6s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .visual-two img { filter: saturate(1) contrast(1.04); transform: scale(1.025); }
.visual-two .project-index { z-index: 2; padding: 5px 7px; color: #090b0a; background: var(--signal); }
.poster { position: relative; display: flex; align-items: center; justify-content: center; width: 57%; height: 76%; color: #090b0a; background: var(--signal); box-shadow: 15px 15px 0 var(--orange); transform: rotate(-2deg); }
.poster span { font-size: clamp(60px, 8vw, 110px); font-weight: 600; line-height: .85; letter-spacing: -.1em; }
.poster i { position: absolute; right: 18px; top: 16px; font: 11px var(--mono); }
.visual-three { background-color: #0d100e; background-image: radial-gradient(circle at 50% 50%, rgba(255,90,39,.18), transparent 42%); }
.phone { position: relative; display: grid; place-items: center; width: 51%; height: 79%; padding: 7px; border: 1px solid rgba(255,255,255,.22); background: #050706; transform: rotate(3deg); }
.phone::after { content: "VFX BREAKDOWN"; position: absolute; top: -28px; right: -20px; color: var(--orange); font: 9px var(--mono); }
.phone-screen { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: 25px 21px; color: #f3f5f1; background: linear-gradient(145deg,#1c241e,#090c0a); }
.phone-screen b { color: var(--signal); font: 500 37px var(--display); }
.phone-screen span { font: 500 22px/1.3 var(--mono); letter-spacing: -.05em; }
.project-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.project-meta h3 { margin: 0 0 8px; font-size: 19px; font-weight: 500; }
.project-meta p { margin: 0; color: var(--muted); font: 9px var(--mono); }
.project-meta a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-soft); font-family: var(--mono); transition: color .2s, background .2s; }
.project-meta a:hover { color: #090b0a; background: var(--signal); }

.project-case { margin-top: 140px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 95px; }
.case-heading { display: grid; grid-template-columns: 1fr minmax(280px, 420px); align-items: end; gap: 60px; margin-bottom: 36px; }
.case-heading > div > p { margin: 0 0 13px; color: var(--signal); font: 9px var(--mono); letter-spacing: .1em; }
.case-heading h3 { margin: 0; font-size: clamp(34px, 4.5vw, 62px); font-weight: 500; letter-spacing: -.055em; }
.case-heading > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.case-image, .case-clip { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-soft); background: #050706; }
.case-image { aspect-ratio: 1.85 / 1; }
.case-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-image figcaption, .case-clip figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 12px 14px; color: #bbc2bc; background: linear-gradient(transparent, rgba(0,0,0,.86)); font: 8px var(--mono); letter-spacing: .06em; pointer-events: none; }
.case-image figcaption span, .case-clip figcaption span { color: var(--signal); }
.clip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.case-clip { aspect-ratio: 16 / 9; }
.case-clip video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.archive-reel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); margin-top: 100px; border: 1px solid var(--line-soft); background: var(--panel); scroll-margin-top: 95px; }
.archive-media { position: relative; align-self: center; aspect-ratio: 16 / 9; overflow: hidden; border-right: 1px solid var(--line-soft); background: #000; }
.archive-media > span { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 8px; color: #090b0a; background: var(--signal); font: 8px var(--mono); letter-spacing: .08em; pointer-events: none; }
.archive-media video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.archive-copy { display: flex; flex-direction: column; justify-content: center; padding: 42px; }
.archive-kicker { margin: 0 0 28px; color: var(--signal); font: 8px var(--mono); letter-spacing: .12em; }
.archive-copy h3 { margin: 0 0 24px; font-size: clamp(32px, 3.4vw, 52px); font-weight: 500; line-height: .95; letter-spacing: -.055em; }
.archive-copy > p:not(.archive-kicker) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.lab-reel { grid-template-columns: minmax(290px, .65fr) minmax(0, 1.35fr); margin-top: 22px; }
.lab-reel .archive-media { border-right: 0; border-left: 1px solid var(--line-soft); }
.lab-reel .archive-media > span { background: var(--orange); }

.experience-layout { display: grid; grid-template-columns: 1fr 360px; gap: 90px; margin-top: 60px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 30px; padding: 0 0 50px 23px; border-left: 1px solid var(--line-soft); }
.timeline-item::before { content: ""; position: absolute; top: 4px; left: -4px; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--signal); box-shadow: 0 0 8px rgba(var(--signal-rgb),.45); }
.timeline-date { padding-top: 1px; color: var(--signal); font: 9px var(--mono); letter-spacing: .03em; }
.timeline-body h3 { margin: 0 0 7px; font-size: 19px; font-weight: 500; }
.timeline-body .role { margin: 0 0 16px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.timeline-body > p:last-of-type { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tags span { padding: 5px 9px; border: 1px solid var(--line-soft); color: var(--muted); font: 8px var(--mono); }
.toolbox { align-self: start; position: sticky; top: 95px; padding: 30px; border: 1px solid var(--line); background: var(--panel); }
.toolbox::before { content: ""; position: absolute; top: -1px; right: -1px; width: 55px; height: 4px; background: var(--signal); }
.toolbox-kicker { margin: 0 0 45px; color: var(--signal); font: 9px var(--mono); letter-spacing: .16em; }
.toolbox h3 { margin: 0 0 24px; font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.skill-list { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-list span { padding: 7px 9px; border: 1px solid var(--line-soft); color: var(--muted); font: 9px var(--mono); }
.tool-note { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.tool-note strong { color: var(--signal); font: 10px var(--mono); }
.tool-note p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

.manifesto { overflow: hidden; }
.marquee { display: flex; width: max-content; color: #090b0a; background: var(--signal); font: 600 clamp(45px, 7vw, 98px)/.95 var(--display); letter-spacing: -.06em; white-space: nowrap; transform: rotate(-1.5deg) scale(1.02); }
.marquee div { padding: 16px 0 24px; animation: marquee 22s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.manifesto-copy { padding-top: 130px; text-align: center; }
.manifesto-copy p { margin: 0; font-size: clamp(42px, 6vw, 82px); font-weight: 500; line-height: 1.08; letter-spacing: -.06em; }
.manifesto-copy .serif { color: var(--signal); }

.contact { padding-bottom: 120px; }
.contact-card { position: relative; overflow: hidden; padding: 76px 8%; color: #090b0a; background: var(--signal); }
.contact-card::before { content: "CONTACT_CHANNEL_OPEN"; position: absolute; right: 24px; top: 22px; font: 8px var(--mono); letter-spacing: .08em; }
.contact-card::after { content: "+"; position: absolute; right: 5%; bottom: -24%; color: rgba(9,11,10,.1); font-size: 420px; font-weight: 300; line-height: 1; }
.contact-card .eyebrow { color: #090b0a; }
.contact-card h2 { position: relative; z-index: 1; margin: 0 0 48px; font-size: clamp(52px, 7vw, 96px); font-weight: 550; line-height: .93; letter-spacing: -.07em; }
.contact-card h2 .accent { color: #090b0a; }
.contact-methods { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 24px 42px; }
.email-link { display: inline-flex; gap: 18px; padding-bottom: 7px; border-bottom: 1px solid rgba(9,11,10,.55); font: 500 clamp(15px, 2vw, 23px) var(--mono); }
.contact-note { position: relative; z-index: 1; margin: 18px 0 0; font: 9px var(--mono); }
.site-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 34px; border-top: 1px solid var(--line-soft); color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.social-links { display: flex; gap: 24px; }
.social-links a:hover { color: var(--signal); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.scroll-progress { position: fixed; z-index: 80; top: 0; left: 0; width: var(--scroll, 0%); height: 2px; pointer-events: none; background: var(--signal); box-shadow: 0 0 12px rgba(var(--signal-rgb),.7); }
.cursor-orb { position: fixed; z-index: 120; left: 0; top: 0; width: 28px; height: 28px; pointer-events: none; border: 1px solid var(--signal); border-radius: 50%; mix-blend-mode: difference; transform: translate(-50%, -50%); transition: width .2s, height .2s; }
.cursor-spark { position: fixed; z-index: 119; width: 4px; height: 4px; pointer-events: none; background: var(--signal); box-shadow: 0 0 8px var(--signal); transform: translate(-50%, -50%); animation: spark-out .55s ease-out forwards; }
@keyframes spark-out { to { opacity: 0; transform: translate(-50%, -50%) scale(.1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  body::after { display: none; }
  .cursor-orb, .cursor-spark { display: none; }
}

@media (max-width: 960px) {
  .section-spacing { padding-top: 120px; }
  .hero { grid-template-columns: 1fr; padding-top: 90px; }
  .hero-art { order: -1; width: min(520px, 82vw); margin: 0 auto; }
  .about-content { grid-template-columns: 1fr; gap: 45px; }
  .project-card:not(.project-card-wide) .project-visual { height: 440px; }
  .case-heading { grid-template-columns: 1fr; gap: 20px; }
  .archive-reel { grid-template-columns: 1fr; }
  .archive-media { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .lab-reel { grid-template-columns: 1fr; }
  .lab-reel .archive-media { border-left: 0; border-bottom: 0; border-top: 1px solid var(--line-soft); }
  .experience-layout { grid-template-columns: 1fr; gap: 35px; }
  .toolbox { position: static; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 32px, 1240px); }
  .site-header { min-height: 62px; padding: 0 16px; }
  .brand::after { display: none; }
  .menu-toggle { position: relative; z-index: 22; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line-soft); background: var(--bg); }
  .menu-toggle > span:not(.sr-only) { width: 100%; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 21; flex-direction: column; justify-content: center; visibility: hidden; min-height: auto; opacity: 0; border: 0; background: var(--bg); font-size: 19px; transition: opacity .25s, visibility .25s; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav a { justify-content: center; min-height: 65px; border: 0; }
  .theme-toggle { width: 60px; min-height: 60px; margin: 0 auto; border: 0; }
  .hero { min-height: auto; gap: 45px; padding-top: 55px; }
  .hero h1 { font-size: clamp(52px, 15vw, 75px); }
  .hero-art { width: min(370px, 90vw); }
  .hero-intro { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .about-lead br { display: none; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid div, .fact-grid div:nth-child(odd), .fact-grid div:nth-child(n+3) { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .fact-grid div:last-child { border-bottom: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .project-grid { grid-template-columns: 1fr; gap: 60px; }
  .project-card-wide { grid-column: auto; }
  .project-visual, .project-card:not(.project-card-wide) .project-visual { height: 370px; }
  .mock-window { width: 88%; height: 70%; }
  .mock-layout { padding: 20px; }
  .poster { width: 64%; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; padding-left: 21px; }
  .project-case { margin-top: 100px; }
  .case-image { aspect-ratio: 1.4 / 1; }
  .clip-grid { grid-template-columns: 1fr; }
  .archive-reel { margin-top: 70px; }
  .lab-reel { margin-top: 20px; }
  .archive-copy { padding: 30px 24px; }
  .timeline-body h3 { font-size: 17px; }
  .manifesto-copy { padding-top: 100px; }
  .contact { padding-bottom: 80px; }
  .contact-card { padding: 58px 24px; }
  .email-link { font-size: 13px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
