:root {
  --night: #111218;
  --night-soft: #1b1d26;
  --paper: #f4f1e8;
  --ink: #17181d;
  --muted: #6f716f;
  --line-dark: #353842;
  --line-light: #d2cfc5;
  --lime: #baff29;
  --coral: #ff7048;
  --blue: #70b7ff;
  --yellow: #ffd83d;
  --display: "Arial Black", "Pretendard Variable", Pretendard, sans-serif;
  --body: "Pretendard Variable", Pretendard, "Noto Sans KR", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  letter-spacing: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { min-width: 320px; margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { margin: 0; color: var(--coral); font-size: 11px; font-weight: 850; text-transform: uppercase; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-dark);
  color: #f7f7f2;
  background: rgb(17 18 24 / .95);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 66px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 18px; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--night); background: var(--yellow); font-size: 9px; transform: rotate(-5deg); transition: transform .2s ease; }
.brand:hover .brand-mark { transform: rotate(4deg); }
nav { min-width: 0; display: flex; justify-content: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
nav::-webkit-scrollbar { display: none; }
nav a { flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; color: #a7a9b1; font-size: 12px; transition: color .18s ease, background .18s ease; }
nav a:hover, nav a:focus-visible { color: var(--night); background: var(--lime); outline: 0; }
.open-count { display: inline-flex; align-items: center; gap: 7px; color: #a7a9b1; font-size: 10px; font-weight: 750; white-space: nowrap; }
.open-count i, .live-spaces i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgb(186 255 41 / .1); }

.playground-hero {
  position: relative;
  min-height: 620px;
  max-height: 650px;
  height: calc(100svh - 150px);
  overflow: hidden;
  color: #f8f7f1;
  background: var(--night);
  isolation: isolate;
}
.hero-inner { position: relative; z-index: 2; height: calc(100% - 42px); min-height: 578px; display: grid; grid-template-rows: auto 1fr auto; padding: 28px 0 34px; }
.hero-topline { display: flex; justify-content: space-between; color: #858894; font: 700 10px/1.4 "IBM Plex Mono", Consolas, monospace; }
.hero-copy { align-self: center; }
.hero-copy .eyebrow { color: var(--yellow); }
h1 { margin: 16px 0 0; font-family: var(--display); font-size: 144px; line-height: .82; letter-spacing: 0; }
/* Playground signage: each letter is its own toy. Hover makes it jump, tilt,
   and take one of the brand colors — alternating directions so neighbors
   bounce apart instead of in lockstep. */
h1 span { display: inline-block; transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), color .22s ease; }
h1 span:hover { transform: translateY(-16px) rotate(-6deg); }
h1 span:nth-child(even):hover { transform: translateY(-12px) rotate(7deg); }
h1 span:nth-child(4n + 1):hover { color: var(--lime); }
h1 span:nth-child(4n + 2):hover { color: var(--coral); }
h1 span:nth-child(4n + 3):hover { color: var(--blue); }
h1 span:nth-child(4n):hover { color: var(--yellow); }
.hero-lead { max-width: 600px; margin: 34px 0 0; color: #bec0c6; font-size: 18px; line-height: 1.65; }
.hero-dock { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 46px; border-top: 1px solid var(--line-dark); padding-top: 21px; }
.hero-dock > a { justify-self: start; display: inline-flex; align-items: center; gap: 16px; min-height: 46px; padding: 0 18px; color: var(--night); background: var(--lime); font-size: 11px; font-weight: 850; transition: transform .18s ease, background .18s ease; }
.hero-dock > a:hover { transform: translateY(-3px); background: var(--yellow); }
.hero-dock > a span { font-size: 18px; }
.coordinate { display: grid; gap: 5px; color: #777b87; font: 9px "IBM Plex Mono", Consolas, monospace; }
.coordinate strong { color: #f2f1ec; font-size: 12px; font-weight: 500; }
.live-spaces { display: flex; align-items: center; gap: 9px; color: #b9bbc2; font-size: 10px; font-weight: 800; }
.field-line { position: absolute; z-index: 0; height: 1px; background: var(--line-dark); transform-origin: left center; }
.line-one { top: 18%; left: 54%; width: 70%; transform: rotate(34deg); }
.line-two { top: 69%; left: -8%; width: 78%; transform: rotate(-18deg); }
/* The shapes drift a few pixels against the cursor (--par-x/--par-y are set by
   playground.js, -0.5..0.5) so the hero gains depth without moving any text. */
.field-shape { position: absolute; z-index: 1; display: block; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.shape-one { top: 16%; right: 7%; width: 190px; height: 190px; border: 22px solid var(--blue); transform: translate3d(calc(var(--par-x, 0) * -18px), calc(var(--par-y, 0) * -12px), 0) rotate(13deg); }
.shape-two { right: 23%; bottom: 16%; width: 96px; height: 96px; background: var(--coral); transform: translate3d(calc(var(--par-x, 0) * 26px), calc(var(--par-y, 0) * 18px), 0) rotate(-18deg); }
.cursor-trail { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.play-strip { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 42px; overflow: hidden; color: var(--night); background: var(--yellow); font: 900 13px/42px var(--display); white-space: nowrap; }
.play-strip div { width: max-content; animation: strip-move 24s linear infinite; }

.projects { padding: 64px 0 112px; background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 35px; }
.section-heading h2, .next-stage h2 { margin: 9px 0 0; font-family: var(--display); font-size: 48px; line-height: 1.06; letter-spacing: 0; }
.project-focus { min-width: 210px; display: grid; justify-items: end; gap: 5px; padding-bottom: 4px; }
.project-focus span { color: var(--muted); font-size: 9px; font-weight: 800; }
.project-focus strong { max-width: 260px; overflow: hidden; color: var(--ink); font: 700 13px "IBM Plex Mono", Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
/* The featured project keeps the big card treatment; everything else is a
   dense row, so a tenth project costs one line instead of another poster. */
.featured-project {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background: #faf8f1;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.featured-project:hover, .featured-project:focus-visible { z-index: 2; border-color: var(--ink); box-shadow: 9px 9px 0 var(--ink); transform: translate(-4px, -4px); outline: 0; }
.featured-project.is-launching { transform: scale(.985); box-shadow: 0 0 0 var(--ink); }
.featured-project .project-visual { height: 100%; aspect-ratio: auto; }
.featured-body { display: grid; align-content: start; gap: 0; padding: 30px 32px 32px; }
.featured-body h2 { margin: 14px 0 0; font-family: var(--display); font-size: 40px; line-height: 1.04; }
.featured-body p { max-width: 46ch; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.featured-body small { margin-top: 12px; color: var(--muted); font-size: 11px; }
.featured-body .project-action { margin-top: 26px; }
.featured-project:hover .project-visual::after, .featured-project:focus-visible .project-visual::after { border-color: var(--project-accent, var(--lime)); }
.featured-project:hover .project-visual img { transform: scale(1.035) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }
.featured-project:hover .project-action span { color: var(--ink); background: var(--project-accent, var(--lime)); transform: rotate(8deg); }

/* Featured showcase: every project takes a turn in the lead slot. Slides are
   server-rendered anchors that stack as plain cards until playground.js adds
   .is-live; the swap hides behind the same skewed accent wipe as launching. */
.featured-track { display: grid; gap: 14px; }
.featured-viewport { position: relative; }
.featured-stage.is-live .featured-track { gap: 0; }
.featured-stage.is-live .featured-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.featured-stage.is-live .featured-slide.is-active { opacity: 1; visibility: visible; }
.featured-wipe { position: absolute; inset: 0; z-index: 3; display: none; overflow: hidden; border-radius: 6px; pointer-events: none; }
.featured-stage.is-live .featured-wipe { display: block; }
.featured-wipe i { position: absolute; inset: -12% -14%; background: var(--lime); transform: translateX(-112%) skewX(-8deg); }
.featured-wipe.is-in i { transition: transform .3s cubic-bezier(.7, 0, .2, 1); transform: translateX(0) skewX(-8deg); }
.featured-wipe.is-out i { transition: transform .34s cubic-bezier(.7, 0, .2, 1); transform: translateX(112%) skewX(-8deg); }
/* 들어오는 슬라이드: 본문이 계단식으로 떠오르고 비주얼이 크게서 자리로 안착 */
.featured-stage.is-live .featured-slide.is-entering .featured-body > * { animation: feat-rise .5s cubic-bezier(.22, 1, .36, 1) both; }
.featured-stage.is-live .featured-slide.is-entering .featured-body > *:nth-child(2) { animation-delay: .05s; }
.featured-stage.is-live .featured-slide.is-entering .featured-body > *:nth-child(3) { animation-delay: .1s; }
.featured-stage.is-live .featured-slide.is-entering .featured-body > *:nth-child(4) { animation-delay: .15s; }
.featured-stage.is-live .featured-slide.is-entering .featured-body > *:nth-child(5) { animation-delay: .2s; }
.featured-stage.is-live .featured-slide.is-entering .project-visual { animation: feat-visual .55s ease both; }
@keyframes feat-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes feat-visual { from { opacity: .55; transform: scale(1.05); } }
.featured-rail { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.rail-tick { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 16px 11px; border: 1px solid var(--line-light); border-radius: 6px; background: transparent; color: var(--muted); font: 700 12px var(--body); cursor: pointer; overflow: hidden; transition: color .18s ease, border-color .18s ease; }
.rail-tick i { font: 700 11px "IBM Plex Mono", Consolas, monospace; font-style: normal; }
.rail-tick:hover { color: var(--ink); border-color: var(--ink); }
.rail-tick.is-active { color: var(--ink); border-color: var(--ink); }
.rail-bar { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--project-accent, var(--ink)); transform: scaleX(0); transform-origin: left; }
.featured-stage.is-live .rail-tick.is-active .rail-bar { animation: rail-fill 6.5s linear forwards; }
.featured-stage.is-paused .rail-tick.is-active .rail-bar { animation-play-state: paused; }
@keyframes rail-fill { to { transform: scaleX(1); } }

.project-filters { display: grid; gap: 10px; margin-bottom: 26px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row button { min-height: 40px; border: 1px solid var(--line-light); border-radius: 999px; padding: 9px 16px; background: transparent; color: var(--muted); font: 700 12px inherit; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.filter-row button:hover { border-color: var(--ink); color: var(--ink); }
.filter-row button.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.project-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.project-empty { margin: 26px 0 0; color: var(--muted); font-size: 13px; }
.project-row .project { grid-template-columns: 54px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 18px; padding: 20px 24px; }
.project-row .project-index { grid-column: 1; grid-row: 1; font-size: 26px; }
.project-row-body { min-width: 0; display: grid; gap: 6px; }
.project-row-body strong { font-family: var(--display); font-size: 26px; line-height: 1.1; }
.project-summary { color: var(--muted); font-size: 13px; line-height: 1.6; }
.project-row .project-action { grid-column: 3; grid-row: 1; margin: 0; gap: 14px; }
.project {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background: #faf8f1;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.project:hover, .project:focus-visible { z-index: 2; border-color: var(--ink); box-shadow: 9px 9px 0 var(--ink); transform: translate(-4px, -4px); outline: 0; }
.project.is-launching { transform: scale(.985); box-shadow: 0 0 0 var(--ink); }
.project-visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-soft); perspective: 900px; }
.project-visual::after { content: ""; position: absolute; inset: 0; border: 10px solid transparent; pointer-events: none; transition: border-color .2s ease; }
.project:hover .project-visual::after, .project:focus-visible .project-visual::after { border-color: var(--project-accent, var(--lime)); }
.project-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.01) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transition: transform .25s ease; }
.project:hover .project-visual img { transform: scale(1.035) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }
.project-body { position: relative; min-height: 230px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr auto; column-gap: 20px; padding: 24px 25px 25px; }
.project-index { grid-column: 2; grid-row: 1 / span 2; color: var(--project-accent, var(--coral)); font: 900 42px/1 var(--display); }
.project-meta { grid-column: 1; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 5px; color: #9e462f; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.live { color: #3d7320; }
.project h2 { grid-column: 1; margin: 10px 0 0; font-family: var(--display); font-size: 30px; line-height: 1.05; letter-spacing: 0; }
.project p { grid-column: 1 / -1; max-width: 54ch; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.project-action { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; align-items: center; margin-top: 24px; color: var(--ink); font-size: 11px; }
.project-action span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--paper); background: var(--ink); font-size: 17px; transition: color .18s ease, background .18s ease, transform .18s ease; }
.project:hover .project-action span { color: var(--ink); background: var(--project-accent, var(--lime)); transform: rotate(8deg); }
.project-queue-zero { --project-accent: var(--lime); }
.project-lumia { --project-accent: var(--coral); }
.project-oclock { --project-accent: var(--blue); }
.project-typeland { --project-accent: var(--yellow); }
.queue-visual { display: grid; place-items: center; color: var(--night); background: var(--lime); }
.queue-visual span { position: absolute; top: 20px; left: 22px; font: 900 18px var(--display); }
.queue-visual strong { font: 900 130px/1 var(--display); }
.queue-visual i { position: absolute; right: 22px; bottom: 20px; font-size: 10px; font-style: normal; font-weight: 800; }

.oclock-visual { display: grid; place-items: center; background: #060608; }
.oclock-visual span { font: 900 110px/1 var(--display); color: var(--blue); letter-spacing: 0.04em; text-shadow: 0 0 30px rgba(112, 183, 255, 0.55); }
.oclock-visual i { position: absolute; right: 22px; bottom: 20px; font-size: 10px; font-style: normal; font-weight: 800; color: var(--blue); }

.typeland-visual { display: grid; place-items: center; color: var(--night); background: var(--yellow); }
.typeland-visual span { font: 900 120px/1 var(--display); }
.typeland-visual strong { position: absolute; top: 20px; left: 22px; font: 800 15px "IBM Plex Mono", Consolas, monospace; letter-spacing: .1em; }
.typeland-visual i { position: absolute; right: 22px; bottom: 20px; font-size: 10px; font-style: normal; font-weight: 800; }

.next-stage { border-top: 1px solid var(--line-dark); color: #f3f2eb; background: var(--night); }
.next-inner { min-height: 420px; display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: 1fr auto; gap: 30px 80px; padding-top: 76px; padding-bottom: 66px; }
.next-stage .eyebrow { color: var(--blue); }
.next-stage h2 { font-size: 44px; }
.next-stage p:last-child { grid-column: 1 / -1; margin: 0; color: #92959f; font-size: 13px; }

footer { border-top: 1px solid var(--line-dark); color: #898c96; background: var(--night); font-size: 11px; line-height: 1.7; }
.footer-inner { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-inner div:first-child { display: grid; }
.footer-inner strong { color: #f4f3ed; font-family: var(--display); font-size: 15px; }
.footer-inner a:hover { color: var(--lime); }
.footer-policies { display: flex; justify-content: flex-end; gap: 14px; margin-top: 8px; }
.footer-policies a { color: #898c96; text-underline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Portal wipe: oversized and skewed so the angled leading edge still covers
   the corners while it crosses the viewport. */
.portal-wipe { position: fixed; inset: -12vh -14vw; z-index: 80; background: var(--lime); transform: translateX(-112%) skewX(-8deg); pointer-events: none; }
.portal-wipe.is-active { transition: transform .34s cubic-bezier(.7, 0, .2, 1); transform: translateX(0) skewX(-8deg); }

@keyframes strip-move { to { transform: translateX(-33.333%); } }

/* Live pulse: 놀이터가 실제로 돌아간다는 증거 한 줄. 실데이터가 도착하기
   전에는 [hidden]이라 밴드 자체가 없다. */
.pulse-band { border-top: 1px solid var(--line-dark); color: #f4f3ed; background: var(--night-soft); }
.pulse-band[hidden] { display: none; }
.pulse-inner { display: flex; align-items: center; gap: 34px; padding: 17px 0 19px; }
.pulse-title { display: inline-flex; align-items: center; gap: 9px; color: #a7a9b1; font: 800 11px var(--display); letter-spacing: .08em; white-space: nowrap; }
.pulse-title i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgb(186 255 41 / .35); }
  55% { box-shadow: 0 0 0 8px rgb(186 255 41 / 0); }
}
.pulse-stats { display: flex; flex: 1; justify-content: space-between; gap: 20px; margin: 0; }
.pulse-stat { display: grid; gap: 4px; }
.pulse-stat dt { color: #858894; font-size: 10px; font-weight: 750; }
.pulse-stat dd { margin: 0; font: 700 22px/1 "IBM Plex Mono", Consolas, monospace; }
.pulse-stat small { margin-left: 3px; color: #a7a9b1; font-size: 11px; }
.pulse-stat:nth-child(1) b { color: var(--yellow); }
.pulse-stat:nth-child(2) b { color: var(--lime); }
.pulse-stat:nth-child(3) b { color: var(--blue); }
.pulse-stat:nth-child(4) b { color: var(--coral); }

/* 최근 소식: 빌드가 updates.json에서 굳혀 놓은 정적 로그. */
.site-log { padding: 0 0 92px; }
.log-list { display: grid; margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.log-row { display: grid; grid-template-columns: 56px 118px 1fr; align-items: baseline; gap: 18px; padding: 15px 4px; border-bottom: 1px solid var(--line-light); }
.log-row time { color: var(--muted); font: 700 12px "IBM Plex Mono", Consolas, monospace; }
.log-tag { justify-self: start; padding: 3px 8px; border: 1.5px solid var(--project-accent, var(--ink)); font-size: 9px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.log-row p { margin: 0; font-size: 14px; line-height: 1.6; }

/* 프로젝트 반응 칩: 카드 앵커 밖의 형제라 링크 이동과 충돌하지 않는다.
   숫자가 API에서 오기 전에는 [hidden]. */
.project-react { display: flex; justify-content: flex-end; gap: 8px; margin-top: 9px; }
.project-react[hidden] { display: none; }
.react-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px; border: 1.5px solid var(--line-light); border-radius: 999px; background: #fffdf6; font-size: 14px; cursor: pointer; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.react-chip b { color: var(--muted); font: 700 11px "IBM Plex Mono", Consolas, monospace; }
.react-chip:hover { border-color: var(--project-accent, var(--ink)); transform: translateY(-1px); }
.react-chip.is-reacted { border-color: var(--project-accent, var(--ink)); box-shadow: 2px 2px 0 var(--project-accent, var(--ink)); }
.react-chip.is-reacted b { color: var(--ink); }
.react-chip.is-pop { animation: react-pop .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes react-pop { 30% { transform: scale(1.22) rotate(-5deg); } }
.react-chip.is-nope { animation: react-nope .3s ease; }
@keyframes react-nope { 33% { transform: translateX(-3px); } 66% { transform: translateX(3px); } }
.react-fly { position: fixed; z-index: 60; font-size: 19px; pointer-events: none; animation: react-fly .7s ease-out forwards; }
@keyframes react-fly { to { transform: translateY(-48px) scale(1.5); opacity: 0; } }

/* 소개 페이지 */
.about-hero { padding: 92px 0 72px; color: #f8f7f1; background: var(--night); }
.about-hero .eyebrow { color: var(--lime); }
.about-hero h1 { margin: 16px 0 0; font: 900 62px/1.06 var(--display); }
.about-lead { margin: 26px 0 0; color: #b9bcc5; font-size: 16px; line-height: 1.75; }
.about-body { padding: 78px 0 92px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; }
.about-grid h2 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 22px; }
.about-grid h2 span { color: var(--coral); font: 900 14px/1 "IBM Plex Mono", Consolas, monospace; }
.about-grid p { margin: 13px 0 0; color: #3d3f45; font-size: 14px; line-height: 1.85; }
.about-grid a { font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.about-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 2px solid #f3f2eb; font-weight: 800; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.about-cta:hover { color: var(--night); border-color: var(--lime); background: var(--lime); }

@media (max-width: 980px) {
  .playground-hero { min-height: 600px; height: calc(100svh - 120px); }
  .hero-inner { min-height: 578px; }
  h1 { font-size: 112px; }
  .shape-one { right: -30px; width: 150px; height: 150px; }
  .shape-two { right: 17%; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-project .project-visual { aspect-ratio: 16 / 9; }
  .next-inner { grid-template-columns: .8fr 1.2fr; gap: 40px; }
  .about-hero h1 { font-size: 50px; }
  .about-grid { gap: 36px 44px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1240px); }
  .rail-tick span { display: none; }
  .rail-tick { min-height: 38px; padding: 8px 13px 10px; }
  .header-inner { min-height: 58px; grid-template-columns: auto 1fr; gap: 13px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 27px; height: 27px; }
  nav { justify-content: flex-end; }
  nav a { min-height: 34px; padding: 0 9px; font-size: 10px; }
  .open-count { display: none; }
  .playground-hero { min-height: 570px; max-height: none; height: calc(100svh - 160px); }
  .hero-inner { min-height: 548px; padding: 21px 0 28px; }
  .hero-topline { font-size: 9px; }
  .hero-copy { align-self: center; }
  h1 { margin-top: 12px; font-size: 74px; }
  .hero-lead { margin-top: 25px; font-size: 15px; line-height: 1.65; }
  .hero-lead br { display: none; }
  .hero-dock { grid-template-columns: 1fr auto; gap: 16px; padding-top: 16px; }
  .hero-dock > a { min-height: 44px; padding: 0 14px; }
  .coordinate { display: none; }
  .live-spaces { font-size: 9px; }
  .shape-one { top: 21%; right: -48px; width: 110px; height: 110px; border-width: 15px; }
  .shape-two { right: 16%; bottom: 24%; width: 58px; height: 58px; }
  .line-one { top: 22%; left: 45%; }
  .play-strip { height: 36px; font-size: 11px; line-height: 36px; }
  .projects { padding: 56px 0 76px; }
  .section-heading { align-items: start; margin-bottom: 24px; }
  .section-heading h2 { font-size: 31px; }
  .project-focus { min-width: 112px; padding-top: 4px; }
  .project-focus strong { max-width: 120px; font-size: 10px; }
  .project-row .project { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 16px 18px; }
  .project-row .project-action { grid-column: 1 / -1; grid-row: 2; margin-top: 14px; }
  .project-row-body strong { font-size: 21px; }
  .project:hover, .project:focus-visible { box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
  .project-visual { height: auto; aspect-ratio: 4 / 3; }
  .project-body { min-height: 240px; padding: 20px; }
  .project-index { font-size: 34px; }
  .project h2 { font-size: 26px; }
  .project p { margin-top: 14px; font-size: 13px; }
  .project-action { margin-top: 20px; }
  .next-inner { min-height: 0; display: block; padding-top: 60px; padding-bottom: 54px; }
  .next-stage h2 { font-size: 34px; }
  .next-stage p:last-child { margin-top: 28px; }
  .footer-inner { min-height: 134px; display: block; padding-top: 28px; padding-bottom: 28px; }
  .footer-inner > div + div { margin-top: 16px; }
  .footer-policies { justify-content: flex-start; }
  .pulse-inner { flex-wrap: wrap; gap: 12px 20px; padding: 15px 0 17px; }
  .pulse-stats { flex-wrap: wrap; gap: 12px 26px; flex-basis: 100%; justify-content: flex-start; }
  .pulse-stat { flex: 1 1 38%; }
  .pulse-stat dd { font-size: 19px; }
  .site-log { padding-bottom: 70px; }
  .log-row { grid-template-columns: 44px 1fr; row-gap: 8px; padding: 13px 2px; }
  .log-row p { grid-column: 1 / -1; font-size: 13px; }
  .project-react { justify-content: flex-start; }
  .about-hero { padding: 64px 0 52px; }
  .about-hero h1 { font-size: 38px; }
  .about-lead br { display: none; }
  .about-body { padding: 56px 0 70px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
}

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