@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #000;
  --ink: #fff;
  --muted: rgba(var(--fg), 0.52);
  --dim: rgba(var(--fg), 0.2);
  --glass: rgba(var(--fg), 0.06);
  --glass-hi: rgba(var(--fg), 0.09);
  --edge: rgba(var(--fg), 0.06);
  --line: rgba(var(--fg), 0.1);
  --fg: 255, 255, 255;
  --radius: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --f-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: var(--f-sans);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #eef0f3; --ink: #0b0c0e; --fg: 11, 12, 14;
  --glass: rgba(255, 255, 255, 0.72); --glass-hi: rgba(255, 255, 255, 0.95);
  --edge: rgba(11, 12, 14, 0.06);
  color-scheme: light;
}
:root[data-theme="light"] .tile, :root[data-theme="light"] .next, :root[data-theme="light"] .spec,
:root[data-theme="light"] .duo .box, :root[data-theme="light"] .chip, :root[data-theme="light"] .wire-stage,
:root[data-theme="light"] .board-panel { box-shadow: inset 0 0 0 1px rgba(11,12,14,.06), 0 1px 2px rgba(11,12,14,.04); }
html, body { transition: background-color .5s var(--ease), color .5s var(--ease); }

.theme-switch {
  all: unset; position: relative; width: 44px; height: 24px; border-radius: 999px; cursor: pointer; flex: none;
  background: rgba(var(--fg), .12); box-shadow: inset 0 0 0 1px rgba(var(--fg), .1);
  transition: background .4s var(--ease);
}
.theme-switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.theme-switch .knob {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; transition: transform .55s var(--ease), background .4s var(--ease);
}
.theme-switch .knob svg { width: 11px; height: 11px; color: var(--bg); transition: opacity .3s var(--ease); }
.theme-switch .moon { position: absolute; opacity: 1; }
.theme-switch .sun { position: absolute; opacity: 0; }
:root[data-theme="light"] .theme-switch .knob { transform: translateX(20px); }
:root[data-theme="light"] .theme-switch .moon { opacity: 0; }
:root[data-theme="light"] .theme-switch .sun { opacity: 1; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(8px); transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; filter: blur(8px); transform: scale(1.015); } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 16px; font-weight: 500; line-height: 1.5;
  letter-spacing: -0.02em; -webkit-font-smoothing: antialiased; min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 12px; }
h1, h2, h3, p { margin: 0; font-weight: 500; }
h1, h2, h3 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.035em; }
::selection { background: var(--ink); color: var(--bg); }

.shell {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.roll { display: inline-flex; overflow: hidden; height: 1.35em; line-height: 1.35em; vertical-align: bottom; }
.roll > span { display: flex; flex-direction: column; transition: transform .55s var(--ease); }
.roll > span > span { display: block; height: 1.35em; }
a:hover .roll > span, a:focus-visible .roll > span { transform: translateY(-50%); }

.arr { position: relative; width: 18px; height: 18px; overflow: hidden; flex: none; }
.arr svg { position: absolute; inset: 0; transition: transform .55s var(--ease); }
.arr svg + svg { transform: translate(-120%, 120%); }
a:hover .arr svg:first-child { transform: translate(120%, -120%); }
a:hover .arr svg + svg { transform: none; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px; font-size: 16px;
}
.topbar::before {
  content: ""; position: absolute; inset: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  background: linear-gradient(var(--bg) 70%, transparent); z-index: -1; pointer-events: none;
}
.topbar .l { display: flex; gap: 46px; align-items: center; }
.topbar .r { display: flex; gap: 22px; align-items: center; font-variant-numeric: tabular-nums; }
.topbar .back { display: inline-flex; gap: 8px; align-items: center; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); position: relative; }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@media (max-width: 680px) { .topbar .role { display: none; } .topbar .l { gap: 20px; } }

.hero {
  position: relative; text-align: center; user-select: none; pointer-events: none;
  font-size: clamp(4.6rem, 17vw, 13.5rem); line-height: .9; letter-spacing: -0.055em;
  margin-top: 6px; white-space: nowrap;
}
.hero span { display: inline-block; animation: rise-name 1.4s var(--ease) .35s both; }
@keyframes rise-name { from { transform: translateY(55%); filter: blur(14px); opacity: 0; } }

.bento {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 16px;
  margin-top: calc(clamp(4.6rem, 17vw, 13.5rem) * -0.36);
  padding-bottom: 16px;
}
.tile {
  position: relative; overflow: hidden; isolation: isolate; min-width: 0;
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 1px var(--edge);
  padding: 30px; display: flex; flex-direction: column; justify-content: flex-end;
  animation: tile-in 1s var(--ease) both;
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--glass); transition: background .4s var(--ease);
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--fg),.07), transparent 60%);
}
a.tile:hover::before { background: var(--glass-hi); }
.tile:hover::after { opacity: 1; }
@keyframes tile-in { from { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(10px); } }
.bento > :nth-child(1) { animation-delay: .05s; } .bento > :nth-child(2) { animation-delay: .12s; }
.bento > :nth-child(3) { animation-delay: .19s; } .bento > :nth-child(4) { animation-delay: .26s; }
.bento > :nth-child(5) { animation-delay: .33s; } .bento > :nth-child(6) { animation-delay: .4s; }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; }
.peek {
  position: absolute; top: 28px; left: 30px; right: 30px; font-size: 14px; color: var(--muted);
  transform: translateY(-8px); opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
a.tile:hover .peek { opacity: 1; transform: none; }
@media (hover: none) { .peek { opacity: 1; transform: none; } }

.t-about { grid-column: span 2; }
.t-projects { grid-column: span 4; }
.t-setup { grid-column: span 4; }
.t-globe { grid-column: span 2; padding: 0; }
.t-stack { grid-column: span 3; padding: 0; }
.t-interests { grid-column: span 3; }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .t-about, .t-globe, .t-stack, .t-interests { grid-column: span 1; }
  .t-projects, .t-setup { grid-column: span 2; }
  .t-about { order: 1; } .t-globe { order: 2; } .t-projects { order: 3; }
  .t-setup { order: 4; } .t-stack { order: 5; } .t-interests { order: 6; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 210px; margin-top: -1.4rem; }
  .bento > * { grid-column: auto !important; }
  .t-globe { grid-row: span 1; }
  .tile { padding: 24px; --radius: 26px; }
  .peek { left: 24px; top: 22px; }
}

