
@font-face {
  font-family: "Builder Sans";
  src: url("fonts/BuilderSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Builder Sans";
  src: url("fonts/BuilderSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night:      #0A0A0A;
  --night-2:    #121212;
  --dusk:       #141414;
  --dusk-2:     #1C1C1C;
  --dusk-3:     #282828;
  --dusk-4:     #363636;
  --haze:       #484848;
  --ember:      #111111;

  --sun:        #FFFFFF;
  --sun-hi:     #FFFFFF;
  --sun-lo:     #4D4D4D;
  --mint:       #E0E0E0;
  --mint-lo:    #666666;
  --flare:      #D4D4D4;
  --flare-lo:   #4D4D4D;
  --purple:     #CCCCCC;
  --cyan:       #E0E0E0;
  --pink:       #B8B8B8;

  --metal-chrome-edge:  linear-gradient(135deg, #FFFFFF 0%, rgba(210, 215, 225, 0.75) 35%, rgba(120, 125, 138, 0.55) 65%, #FFFFFF 100%);
  --metal-chrome-face:  linear-gradient(180deg, #FFFFFF 0%, #E8EBF2 22%, #D5DAE3 49%, #BDC3CD 51%, #C9CED8 80%, #A6ACB8 100%);
  --metal-chrome-hover: linear-gradient(180deg, #FFFFFF 0%, #F0F3F9 22%, #DFE4ED 49%, #CBD0DA 51%, #D6DAE3 80%, #B4BAC5 100%);
  --metal-steel-edge:   linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(60, 65, 75, 0.5) 70%, rgba(255, 255, 255, 0.3) 100%);
  --metal-steel-face:   linear-gradient(180deg, #282B32 0%, #1C1E23 48%, #131518 52%, #1D2025 80%, #16181C 100%);
  --metal-steel-hover:  linear-gradient(180deg, #343842 0%, #252830 48%, #1A1D22 52%, #262930 80%, #1F2227 100%);

  --ink:        #FFFFFF;
  --ink-2:      #E4E4E4;
  --ink-3:      #999999;
  --ink-4:      #6E6E6E;

  --edge:              #0A0A0A;
  --line:              rgba(255, 255, 255, 0.08);
  --line-hi:           rgba(255, 255, 255, 0.22);
  --line-edge:         rgba(255, 255, 255, 0.12);
  --line-stroke:       rgba(255, 255, 255, 0.14);
  --line-stroke-hi:    rgba(255, 255, 255, 0.45);
  --line-stroke-mint:  rgba(255, 255, 255, 0.35);
  --line-stroke-flare: rgba(255, 255, 255, 0.35);
  --rule-line:         rgba(255, 255, 255, 0.04);
  --grid:              28px;

  --f-dsp:      "Builder Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body:     "Builder Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono:     "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap:       1180px;
  --pad:        clamp(20px, 4.5vw, 52px);
  --bar-h:      66px;
  --cut:        22px;
  --cut-sm:     12px;
  --cut-btn:    10px;

  --pop:        cubic-bezier(0.22, 0.95, 0.3, 1.06);
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 36px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) #0A0A0A;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  background-color: var(--night);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-dsp);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { display: block; }
img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

::selection { background: var(--sun); color: var(--night); }

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 99;
  padding: 12px 22px;
  background: var(--metal-chrome-face);
  color: #0A0E14;
  font-family: var(--f-dsp);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), inset 0 1px 0 #FFFFFF;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; }

.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--bar-h);
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease), transform 0.22s var(--ease);
}
.bar::before,
.bar::after {
  display: none;
}
.bar.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bar-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-inline: clamp(24px, 4.5vw, 64px);
}

.bar-left {
  display: flex;
  align-items: center;
  justify-self: start;
}

.bar-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.bar-glyph {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s var(--pop);
}

.bar-mark .bar-glyph {
  width: 26px;
  height: 26px;
}

.bar-mark:hover .bar-glyph,
.end-mark:hover .bar-glyph {
  transform: scale(1.12) rotate(4deg);
}

.end-mark .bar-glyph {
  width: 38px;
  height: 38px;
}

.bar-name {
  font-family: var(--f-dsp);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 16px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14.5px;
  color: rgba(245, 245, 245, 0.65);
  text-decoration: none;
  border-radius: 999px;
  clip-path: none;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.bar-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.bar-cta {
  padding: 8px 20px;
  font-size: 13.5px;
}
.bar-cta .btn-arr {
  width: 14px;
  height: 14px;
}

.bar-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  position: relative;
  background: var(--metal-steel-edge);
  color: var(--ink);
  font-family: var(--f-dsp);
  font-weight: 700;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  clip-path: polygon(
    6px 0,
    calc(100% - 6px) 0,
    100% 6px,
    100% calc(100% - 6px),
    calc(100% - 6px) 100%,
    6px 100%,
    0 calc(100% - 6px),
    0 6px
  );
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.bar-toggle::before {
  content: "";
  position: absolute;
  inset: 1.2px;
  background: var(--metal-steel-face);
  clip-path: polygon(
    5px 0,
    calc(100% - 5px) 0,
    100% 5px,
    100% calc(100% - 5px),
    calc(100% - 5px) 100%,
    5px 100%,
    0 calc(100% - 5px),
    0 5px
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  z-index: 0;
  transition: background 0.18s var(--ease);
}
.bar-toggle:hover::before {
  background: var(--metal-steel-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.bar-toggle > * { position: relative; z-index: 1; }

.bar-bars { display: grid; gap: 4px; }
.bar-bars i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--sun);
  transition: transform 0.22s var(--pop), opacity 0.18s linear;
}
.bar-toggle[aria-expanded="true"] .bar-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bar-toggle[aria-expanded="true"] .bar-bars i:nth-child(2) { opacity: 0; }
.bar-toggle[aria-expanded="true"] .bar-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-dsp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  clip-path: none;
  transition: transform 0.22s var(--pop), box-shadow 0.22s var(--ease), border-color 0.2s var(--ease);
}

.btn::after {
  display: none;
}

.btn > * {
  position: relative;
  z-index: 2;
}

.btn-txt {
  position: relative;
  z-index: 2;
  font-family: var(--f-dsp);
  font-weight: 700;
}

.btn-arr {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.18s var(--ease);
}
.btn:hover .btn-arr { transform: translateX(3px); }

.btn-webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  border-radius: 999px;
  clip-path: none;
}

.bar-cta .btn-webgl-canvas {
  clip-path: none;
  border-radius: 999px;
}

.btn--go {
  background: #080A0E;
  border-color: rgba(255, 255, 255, 0.32);
  color: #07090D;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 255, 255, 0.12);
}
.btn--go .btn-txt {
  color: #07090D;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 12px rgba(255, 255, 255, 0.4);
}
.btn--go .btn-arr {
  stroke: #07090D;
}
.btn--go::before {
  display: none;
}
.btn--go:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 28px rgba(0, 0, 0, 0.7), 0 0 24px rgba(255, 255, 255, 0.22);
}
.btn--go:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.btn--line {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}
.btn--line .btn-txt {
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
}
.btn--line::before {
  display: none;
}
.btn--line:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), 0 0 18px rgba(255, 255, 255, 0.15);
}
.btn--line:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.btn--sm {
  padding: 7px 16px;
  font-size: 13px;
}
.btn--lg {
  padding: 12px 26px;
  font-size: 15px;
}

