/* ============ DORIS / CCM PORTFOLIO ============ */
:root {
  --bg: #060607;
  --bg-2: #0b0b0d;
  --panel: #101013;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f5f5f4;
  --muted: #92929c;
  --accent: #ffffff;
  --accent-2: #d4d4d8;
  --green: #3ddc84;
  --display: "Special Gothic Expanded One", "Arial Black", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --jp: "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::after { /* grain */
  content: "";
  position: fixed; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 200; opacity: .5;
}
::selection { background: #fff; color: #000; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
b, strong { font-weight: 700; color: var(--ink); }

@media (pointer: fine) {
  body { cursor: none; }
  body a, body button { cursor: none; }
}

/* ============ CURSOR ============ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 300;
  border-radius: 50%; transform: translate(-50%, -50%);
  display: none;
}
@media (pointer: fine) { .cursor-dot, .cursor-ring { display: block; } }
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, 0.45);
  transition: width .25s, height .25s, border-color .25s, background .25s;
}
.cursor-ring.is-hover { width: 56px; height: 56px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.9); }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 400; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: clip-path .8s cubic-bezier(.83, 0, .17, 1);
  clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.preloader-inner { text-align: center; position: relative; z-index: 3; }
.preloader-name {
  font-family: var(--display); font-size: clamp(3.2rem, 11vw, 7.5rem); letter-spacing: .04em;
  animation: pre-pulse .5s cubic-bezier(.22,1,.36,1) 1.72s both;
}
.preloader-name span {
  display: inline-block; opacity: 0;
  transform: translateY(.7em) scale(1.6); filter: blur(14px);
  animation: pre-slam .62s cubic-bezier(.17, 1.25, .35, 1) forwards;
}
.preloader-name span:nth-child(1) { animation-delay: .10s; }
.preloader-name span:nth-child(2) { animation-delay: .24s; }
.preloader-name span:nth-child(3) { animation-delay: .38s; }
.preloader-name span:nth-child(4) { animation-delay: .52s; }
.preloader-name span:nth-child(5) { animation-delay: .66s; }
@keyframes pre-slam {
  0% { opacity: 0; transform: translateY(.7em) scale(1.6); filter: blur(14px); }
  55% { opacity: 1; filter: blur(0); text-shadow: 0 0 42px rgba(255,255,255,.85); }
  75% { transform: translateY(-.04em) scale(1.02); }
  100% { opacity: 1; transform: none; filter: blur(0); text-shadow: 0 0 18px rgba(255,255,255,.25); }
}
@keyframes pre-pulse { 50% { transform: scale(1.05); } 100% { transform: scale(1.02); } }
.pre-ccm {
  font-size: .34em; vertical-align: super; margin-left: .18em; color: var(--muted);
  animation-name: pre-pop !important; animation-delay: 1.06s !important;
  animation-duration: .45s !important;
}
@keyframes pre-pop {
  0% { opacity: 0; transform: scale(.4); filter: blur(6px); }
  70% { opacity: 1; transform: scale(1.15); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
.pre-rule {
  height: 2px; background: var(--ink); margin: 1.3rem auto 0; width: min(340px, 60vw);
  transform: scaleX(0); animation: pre-rule .7s cubic-bezier(.83,0,.17,1) 1.0s forwards;
}
@keyframes pre-rule { to { transform: scaleX(1); } }
.preloader-jp {
  font-family: var(--jp); color: var(--muted); font-size: .8rem; letter-spacing: .8em;
  margin-top: 1.1rem; opacity: 0; white-space: nowrap;
  animation: pre-jp .9s cubic-bezier(.22,1,.36,1) 1.15s forwards;
}
@keyframes pre-jp { to { opacity: 1; letter-spacing: .32em; } }
.pre-lines {
  position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    transparent 0deg 9deg, rgba(255,255,255,.03) 9deg 9.7deg);
  opacity: 0; animation: pre-lines-in 1.2s .3s forwards, pre-rotate 26s linear infinite;
}
@keyframes pre-lines-in { to { opacity: 1; } }
@keyframes pre-rotate { to { transform: rotate(360deg); } }
.pre-ring {
  position: absolute; left: 50%; top: 50%; width: 120px; height: 120px;
  margin: -60px 0 0 -60px; border: 2px solid rgba(255,255,255,.8); border-radius: 50%;
  transform: scale(0); opacity: 0;
  animation: pre-ring 1.1s cubic-bezier(.16,1,.3,1) .82s forwards;
}
@keyframes pre-ring {
  0% { transform: scale(0); opacity: .9; border-width: 3px; }
  100% { transform: scale(16); opacity: 0; border-width: 1px; }
}
.pre-counter {
  position: absolute; right: clamp(1.5rem, 5vw, 3.5rem); bottom: clamp(1.5rem, 5vw, 3rem);
  font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--ink); font-variant-numeric: tabular-nums; z-index: 3;
  opacity: 0; animation: pre-in-soft .6s .35s forwards;
}
.pre-counter i { font-style: normal; font-size: .55em; color: var(--muted); margin-left: .1em; }
@keyframes pre-in-soft { to { opacity: 1; } }
.pre-flash {
  position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 4;
}
.preloader.flash .pre-flash { animation: pre-flash .42s cubic-bezier(.83,0,.17,1) forwards; }
@keyframes pre-flash { 0% { opacity: 0; } 30% { opacity: .9; } 100% { opacity: 0; } }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: #fff;
  z-index: 250;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 6, 7, 0.82); backdrop-filter: blur(14px);
  border-bottom-color: var(--line); padding-top: .8rem; padding-bottom: .8rem;
}
.nav-logo { font-family: var(--display); font-size: 1.25rem; letter-spacing: .05em; }
.nav-logo-tag { color: var(--accent); font-size: .7em; vertical-align: super; margin-left: .15em; }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a {
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .25s; position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .3s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover::after { width: 100%; }
.nav-burger { display: none; }
.nav-mobile { display: none; }

/* ============ BUTTONS / CHIPS ============ */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--body); font-weight: 700; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s, color .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.btn-solid { background: var(--ink); color: #0a0a0b; }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(255,255,255,.18); }
.btn-ghost { border-color: rgba(255,255,255,.25); color: var(--ink); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-3px); }
.btn-lg { padding: 1rem 2rem; font-size: .9rem; }
.btn-xl { padding: 1.15rem 2.6rem; font-size: 1rem; }
.btn-arrow { transition: transform .3s; }
.btn:hover .btn-arrow { transform: translateX(5px); }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem 1rem; background: rgba(255,255,255,.02);
}
.chip-accent { color: var(--ink); border-color: rgba(255,255,255,.35); }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  display: inline-block; animation: pulse 1.8s infinite; flex: 0 0 auto;
}
.pulse-dot.green { background: var(--green); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.pulse-dot.green { animation-name: pulse-g; }
@keyframes pulse-g {
  0% { box-shadow: 0 0 0 0 rgba(61,220,132,.5); }
  70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); }
}

