:root {
  --bg: #050505;
  --panel: #0a0a0b;
  --text: #f8f8fa;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --purple: #7c3aed;
  --purple-bright: #a855f7;
  --border: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.06);
  --max: 1440px;
  --pad: clamp(24px, 4.5vw, 76px);
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, video { display: block; width: 100%; }
::selection { color: #fff; background: rgba(124,58,237,.65); }

.skip-link { position: fixed; left: 20px; top: -60px; z-index: 1000; padding: 12px 18px; color: #fff; background: var(--purple); border-radius: 4px; transition: top .2s; }
.skip-link:focus { top: 20px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 82px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent; transition: height .35s ease, background .35s ease, border-color .35s ease, backdrop-filter .35s ease; }
.site-header.scrolled { height: 68px; background: rgba(5,5,5,.72); border-color: var(--border); backdrop-filter: blur(18px) saturate(130%); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 620; letter-spacing: -.02em; }
.brand-cn { font-size: 18px; }
.brand-en { color: var(--muted); font: 500 10px/1 var(--font); letter-spacing: .18em; }
.brand-divider { width: 1px; height: 16px; background: rgba(255,255,255,.28); }
.site-nav { display: flex; align-items: center; gap: clamp(26px,3vw,48px); }
.nav-link { position: relative; padding: 12px 0; color: #c4c4ca; font-size: 14px; transition: color .25s; }
.nav-link::after { content:""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--purple-bright); transition: right .25s ease; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after { right: 0; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display:block; width:22px; height:1px; margin:6px auto; background:#fff; transition:transform .25s; }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); align-items: center; gap: clamp(20px,4vw,80px); padding: 120px var(--pad) 74px; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-grid { position:absolute; inset:0; z-index:-3; opacity:.32; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 12.5vw 100%,12.5vw 100%; mask-image: linear-gradient(to bottom,transparent,#000 20%,#000 75%,transparent); }
.hero::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background: linear-gradient(90deg,#050505 0%,rgba(5,5,5,.88) 36%,rgba(5,5,5,.25) 65%,#050505 100%),linear-gradient(0deg,#050505 0%,transparent 18%,transparent 80%,rgba(5,5,5,.5) 100%); }
.hero-glow { position:absolute; z-index:-2; width:55vw; aspect-ratio:1; border-radius:50%; filter:blur(90px); opacity:.2; background:radial-gradient(circle,rgba(124,58,237,.9),rgba(124,58,237,0) 68%); }
.glow-a { right:-14vw; top:0; }
.hero-canva-decoration { position:absolute; inset:0; z-index:-2; overflow:hidden; pointer-events:none; }
.hero-canva-decoration img { position:absolute; object-fit:cover; mix-blend-mode:screen; }
.hero-data-art { width:60%; right:-8%; top:2%; opacity:.12; mask-image:linear-gradient(90deg,transparent,#000 35%,transparent 92%); }
.hero-grid-art { width:100%; left:0; bottom:-13%; opacity:.18; mask-image:linear-gradient(to bottom,transparent 12%,#000 68%,transparent); }
.hero-ribbon-art { width:45%; right:18%; top:18%; opacity:.12; filter:saturate(.7); }
.hero-energy-art { width:27%; right:1%; top:26%; opacity:.2; filter:saturate(.75); }
.hero-copy { position:relative; z-index:3; max-width:730px; }
.eyebrow,.section-kicker { margin:0; color:#b4a6c8; font-size:11px; font-weight:600; letter-spacing:.22em; }
.eyebrow { display:flex; align-items:center; gap:12px; }
.eyebrow span { width:34px; height:1px; background:linear-gradient(90deg,var(--purple-bright),transparent); }
.hero h1 { margin: clamp(28px,5vh,58px) 0 0; font-size: clamp(82px,10.2vw,164px); font-weight:620; letter-spacing:-.085em; line-height:.75; }
.hero h1 > span { display:block; background:linear-gradient(145deg,#fff 14%,#d5d0dc 50%,#77717f 96%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero h1 small { display:block; margin:40px 0 0 .08em; font-size:clamp(25px,3.3vw,52px); font-weight:500; letter-spacing:-.045em; line-height:1; }
.hero-discipline { margin:18px 0 0; color:#d8d6dc; font-size:clamp(17px,1.5vw,22px); font-weight:350; letter-spacing:.06em; }
.hero-discipline b { margin:0 .25em; color:var(--purple-bright); font-weight:450; }
.hero-intro { margin:clamp(34px,5vh,54px) 0 0; color:var(--muted); font-size:clamp(15px,1.2vw,18px); line-height:1.9; letter-spacing:.02em; }
.hero-actions { display:flex; align-items:center; gap:26px; margin-top:32px; }
.button { min-height:52px; display:inline-flex; align-items:center; justify-content:center; gap:38px; padding:0 22px; border:1px solid var(--border); cursor:pointer; transition:transform .3s ease,border-color .3s,background .3s; }
.button svg { width:18px; fill:none; stroke:currentColor; stroke-width:1.5; }
.button-primary { min-width:156px; color:#0a0a0a; background:#fff; border-color:#fff; font-size:14px; }
.button-primary:hover { transform:translateY(-2px); background:#e9ddff; border-color:#e9ddff; }
.availability { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:12px; }
.availability i { width:6px; height:6px; border-radius:50%; background:#9f7aea; box-shadow:0 0 12px rgba(168,85,247,.8); }

.hero-visual { position:relative; z-index:0; justify-self:end; width:min(54vw,820px); pointer-events:none; }
.visual-frame { position:relative; aspect-ratio:1/1; overflow:hidden; border-radius:50%; mask-image:radial-gradient(circle at 50% 50%,#000 0,#000 54%,transparent 72%); }
.visual-frame video { height:100%; object-fit:cover; transform:scale(1.18); filter:saturate(.78) contrast(1.08); }
.visual-vignette { position:absolute; inset:0; background:radial-gradient(circle at center,transparent 30%,rgba(5,5,5,.35) 58%,#050505 73%); }
.visual-index { position:absolute; right:11%; top:22%; color:rgba(255,255,255,.45); font-size:9px; letter-spacing:.22em; }
.visual-orbit { position:absolute; left:50%; top:50%; width:73%; height:73%; border:1px solid rgba(168,85,247,.12); border-radius:50%; transform:translate(-50%,-50%) rotate(-12deg); box-shadow:0 0 50px rgba(124,58,237,.08) inset; }
.scroll-cue { position:absolute; left:var(--pad); bottom:28px; z-index:3; display:flex; align-items:center; gap:16px; color:var(--muted-2); font-size:8px; letter-spacing:.22em; }
.scroll-cue i { display:block; width:62px; height:1px; overflow:hidden; background:rgba(255,255,255,.14); }
.scroll-cue i::after { content:""; display:block; width:30%; height:100%; background:var(--purple-bright); animation:scrollLine 2.2s ease-in-out infinite; }
.hero-side-note { position:absolute; right:calc(var(--pad) * .4); bottom:28px; z-index:3; margin:0; color:var(--muted-2); font-size:8px; letter-spacing:.18em; writing-mode:vertical-rl; }
@keyframes scrollLine { from { transform:translateX(-100%); } to { transform:translateX(340%); } }

.section { padding:clamp(96px,12vw,180px) var(--pad); }
.works { position:relative; isolation:isolate; overflow:hidden; }
.works-canva-decoration { position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.works-canva-decoration img { position:absolute; object-fit:cover; mix-blend-mode:screen; }
.works-network-art { width:58%; right:-13%; top:1%; opacity:.14; mask-image:radial-gradient(ellipse,#000,transparent 72%); }
.works-wave-art { width:76%; left:-16%; bottom:0; opacity:.1; mask-image:linear-gradient(90deg,transparent,#000 25%,transparent 92%); }
.section-heading { max-width:var(--max); margin:0 auto; display:flex; align-items:end; justify-content:space-between; gap:40px; }
.section-heading h2 { margin:14px 0 0; font-size:clamp(48px,7.3vw,108px); font-weight:510; letter-spacing:-.075em; line-height:.94; }
.section-intro { max-width:330px; margin:0 0 8px; color:var(--muted); font-size:15px; line-height:1.8; }
.filter-bar { max-width:var(--max); margin:64px auto 46px; padding-bottom:18px; display:flex; gap:clamp(22px,3vw,48px); border-bottom:1px solid var(--border); overflow-x:auto; scrollbar-width:none; }
.filter-bar::-webkit-scrollbar { display:none; }
.filter-button { position:relative; flex:0 0 auto; padding:0 0 14px; border:0; color:var(--muted-2); background:none; font-size:13px; cursor:pointer; transition:color .25s; }
.filter-button::after { content:""; position:absolute; left:0; right:100%; bottom:-19px; height:1px; background:var(--purple-bright); transition:right .3s ease; }
.filter-button sup { margin-left:4px; color:#5f5f67; font-size:8px; }
.filter-button:hover,.filter-button.active { color:#fff; }
.filter-button.active::after { right:0; }

.projects { max-width:var(--max); margin:0 auto; display:grid; grid-template-columns:repeat(12,1fr); gap:clamp(18px,2.1vw,34px); }
.project-card { position:relative; grid-column:span 6; min-height:clamp(390px,40vw,600px); overflow:hidden; border:1px solid var(--border); border-radius:8px; background:var(--panel); transition:opacity .32s ease,transform .32s ease; }
.project-card.project-wide { grid-column:span 7; }
.project-card.project-narrow { grid-column:span 5; }
.project-card.project-full { grid-column:1/-1; min-height:clamp(420px,52vw,720px); }
.project-card.project-half { grid-column:span 6; }
.project-card.is-hidden { display:none; }
.project-open { position:absolute; inset:0; width:100%; padding:0; text-align:left; border:0; background:transparent; cursor:pointer; overflow:hidden; }
.project-media { position:absolute; inset:0; overflow:hidden; }
.project-media img { height:100%; object-fit:cover; transform:scale(1.002); transition:transform .8s cubic-bezier(.2,.7,.2,1),filter .6s; }
.project-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.03) 45%,rgba(0,0,0,.78)); transition:background .4s,box-shadow .4s; box-shadow:inset 0 0 0 1px transparent; }
.project-top { position:absolute; inset:22px 22px auto; display:flex; justify-content:space-between; color:rgba(255,255,255,.75); font-size:10px; letter-spacing:.12em; }
.project-info { position:absolute; inset:auto 24px 24px; display:flex; align-items:end; justify-content:space-between; gap:24px; transition:transform .4s cubic-bezier(.2,.7,.2,1); }
.project-no { display:block; margin-bottom:10px; color:#c7adcF; font-size:9px; letter-spacing:.2em; }
.project-info h3 { margin:0; font-size:clamp(24px,2.8vw,42px); font-weight:480; letter-spacing:-.045em; }
.project-info p { max-width:390px; margin:10px 0 0; color:#c6c5ca; font-size:13px; line-height:1.65; }
.project-cta { flex:0 0 auto; padding:10px 0; color:#fff; font-size:12px; opacity:0; transform:translateY(8px); transition:opacity .35s,transform .35s; }
.project-cta b { margin-left:4px; color:#c6a7ff; }
.project-card:hover .project-media img,.project-open:focus-visible .project-media img { transform:scale(1.045); filter:saturate(1.08); }
.project-card:hover .project-shade,.project-open:focus-visible .project-shade { background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(20,4,37,.08) 42%,rgba(7,3,11,.86)); box-shadow:inset 0 0 80px rgba(124,58,237,.13),inset 0 0 0 1px rgba(168,85,247,.25); }
.project-card:hover .project-info,.project-open:focus-visible .project-info { transform:translateY(-5px); }
.project-card:hover .project-cta,.project-open:focus-visible .project-cta { opacity:1; transform:none; }
.project-open:focus-visible { outline:2px solid var(--purple-bright); outline-offset:-3px; }
.project-info-horizontal { align-items:center; }
.project-info-horizontal > div { min-width:32%; }
.project-info-horizontal > p { margin:0 auto 0 0; max-width:320px; }
.project-note { display:flex; align-items:flex-end; padding:32px; isolation:isolate; background:linear-gradient(145deg,#0c0a0f,#070707); }
.note-orb { position:absolute; width:72%; aspect-ratio:1; right:-18%; top:-34%; z-index:-1; border-radius:50%; background:radial-gradient(circle at 38% 35%,rgba(217,185,255,.48),rgba(124,58,237,.18) 25%,rgba(124,58,237,0) 68%); filter:blur(14px); }
.note-content span { color:#a89cb7; font-size:10px; letter-spacing:.2em; }
.note-content h3 { margin:16px 0 0; font-size:clamp(28px,3vw,44px); font-weight:480; letter-spacing:-.04em; }
.note-content p { margin:12px 0 0; color:var(--muted); font-size:13px; }
.note-mark { position:absolute; right:28px; bottom:12px; color:rgba(255,255,255,.045); font-size:clamp(100px,14vw,210px); font-weight:700; letter-spacing:-.1em; }

.about { position:relative; overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.about-ghost { position:absolute; left:-.04em; top:-.16em; color:rgba(255,255,255,.025); font-size:clamp(170px,28vw,460px); font-weight:700; letter-spacing:-.09em; line-height:1; pointer-events:none; }
.about-layout { position:relative; max-width:var(--max); min-height:560px; margin:auto; display:grid; grid-template-columns:1fr 2fr 1.15fr; gap:clamp(36px,6vw,90px); align-items:center; }
.about-label { align-self:start; padding-top:30px; }
.about-label > span { display:block; margin-top:20px; color:var(--muted-2); font-size:9px; letter-spacing:.18em; }
.about-copy h2 { margin:0 0 38px; white-space:nowrap; font-size:clamp(40px,4.2vw,64px); font-weight:500; letter-spacing:-.06em; }
.about-copy > p { margin:0; color:#d3d2d6; font-size:clamp(18px,2vw,28px); font-weight:320; line-height:1.75; letter-spacing:-.02em; }
.about-copy em { color:#d0afff; font-style:normal; }
.about-copy .about-secondary { margin-top:25px; color:var(--muted); font-size:15px; line-height:1.85; }
.skill-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:36px; }
.skill-tags span { padding:9px 13px; color:#b9b7bf; border:1px solid var(--border); border-radius:999px; background:rgba(255,255,255,.02); font-size:11px; }
.tool-bubbles { --pointer-x:50%; --pointer-y:50%; position:relative; width:min(100%,590px); margin-top:30px; padding:14px 16px; display:flex; align-items:center; flex-wrap:wrap; gap:10px; border:1px solid rgba(168,85,247,.09); border-radius:28px; background:linear-gradient(115deg,rgba(124,58,237,.04),rgba(255,255,255,.012)); isolation:isolate; }
.tool-bubbles::before { content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; opacity:.55; background:radial-gradient(circle 120px at var(--pointer-x) var(--pointer-y),rgba(168,85,247,.18),transparent 72%); transition:opacity .3s; }
.tool-bubble { --bubble-x:0px; --bubble-y:0px; width:72px; height:72px; flex:0 0 72px; transform:translate3d(var(--bubble-x),var(--bubble-y),0); transition:transform .28s cubic-bezier(.2,.7,.2,1),filter .28s; will-change:transform; }
.tool-bubble:nth-child(2),.tool-bubble:nth-child(5) { width:66px; height:66px; flex-basis:66px; }
.tool-bubble:nth-child(3) { width:78px; height:78px; flex-basis:78px; }
.tool-bubble-inner { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; overflow:hidden; border:1px solid rgba(207,173,255,.24); border-radius:50%; color:#e7d8fa; background:radial-gradient(circle at 34% 25%,rgba(218,188,255,.22),rgba(124,58,237,.13) 38%,rgba(18,10,28,.38) 72%); box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 34px rgba(64,20,102,.12); backdrop-filter:blur(12px); transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s,background .3s; }
.tool-bubble svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.45; stroke-linecap:round; stroke-linejoin:round; }
.tool-bubble span { color:rgba(248,248,250,.78); font-size:9px; font-weight:520; letter-spacing:.03em; }
.tool-bubble:hover { filter:brightness(1.12); }
.tool-bubble:hover .tool-bubble-inner { transform:scale(1.11) rotate(-2deg); border-color:rgba(208,173,255,.58); background:radial-gradient(circle at 34% 25%,rgba(226,202,255,.32),rgba(124,58,237,.2) 42%,rgba(20,10,31,.46) 75%); box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 14px 42px rgba(124,58,237,.24),0 0 24px rgba(168,85,247,.1); }
.about-art { position:relative; aspect-ratio:1; display:grid; place-items:center; }
.about-objects-art { position:absolute; inset:-14%; width:128%; height:128%; object-fit:cover; opacity:.12; mix-blend-mode:screen; mask-image:radial-gradient(circle,#000 35%,transparent 72%); }
.about-portal-art { position:absolute; inset:2%; width:96%; height:96%; object-fit:cover; opacity:.42; mix-blend-mode:screen; border-radius:50%; mask-image:radial-gradient(circle,#000 34%,transparent 72%); }
.about-monogram-art { position:relative; z-index:2; width:44%; aspect-ratio:1; object-fit:cover; border-radius:50%; filter:saturate(.75) contrast(1.05); box-shadow:0 0 70px rgba(124,58,237,.22); }
.about-ring { position:absolute; border:1px solid rgba(168,85,247,.22); border-radius:50%; }
.ring-one { inset:8%; animation:spin 18s linear infinite; }
.ring-one::after { content:""; position:absolute; left:12%; top:8%; width:7px; height:7px; border-radius:50%; background:#b987ff; box-shadow:0 0 18px #a855f7; }
.ring-two { inset:22%; border-color:rgba(255,255,255,.09); animation:spin 13s linear infinite reverse; }
.ring-two::after { content:""; position:absolute; right:5%; bottom:20%; width:4px; height:4px; border-radius:50%; background:#fff; box-shadow:0 0 12px #fff; }
.about-art p { position:absolute; bottom:4%; margin:0; color:var(--muted-2); font-size:8px; letter-spacing:.18em; line-height:1.6; text-align:center; }
@keyframes spin { to { transform:rotate(360deg); } }

.contact { position:relative; min-height:82vh; display:grid; place-items:center; overflow:hidden; isolation:isolate; text-align:center; }
.contact-canva-decoration { position:absolute; inset:0; z-index:-3; overflow:hidden; pointer-events:none; }
.contact-canva-decoration img { position:absolute; object-fit:cover; mix-blend-mode:screen; }
.contact-space-art { inset:0; width:100%; height:100%; opacity:.36; }
.contact-portal-art { width:min(74vw,980px); left:50%; top:50%; transform:translate(-50%,-50%); opacity:.24; mask-image:radial-gradient(circle,#000 38%,transparent 72%); }
.contact-sculpture-art { width:min(42vw,620px); left:-7%; bottom:-18%; opacity:.33; mask-image:radial-gradient(ellipse,#000 38%,transparent 74%); }
.contact-glow { position:absolute; left:50%; top:50%; z-index:-2; width:min(85vw,1100px); aspect-ratio:1.7; transform:translate(-50%,-50%); background:radial-gradient(ellipse,rgba(124,58,237,.27),rgba(124,58,237,.07) 42%,transparent 70%); filter:blur(24px); }
.contact-grid { position:absolute; inset:0; z-index:-4; opacity:.22; background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size:80px 80px; mask-image:radial-gradient(ellipse,#000,transparent 68%); }
.contact-inner { position:relative; z-index:1; max-width:1050px; }
.contact-inner h2 { margin:26px 0 34px; font-size:clamp(64px,9.5vw,148px); font-weight:520; letter-spacing:-.08em; line-height:.88; }
.contact-inner h2 em { color:transparent; font-style:normal; -webkit-text-stroke:1px rgba(218,191,255,.8); }
.contact-inner > p { margin:0 auto; max-width:520px; color:var(--muted); font-size:15px; line-height:1.9; }
.button-contact { margin-top:38px; min-width:194px; color:#fff; background:rgba(10,10,11,.6); border-color:rgba(191,151,255,.42); backdrop-filter:blur(12px); }
.button-contact:hover { transform:translateY(-2px); background:rgba(124,58,237,.18); border-color:#a855f7; }
.contact-meta { position:absolute; inset:auto var(--pad) 36px; display:flex; justify-content:space-between; color:var(--muted-2); font-size:9px; letter-spacing:.16em; }
.site-footer { min-height:110px; padding:28px var(--pad); display:flex; align-items:center; justify-content:space-between; gap:20px; border-top:1px solid var(--line); color:var(--muted-2); font-size:10px; letter-spacing:.06em; }
.site-footer > a:last-child { color:#9d9ba2; transition:color .2s; }
.site-footer > a:last-child:hover { color:#fff; }
.site-disclaimer { margin:0; padding:0 var(--pad) 24px; color:var(--muted-2); font-size:clamp(14px,1.05vw,16px); font-weight:500; line-height:1.55; letter-spacing:.03em; text-align:center; }

.project-dialog { width:100vw; max-width:none; height:100svh; max-height:none; margin:0; padding:0; border:0; color:#fff; background:rgba(4,4,5,.96); }
.project-dialog::backdrop { background:#030303; }
.dialog-shell { width:100%; min-height:100%; display:grid; grid-template-rows:auto 1fr auto; padding:24px clamp(20px,4vw,66px) 22px; }
.dialog-header,.dialog-footer { display:flex; align-items:center; justify-content:space-between; }
.dialog-header > div { display:flex; align-items:baseline; gap:18px; }
.dialog-header span { color:#a987d1; font-size:10px; letter-spacing:.2em; }
.dialog-header h2 { margin:0; font-size:clamp(24px,3vw,46px); font-weight:480; letter-spacing:-.04em; }
.dialog-close { position:relative; width:48px; height:48px; border:1px solid var(--border); border-radius:50%; background:transparent; cursor:pointer; transition:border-color .2s,transform .2s; }
.dialog-close:hover { border-color:#b483ee; transform:rotate(8deg); }
.dialog-close span { position:absolute; left:14px; top:23px; width:18px; height:1px; background:#fff; transform:rotate(45deg); }
.dialog-close span:last-child { transform:rotate(-45deg); }
.dialog-media { min-height:0; margin:22px 0; display:grid; place-items:center; overflow:hidden; background:#080808; border:1px solid var(--border); }
.dialog-media video,.dialog-media img { width:100%; height:100%; max-height:calc(100svh - 150px); object-fit:contain; }
.dialog-footer { color:var(--muted-2); font-size:9px; letter-spacing:.16em; }
.toast { position:fixed; left:50%; bottom:28px; z-index:200; padding:12px 18px; color:#fff; background:#17131d; border:1px solid rgba(168,85,247,.35); border-radius:4px; font-size:12px; transform:translate(-50%,18px); opacity:0; pointer-events:none; transition:opacity .25s,transform .25s; }
.toast.show { opacity:1; transform:translate(-50%,0); }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity:1; transform:none; }

@media (max-width: 1024px) {
  .hero { grid-template-columns:1fr .8fr; }
  .hero-visual { width:58vw; margin-right:-12vw; }
  .project-card,.project-card.project-wide,.project-card.project-narrow,.project-card.project-half { grid-column:span 6; }
  .about-layout { grid-template-columns:1fr 2.3fr; }
  .about-art { display:none; }
}

@media (max-width: 760px) {
  :root { --pad:20px; }
  .site-header { height:68px; }
  .menu-toggle { display:block; z-index:2; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform:translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform:translateY(-3.5px) rotate(-45deg); }
  .site-nav { position:fixed; inset:0; display:flex; flex-direction:column; justify-content:center; gap:26px; background:rgba(5,5,5,.96); backdrop-filter:blur(20px); opacity:0; visibility:hidden; transform:translateY(-10px); transition:.3s; }
  .site-nav.open { opacity:1; visibility:visible; transform:none; }
  .nav-link { font-size:24px; }
  .hero { min-height:900px; grid-template-columns:1fr; align-content:start; gap:0; padding-top:125px; padding-bottom:60px; }
  .hero h1 { font-size:clamp(84px,28vw,126px); }
  .hero h1 small { margin-top:32px; font-size:34px; }
  .hero-intro { margin-top:30px; }
  .hero-visual { position:absolute; z-index:-1; right:-34vw; bottom:-2%; width:116vw; opacity:.64; }
  .hero::after { background:linear-gradient(180deg,#050505 0%,rgba(5,5,5,.74) 38%,rgba(5,5,5,.08) 69%,#050505 98%); }
  .hero-side-note { display:none; }
  .availability { display:none; }
  .scroll-cue { bottom:22px; }
  .section { padding-top:100px; padding-bottom:100px; }
  .section-heading { display:block; }
  .section-intro { margin-top:24px; }
  .filter-bar { margin-top:42px; }
  .projects { display:block; }
  .project-card,.project-card.project-wide,.project-card.project-narrow,.project-card.project-half,.project-card.project-full { width:100%; min-height:490px; margin-bottom:18px; }
  .project-card.project-full { min-height:420px; }
  .project-info { inset:auto 18px 20px; }
  .project-info p { max-width:75%; }
  .project-cta { position:absolute; right:0; bottom:0; width:40px; overflow:hidden; white-space:nowrap; opacity:1; }
  .project-cta b { font-size:18px; }
  .project-info-horizontal { display:flex; align-items:end; }
  .project-info-horizontal > p { display:none; }
  .project-note { min-height:360px !important; }
  .hero-data-art { width:110%; right:-55%; opacity:.1; }
  .hero-grid-art { width:180%; left:-40%; bottom:-6%; opacity:.15; }
  .hero-ribbon-art { width:86%; right:-20%; top:48%; opacity:.14; }
  .hero-energy-art { width:52%; right:-19%; top:45%; opacity:.2; }
  .works-network-art { width:120%; right:-65%; top:0; opacity:.1; }
  .works-wave-art { width:160%; left:-70%; bottom:2%; opacity:.08; }
  .about-layout { min-height:auto; display:block; }
  .about-label { margin-bottom:56px; }
  .about-copy > p { font-size:20px; }
  .about-copy h2 { white-space:nowrap; font-size:clamp(34px,9.3vw,52px); letter-spacing:-.07em; }
  .tool-bubbles { padding:12px; gap:8px; border-radius:24px; }
  .tool-bubble,.tool-bubble:nth-child(2),.tool-bubble:nth-child(3),.tool-bubble:nth-child(5) { width:62px; height:62px; flex-basis:62px; }
  .tool-bubble svg { width:22px; height:22px; }
  .tool-bubble span { font-size:8px; }
  .contact-portal-art { width:150vw; opacity:.2; }
  .contact-sculpture-art { width:86vw; left:-36%; bottom:-5%; opacity:.24; }
  .contact { min-height:720px; }
  .contact-inner h2 { font-size:18vw; }
  .contact-meta span:last-child { display:none; }
  .site-footer { padding-top:38px; padding-bottom:38px; flex-direction:column; align-items:flex-start; }
  .dialog-shell { padding:18px 14px; }
  .dialog-header h2 { font-size:23px; }
}

@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; }
}