.hero,
.band,
.end {
  position: relative;
}

.band {
  padding-block: clamp(50px, 6.6vh, 84px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.band--dusk  { background-color: #0E0E0E; }
.band--dusk2 { background-color: #080808; }
.band--ember { background-color: var(--ember); }

#projects {
  position: relative;
  background-color: #0A0A0A;
}

#projects::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0);
  background-size: var(--grid) var(--grid);
  background-position: center center;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000000 35%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000000 35%, transparent 88%);
}

.lede {
  margin-bottom: clamp(24px, 3.4vh, 40px);
  max-width: 52ch;
}
.lede--mid { margin-inline: auto; text-align: center; }
.lede h2 {
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.lede p {
  margin-top: 14px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--ink-2);
  line-height: 1.6;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--bar-h) + 32px);
  padding-bottom: clamp(48px, 7vh, 88px);
  overflow: hidden;
  background-color: #0A0A0A;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.14) 1px, transparent 0);
  background-size: var(--grid) var(--grid);
  background-position: center center;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 36%, #000000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 36%, #000000 30%, transparent 85%);
}

.hero-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
}


.hero-blob-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 58vw);
  height: min(800px, 58vw);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.95));
}

@keyframes hero-in {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.js .hero h1,
.js .hero-say > p,
.js .hero-go,
.js .hero-stats {
  animation: hero-in 0.85s var(--ease) backwards;
  will-change: transform, opacity, filter;
}

.js .hero h1            { animation-delay: 0.06s; }
.js .hero-say > p      { animation-delay: 0.18s; }
.js .hero-go           { animation-delay: 0.28s; }
.js .hero-stats        { animation-delay: 0.38s; }

.hero-in {
  position: relative;
  z-index: 10;
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  justify-content: center;
}

.hero-say {
  position: relative;
  max-width: 620px;
  text-align: center;
}

.hero-say::before {
  content: "";
  position: absolute;
  inset: -80px -120px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.7) 45%, transparent 75%);
}