/* ============ HERO ============ */
.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem clamp(1.25rem, 5vw, 4rem) 0;
}
.hero-lines {
  position: absolute; inset: -20%;
  background: repeating-conic-gradient(from 0deg at 78% 38%,
    transparent 0deg 8deg, rgba(255,255,255,0.022) 8deg 8.6deg);
  will-change: transform;
}
.hero-glow {
  position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -14vw;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 65%);
  filter: blur(20px); will-change: transform;
}
.hero-kata {
  position: absolute; right: clamp(.5rem, 2.5vw, 2.5rem); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--jp); font-weight: 900;
  font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: .5em; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.12);
}
.hero-inner { position: relative; max-width: 1100px; }
.hero-eyebrow { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.2rem, 9.5vw, 8.5rem);
  line-height: .98; letter-spacing: .005em; text-transform: uppercase;
  margin-bottom: 2.2rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -0.06em; }
.hero-title .word { display: inline-block; transform: translateY(110%); }
.hero-title .word.outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-title .word.accent { color: var(--accent); position: relative; }
body.loaded .hero-title .word { animation: word-up .9s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--wd, 0) * 90ms + 750ms); }
@keyframes word-up { to { transform: translateY(0); } }
.hero-sub { max-width: 560px; color: var(--muted); font-size: 1.05rem; margin-bottom: 2.6rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  position: relative; margin-top: auto; padding: 2.4rem 0 2.2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  line-height: 1; margin-bottom: .5rem; font-variant-numeric: tabular-nums;
}
.stat-live { color: var(--green); }
.stat-label {
  color: var(--muted); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  display: flex; align-items: center; gap: .5rem;
}

