:root {
  color-scheme: dark;
  --bg: #04060b;
  --panel: #090d16;
  --panel-2: #0d1320;
  --text: #f5f8ff;
  --muted: #98a3b7;
  --line: rgba(183, 220, 255, .16);
  --line-strong: rgba(183, 232, 255, .42);
  --cyan: #65ecff;
  --violet: #a27aff;
  --pink: #ff66db;
  --mint: #7effbd;
  --page: min(1500px, calc(100vw - 96px));
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 4%, rgba(94, 77, 255, .17), transparent 28%),
    radial-gradient(circle at 5% 38%, rgba(0, 217, 255, .09), transparent 27%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--cyan); color: #02050a; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--cyan);
  color: #02050a;
  font-size: 12px;
  font-weight: 900;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 76px;
  padding: 0 max(28px, calc((100vw - 1500px) / 2));
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 6, 11, .97), rgba(4, 6, 11, .76));
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-gem {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(213, 244, 255, .44);
  background: linear-gradient(145deg, rgba(101, 236, 255, .22), rgba(162, 122, 255, .18));
  box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 0 25px rgba(101, 236, 255, .10);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  font: 900 12px var(--sans);
}
.brand-word { letter-spacing: .08em; font-size: 13px; font-weight: 950; }
.brand-word span { color: var(--cyan); }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a {
  color: #aeb8c9;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  transition: color .18s, border-color .18s, background .18s;
}
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--cyan); }
.site-header .home-link {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.site-header .home-link:hover { border-color: var(--line-strong); background: rgba(101, 236, 255, .05); }
.home-link span { color: var(--cyan); font-size: 14px; }

.hero {
  position: relative;
  min-height: 780px;
  padding: 154px max(48px, calc((100vw - 1500px) / 2)) 96px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 181, 223, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 181, 223, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(#000, rgba(0,0,0,.6) 60%, transparent 96%);
  -webkit-mask-image: linear-gradient(#000, rgba(0,0,0,.6) 60%, transparent 96%);
}
.hero:after {
  content: "PROJECTS";
  position: absolute;
  left: max(28px, calc((100vw - 1500px) / 2));
  bottom: -2.2vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(187, 226, 255, .08);
  letter-spacing: -.06em;
  font: 900 clamp(120px, 22vw, 360px) / .72 var(--display);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 3; width: min(770px, 65vw); }
.eyebrow {
  margin: 0 0 24px;
  color: var(--cyan);
  letter-spacing: .25em;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow span { width: 40px; height: 1px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.hero h1, .collection-heading h2, .exit-panel h2, .featured-copy h3, .project-copy h3 { margin: 0; font-family: var(--display); text-transform: uppercase; }
.hero h1 { font-size: clamp(82px, 11vw, 172px); line-height: .78; letter-spacing: -.025em; }
.hero h1 em { color: transparent; -webkit-text-stroke: 1px rgba(221, 241, 255, .82); font-style: normal; }
.hero-lede { max-width: 650px; margin: 34px 0 30px; color: #aab4c5; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.primary-action {
  min-height: 54px;
  padding: 0 20px;
  background: var(--cyan);
  color: #02050a;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  gap: 38px;
  box-shadow: 0 0 45px rgba(101, 236, 255, .14);
}
.quiet-action { color: #7f8ba0; letter-spacing: .13em; text-transform: uppercase; font-size: 9px; font-weight: 900; }
.quiet-action:hover { color: #fff; }

.hero-orb {
  position: absolute;
  z-index: 1;
  right: max(-60px, calc((100vw - 1500px) / 2));
  top: 50%;
  width: min(48vw, 660px);
  aspect-ratio: 1;
  transform: translateY(-48%);
  filter: drop-shadow(0 0 52px rgba(63, 206, 255, .15));
}
.hero-orb:before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 91, 255, .34), rgba(20, 235, 255, .08) 42%, transparent 67%);
  filter: blur(16px);
  animation: orb-pulse 4s ease-in-out infinite;
}
.orb-ring { position: absolute; border: 1px solid rgba(159, 222, 255, .26); border-radius: 50%; }
.ring-one { inset: 2%; border-style: dashed; animation: orb-spin 26s linear infinite; }
.ring-two { inset: 17%; border-width: 2px; border-color: rgba(255, 102, 219, .24); clip-path: polygon(0 0, 100% 0, 100% 42%, 0 74%); animation: orb-spin 17s linear infinite reverse; }
.ring-three { inset: 32%; border-color: rgba(101, 236, 255, .5); box-shadow: 0 0 35px rgba(101, 236, 255, .1); animation: orb-spin 10s linear infinite; }
.orb-core {
  position: absolute;
  inset: 39%;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid rgba(225, 248, 255, .64);
  background: linear-gradient(145deg, rgba(101, 236, 255, .26), rgba(162, 122, 255, .23));
  box-shadow: inset 0 0 30px rgba(255,255,255,.06), 0 0 55px rgba(101,236,255,.18);
}
.orb-core b { transform: rotate(-45deg); font-size: clamp(18px, 2vw, 34px); }
.orb-core small { position: absolute; right: 11%; bottom: 13%; transform: rotate(-45deg); color: var(--cyan); letter-spacing: .15em; font-size: 6px; }
.hero-stats {
  position: absolute;
  z-index: 4;
  left: max(48px, calc((100vw - 1500px) / 2));
  bottom: 29px;
  margin: 0;
  display: flex;
  gap: 44px;
}
.hero-stats div { display: flex; align-items: baseline; gap: 9px; }
.hero-stats dt { font: 28px var(--display); }
.hero-stats dd { margin: 0; color: #69758b; letter-spacing: .12em; text-transform: uppercase; font: 8px var(--sans); }

.section-switcher {
  position: sticky;
  z-index: 80;
  top: 76px;
  width: 100%;
  min-height: 56px;
  padding: 0 max(48px, calc((100vw - 1500px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 13, .88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  align-items: stretch;
}
.section-switcher > span { margin-right: auto; color: #667388; letter-spacing: .16em; text-transform: uppercase; font-size: 8px; font-weight: 800; display: flex; align-items: center; }
.section-switcher a { min-width: 132px; border-left: 1px solid var(--line); color: #b5bfd0; letter-spacing: .12em; text-transform: uppercase; font-size: 9px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 11px; }
.section-switcher a:last-child { border-right: 1px solid var(--line); }
.section-switcher a b { color: var(--cyan); font-size: 8px; }
.section-switcher a:hover { color: #fff; background: rgba(101, 236, 255, .045); }
.section-switcher a[aria-current="true"] { color: #fff; background: linear-gradient(90deg, rgba(101,236,255,.08), rgba(162,122,255,.06)); box-shadow: inset 0 -2px var(--cyan); }

.collection { padding: clamp(90px, 9vw, 145px) max(48px, calc((100vw - 1500px) / 2)); scroll-margin-top: 120px; }
.arcade-collection { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(4,7,13,.74), rgba(2,4,8,.96)); }
.collection-heading { margin-bottom: 50px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); align-items: end; gap: 60px; }
.collection-heading > div > p { margin: 0 0 14px; color: var(--cyan); letter-spacing: .2em; font: 8px var(--sans); }
.collection-heading h2 { font-size: clamp(65px, 8vw, 124px); line-height: .78; letter-spacing: -.02em; }
.collection-heading h2 span, .exit-panel h2 span { color: transparent; -webkit-text-stroke: 1px rgba(217, 240, 255, .64); }
.collection-heading > p { margin: 0; color: #8f9aae; font-size: 14px; line-height: 1.75; }

.project-link {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}
.project-link:after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 35%), rgba(129, 231, 255, .11), transparent 48%);
  opacity: 0;
  transition: opacity .3s;
}
.project-link:hover, .project-link:focus-visible { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 28px 85px rgba(0,0,0,.45), 0 0 36px rgba(101,236,255,.06); outline: none; }
.project-link:hover:after, .project-link:focus-visible:after { opacity: 1; }

.featured-project { min-height: 520px; margin-bottom: 18px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr); }
.featured-art { position: relative; min-height: 520px; overflow: hidden; }
.featured-copy { padding: clamp(30px, 4vw, 62px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, rgba(14, 20, 33, .98), rgba(7, 10, 17, .99)); }
.featured-copy h3 { margin-top: 22px; font-size: clamp(58px, 5vw, 82px); line-height: .82; }
.featured-copy h3 span { color: transparent; -webkit-text-stroke: 1px rgba(213, 238, 255, .76); }
.featured-copy > p:not(.card-type) { margin: 24px 0 0; color: #aeb8c9; max-width: 570px; font-size: 14px; line-height: 1.72; }

.art-visual-studio {
  background:
    radial-gradient(circle at 74% 31%, rgba(159, 95, 255, .34), transparent 27%),
    radial-gradient(circle at 29% 66%, rgba(28, 222, 255, .26), transparent 34%),
    linear-gradient(145deg, #05070e, #101124 52%, #050710);
}
.art-visual-studio:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image: linear-gradient(rgba(143,222,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(143,222,255,.18) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(500px) rotateX(55deg) scale(1.5) translateY(16%);
  transform-origin: bottom;
  mask-image: linear-gradient(transparent, #000 48%);
  -webkit-mask-image: linear-gradient(transparent, #000 48%);
}
.studio-horizon { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(101,236,255,.72), rgba(162,122,255,.7), transparent); box-shadow: 0 0 28px rgba(101,236,255,.5); }
.studio-glass {
  position: absolute;
  z-index: 3;
  left: 10%;
  top: 13%;
  width: 58%;
  height: 66%;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid rgba(220, 242, 255, .24);
  background: linear-gradient(145deg, rgba(22, 28, 45, .6), rgba(4, 7, 14, .52));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 28px 85px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.1);
  transform: perspective(900px) rotateY(7deg) rotateX(2deg);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.studio-brand { color: #dce9f6; letter-spacing: .12em; font-size: 9px; font-weight: 950; }
.studio-brand span { color: var(--cyan); }
.studio-glass > strong { margin-top: 14px; display: block; font: clamp(45px, 6vw, 88px)/.76 var(--display); letter-spacing: -.02em; }
.studio-engines { position: absolute; left: clamp(24px, 4vw, 54px); right: clamp(24px, 4vw, 54px); bottom: 30px; display: flex; gap: 8px; }
.studio-engines i { flex: 1; padding: 11px 8px; border: 1px solid rgba(148,221,255,.2); background: rgba(108,197,255,.06); color: #b9c8db; font-style: normal; letter-spacing: .1em; text-align: center; font-size: 7px; }
.studio-bars { position: absolute; right: 6%; bottom: 11%; height: 42%; display: flex; align-items: end; gap: 6px; opacity: .75; }
.studio-bars i { width: clamp(5px, .7vw, 10px); height: calc(15% + var(--bar, 25%)); background: linear-gradient(var(--cyan), var(--violet)); box-shadow: 0 0 15px rgba(101,236,255,.24); animation: studio-meter 1.4s ease-in-out infinite alternate; }
.studio-bars i:nth-child(1) { --bar: 12%; animation-delay: -.2s; }
.studio-bars i:nth-child(2) { --bar: 44%; animation-delay: -.7s; }
.studio-bars i:nth-child(3) { --bar: 28%; animation-delay: -.4s; }
.studio-bars i:nth-child(4) { --bar: 70%; animation-delay: -1s; }
.studio-bars i:nth-child(5) { --bar: 38%; animation-delay: -.5s; }
.studio-bars i:nth-child(6) { --bar: 60%; animation-delay: -.9s; }
.studio-bars i:nth-child(7) { --bar: 18%; animation-delay: -.3s; }
.studio-bars i:nth-child(8) { --bar: 48%; animation-delay: -.8s; }
.studio-bars i:nth-child(9) { --bar: 30%; animation-delay: -.6s; }

.project-grid { display: grid; gap: 18px; }
.labs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.arcade-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card { min-width: 0; display: grid; grid-template-rows: 250px 1fr; }
.arcade-grid .project-card { grid-template-rows: 215px 1fr; }
.project-art { position: relative; min-width: 0; overflow: hidden; background: #090d16; }
.image-art { background-position: center; background-size: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .35s; }
.image-art:after, .project-art:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,7,12,.34)); }
.project-link:hover .image-art { transform: scale(1.035); filter: saturate(1.1) contrast(1.02); }
.project-copy { position: relative; z-index: 3; padding: 25px 26px 27px; border-top: 1px solid var(--line); background: linear-gradient(150deg, rgba(14,19,31,.99), rgba(7,10,17,.99)); display: flex; flex-direction: column; align-items: flex-start; }
.card-flags { min-height: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.card-flags > span { min-height: 24px; padding: 0 8px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.035); letter-spacing: .13em; font-size: 7px; font-weight: 900; display: inline-flex; align-items: center; gap: 6px; }
.flag-new { color: #d9cfff; border-color: rgba(162,122,255,.32) !important; background: rgba(162,122,255,.08) !important; }
.flag-live { color: #c9d2e0; }
.flag-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.card-type { width: 100%; margin: 17px 0 0; color: var(--cyan); letter-spacing: .12em; text-transform: uppercase; font-size: 8px; font-weight: 900; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.card-type b { color: #b7c0d0; font-weight: 750; }
.project-copy h3 { margin-top: 13px; font-size: clamp(38px, 3.25vw, 55px); line-height: .88; letter-spacing: -.01em; }
.arcade-grid .project-copy h3 { font-size: clamp(34px, 2.75vw, 46px); }
.project-copy > p:not(.card-type) { margin: 17px 0 0; color: #aeb7c7; font-size: 12.5px; line-height: 1.62; }
.launch-copy { margin-top: auto; padding-top: 22px; color: var(--cyan); letter-spacing: .13em; text-transform: uppercase; font-size: 8px; display: inline-flex; align-items: center; gap: 26px; }
.launch-copy span { font-size: 15px; transition: transform .2s; }
.project-link:hover .launch-copy span { transform: translate(3px, -3px); }

.squishy .image-art { background-image: url(/assets/projects/pocket-universe-squishy-card.webp); background-position: center 42%; }
.fungi-futbol .image-art { background-image: url(/assets/projects/fungi-futbol-card.webp); }
.spore-wars .image-art { background-image: url(/assets/projects/spore-wars-card.webp); }
.mycelium .image-art { background-image: url(/assets/projects/mycelium-skirmish-card.webp); }
.chess .image-art { background-image: url(/assets/projects/centerline-chess-card.webp); }
.mushroom-prince .image-art { background-image: url(/assets/projects/mushroom-prince-card.webp); }
.dragonfly-strike .image-art { background-image: url(/assets/projects/dragonfly-strike-card.webp); background-position: center 40%; }

.art-camera {
  background:
    radial-gradient(circle at 50% 46%, rgba(180, 132, 255, .3), transparent 26%),
    linear-gradient(145deg, #090a14, #17142a 52%, #07151e);
}
.art-camera:before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, rgba(255,76,190,.15) 33% 34%, transparent 35% 42%, rgba(64,225,255,.17) 43% 44%, transparent 45%); filter: blur(1px); }
.camera-frame { position: absolute; z-index: 2; inset: 17%; }
.camera-frame i { position: absolute; width: 32px; height: 32px; border-color: rgba(219,244,255,.72); }
.camera-frame i:nth-child(1) { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.camera-frame i:nth-child(2) { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.camera-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.camera-frame i:nth-child(4) { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }
.camera-lens { position: absolute; z-index: 3; left: 50%; top: 46%; width: 130px; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(210,236,255,.48); border-radius: 50%; box-shadow: 0 0 0 16px rgba(164,122,255,.08), 0 0 0 32px rgba(69,215,240,.045), 0 0 50px rgba(164,122,255,.18); }
.camera-lens:before, .camera-lens:after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(152,219,255,.36); animation: orb-spin 14s linear infinite; inset: 12px; }
.camera-lens:after { inset: 30px; border-style: solid; border-color: rgba(255,255,255,.22); animation-direction: reverse; }
.camera-lens span { position: absolute; inset: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e8faff, #8b70ff 20%, #142e51 52%, #02040a 72%); box-shadow: inset -9px -8px 20px rgba(0,0,0,.55), 0 0 24px rgba(69,215,240,.35); }
.camera-spectrum { position: absolute; z-index: 1; width: 36%; height: 160%; top: -31%; opacity: .38; filter: blur(8px); transform: rotate(28deg); }
.spectrum-a { left: 4%; background: linear-gradient(90deg, transparent, #ff4bcb, transparent); }
.spectrum-b { right: 2%; background: linear-gradient(90deg, transparent, #3be4ff, transparent); }
.art-camera small { position: absolute; z-index: 4; left: 50%; bottom: 10%; transform: translateX(-50%); padding: 6px 10px; border: 1px solid rgba(255,255,255,.13); background: rgba(3,5,10,.48); color: #cbd6e6; letter-spacing: .18em; font-size: 6px; }

.art-audio-reality {
  background:
    radial-gradient(circle at 50% 48%, rgba(120,255,231,.23), transparent 23%),
    radial-gradient(circle at 50% 48%, rgba(179,108,255,.18), transparent 45%),
    linear-gradient(145deg, #03070b, #0d1221 55%, #06040d);
}
.art-audio-reality:before { content: ""; position: absolute; inset: 0; opacity: .5; background: repeating-radial-gradient(circle at 50% 48%, transparent 0 18px, rgba(149,224,255,.08) 19px, transparent 20px 34px); }
.audio-orbits { position: absolute; z-index: 2; left: 50%; top: 47%; width: 150px; aspect-ratio: 1; transform: translate(-50%, -50%); }
.audio-orbits i { position: absolute; border: 1px solid rgba(135,255,236,.6); border-radius: 50%; animation: audio-breathe 2.8s ease-in-out infinite; }
.audio-orbits i:nth-child(1) { inset: 3%; }
.audio-orbits i:nth-child(2) { inset: 18%; border-color: rgba(191,116,255,.55); animation-delay: -.8s; }
.audio-orbits i:nth-child(3) { inset: 34%; border-radius: 14px; transform: rotate(45deg); animation-delay: -1.6s; }
.audio-orbits span { position: absolute; inset: 45%; border-radius: 50%; background: #edfffc; box-shadow: 0 0 20px #aaffee, 0 0 52px #9471ff; }
.audio-wave { position: absolute; z-index: 3; left: 50%; bottom: 12%; transform: translateX(-50%); height: 45px; display: flex; align-items: center; gap: 5px; }
.audio-wave i { width: 4px; height: 30%; border-radius: 5px; background: linear-gradient(#fff, #78ffe7, #b36cff); box-shadow: 0 0 10px rgba(120,255,231,.4); animation: wave-meter .8s ease-in-out infinite alternate; }
.audio-wave i:nth-child(2n) { animation-delay: -.25s; }
.audio-wave i:nth-child(3n) { animation-delay: -.52s; }
.audio-wave i:nth-child(4n) { animation-delay: -.7s; }
.art-audio-reality small { position: absolute; z-index: 4; left: 7%; top: 9%; color: rgba(210,229,244,.55); letter-spacing: .17em; font-size: 6px; }

.art-lava { background: radial-gradient(circle at 23% 17%, rgba(255,246,188,.82), transparent 2%), radial-gradient(circle at 78% 28%, rgba(255,226,105,.33), transparent 13%), linear-gradient(145deg, #120818, #210713 42%, #4a100d 76%, #10060d); }
.art-lava:before { content: ""; position: absolute; inset: 0; background: radial-gradient(transparent 32%, rgba(0,0,0,.45) 76%), linear-gradient(90deg, rgba(134,221,255,.1), transparent 18% 82%, rgba(134,221,255,.08)); box-shadow: inset 0 0 65px rgba(0,0,0,.68); }
.lava-blob { position: absolute; display: block; filter: saturate(1.12); background: radial-gradient(circle at 34% 27%, #fff7b0 0 4%, #ffbb35 18%, #ff5b18 53%, #8e0d25 86%); border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; box-shadow: inset -16px -20px 34px rgba(77,0,35,.56), inset 12px 11px 23px rgba(255,241,151,.35), 0 0 36px rgba(255,79,27,.33); animation: lava-float 7s ease-in-out infinite alternate; }
.blob-one { width: 36%; height: 46%; bottom: -5%; left: 15%; }
.blob-two { width: 25%; height: 34%; top: 11%; right: 17%; animation-duration: 8.4s; animation-delay: -2.4s; }
.blob-three { width: 15%; height: 19%; top: 8%; left: 42%; animation-duration: 6.4s; animation-delay: -4s; }

.exit-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(95px, 10vw, 150px) max(48px, calc((100vw - 1500px) / 2));
  background: var(--cyan);
  color: #02050a;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 70px;
}
.exit-panel:before { content: ""; position: absolute; top: -70%; right: -11vw; width: 48vw; aspect-ratio: 1; border: 1px solid rgba(2,5,10,.23); border-radius: 50%; box-shadow: 0 0 0 55px rgba(2,5,10,.05), 0 0 0 110px rgba(2,5,10,.035); }
.exit-panel > div { position: relative; z-index: 2; }
.exit-panel p { margin: 0 0 20px; letter-spacing: .2em; font-size: 8px; }
.exit-panel h2 { font-size: clamp(65px, 8vw, 124px); line-height: .8; }
.exit-panel h2 span { -webkit-text-stroke-color: rgba(2,5,10,.65); }
.exit-actions { display: grid; gap: 10px; }
.exit-actions a { min-height: 56px; padding: 0 17px; border: 1px solid rgba(2,5,10,.48); letter-spacing: .12em; text-transform: uppercase; font-size: 9px; font-weight: 950; display: flex; align-items: center; justify-content: space-between; transition: padding .18s, background .18s, color .18s; }
.exit-actions a:hover { padding-left: 24px; background: #02050a; color: #fff; }

.site-footer { padding: 42px max(28px, calc((100vw - 1500px) / 2)); border-top: 1px solid var(--line); background: #020409; color: #7e899b; font-size: 11px; line-height: 1.6; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; }
.site-footer p { margin: 0; }
.site-footer p:last-child { text-align: right; }
.site-footer p a { color: var(--cyan); }

@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-pulse { 50% { opacity: .58; transform: scale(1.06); } }
@keyframes studio-meter { to { height: calc(38% + var(--bar, 25%)); } }
@keyframes audio-breathe { 50% { opacity: .5; transform: scale(1.08) rotate(4deg); } }
@keyframes wave-meter { to { height: 100%; } }
@keyframes lava-float { to { border-radius: 59% 41% 43% 57% / 41% 55% 45% 59%; transform: translateY(-11%) rotate(-8deg) scale(1.04); } }

@media (max-width: 1180px) {
  :root { --page: calc(100vw - 64px); }
  .hero-copy { width: min(700px, 72vw); }
  .hero-orb { right: -15vw; width: 64vw; opacity: .54; }
  .featured-project { grid-template-columns: 1.08fr .92fr; }
  .arcade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arcade-grid .project-card { grid-template-rows: 235px 1fr; }
  .arcade-grid .project-copy h3 { font-size: clamp(37px, 4vw, 52px); }
}

@media (max-width: 900px) {
  .site-header, .hero, .section-switcher, .collection, .exit-panel, .site-footer { padding-left: 28px; padding-right: 28px; }
  .hero { min-height: 750px; }
  .hero-copy { width: min(690px, 88vw); }
  .hero-orb { right: -30vw; width: 82vw; }
  .hero-stats { left: 28px; }
  .collection-heading { grid-template-columns: 1fr; gap: 24px; }
  .collection-heading > p { max-width: 670px; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-art { min-height: 410px; }
  .featured-copy { min-height: 390px; }
  .labs-grid { grid-template-columns: 1fr 1fr; }
  .project-card { grid-template-rows: 220px 1fr; }
  .exit-panel { grid-template-columns: 1fr; }
  .exit-actions { max-width: 640px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p:first-of-type { display: none; }
}

@media (max-width: 700px) {
  :root { --page: calc(100vw - 32px); }
  html { scroll-padding-top: 68px; }
  .site-header { height: 66px; padding: 0 16px; }
  .brand { gap: 9px; }
  .brand-gem { width: 32px; height: 32px; font-size: 10px; }
  .brand-word { font-size: 11px; }
  .site-header nav { gap: 8px; }
  .site-header nav > a:not(.home-link) { display: none; }
  .site-header .home-link { min-height: 38px; padding: 0 11px; gap: 9px; font-size: 8px; }

  .hero { min-height: 660px; padding: 118px 16px 95px; align-items: flex-end; }
  .hero:after { left: 16px; bottom: 5%; font-size: 41vw; }
  .hero-copy { width: 100%; }
  .eyebrow { margin-bottom: 19px; font-size: 7px; }
  .eyebrow span { width: 29px; }
  .hero h1 { font-size: clamp(68px, 21vw, 96px); }
  .hero-lede { margin: 24px 0; font-size: 14px; line-height: 1.6; }
  .hero-actions { gap: 14px; }
  .primary-action { width: 100%; min-height: 50px; justify-content: space-between; font-size: 9px; }
  .quiet-action { padding: 7px 2px; font-size: 8px; }
  .hero-orb { top: 20px; right: -34vw; width: 105vw; transform: none; opacity: .38; }
  .hero-stats { left: 16px; right: 16px; bottom: 20px; justify-content: space-between; gap: 12px; }
  .hero-stats div { display: grid; gap: 1px; }
  .hero-stats dt { font-size: 22px; }
  .hero-stats dd { font-size: 6px; }

  .section-switcher { top: 66px; min-height: 50px; padding: 0; }
  .section-switcher > span { display: none; }
  .section-switcher a { flex: 1; min-width: 0; border-left: 0; }
  .section-switcher a + a { border-left: 1px solid var(--line); }
  .section-switcher a:last-child { border-right: 0; }

  .collection { padding: 82px 16px; scroll-margin-top: 96px; }
  .collection-heading { margin-bottom: 32px; gap: 20px; }
  .collection-heading > div > p { margin-bottom: 11px; font-size: 7px; line-height: 1.5; }
  .collection-heading h2 { font-size: clamp(60px, 19vw, 82px); }
  .collection-heading > p { font-size: 13px; line-height: 1.65; }

  .project-link { clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px)); }
  .project-link:hover, .project-link:focus-visible { transform: translateY(-2px); }
  .featured-project { min-height: 0; margin-bottom: 12px; }
  .featured-art { min-height: 255px; }
  .featured-copy { min-height: 0; padding: 27px 22px 30px; }
  .featured-copy h3 { margin-top: 17px; font-size: clamp(49px, 14vw, 64px); }
  .featured-copy > p:not(.card-type) { margin-top: 18px; font-size: 12.5px; line-height: 1.62; }
  .studio-glass { left: 7%; top: 10%; width: 70%; height: 71%; padding: 24px; }
  .studio-glass > strong { font-size: 52px; }
  .studio-engines { left: 24px; right: 24px; bottom: 18px; }
  .studio-engines i { padding: 8px 4px; font-size: 5px; }
  .studio-bars { right: 4%; bottom: 8%; height: 42%; gap: 4px; }
  .studio-bars i { width: 5px; }

  .project-grid, .labs-grid, .arcade-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-card, .arcade-grid .project-card { grid-template-rows: 190px auto; }
  .project-copy { min-height: 276px; padding: 22px 20px 24px; }
  .card-type { margin-top: 14px; font-size: 7px; }
  .project-copy h3, .arcade-grid .project-copy h3 { margin-top: 11px; font-size: clamp(35px, 11vw, 48px); }
  .project-copy > p:not(.card-type) { margin-top: 14px; font-size: 12px; line-height: 1.58; }
  .launch-copy { padding-top: 18px; }
  .camera-lens { width: 106px; }
  .camera-lens span { inset: 36px; }
  .audio-orbits { width: 125px; }

  .exit-panel { padding: 92px 16px 78px; gap: 38px; }
  .exit-panel h2 { font-size: 19vw; }
  .exit-panel p { font-size: 7px; }
  .exit-actions a { font-size: 8px; }
  .site-footer { padding: 36px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-footer p:last-child { text-align: left; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 65px; }
  .hero { min-height: 690px; }
  .project-copy { min-height: 290px; }
  .featured-copy h3 { font-size: 46px; }
  .project-copy h3, .arcade-grid .project-copy h3 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb-ring, .hero-orb:before, .studio-bars i, .audio-orbits i, .audio-wave i, .lava-blob { animation: none !important; }
  .project-link, .image-art, .launch-copy span { transition: none; }
}