.hero h1 {
  text-transform: uppercase;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}

.hero-say > p {
  margin: 18px auto 0;
  max-width: 44ch;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--ink-2);
  line-height: 1.6;
  text-align: center;
}

.hero-go {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-num {
  font-family: var(--f-dsp);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.hero-stat-lbl {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.hero-stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
}

.band--pinned {
  position: relative;
  height: 280vh;
  padding-block: 0;
}

.band--pinned.is-unpinned {
  height: auto;
  padding-block: clamp(50px, 6.6vh, 84px);
}
.band--pinned.is-unpinned .work-sticky {
  position: static;
  height: auto;
  min-height: 0;
  display: block;
  overflow: visible;
}
.band--pinned.is-unpinned .plates-wrap { overflow-x: auto; scroll-snap-type: x mandatory; }
.band--pinned.is-unpinned .plates { transform: none !important; margin-inline: auto; }
.band--pinned.is-unpinned .lede--row {
  max-width: none;
  justify-content: center;
  text-align: center;
}
.band--pinned.is-unpinned .lede-text { max-width: 52ch; margin-inline: auto; }

.work-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.work-sticky .wrap { width: 100%; }

.lede--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: clamp(18px, 2.8vh, 28px);
}

.plates-wrap {
  position: relative;
  width: 100%;
  perspective: 1200px;
  overflow: hidden;
}

.plates {
  --rail-gap: clamp(20px, 2.4vw, 34px);
  --per-view: 3;
  display: flex;
  gap: var(--rail-gap);
  padding: 14px 4px 28px;
  will-change: transform;
}

.plate {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--rail-gap)) / var(--per-view));
  scroll-snap-align: start;
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  padding: 1px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(var(--py, 0px)) rotateY(var(--rot-y, 0deg)) scale(var(--scale, 1));
  transform-style: preserve-3d;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  will-change: transform;
}
.plate:hover {
  transform: translateY(calc(var(--py, 0px) - 6px)) rotateY(0deg) scale(1.02);
  background: rgba(255, 255, 255, 0.3);
}

.plate-void {
  position: relative;
  clip-path: polygon(calc(var(--cut) - 1px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) - 1px));
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0D0D0D;
  overflow: hidden;
}

.plate-void--media { background: #0A0A0A; }

.plate-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plate-vid-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: var(--metal-steel-edge);
  color: var(--ink);
  cursor: pointer;
  isolation: isolate;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.16s var(--pop), background 0.16s var(--ease), color 0.16s var(--ease);
}
.plate-vid-toggle::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--metal-steel-face);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  z-index: -1;
  transition: background 0.16s var(--ease);
}
.plate-vid-toggle:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.plate-vid-toggle:hover {
  transform: scale(1.06);
  background: var(--metal-chrome-edge);
  color: #FFFFFF;
}
.plate-vid-toggle:hover::before {
  background: var(--metal-steel-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.plate-vid-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  pointer-events: none;
}
.plate-vid-icon--play { display: none; }
.plate-vid-toggle[data-paused="true"] .plate-vid-icon--pause { display: none; }
.plate-vid-toggle[data-paused="true"] .plate-vid-icon--play { display: block; }

.plate-body {
  position: relative;
  flex: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, 0 100%, 0 0);
  padding: 22px 22px 26px;
  background: #141414;
}