/* ============ TICKER ============ */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.ticker-track {
  display: flex; align-items: center; gap: 2.5rem; width: max-content;
  padding: 1.1rem 0; animation: ticker 30s linear infinite;
  font-family: var(--display); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track span { opacity: .85; }
.ticker-track i { color: var(--accent); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 5vw, 4rem); position: relative; }
.section-head { max-width: 1100px; margin-bottom: clamp(3rem, 6vw, 5rem); position: relative; }
.section-no {
  font-family: var(--jp); font-size: .78rem; font-weight: 700; letter-spacing: .3em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 1.4rem;
}
.section-no em { color: var(--muted); font-style: normal; }
.section-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: 1.02; margin-bottom: 1.4rem;
}
.section-title .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.section-sub { color: var(--muted); max-width: 520px; font-size: 1rem; }

/* ============ REVEAL SYSTEM ============ */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--rd, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ============ AGENCIES ============ */
.agency-slider { position: relative; }
.agency-viewport {
  display: flex; gap: 1.5rem; padding: .5rem 2px 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  cursor: grab; outline: none;
}
.agency-viewport::-webkit-scrollbar { display: none; }
.agency-viewport.dragging { cursor: grabbing; scroll-snap-type: none; }
.agency-viewport.dragging .agency-card { pointer-events: none; }
.agency-nav { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.6rem; }
.ag-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: var(--ink); font-size: 1.15rem;
  display: grid; place-items: center;
  transition: background .3s, border-color .3s, transform .3s;
}
.ag-btn:hover { background: var(--ink); color: #0a0a0b; border-color: var(--ink); transform: translateY(-2px); }
.agency-dots { display: flex; gap: .55rem; }
.agency-dot {
  width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0;
  background: rgba(255,255,255,.22); transition: background .3s, width .3s;
}
.agency-dot.active { background: var(--ink); width: 26px; }
.agency-card {
  width: min(500px, 86vw); flex: 0 0 auto; scroll-snap-align: start;
  background: linear-gradient(160deg, var(--panel), #0a0a0c);
  border: 1px solid var(--line); border-radius: 20px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s;
}
.agency-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.agency-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), var(--ag-glow, rgba(255,255,255,.08)), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.agency-card:hover::before { opacity: 1; }
.agency-top { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.3rem; position: relative; }
.agency-logo {
  width: 58px; height: 58px; border-radius: 15px; flex: 0 0 auto;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .02em;
  background: var(--ag-bg, #1c1c20); color: var(--ag-fg, #fff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.agency-name { font-family: var(--display); font-size: 1.15rem; line-height: 1.15; }
.agency-est { color: var(--muted); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .3rem; }
.agency-desc { color: var(--muted); font-size: .92rem; min-height: 3.4em; position: relative; }
.agency-foot {
  display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--muted); position: relative;
}
.agency-foot b { font-variant-numeric: tabular-nums; }
.agency-link { margin-left: auto; color: var(--ink); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.agency-link:hover { color: var(--accent); }
.agency-role-chip {
  margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  color: var(--ink); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .3rem .7rem;
  flex: 0 0 auto;
}

/* ============ WORK ============ */
.work { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-kata {
  position: absolute; top: 4rem; right: 0; font-family: var(--jp); font-weight: 900;
  font-size: clamp(4rem, 12vw, 11rem); line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06); pointer-events: none;
  white-space: nowrap; will-change: transform;
}
.work-filters {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-tabs { display: inline-flex; gap: .4rem; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 999px; padding: .35rem; }
.filter-tab {
  font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 0; border-radius: 999px;
  padding: .55rem 1.2rem; transition: background .3s, color .3s;
}
.filter-tab:hover { color: var(--ink); }
.filter-tab.active { background: var(--ink); color: #0a0a0b; }
.filter-legend { color: var(--muted); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }

.work-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.25rem;
}
.game-card {
  position: relative; border: 1px solid var(--line); border-radius: 20px;
  background: var(--panel); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .45s, box-shadow .45s, opacity .5s;
  will-change: transform;
}
.game-card.hidden { display: none; }
.game-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.22); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.game-banner {
  height: 96px; background-size: cover; background-position: center;
  position: relative; filter: saturate(1.05);
  transition: transform .6s cubic-bezier(.22,1,.36,1);
  transform-origin: center;
}
.game-card:hover .game-banner { transform: scale(1.06); }
.game-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,6,7,.1), var(--panel));
}
.game-banner.no-banner { background: linear-gradient(135deg, #17171b, #0d0d10); }
.game-body { padding: 0 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.game-head { display: flex; align-items: flex-end; gap: 1rem; margin-top: -30px; position: relative; z-index: 2; margin-bottom: 1rem; }
.game-icon {
  width: 62px; height: 62px; border-radius: 16px; flex: 0 0 auto;
  border: 3px solid var(--panel); background: #0a0a0c; object-fit: cover;
}
.game-name { font-family: var(--display); font-size: 1.02rem; line-height: 1.2; padding-bottom: .2rem; }
.game-roles { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .9rem; }
.role-chip {
  font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; padding: .28rem .65rem; border: 1px solid;
}
.role-CCM { color: #0a0a0b; border-color: #fff; background: #fff; }
.role-CCC { color: var(--ink); border-color: rgba(255,255,255,.5); background: transparent; }
.role-DIR { color: var(--ink); border-color: rgba(255,255,255,.5); border-style: dashed; background: rgba(255,255,255,.05); }
.game-desc {
  color: var(--muted); font-size: .86rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em; margin-bottom: 1.1rem;
}
.game-foot {
  margin-top: auto; display: flex; align-items: center; gap: 1.1rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted);
}
.game-foot b { font-variant-numeric: tabular-nums; }
.game-online { display: inline-flex; align-items: center; gap: .45rem; }
.game-join {
  margin-left: auto; font-weight: 700; font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink); display: inline-flex; gap: .4rem; align-items: center;
  transition: color .25s;
}
.game-join .btn-arrow { display: inline-block; }
.game-join:hover { color: var(--accent); }
.game-card .stretch { position: absolute; inset: 0; z-index: 3; }

/* ============ ABOUT ============ */
.about { overflow: hidden; }
.about-bignum {
  position: absolute; right: -2%; top: 8%; font-family: var(--display);
  font-size: clamp(8rem, 24vw, 22rem); line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.055); pointer-events: none; will-change: transform;
}
.about-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem;
  position: relative;
}
.about-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 2rem;
  background: linear-gradient(160deg, rgba(255,255,255,.025), transparent);
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s;
}
.about-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); }
.about-num { font-family: var(--display); color: var(--accent); font-size: .95rem; margin-bottom: 1.4rem; }
.about-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; margin-bottom: .8rem; letter-spacing: .02em; }
.about-card p { color: var(--muted); font-size: .9rem; }