.names { position: absolute; bottom: 66px; right: 30px; display: grid; gap: 0; text-align: right; justify-items: end; }
.names span { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.04em; color: var(--dim); transition: color .5s var(--ease), transform .6s var(--ease); }
a.tile:hover .names span { color: rgba(var(--fg),.55); }
a.tile:hover .names span:nth-child(1) { transform: translateX(-6px); }
a.tile:hover .names span:nth-child(2) { transform: translateX(-12px); transition-delay: .03s; }
a.tile:hover .names span:nth-child(3) { transform: translateX(-18px); transition-delay: .06s; }
a.tile:hover .names span:nth-child(4) { transform: translateX(-24px); transition-delay: .09s; }
@media (max-width: 560px) { .names { display: none; } }

.meters { position: absolute; top: 30px; left: 30px; right: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.meter small { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--muted); margin-bottom: 4px; }
.meter b { font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.meter i { display: block; height: 2px; background: var(--line); margin-top: 10px; border-radius: 2px; overflow: hidden; }
.meter i::after { content: ""; display: block; height: 100%; width: var(--w, 50%); background: var(--ink); transform-origin: left; animation: fill 1.6s var(--ease) .8s both; }
@keyframes fill { from { transform: scaleX(0); } }
@media (max-width: 560px) { .meters { display: none; } }

.globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; opacity: 0; transform: scale(.92); transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); touch-action: pan-y; }
.globe.ready { opacity: 1; transform: none; }
.globe.grab { cursor: grabbing; }
.globe-cap { position: absolute; left: 30px; right: 30px; bottom: 26px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 18px; pointer-events: none; }
.globe-cap small { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: 0; }
@media (max-width: 560px) { .globe-cap { left: 24px; right: 24px; bottom: 22px; } }

.marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-70%); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--bg) 14%, var(--bg) 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--bg) 14%, var(--bg) 86%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: slide 32s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 38s; }
.t-stack:hover .track { animation-play-state: paused; }
.ico {
  width: 64px; height: 64px; border-radius: 18px; flex: none; display: grid; place-items: center;
  background: rgba(var(--fg),.06); box-shadow: inset 0 1px 0 1px var(--edge);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.ico:hover { transform: translateY(-4px); background: rgba(var(--fg),.1); }
.ico svg { width: 28px; height: 28px; }
@keyframes slide { to { transform: translateX(-50%); } }
.t-stack .foot { position: absolute; left: 30px; right: 30px; bottom: 26px; }
@media (max-width: 560px) { .t-stack .foot { left: 24px; right: 24px; bottom: 22px; } }

.rot { position: absolute; top: 26px; left: 30px; right: 30px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.045em; line-height: 1.1; color: var(--dim); }
.rot .w { display: block; overflow: hidden; height: 1.15em; color: var(--ink); }
.rot .w span { display: block; transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); }
.rot .w span.out { transform: translateY(-100%); opacity: 0; filter: blur(6px); }
.rot .w span.pre { transform: translateY(100%); opacity: 0; filter: blur(6px); transition: none; }

.page { padding-block: 64px 24px; }
.lead { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -0.045em; line-height: 1.08; max-width: 20ch; }
.lead .muted { color: var(--dim); }
.split-in .ch { display: inline-block; animation: word-in 1s var(--ease) both; }
@keyframes word-in { from { opacity: 0; transform: translateY(40%); filter: blur(8px); } }

.reveal { font-size: clamp(1.7rem, 3.9vw, 3rem); letter-spacing: -0.04em; line-height: 1.18; max-width: 26ch; }
.reveal + .reveal { margin-top: 1em; }
.reveal .w { color: var(--dim); transition: color .4s ease; }
.reveal .w.on { color: var(--ink); }