.plate-title {
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--ink);
}

.plate-desc {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.game {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  padding: 1px;
  transition: transform 0.22s var(--pop), background-color 0.22s var(--ease);
}
.game:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.26);
}

.game-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0D0D0D;
  clip-path: polygon(calc(var(--cut) - 1px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) - 1px));
}
.game-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px 6px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.game-tag::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  z-index: -1;
}

.game-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
  background: #141414;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, 0 100%, 0 0);
}

.game-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.game-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #1C1C20;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.game-info {
  display: flex;
  flex-direction: column;
}

.game-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.game-studio {
  margin-top: 3px;
  font-size: 0.86rem;
  color: var(--ink-3);
}

.game-stats {
  display: flex;
  gap: 26px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-stat dt {
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.game-stat dd {
  margin-top: 3px;
  font-family: var(--f-dsp);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--sun);
}

.game-play {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 18px;
  font-family: var(--f-dsp);
  font-weight: 700;
  font-size: 0.88rem;
  color: #E2E4E8;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  background: var(--metal-steel-edge);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s var(--pop), background 0.18s var(--ease), color 0.18s var(--ease);
}
.game-play::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--metal-steel-face);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  z-index: -1;
  transition: background 0.18s var(--ease);
}
.game-play svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s var(--ease);
}
.game-play:hover {
  transform: translateY(-1px);
  background: var(--metal-chrome-edge);
  color: #FFFFFF;
}
.game-play:hover::before {
  background: var(--metal-steel-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.game-play:hover svg {
  transform: translateX(3px);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.about-side {
  position: relative;
  isolation: isolate;
  padding: 1px;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.about-side::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: #141414;
  clip-path: polygon(calc(var(--cut) - 1px) 0, 100% 0, 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, 0 100%, 0 calc(var(--cut) - 1px));
  z-index: -1;
}

.about-avatar {
  display: block;
  width: 100%;
  height: auto;
  max-width: 220px;
  margin: clamp(22px, 3vw, 34px) auto;
  image-rendering: auto;
}

.about-body { display: grid; gap: clamp(18px, 2.4vh, 26px); }

.about-group h3 {
  font-family: var(--f-dsp);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
}
.about-group ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}
.about-group li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.about-group li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--sun);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.about-note {
  margin-top: 18px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid var(--sun);
  font-size: 0.95rem;
  color: var(--ink-2);
}

.close {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}
.close h2 {
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--ink);
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.close p {
  max-width: 50ch;
  margin: 18px auto 0;
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
  line-height: 1.6;
}

.close-action { margin-top: 36px; }

.close-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 60px);
  margin-top: clamp(26px, 4vh, 38px);
  padding-top: clamp(16px, 2.6vh, 24px);
  border-top: 1px solid var(--line);
}

.close-item {
  display: grid;
  gap: 6px;
  text-align: left;
}
.close-item dt {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun);
}
.close-item dd { font-size: 1.05rem; font-weight: 400; }
.close-item dd a {
  text-decoration: none;
  border-bottom: 2px solid var(--line-hi);
  padding-bottom: 2px;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  margin: -4px -10px;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  user-select: none;
  transition: transform 0.12s var(--pop), background-color 0.16s var(--ease);
}
.copy:hover { background: rgba(255, 255, 255, 0.08); }
.copy:active, .copy.dmg-bounce { transform: scale(0.94); }