/* ============ CTA ============ */
.cta { padding-top: clamp(5rem, 10vw, 8rem); }
.cta-lines {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 120%,
    transparent 0deg 10deg, rgba(255,255,255,.03) 10deg 10.7deg);
}
.cta-card {
  position: relative; max-width: 880px; margin: 0 auto; text-align: center;
  border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(180deg, #101014, #0a0a0d);
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 28px; pointer-events: none;
  background: radial-gradient(600px circle at 50% -10%, rgba(255,255,255,.1), transparent 60%);
}
.cta-icon { margin: 0 auto 1.5rem; border-radius: 22px; box-shadow: 0 12px 40px rgba(0,0,0,.5); position: relative; }
.cta-kicker { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1.2rem; }
.cta-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; margin-bottom: 1.4rem; }
.cta-title .accent { color: var(--accent); }
.cta-sub { color: var(--muted); max-width: 560px; margin: 0 auto 1.8rem; }
.cta-stats { display: flex; justify-content: center; align-items: center; gap: .8rem; color: var(--muted); font-size: .9rem; margin-bottom: 2.2rem; }
.cta-stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.cta-stats .pulse-dot { margin-right: .4rem; }
.dot-sep { opacity: .4; }
.cta-chips { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 3rem clamp(1.25rem, 5vw, 4rem) 2.5rem; overflow: hidden; }
.footer-word {
  font-family: var(--display); text-align: center; line-height: .8;
  font-size: clamp(6rem, 22vw, 20rem); color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.07);
  user-select: none; margin-bottom: 2rem;
}
.footer-row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }
.footer-links { margin-left: auto; display: flex; gap: 1.6rem; }
.footer-links a { color: var(--muted); transition: color .25s; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .hero-kata { display: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger {
    display: block; margin-left: auto; background: transparent; border: 0; padding: .5rem;
  }
  .nav-burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .3s, opacity .3s; }
  .nav-burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav-mobile {
    display: flex; flex-direction: column; gap: 0; position: fixed; z-index: 90;
    top: 0; left: 0; right: 0; padding: 5.5rem 1.5rem 2rem;
    background: rgba(6,6,7,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-105%); transition: transform .5s cubic-bezier(.83,0,.17,1);
  }
  .nav-mobile.open { transform: translateY(0); }
  .nav-mobile a {
    font-family: var(--display); font-size: 1.6rem; text-transform: uppercase;
    padding: .9rem 0; border-bottom: 1px solid var(--line);
  }
  .nav-mobile a.accent { color: var(--accent); border: 0; }
  .work-filters { flex-direction: column; align-items: flex-start; }
  .work-grid { grid-template-columns: 1fr; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-title .word { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker-track, .agency-track { animation: none; }
}

/* ============ STATUS + ACHIEVEMENT ============ */
.status-chip {
  font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; padding: .28rem .65rem; border: 1px solid;
  display: inline-flex; align-items: center; gap: .4rem;
}
.st-active { color: var(--ink); border-color: rgba(255,255,255,.45); }
.st-active .pulse-dot { width: 6px; height: 6px; }
.st-past { color: var(--muted); border-color: var(--line); background: rgba(255,255,255,.02); }
.game-ach {
  display: flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; color: var(--ink);
  border: 1px solid var(--line); border-left: 3px solid #fff;
  background: rgba(255,255,255,.04); border-radius: 10px;
  padding: .55rem .8rem; margin-bottom: 1.1rem;
}
.game-ach svg { flex: 0 0 auto; opacity: .9; }
.game-card.past .game-icon, .game-card.past .game-banner { filter: grayscale(1); transition: filter .5s; }
.game-card.past:hover .game-icon, .game-card.past:hover .game-banner { filter: grayscale(0); }

/* ============ LOGO ============ */
.nav-logo { display: inline-flex; align-items: center; gap: .7rem; }
.nav-logo img { height: 40px; width: auto; }
.hero-logo {
  position: absolute; right: clamp(3rem, 9vw, 10rem); top: 50%;
  transform: translateY(-50%); width: min(32vw, 440px);
  opacity: .14; pointer-events: none; user-select: none;
  filter: drop-shadow(0 0 60px rgba(255,255,255,.15));
  will-change: transform;
}
@media (max-width: 900px) { .hero-logo { right: -10vw; width: 60vw; opacity: .08; } }

/* ============ GAME DETAIL PAGE ============ */
.gp { max-width: 1150px; margin: 0 auto; padding: 8.5rem clamp(1.25rem, 4vw, 3rem) 5rem; }
.gp-loading { color: var(--muted); text-align: center; padding: 6rem 0; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; }
.gp-grid { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gp-art {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  aspect-ratio: 1 / 1;
}
.gp-art img { width: 100%; height: 100%; object-fit: cover; }
.gp-art .status-chip {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
  background: rgba(6,6,7,.85); backdrop-filter: blur(8px);
  padding: .5rem 1rem; font-size: .7rem;
}
.gp-eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1rem;
}
.gp-eyebrow b { color: var(--ink); }
.gp-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.03; margin-bottom: 1.8rem;
}
.gp-ach { margin-bottom: 1.4rem; display: inline-flex; }
.gp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1rem; }
.gp-stat {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 1.1rem 1.3rem;
}
.gp-stat-label { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.gp-stat-num { font-family: var(--display); font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.gp-stat.hl { grid-column: 1 / -1; border-color: rgba(61,220,132,.35); background: rgba(61,220,132,.05); }
.gp-stat.hl .gp-stat-label { color: var(--green); }
.gp-stat.hl .gp-stat-num { display: flex; align-items: center; gap: .7rem; }
.gp-stat.hl .arr { color: var(--green); font-size: 1.1rem; }
.gp-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.gp-about {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line); border-radius: 20px; background: var(--panel);
  padding: 1.8rem clamp(1.3rem, 3vw, 2.2rem);
}
.gp-about-label { font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.gp-about-body {
  color: #c8c8cf; font-size: .95rem; line-height: 1.8; white-space: pre-wrap;
  max-height: 340px; overflow-y: auto; padding-right: .8rem;
}
.gp-about-body::-webkit-scrollbar { width: 8px; }
.gp-about-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 99px; }
.gp-note { margin-top: 1rem; color: var(--muted); font-size: .8rem; }
.gp-footer { margin-top: 2rem; }
.gp-footer .footer-row { justify-content: space-between; }
.gp-breadcrumbs { margin-bottom: 2rem; }
@media (max-width: 860px) {
  .gp-grid { grid-template-columns: 1fr; }
  .gp-art { max-width: 420px; }
}

/* ============ WORK GROUPS ============ */
.work-group { margin-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.work-group:last-child { margin-bottom: 0; }
.group-head { margin-bottom: 1.8rem; display: flex; flex-direction: column; gap: .4rem; }
.group-jp { font-family: var(--jp); font-weight: 700; font-size: .72rem; letter-spacing: .35em; color: var(--muted); text-transform: uppercase; }
.group-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.05;
  display: flex; align-items: baseline; gap: .8rem;
}
.group-count {
  font-size: .45em; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: .25em .8em; font-family: var(--body); font-weight: 700;
  transform: translateY(-.35em);
}
.group-sub { color: var(--muted); font-size: .9rem; max-width: 520px; }
#group-released .group-title { }
#group-unreleased .game-card .game-banner { filter: saturate(.7); }

/* ============ WORDMARK ============ */
.nav-logo .nav-wordmark { height: 30px; width: auto; }
@media (max-width: 760px) { .nav-logo .nav-wordmark { height: 24px; } }

.cta-logo { width: 200px; height: auto; border-radius: 0; box-shadow: none; filter: drop-shadow(0 10px 40px rgba(255,255,255,.12)); }

/* ============ LEGAL PAGE ============ */
.legal { max-width: 760px; }
.legal-updated { color: var(--muted); font-size: .82rem; margin: 1rem 0 2.5rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-body h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: 1.1rem; letter-spacing: .03em; margin: 2.2rem 0 .7rem;
}
.legal-body p { color: #c8c8cf; font-size: .95rem; margin-bottom: .9rem; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: #fff; }