.section { padding-top: 120px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.section-head span { color: var(--muted); font-size: 15px; }

.rows > .row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 2fr); gap: 24px;
  padding-block: 32px; border-top: 1px solid var(--line);
}
.row .k { color: var(--ink); font-variant-numeric: tabular-nums; }
.row .k small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.row h3 { font-size: 20px; letter-spacing: -0.025em; }
.row p { color: var(--muted); max-width: 58ch; font-weight: 400; letter-spacing: -0.01em; }
@media (max-width: 760px) { .rows > .row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

.fade-up { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.fade-up.seen { opacity: 1; transform: none; filter: none; }
.no-js .fade-up { opacity: 1; transform: none; filter: none; }

.stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.chip {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px;
  background: var(--glass); box-shadow: inset 0 1px 0 1px var(--edge); font-size: 15px;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.chip:hover { background: var(--glass-hi); transform: translateY(-3px); }
.chip .ico { width: 40px; height: 40px; border-radius: 12px; }
.chip .ico svg { width: 20px; height: 20px; }
.chip small { display: block; color: var(--muted); font-size: 12.5px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; border-radius: var(--radius); padding: 12px; background: var(--glass);
  box-shadow: inset 0 1px 0 1px var(--edge); display: flex; flex-direction: column;
}
.card .shot { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 3; max-width: 100%; background: #0b0b0c; }
.card .shot > .inner { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.card:hover .shot > .inner { transform: scale(1.04); }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 14px 12px; font-size: 18px; }
.card .meta small { color: var(--muted); font-size: 14px; }
.card .desc { padding: 0 14px 14px; color: var(--muted); font-weight: 400; letter-spacing: -0.01em; font-size: 15px; max-width: 56ch; }
.card.wide { grid-column: span 2; }
.card.wide .shot { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .cards { grid-template-columns: minmax(0, 1fr); } .card.wide { grid-column: auto; } .card.wide .shot { aspect-ratio: 4 / 3; } }

.win { position: absolute; left: 9%; right: 9%; top: 14%; bottom: -6%; border-radius: 14px 14px 0 0; background: #111214; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), inset 0 1px 0 1px rgba(var(--fg),.06); overflow: hidden; }
.win .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(var(--fg),.06); }
.win .bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(var(--fg),.18); }
.win .bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); background: rgba(var(--fg),.05); padding: 3px 10px; border-radius: 6px; }
.win .body { padding: 6% 7%; display: grid; gap: 10px; }
.sk { height: 9px; border-radius: 5px; background: rgba(var(--fg),.08); }
.sk.t { height: 18px; width: 55%; background: rgba(var(--fg),.18); }
.glow-a { background: radial-gradient(80% 90% at 20% 0%, #3b2a6b 0%, transparent 60%), radial-gradient(70% 80% at 100% 100%, #0f3b4a 0%, transparent 60%), #0b0b0c; }
.glow-b { background: radial-gradient(80% 90% at 80% 0%, #5a2a2a 0%, transparent 60%), radial-gradient(70% 80% at 0% 100%, #2a2f5a 0%, transparent 60%), #0b0b0c; }
.glow-c { background: radial-gradient(80% 90% at 50% 0%, #1f4a3a 0%, transparent 60%), radial-gradient(60% 70% at 100% 100%, #3a3a1f 0%, transparent 60%), #0b0b0c; }
.glow-d { background: radial-gradient(70% 90% at 0% 0%, #23345e 0%, transparent 60%), radial-gradient(60% 80% at 100% 100%, #4a2a50 0%, transparent 60%), #0b0b0c; }
.eqz { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.eqz i { flex: 1; background: rgba(var(--fg),.75); border-radius: 3px; animation: eqz 1.2s ease-in-out infinite; }
@keyframes eqz { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.code { font-family: var(--f-mono); font-size: clamp(10px, 1.2vw, 12.5px); line-height: 1.7; color: var(--muted); white-space: pre; }
.code b { color: var(--ink); font-weight: 500; }
.tbl { display: grid; gap: 7px; font-family: var(--f-mono); font-size: clamp(10px, 1.1vw, 12px); color: var(--muted); }
.tbl div { display: grid; grid-template-columns: 3em 1fr 4em; gap: 10px; padding-bottom: 7px; border-bottom: 1px solid rgba(var(--fg),.06); }
.tbl b { color: var(--ink); font-weight: 500; }
.tbl div span:last-child { text-align: right; }
.dots-map { position: absolute; inset: 44px 0 0; background-image: radial-gradient(rgba(var(--fg),.22) 1px, transparent 1.3px); background-size: 12px 12px; }
.dots-map .pin { position: absolute; left: 48%; top: 40%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 0 rgba(var(--fg),.6); animation: pin 2.2s var(--ease) infinite; }
@keyframes pin { 0% { box-shadow: 0 0 0 0 rgba(var(--fg),.5); } 100% { box-shadow: 0 0 0 22px rgba(var(--fg),0); } }

.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.spec { border-radius: 24px; padding: 22px; background: var(--glass); box-shadow: inset 0 1px 0 1px var(--edge); min-width: 0; display: grid; gap: 4px; align-content: start; }
.spec small { color: var(--muted); font-size: 13.5px; }
.spec b { font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.spec span { color: var(--muted); font-size: 14px; font-weight: 400; }
@media (max-width: 860px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.diagram { border-radius: var(--radius); padding: 22px; background: var(--glass); box-shadow: inset 0 1px 0 1px var(--edge); overflow-x: auto; }
.diagram svg { display: block; width: 100%; min-width: 680px; height: auto; }
.d-box { fill: rgba(var(--fg),.04); stroke: rgba(var(--fg),.12); stroke-width: 1; }
.d-box.hi { stroke: rgba(var(--fg),.5); }
.d-line { stroke: rgba(var(--fg),.22); stroke-width: 1.4; fill: none; }
.d-line.hi { stroke: rgba(var(--fg),.7); stroke-width: 1.8; }
.d-flow { stroke: var(--ink); stroke-width: 1.8; fill: none; stroke-dasharray: 4 14; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.d-title { fill: var(--ink); font: 500 15px var(--f-sans); letter-spacing: -0.02em; }
.d-text { fill: rgba(var(--fg),.5); font: 400 12px var(--f-mono); }
.d-label { fill: rgba(var(--fg),.75); font: 500 11.5px var(--f-mono); }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.duo .box { border-radius: 24px; padding: 26px; background: var(--glass); box-shadow: inset 0 1px 0 1px var(--edge); }
.duo h3 { font-size: 19px; margin-bottom: 10px; }
.duo p { color: var(--muted); font-weight: 400; letter-spacing: -0.01em; }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } }

.next {
  position: relative; overflow: hidden; isolation: isolate; display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 120px; min-height: 220px; padding: 32px; border-radius: var(--radius);
  box-shadow: inset 0 1px 0 1px var(--edge);
}
.next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glass); transition: background .4s var(--ease); }
.next:hover::before { background: var(--glass-hi); }
.next small { display: block; color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.next .big { font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: -0.05em; line-height: 1; }
.next .arr { width: 30px; height: 30px; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 40px 36px; color: var(--muted); font-size: 15px; }
.footer a:hover { color: var(--ink); }

.proj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.proj-head .lead { font-size: clamp(3.6rem, 11vw, 9rem); letter-spacing: -0.06em; line-height: .9; max-width: none; }
.proj-intro { color: var(--muted); max-width: 32ch; font-weight: 400; letter-spacing: -0.01em; padding-bottom: 10px; }
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.5fr) 24px; gap: 24px; align-items: center;
  padding-block: 32px; transition: opacity .45s var(--ease), padding .6s var(--ease);
}
.ix-name { font-size: clamp(1.9rem, 3.8vw, 3.2rem); letter-spacing: -0.05em; line-height: 1; }
.ix-what { color: var(--ink); }
.ix-detail { color: var(--muted); font-weight: 400; letter-spacing: -0.01em; }
.index a .arr { justify-self: end; }
@media (hover: hover) and (min-width: 761px) {
  .index:hover a { opacity: .32; }
  .index a:hover { opacity: 1; padding-left: 14px; }
}
.ix-shot { display: none; }
@media (max-width: 760px) {
  .index a { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; padding-block: 26px 16px; }
  .index a .arr { grid-column: 2; grid-row: 1; }
  .ix-what, .ix-detail { grid-column: 1; }
  .ix-shot { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 18px; margin-bottom: 26px; box-shadow: 0 0 0 1px rgba(var(--fg),.08); }
}
.cursor-shot {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: clamp(320px, 30vw, 460px); aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.82) rotate(-3deg);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.95), 0 0 0 1px rgba(var(--fg),.1);
}
.cursor-shot.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--tilt, 0deg)); }
.cursor-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (hover: none), (max-width: 760px) { .cursor-shot { display: none; } }

.reel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding-left: max(16px, env(safe-area-inset-left, 0px), calc((100vw - 1120px) / 2 + 16px));
  padding-right: max(16px, env(safe-area-inset-right, 0px), calc((100vw - 1120px) / 2 + 16px));
  scroll-padding-inline: max(16px, calc((100vw - 1120px) / 2 + 16px));
}
.reel::-webkit-scrollbar { display: none; }
.reel.dragging { cursor: grabbing; scroll-snap-type: none; }
.reel.dragging img { pointer-events: none; }
.reel figure { margin: 0; flex: none; width: min(80vw, 780px); scroll-snap-align: start; }
.reel img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 24px; box-shadow: 0 0 0 1px rgba(var(--fg),.08); user-select: none; -webkit-user-drag: none; }
.reel figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px 0; color: var(--muted); font-size: 15px; }
.reel figcaption span:first-child { color: var(--ink); }
.reel + .shell .next { margin-top: 100px; }

.wire { padding-top: 140px; }
.wire-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 48px; }
.wire-title { font-size: clamp(3rem, 9vw, 7.5rem); letter-spacing: -0.065em; line-height: .88; }
.wire-head p { color: var(--muted); font-weight: 400; letter-spacing: -0.01em; max-width: 36ch; padding-bottom: 10px; }
@media (max-width: 760px) { .wire-head { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

.wire-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 16px; align-items: stretch; }
@media (max-width: 960px) { .wire-grid { grid-template-columns: minmax(0, 1fr); } }

.routes { display: flex; flex-direction: column; gap: 4px; }
.routes button {
  all: unset; position: relative; overflow: hidden; cursor: pointer; display: grid; gap: 2px;
  padding: 14px 20px 18px; border-radius: 20px; transition: background .4s var(--ease);
}
.routes button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rt-name { font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -0.04em; color: var(--dim); transition: color .4s var(--ease), transform .5s var(--ease); }
.rt-sub { font-size: 14px; color: transparent; font-weight: 400; letter-spacing: -0.01em; max-height: 0; overflow: hidden; transition: color .4s var(--ease), max-height .5s var(--ease); }
.routes button.on .rt-sub { max-height: 2em; }
@media (min-width: 961px) { .routes { position: sticky; top: 84px; align-self: start; } }
.routes button:hover .rt-name { color: rgba(var(--fg),.6); transform: translateX(4px); }
.routes button.on { background: var(--glass); box-shadow: inset 0 1px 0 1px var(--edge); }
.routes button.on .rt-name { color: var(--ink); transform: none; }
.routes button.on .rt-sub { color: var(--muted); }
.rt-bar { position: absolute; left: 20px; right: 20px; bottom: 10px; height: 2px; border-radius: 2px; background: rgba(var(--fg),.08); opacity: 0; overflow: hidden; }
.rt-bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.routes.auto:not(.manual) button.on .rt-bar { opacity: 1; }
.routes.auto:not(.manual) button.on .rt-bar::after { animation: rt-fill var(--dur, 6.5s) linear forwards; }
@keyframes rt-fill { to { transform: scaleX(1); } }
@media (max-width: 960px) {
  .routes { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .routes::-webkit-scrollbar { display: none; }
  .routes button { flex: none; padding: 12px 16px; border-radius: 999px; }
  .rt-sub, .rt-bar { display: none; }
  .rt-name { font-size: 1.05rem; }
}

.wire-stage { border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 1px 0 1px var(--edge); padding: 30px 32px 18px; min-width: 0; min-height: 620px; }
@media (max-width: 560px) { .wire-stage { padding: 22px 18px 8px; min-height: 0; } }
.wire-scroll { overflow-x: auto; padding: 18px 18px 0; }
#wire { display: block; width: 100%; min-width: 760px; height: auto; }
.w-edge { fill: none; stroke: rgba(var(--fg),.1); stroke-width: 1.5; transition: stroke .5s var(--ease), stroke-width .5s var(--ease); }
.w-edge.on { stroke: rgba(var(--fg),.75); stroke-width: 2; }
.w-dot { fill: var(--ink); }
.w-node rect { fill: #0b0b0c; stroke: rgba(var(--fg),.14); stroke-width: 1; transition: fill .5s var(--ease), stroke .5s var(--ease); }
.w-node .w-label { fill: rgba(var(--fg),.55); font: 500 15px var(--f-sans); letter-spacing: -0.02em; transition: fill .5s var(--ease); }
.w-node.big .w-label { font-size: 20px; }
.w-node .w-sub { fill: rgba(var(--fg),.32); font: 400 11px var(--f-mono); transition: fill .5s var(--ease); }
.w-node.on rect { fill: var(--ink); stroke: var(--ink); }
.w-node.on .w-label { fill: var(--bg); }
.w-node.on .w-sub { fill: rgba(0,0,0,.55); }
.w-node.hover:not(.on) rect { stroke: rgba(var(--fg),.4); }

}
.w-zone { fill: rgba(var(--fg),.015); stroke: rgba(var(--fg),.07); stroke-width: 1; stroke-dasharray: 3 5; }
.w-zone-label { fill: rgba(var(--fg),.3); font: 500 10.5px var(--f-mono); letter-spacing: -0.01em; }
.w-node { cursor: pointer; }
.w-node rect { transition: fill .5s var(--ease), stroke .5s var(--ease), transform .5s var(--ease); }
.w-badge { display: none; }
.w-node.on .w-badge { display: block; }
.w-badge circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1.2; }
.w-badge text { fill: var(--ink); font: 500 10.5px var(--f-mono); }
.w-node.pulse rect { stroke: var(--ink); stroke-width: 3; }
.wire-scroll { scrollbar-width: thin; scrollbar-color: rgba(var(--fg),.2) transparent; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; padding: 12px 14px; border-radius: 16px; background: rgba(var(--fg),.03); transition: background .4s var(--ease); animation: hop-in .6s var(--ease) both; }
.steps li::before { content: counter(st); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 500 11px var(--f-mono); color: var(--muted); box-shadow: inset 0 0 0 1px rgba(var(--fg),.18); transition: background .4s var(--ease), color .4s var(--ease); }
.steps li b { font-weight: 500; font-size: 15px; }
.steps li span { color: var(--muted); font-weight: 400; font-size: 14px; letter-spacing: -0.01em; }
.steps li.lit { background: rgba(var(--fg),.08); }
.steps li.lit::before { background: var(--ink); color: var(--bg); box-shadow: none; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.wire-info { display: grid; gap: 14px; padding: 22px 26px 26px; border-top: 1px solid var(--line); }
.hops { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hop { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(var(--fg),.08); animation: hop-in .6s var(--ease) both; }
.hop-arrow { color: var(--dim); }
@keyframes hop-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.wire-text { color: var(--muted); font-weight: 400; letter-spacing: -0.01em; max-width: 62ch; min-height: 3em; }
.wire-text.in { animation: hop-in .7s var(--ease) both; }

.wire-stage .wire-text { color: var(--ink); font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.45; max-width: 52ch; min-height: 0; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.rtrack { list-style: none; margin: 0; padding: 0; position: relative; }
.track-line { position: absolute; left: 11px; width: 2px; background: rgba(var(--fg),.1); border-radius: 2px; }
.track-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--ink); border-radius: 2px; transition: height 1s var(--ease); }
.track-pulse {
  position: absolute; left: 12px; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; z-index: 2; background: var(--ink);
  box-shadow: 0 0 0 6px rgba(var(--fg),.12), 0 0 26px 6px rgba(var(--fg),.45);
  transition: transform 1s var(--ease); pointer-events: none;
}
.stop { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 20px; padding: 18px 0; cursor: pointer; animation: hop-in .6s var(--ease) both; }
.stop-dot { grid-row: span 2; position: relative; z-index: 1; width: 12px; height: 12px; margin: 10px 0 0 6px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px rgba(var(--fg),.25); transition: background .5s var(--ease), box-shadow .5s var(--ease); }
.stop-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
.stop-n { font: 500 12px var(--f-mono); color: var(--dim); transition: color .5s var(--ease); }
.stop-name { font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -0.045em; color: var(--dim); transition: color .5s var(--ease); }
.stop-sub { font: 400 12.5px var(--f-mono); color: var(--dim); transition: color .5s var(--ease); }
.stop-zone { margin-left: auto; font-size: 12px; padding: 4px 10px; border-radius: 999px; color: var(--muted); box-shadow: inset 0 0 0 1px rgba(var(--fg),.12); transition: background .5s var(--ease), color .5s var(--ease); white-space: nowrap; }
.stop-text { grid-column: 2; margin-top: 6px; color: var(--dim); font-weight: 400; letter-spacing: -0.01em; max-width: 58ch; transition: color .5s var(--ease); }
.stop.done .stop-dot { background: var(--ink); box-shadow: none; }
.stop.done .stop-name { color: rgba(var(--fg),.72); }
.stop.done .stop-text { color: var(--muted); }
.stop.done .stop-n { color: var(--muted); }
.stop.lit .stop-dot { background: var(--ink); box-shadow: none; }
.stop.lit .stop-name, .stop.lit .stop-n { color: var(--ink); }
.stop.lit .stop-sub { color: var(--muted); }
.stop.lit .stop-text { color: rgba(var(--fg),.82); }
.stop.lit .stop-zone { background: var(--ink); color: var(--bg); box-shadow: none; }
.stop:hover .stop-name { color: rgba(var(--fg),.85); }
@media (max-width: 560px) { .stop-zone { margin-left: 0; } .stop { column-gap: 14px; } }

.board {
  position: relative; display: grid; grid-template-columns: 150px 230px minmax(0, 1fr); column-gap: 72px;
  padding: 34px; border-radius: var(--radius);
  background: radial-gradient(60% 50% at 0% 30%, rgba(var(--fg), .05), transparent 70%), rgba(var(--fg), .025);
  box-shadow: inset 0 0 0 1px rgba(var(--fg), .07);
}
.board-lines { position: absolute; inset: 0; pointer-events: none; overflow: visible; color: rgba(var(--fg), .4); z-index: 0; }
.b-col { position: relative; z-index: 1; min-width: 0; }
.b-cap { font: 500 14px var(--f-sans); letter-spacing: -0.01em;  color: var(--muted); }
.b-colcap { display: block; height: 18px; margin-bottom: 14px; }
.b-sources, .b-entries { display: grid; grid-template-rows: auto repeat(4, minmax(0, 1fr)); }
.b-sources .src { position: relative; align-self: center; display: grid; gap: 2px; }
#src-net { grid-row: 2 / span 2; }
.src b { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.045em; font-weight: 500; }
.src .b-cap { color: var(--dim); }
.cloud { position: absolute; inset: -40px -30px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--fg), .07), transparent); }
.entry {
  align-self: center; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 18px; background: var(--glass); box-shadow: inset 0 1px 0 1px var(--edge);
  transition: background .35s var(--ease), transform .45s var(--ease);
}
.entry:hover { background: var(--glass-hi); transform: translateX(3px); }
.entry .logo { grid-row: span 2; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--fg), .07); }
.entry .logo svg { width: 18px; height: 18px; }
.entry b { font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }
.entry > span:not(.logo) { font-size: 12.5px; color: var(--muted); font-weight: 400; letter-spacing: -0.01em; }