.close-item .copy,
.close-item .close-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  background: var(--metal-steel-edge);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  isolation: isolate;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  user-select: none;
  transition: transform 0.12s var(--pop), background 0.16s var(--ease), color 0.16s var(--ease);
}
.close-item .copy::before,
.close-item .close-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--metal-steel-face);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: -1;
  transition: background 0.16s var(--ease);
}
.close-item .copy:hover,
.close-item .close-link:hover {
  background: var(--metal-chrome-edge);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.close-item .copy:hover::before,
.close-item .close-link:hover::before {
  background: var(--metal-steel-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.close-item .close-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.18s var(--ease);
}
.close-item .close-link:hover svg {
  transform: translateX(2px);
}
.close-item .copy .copy-val {
  border-bottom: 0;
  padding-bottom: 0;
}

.copy-val {
  border-bottom: 2px solid var(--line-hi);
  padding-bottom: 2px;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.copy:hover .copy-val { border-bottom-color: var(--sun); color: var(--sun); }

.copy-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.dmg-popup {
  position: absolute;
  pointer-events: none;
  z-index: 100;
  white-space: nowrap;
  font-family: var(--f-dsp);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px 5px;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
  animation: dmgFloat 0.85s cubic-bezier(0.18, 0.9, 0.3, 1.1) forwards;
  will-change: transform, opacity;
}

.dmg-popup--mint {
  background: #FFFFFF;
  color: #0A0A0A;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
}
.dmg-popup--gold {
  background: #E8E8E8;
  color: #0A0A0A;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}
.dmg-popup--cyan {
  background: #CFCFCF;
  color: #0A0A0A;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}
.dmg-popup--flare {
  background: #1A1A1A;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}
.dmg-popup--purple {
  background: #2A2A2A;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

@keyframes dmgFloat {
  0% {
    opacity: 0;
    transform: translate(-50%, 4px) scale(0.5) rotate(var(--rot, 0deg));
  }
  16% {
    opacity: 1;
    transform: translate(-50%, -18px) scale(1.22) rotate(var(--rot, 0deg));
  }
  65% {
    opacity: 1;
    transform: translate(-50%, -36px) scale(1) rotate(var(--rot, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -54px) scale(0.82) rotate(var(--rot, 0deg));
  }
}

.end {
  background-color: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(32px, 4.6vh, 46px);
  padding-bottom: clamp(32px, 4vh, 44px);
}

.end-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px 60px;
  padding-bottom: clamp(32px, 5vh, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.end-brand {
  max-width: 360px;
  display: grid;
  gap: 14px;
}

.end-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.end-desc {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.end-nav {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}

.end-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.end-head {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 4px;
}

.end-link {
  font-size: 0.92rem;
  color: rgba(240, 240, 240, 0.72);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
  display: inline-block;
}
.end-link:hover { color: var(--ink); transform: translateX(2px); }

.end-link--btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.end-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: clamp(14px, 2.2vh, 20px);
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.end-top {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.16s ease;
}
.end-top:hover { color: var(--sun); }

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.44s var(--ease) calc(var(--i, 0) * 60ms),
    transform 0.52s var(--pop) calc(var(--i, 0) * 60ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .plates { --per-view: 2; }

  .hero { padding-top: calc(var(--bar-h) + 24px); padding-bottom: 48px; }
  .hero-blob-canvas {
    width: min(640px, 94vw);
    height: min(640px, 94vw);
  }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-side { max-width: 260px; }
}

@media (max-width: 780px) {
  .plates { --per-view: 1.1; }
  :root { --grid: 24px; }
  .bar {
    top: 12px;
    width: calc(100% - 24px);
    height: 58px;
    border-radius: 999px;
    clip-path: none;
  }
  .bar-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: clamp(16px, 4vw, 24px);
  }

  .bar-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    top: calc(var(--bar-h) + 8px);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 6px;
    padding: 16px;
    background: rgba(14, 14, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    clip-path: none;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--pop);
    z-index: 9999;
  }
  .nav::before { display: none; }
  .nav > * { position: relative; z-index: 1; }
  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link, .nav > a:not(.btn) {
    padding: 12px 14px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    clip-path: none;
  }
  .nav .btn {
    margin-top: 8px;
    justify-content: center;
    width: 100%;
  }

  .hero-go { flex-direction: column; align-items: stretch; }
  .hero-go .btn { width: 100%; }
}

@media (max-width: 600px) {
  .end-main { flex-direction: column; gap: 32px; }
  .end-nav { flex-direction: column; gap: 24px; }
  .end-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}



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