.b-server { display: flex; flex-direction: column; }
.board-panel { border-radius: 26px; padding: 20px 22px 24px; background: rgba(var(--fg), .045); box-shadow: inset 0 0 0 1px rgba(var(--fg), .08); }
.panel-head { display: flex; align-items: center; gap: 12px; }
.panel-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--fg), .08); flex: none; }
.panel-ico svg { width: 18px; height: 18px; }
.panel-head b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.panel-head span { display: block; font: 400 12px var(--f-mono); color: var(--muted); letter-spacing: 0; }
.panel-body { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 22px; }
.hero-node { display: grid; justify-items: center; text-align: center; gap: 3px; padding: 22px 14px 18px; border-radius: 22px; background: rgba(var(--fg), .04); box-shadow: inset 0 0 0 1px rgba(var(--fg), .09); }
.hero-ico {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; color: var(--ink);
  background: radial-gradient(circle at 50% 35%, rgba(var(--fg), .18), rgba(var(--fg), .04));
  box-shadow: 0 0 0 1px rgba(var(--fg), .2), 0 0 0 8px rgba(var(--fg), .035), 0 0 44px rgba(var(--fg), .2);
  animation: hero-breathe 4s ease-in-out infinite;
}
@keyframes hero-breathe { 50% { box-shadow: 0 0 0 1px rgba(var(--fg), .28), 0 0 0 12px rgba(var(--fg), .03), 0 0 60px rgba(var(--fg), .28); } }
.hero-ico svg { width: 26px; height: 26px; }
.hero-node b { font-size: 16px; font-weight: 500; letter-spacing: -0.025em; }
.hero-node > span:not(.hero-ico) { font: 400 11.5px var(--f-mono); color: var(--muted); }
.groups { display: grid; gap: 20px; min-width: 0; }
.group small { display: block; font: 500 10.5px var(--f-mono); letter-spacing: -0.01em;  color: var(--muted); margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills i { font-style: normal; font-size: 13.5px; padding: 7px 12px; border-radius: 999px; background: rgba(var(--fg), .05); box-shadow: inset 0 0 0 1px rgba(var(--fg), .09); transition: background .3s var(--ease); white-space: nowrap; }
.pills i:hover { background: rgba(var(--fg), .1); }
.veth { height: 60px; display: flex; align-items: center; padding-left: 82px; }
.veth span { font: 500 11px var(--f-mono); color: var(--muted); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(var(--fg), .1); background: var(--bg); }

.b-link { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1.5 5; opacity: 0; transition: color .35s var(--ease); }
.b-marker { fill: rgba(var(--fg), .45); }
.board.seen .b-link { animation: b-in .9s var(--ease) forwards, b-flow 1.4s linear infinite; }
@keyframes b-in { to { opacity: 1; } }
@keyframes b-flow { to { stroke-dashoffset: -13; } }
.board.focus .b-link { color: rgba(var(--fg), .14); }
.board.focus .b-link.hot { color: var(--ink); }
.b-dot { fill: var(--ink); }

@media (max-width: 1080px) { .board { grid-template-columns: 120px 200px minmax(0, 1fr); column-gap: 48px; padding: 26px; } .panel-body { grid-template-columns: 150px minmax(0, 1fr); gap: 40px; } }
@media (max-width: 900px) {
  .board { grid-template-columns: minmax(0, 1fr); row-gap: 28px; padding: 18px; }
  .board-lines, .b-sources, .b-dot { display: none; }
  .b-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 8px; }
  .b-entries .b-colcap { grid-column: 1 / -1; margin-bottom: 0; }
  .entry { align-self: stretch; }
  .panel-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-node { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 14px; padding: 14px; }
  .hero-ico { grid-row: span 2; margin: 0; width: 46px; height: 46px; }
  .veth { height: 44px; padding-left: 40px; position: relative; }
  .veth::before { content: ""; position: absolute; left: 26px; top: 6px; bottom: 6px; border-left: 1.5px dotted rgba(var(--fg), .4); }
}
@media (max-width: 480px) { .b-entries { grid-template-columns: minmax(0, 1fr); } }

.wire2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.wire2 h3.col-h { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 6px; }
.wire2 .col-p { color: var(--muted); font-size: 14.5px; font-weight: 400; margin-bottom: 18px; }
.ways { display: grid; gap: 10px; }
.lands { display: grid; gap: 28px; }
.land-group h4 { margin: 0 0 12px; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.land-group h4 span { color: var(--muted); font-weight: 400; font-size: 14px; }
.land-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wire2 .entry { align-self: stretch; cursor: default; transition: background .35s var(--ease), transform .45s var(--ease), opacity .35s var(--ease), box-shadow .35s var(--ease); }
.wire2 .entry:hover { transform: none; }
.wire2 .entry:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wire2.linking .entry { opacity: .32; }
.wire2.linking .entry.lit { opacity: 1; background: var(--glass-hi); box-shadow: inset 0 0 0 1px rgba(var(--fg), .22); }
.wire2.linking .entry.lit.src { transform: translateX(4px); }
.wire2 .entry .logo svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .wire2 { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 520px) { .land-cards { grid-template-columns: minmax(0, 1fr); } }

.wire3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.wcol { display: grid; gap: 14px; min-width: 0; }
.wcol-h h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.03em; }
.wcol-h span { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 2px; }
.wcol .ways, .wlist { display: grid; gap: 10px; }
.wire3 .entry { cursor: default; min-height: 64px; transition: background .35s var(--ease), opacity .35s var(--ease), box-shadow .35s var(--ease); }
.wire3 .entry:hover { transform: none; }
.wire3 .entry:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wire3.linking .entry { opacity: .3; }
.wire3.linking .entry.lit { opacity: 1; background: var(--glass-hi); box-shadow: inset 0 0 0 1px rgba(var(--fg), .22); }
@media (max-width: 900px) { .wire3 { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

html { scrollbar-width: thin; scrollbar-color: rgba(var(--fg), .28) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(var(--fg), .2); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--fg), .4); }
::-webkit-scrollbar-corner { background: transparent; }

.sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sheet { border-radius: 26px; padding: 24px 26px 18px; background: var(--glass); box-shadow: inset 0 1px 0 1px var(--edge); min-width: 0; }
.sheet header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-direction: row-reverse; }
.sheet h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.03em; }
.sheet-logos { display: flex; gap: 6px; }
.sheet-logos .logo { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--fg), .07); }
.sheet-logos .logo svg { width: 16px; height: 16px; }
.sheet dl { margin: 0; }
.sheet dl > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.sheet dl > div:first-child { border-top: 0; }
.sheet dt { color: var(--muted); font-weight: 400; font-size: 14.5px; }
.sheet dd { margin: 0; font-size: 14.5px; letter-spacing: -0.01em; }
.sheet.soon { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding: 24px 26px; background: radial-gradient(70% 140% at 0% 50%, rgba(118, 185, 0, .14), transparent 60%), var(--glass); }
.soon-logo { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(118, 185, 0, .12); color: #76b900; }
.soon-logo svg { width: 34px; height: 34px; }
.soon-tag { display: inline-block; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(118, 185, 0, .16); color: #76b900; margin-bottom: 8px; }
:root[data-theme="light"] .soon-tag, :root[data-theme="light"] .soon-logo { color: #4a7a00; }
.sheet.soon h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.sheet.soon p { color: var(--muted); font-weight: 400; margin-top: 4px; }
@media (max-width: 860px) { .sheets { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .sheet dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .sheet.soon { grid-template-columns: minmax(0, 1fr); } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 72px; }
.fact { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 18px; border-radius: 22px; background: var(--glass); box-shadow: inset 0 1px 0 1px var(--edge); }
.fact .logo { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--fg), .07); }
.fact .logo svg { width: 20px; height: 20px; }
.fact small { color: var(--muted); font-size: 13.5px; font-weight: 400; }
.fact b { font-weight: 500; font-size: 16px; letter-spacing: -0.02em; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.logo-rows .k { display: flex; gap: 14px; align-items: flex-start; }
.logo-rows .k .logo { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--fg), .07); }
.logo-rows .k .logo svg { width: 18px; height: 18px; }
.kit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 16px; }
.kit-tile { animation: none; justify-content: space-between; }
.kit-hero { grid-column: span 2; grid-row: span 2; }
.kit-ico .logo { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(var(--fg), .08); }
.kit-ico .logo svg { width: 26px; height: 26px; }
.kit-hero .kit-ico .logo { width: 72px; height: 72px; border-radius: 22px; }
.kit-hero .kit-ico .logo svg { width: 38px; height: 38px; }
.kit-foot b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.03em; }
.kit-meta { color: var(--dim) !important; font-size: 13px !important; }
.kit-foot span { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 2px; }
.kit-hero .kit-foot b { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.045em; }
.kit-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kit-specs span { color: var(--muted); font-size: 13.5px; font-weight: 400; }
.kit-specs b { display: block; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.04em; }
@media (max-width: 860px) { .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; } }
@media (max-width: 520px) { .kit-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; } .kit-tile { min-height: 150px; } .kit-hero { grid-column: auto; grid-row: auto; min-height: 280px; } }

.t-now { grid-column: span 4; justify-content: space-between; }
.t-contact { grid-column: span 2; justify-content: space-between; }
.t-now.has-art :root[data-theme="light"] .t-now.has-art .now-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.now-main { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.np-art { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; display: block; background: rgba(var(--fg), .06); }
.np-art.empty { display: grid; place-items: center; color: var(--muted); box-shadow: inset 0 0 0 1px rgba(var(--fg), .1); background: transparent; }
.np-art.empty svg { width: 24px; height: 24px; }
.np-state { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 400; }
.sp-logo { position: relative; width: 16px; height: 16px; display: grid; place-items: center; color: rgba(var(--fg), .4); transition: color .4s var(--ease); }
.sp-logo svg { width: 16px; height: 16px; position: relative; z-index: 1; }
.t-now.playing .sp-logo { color: #1ed760; }
.np-title { display: block; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-artist { display: block; color: var(--muted); font-size: 15px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.np-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.np-bar i { display: block; height: 100%; width: 0; background: var(--ink); opacity: .7; transition: width 1s linear; }
.presence.pill { padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(var(--fg), .07); font-size: 13.5px; }
.presence.pill .ptext { color: var(--ink); }
.presence { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; }
.presence .pdot { width: 10px; height: 10px; border-radius: 50%; background: #747f8d; flex: none; box-shadow: 0 0 0 3px rgba(var(--fg), .06); }
.presence[data-status="online"] .pdot { background: #23a55a; }
.presence[data-status="idle"] .pdot { background: #f0b232; }
.presence[data-status="dnd"] .pdot { background: #f23f43; }
.presence .ptext { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.presence .ptext b { color: var(--ink); font-weight: 500; }
.contact-lines { display: grid; gap: 4px; font-size: 15px; color: var(--muted); }
.contact-lines span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) {
  .t-now { grid-column: span 2; order: 7; }
  .t-contact { grid-column: span 2; order: 8; }
}
.contact-list { display: grid; gap: 12px; margin-top: 56px; }
.contact-row {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 22px 24px; border-radius: 26px; box-shadow: inset 0 1px 0 1px var(--edge);
}
.contact-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glass); transition: background .4s var(--ease); }
.contact-row:hover::before { background: var(--glass-hi); }
.contact-row .logo { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(var(--fg), .08); }
.contact-row .logo svg { width: 24px; height: 24px; }
.contact-row small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }
.contact-row .big { display: block; font-size: clamp(1.3rem, 3.6vw, 2.4rem); letter-spacing: -0.045em; line-height: 1.15; overflow-wrap: anywhere; }
.copy-btn {
  all: unset; cursor: pointer; font-size: 14px; padding: 10px 16px; border-radius: 999px; background: rgba(var(--fg), .08);
  transition: background .3s var(--ease); white-space: nowrap;
}
.copy-btn:hover { background: rgba(var(--fg), .14); }
.copy-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 560px) { .contact-row { grid-template-columns: 44px minmax(0, 1fr); } .contact-row .logo { width: 44px; height: 44px; } .copy-btn { grid-column: 2; justify-self: start; } }
.lost { min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: 18px; }
.lost h1 { font-size: clamp(6rem, 24vw, 16rem); letter-spacing: -0.06em; line-height: .85; }
.lost p { color: var(--muted); font-size: 18px; font-weight: 400; max-width: 40ch; }
.pill-link { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal .w { color: var(--ink); }
  .fade-up { opacity: 1; transform: none; filter: none; }
}
