:root {
  --ink: #151515;
  --paper: #f4f1e9;
  --acid: #dfff4f;
  --blue: #6c8cff;
  --orange: #ff7b4f;
  --purple: #c97cff;
  --line: rgba(21, 21, 21, 0.18);
  --muted: #67675f;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.section-shell, .site-header, .site-footer { width: min(var(--max-width), calc(100% - 48px)); margin-inline: auto; }
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  font-weight: 900;
  transform: rotate(-8deg);
}
.main-nav { display: flex; gap: 8px; }
.main-nav a { padding: 10px 15px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 700; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); background: white; }
.hero { min-height: 660px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #65d13b; box-shadow: 0 0 0 5px rgba(101,209,59,.15); }
.hero h1, .games-hero h1 { margin: 0; font-size: clamp(64px, 8vw, 112px); line-height: .91; letter-spacing: -.075em; font-weight: 900; }
.hero h1 span, .games-hero h1 span { position: relative; z-index: 0; }
.hero h1 span::after, .games-hero h1 span::after { content: ""; position: absolute; z-index: -1; left: 0; right: -10px; bottom: 8px; height: 22%; background: var(--acid); transform: rotate(-1deg); }
.hero-text { max-width: 540px; margin: 30px 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 52px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 8px; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translate(-3px,-3px); box-shadow: 5px 5px 0 var(--ink); }
.button-primary { background: var(--ink); color: white; }
.button-ghost { background: transparent; }
.orbit-scene { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.planet { position: relative; z-index: 2; width: 42%; aspect-ratio: 1; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: var(--blue); box-shadow: 16px 18px 0 var(--ink); animation: float 5s ease-in-out infinite; }
.planet::before, .planet::after { content: ""; position: absolute; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.planet::before { width: 22%; height: 11%; left: 18%; top: 21%; transform: rotate(-15deg); }
.planet::after { width: 30%; height: 15%; right: 10%; bottom: 20%; transform: rotate(18deg); }
.planet span { position: relative; z-index: 2; padding: 8px 12px; border: 2px solid var(--ink); background: var(--acid); font-size: 11px; font-weight: 900; transform: rotate(-7deg); }
.orbit { position: absolute; width: 76%; aspect-ratio: 1; border: 1.5px solid var(--ink); border-radius: 50%; transform: rotate(22deg) scaleY(.48); }
.orbit-two { width: 100%; transform: rotate(-32deg) scaleY(.38); opacity: .45; }
.orbit i { position: absolute; left: 8%; top: 27%; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); }
.orbit-two i { left: 77%; top: 68%; width: 14px; height: 14px; background: var(--acid); }
.spark { position: absolute; font-size: 30px; }
.spark-one { top: 12%; right: 14%; color: var(--orange); }
.spark-two { bottom: 15%; left: 12%; color: var(--purple); font-size: 50px; }
.spark-three { top: 22%; left: 10%; font-size: 18px; }
.ticker { overflow: hidden; border-block: 1px solid var(--ink); background: var(--acid); transform: rotate(-1deg) scale(1.01); }
.ticker div { width: max-content; padding: 13px 0; font-size: 14px; font-weight: 900; letter-spacing: .09em; animation: marquee 24s linear infinite; }
.ticker b { margin: 0 28px; }
.explore { padding-block: 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2, .now-card h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); letter-spacing: -.055em; line-height: 1; }
.section-heading > p { max-width: 320px; color: var(--muted); line-height: 1.7; }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portal-card { position: relative; min-height: 330px; padding: 28px; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 14px; background: white; transition: transform .2s, box-shadow .2s; }
.portal-card:not(.is-disabled):hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: 8px 9px 0 var(--ink); }
.portal-card::after { content: ""; position: absolute; right: -40px; top: -45px; width: 150px; height: 150px; border-radius: 50%; background: var(--card-color); opacity: .65; }
.portal-lime { --card-color: var(--acid); }
.portal-blue { --card-color: var(--blue); }
.portal-orange { --card-color: var(--orange); }
.portal-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--card-color); font-size: 30px; font-weight: 700; }
.portal-number { position: absolute; right: 24px; top: 22px; z-index: 1; font-size: 12px; font-weight: 900; }
.portal-card h3 { margin: 72px 0 10px; font-size: 27px; letter-spacing: -.04em; }
.portal-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.portal-label { position: absolute; left: 28px; bottom: 25px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.portal-card.is-disabled { background: rgba(255,255,255,.45); cursor: default; }
.now-card { margin-bottom: 110px; padding: 50px; display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 40px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--blue); box-shadow: 10px 11px 0 var(--ink); }
.now-card p { max-width: 420px; line-height: 1.7; }
.circle-link { display: grid; place-items: center; width: 72px; height: 72px; border: 2px solid var(--ink); border-radius: 50%; background: var(--acid); font-size: 28px; transition: transform .2s; }
.circle-link:hover { transform: rotate(45deg); }
.site-footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--delay, 0ms), transform .7s var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.games-page { background: #171717; color: #f7f4ec; }
.games-page .noise { opacity: .07; }
.games-page .site-header { border-color: rgba(255,255,255,.15); }
.games-page .brand-mark { color: var(--ink); }
.games-page .main-nav a { color: #aaa; }
.games-page .main-nav a:hover, .games-page .main-nav a.active { color: var(--ink); background: var(--acid); }
.games-main { padding-block: 80px 120px; }
.games-hero { position: relative; padding: 50px 0 100px; }
.games-hero h1 { max-width: 950px; font-size: clamp(60px, 9vw, 126px); }
.games-hero h1 span::after { background: var(--orange); }
.games-hero > p:last-of-type { max-width: 520px; margin: 30px 0 0; color: #aaa; font-size: 18px; }
.game-stats { position: absolute; right: 0; bottom: 90px; display: flex; gap: 10px; }
.game-stats span { min-width: 110px; padding: 14px; border: 1px solid #555; border-radius: 8px; color: #aaa; font-size: 12px; text-align: center; }
.game-stats strong { display: block; color: white; font-size: 25px; }
.game-toolbar { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 32px; padding-top: 28px; border-top: 1px solid #444; }
.filter-list { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-button { padding: 9px 15px; border: 1px solid #555; border-radius: 999px; color: #bbb; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }
.filter-button:hover, .filter-button.active { color: var(--ink); border-color: var(--acid); background: var(--acid); }
.search-box { display: flex; align-items: center; gap: 8px; min-width: 220px; padding: 0 14px; border: 1px solid #555; border-radius: 999px; }
.search-box input { width: 100%; padding: 9px 0; border: 0; outline: 0; color: white; background: transparent; }
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.game-card { overflow: hidden; border: 1px solid #444; border-radius: 14px; background: #202020; transition: transform .25s, border-color .25s; }
.game-card:hover { transform: translateY(-7px); border-color: var(--game-color); }
.game-art { position: relative; min-height: 240px; display: grid; place-items: center; overflow: hidden; background: var(--game-color); color: var(--ink); }
.game-art::before { content: ""; position: absolute; width: 260px; height: 260px; border: 2px solid var(--ink); border-radius: 50%; box-shadow: 0 0 0 35px rgba(21,21,21,.08), 0 0 0 70px rgba(21,21,21,.05); }
.game-icon { position: relative; z-index: 1; font-size: 100px; font-weight: 900; line-height: 1; transform: rotate(-7deg); }
.game-badge { position: absolute; left: 16px; top: 16px; padding: 7px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 11px; font-weight: 900; }
.game-play { position: absolute; right: 16px; bottom: 16px; padding: 10px 13px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--ink); color: white; font-size: 12px; font-weight: 900; transition: transform .2s; }
.game-card:hover .game-play { transform: rotate(-4deg) scale(1.08); }
.game-info { min-height: 180px; padding: 25px; }
.game-category { color: var(--game-color); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.game-info h2 { margin: 8px 0; font-size: 27px; letter-spacing: -.04em; }
.game-info p { margin: 0; color: #aaa; line-height: 1.65; }
.empty-state { padding: 80px 20px; color: #999; text-align: center; }
.games-page .site-footer { border-color: #444; }

@keyframes float { 50% { transform: translateY(-15px) rotate(2deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 850px) {
  .hero { min-height: auto; padding: 80px 0 110px; grid-template-columns: 1fr; }
  .orbit-scene { width: min(480px, 100%); margin: 0 auto; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card { min-height: 270px; }
  .portal-card h3 { margin-top: 42px; }
  .now-card { grid-template-columns: 1fr; }
  .game-stats { position: static; margin-top: 35px; }
  .game-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section-shell, .site-header, .site-footer { width: min(100% - 28px, var(--max-width)); }
  .site-header { height: 74px; }
  .brand > span:last-child { display: none; }
  .hero { padding-top: 60px; gap: 30px; }
  .hero h1, .games-hero h1 { font-size: clamp(50px, 17vw, 76px); }
  .hero-text { font-size: 16px; }
  .section-heading { align-items: start; flex-direction: column; }
  .explore { padding-block: 90px; }
  .now-card { margin-bottom: 75px; padding: 30px; }
  .games-main { padding-top: 35px; }
  .games-hero { padding-bottom: 70px; }
  .game-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { min-width: 0; }
  .game-art { min-height: 200px; }
  .site-footer { padding: 28px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Project archive */
.projects-page { background:#f4f1e9; }
.projects-main { padding-block:80px 120px; }
.projects-intro { padding:40px 0 90px; border-bottom:1px solid var(--ink); }
.projects-intro h1 { margin:0; font-size:clamp(76px,13vw,164px); line-height:.78; letter-spacing:-.075em; font-weight:900; }
.projects-intro h1 span { position:relative; z-index:0; }
.projects-intro h1 span::after { content:""; position:absolute; z-index:-1; left:2px; right:-12px; bottom:10px; height:22%; background:var(--blue); transform:rotate(-1deg); }
.projects-intro-bottom { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-top:55px; }
.projects-intro-bottom p { max-width:560px; margin:0; color:var(--muted); font-size:18px; line-height:1.7; }
.projects-intro-bottom > span { padding:13px 17px; border:1.5px solid var(--ink); border-radius:999px; background:white; font-size:12px; font-weight:800; }
.projects-intro-bottom b { margin-right:3px; font-size:20px; }
.project-browser { padding-top:65px; }
.project-list-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:25px; }
.project-list-heading p { margin:0; color:var(--muted); font-size:12px; }
.project-grid { display:grid; gap:28px; }
.project-card { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); border:1.5px solid var(--ink); border-radius:8px; overflow:hidden; background:white; box-shadow:9px 10px 0 var(--ink); }
.project-card-visual { min-height:480px; border-right:1.5px solid var(--ink); }
.project-preview { position:relative; width:100%; height:100%; min-height:480px; overflow:hidden; color:#f8f6ed; background:#171a1a; }
.project-preview::before { content:""; position:absolute; inset:50px 35px 45px; border:1px solid rgba(255,255,255,.23); background:#242a29; box-shadow:inset 0 0 0 7px #121515; }
.preview-label { position:absolute; left:22px; top:20px; color:#aeb8b5; font-size:10px; font-weight:900; letter-spacing:.13em; }
.preview-pet { position:absolute; z-index:2; left:16%; bottom:17%; width:150px; aspect-ratio:.78; border:2px solid var(--ink); border-radius:46% 46% 25% 25%; background:var(--project-accent); box-shadow:8px 9px 0 var(--acid); }
.preview-antenna { position:absolute; left:50%; top:-29px; width:35px; height:35px; border:3px solid var(--acid); border-left-color:transparent; border-bottom-color:transparent; border-radius:50%; transform:translateX(-50%) rotate(-45deg); }
.preview-face { position:absolute; left:50%; top:33%; width:max-content; padding:7px 10px; border:2px solid var(--ink); border-radius:999px; color:var(--ink); background:#fff4dd; font-size:18px; font-weight:900; transform:translateX(-50%); }
.preview-message { position:absolute; z-index:3; right:12%; top:30%; max-width:210px; padding:14px 16px; border:1.5px solid var(--ink); border-radius:8px 8px 8px 0; color:var(--ink); background:white; font-size:14px; font-weight:800; box-shadow:5px 5px 0 var(--blue); }
.preview-signal { position:absolute; right:13%; bottom:24%; display:flex; align-items:end; gap:7px; height:72px; }
.preview-signal i { display:block; width:11px; border:1px solid var(--ink); background:var(--acid); }
.preview-signal i:nth-child(1) { height:26%; }
.preview-signal i:nth-child(2) { height:65%; background:var(--blue); }
.preview-signal i:nth-child(3) { height:100%; background:var(--orange); }
.preview-signal i:nth-child(4) { height:48%; background:var(--purple); }
.preview-caption { position:absolute; right:11%; bottom:14%; color:#c6cecb; font-size:10px; font-weight:900; letter-spacing:.08em; }
.project-preview-photo { display:flex; align-items:stretch; background:#171a1a; }
.project-preview-photo::before { display:none; }
.project-preview-photo > img { width:auto; height:100%; max-width:58%; object-fit:cover; object-position:center; border-right:1px solid #515957; }
.project-preview-photo .preview-label { left:auto; right:22px; }
.preview-runtime-copy { flex:1; min-width:0; padding:88px 24px 65px; display:flex; flex-direction:column; justify-content:center; }
.preview-runtime-copy b { font-size:clamp(28px,4vw,52px); line-height:.9; letter-spacing:-.06em; }
.preview-runtime-copy span { margin-top:25px; color:#9ba6a2; font-size:11px; line-height:1.7; }
.project-preview-photo .preview-caption { right:22px; bottom:20px; }
.project-card-content { padding:38px; display:flex; flex-direction:column; }
.project-card-meta { display:flex; justify-content:space-between; padding-bottom:18px; border-bottom:1px solid var(--line); color:var(--muted); font-size:11px; font-weight:800; }
.project-type { margin:35px 0 8px !important; color:#e25835 !important; font-size:11px !important; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.project-card-content h2 { margin:0; font-size:clamp(38px,5vw,62px); line-height:.95; letter-spacing:-.06em; }
.project-card-content > p { margin:20px 0; color:var(--muted); line-height:1.7; }
.project-tags { display:flex; flex-wrap:wrap; gap:7px; }
.project-tags span { padding:7px 10px; border:1px solid var(--line); border-radius:999px; font-size:10px; font-weight:800; }
.project-open { margin-top:auto; padding-top:35px; display:flex; justify-content:space-between; border-bottom:1.5px solid var(--ink); font-size:12px; font-weight:900; line-height:2.4; }
.project-open span { font-size:20px; }

/* Idea cabinet */
.ideas-page { background:#fbf3e5; }
.ideas-hero { padding:75px 0 95px; }
.ideas-hero h1 { margin:0; font-size:clamp(78px,13vw,164px); line-height:.77; letter-spacing:-.08em; font-weight:900; }
.ideas-hero h1 span,.idea-title h2 span { position:relative; z-index:0; }
.ideas-hero h1 span::after,.idea-title h2 span::after { content:""; position:absolute; z-index:-1; left:0; right:-12px; bottom:9px; height:23%; background:var(--orange); transform:rotate(-1.5deg); }
.ideas-hero > p:last-child { max-width:520px; margin:45px 0 0; color:var(--muted); font-size:18px; line-height:1.8; }
.idea-sheet { margin-bottom:115px; overflow:hidden; border:1.5px solid var(--ink); border-radius:12px; background:#fffdfa; box-shadow:11px 12px 0 var(--ink); }
.idea-title { min-height:360px; padding:52px; display:grid; grid-template-columns:1fr .7fr; align-items:end; gap:60px; color:#f9f4e9; background:#20211e; }
.idea-title h2 { margin:0; font-size:clamp(60px,9vw,112px); line-height:.78; letter-spacing:-.08em; }
.idea-title > p { max-width:320px; margin:0; color:#c4c1b8; font-size:17px; line-height:1.75; }
.idea-meta { display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--line); }
.idea-meta span { min-height:94px; padding:22px; display:flex; flex-direction:column; justify-content:end; gap:7px; border-right:1px solid var(--line); font-size:13px; font-weight:800; }
.idea-meta span:last-child { border:0; }.idea-meta small { color:var(--muted); font-size:9px; font-weight:900; letter-spacing:.12em; }
.idea-summary { max-width:850px; padding:105px 52px; }.idea-summary h3,.idea-section-heading h3 { margin:0; font-size:clamp(40px,6vw,72px); line-height:.98; letter-spacing:-.065em; }.idea-summary > p:last-child { margin:30px 0 0; color:var(--muted); font-size:18px; line-height:1.95; }
.idea-mechanics { padding:85px 52px; border-block:1.5px solid var(--ink); color:#f9f4e9; background:#1b1d1b; }.idea-section-heading { max-width:760px; margin-bottom:45px; }.idea-section-heading .eyebrow { color:var(--acid); }
.mechanic-grid { display:grid; grid-template-columns:repeat(3,1fr); border-left:1px solid #4d504c; border-top:1px solid #4d504c; }.mechanic-grid section { min-height:260px; padding:25px; border-right:1px solid #4d504c; border-bottom:1px solid #4d504c; }.mechanic-grid b { color:var(--acid); font-size:11px; }.mechanic-grid h4 { margin:75px 0 10px; font-size:28px; }.mechanic-grid p,.idea-note { margin:0; color:#b8b8b1; line-height:1.7; }.idea-note { max-width:720px; margin-top:35px; line-height:1.8; }
.idea-characters { padding:105px 52px; }.idea-characters .idea-section-heading .eyebrow { color:var(--muted); }.character-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.character-card { position:relative; min-height:460px; padding:32px; overflow:hidden; border:1.5px solid var(--ink); border-radius:9px; }.character-card.shizuru { background:#d9f5df; }.character-card.akane { background:#ffe8a8; }.character-symbol { position:absolute; right:22px; top:8px; opacity:.55; font-size:130px; line-height:1; }.character-card > *:not(.character-symbol) { position:relative; z-index:1; }.character-card h4 { margin:65px 0 15px; font-size:44px; letter-spacing:-.06em; }.character-card > p:not(.eyebrow) { max-width:440px; color:#424840; line-height:1.8; }.character-card ul { margin:26px 0 0; padding:0; list-style:none; border-top:1px solid rgba(21,21,21,.25); }.character-card li { padding:11px 0; border-bottom:1px solid rgba(21,21,21,.25); font-size:13px; font-weight:700; }
.idea-flow { padding:95px 52px 70px; background:#f2eeea; }.idea-flow ol { margin:38px 0 0; padding:0; list-style:none; border-top:1.5px solid var(--ink); }.idea-flow li { display:grid; grid-template-columns:70px 1fr; gap:25px; padding:24px 0; border-bottom:1px solid var(--line); }.idea-flow li > b { font-size:11px; }.idea-flow h4 { margin:0 0 7px; font-size:26px; }.idea-flow p { margin:0; color:var(--muted); line-height:1.7; }
.idea-footer { padding:40px 52px; display:flex; align-items:center; justify-content:space-between; gap:30px; background:var(--orange); }.idea-footer p { max-width:650px; margin:0; font-weight:800; line-height:1.7; }.idea-footer a { min-width:185px; padding:15px 18px; display:flex; justify-content:space-between; border:1.5px solid var(--ink); background:#fffdfa; font-size:12px; font-weight:900; }
.ideas-main { padding-block:80px 120px; }.ideas-hero { border-bottom:1px solid var(--ink); }.ideas-hero-bottom { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-top:55px; }.ideas-hero-bottom p { max-width:560px; margin:0; color:var(--muted); font-size:18px; line-height:1.7; }.ideas-hero-bottom > span { padding:13px 17px; border:1.5px solid var(--ink); border-radius:999px; background:white; font-size:12px; font-weight:800; }.ideas-hero-bottom b { margin-right:3px; font-size:20px; }.idea-browser { padding-top:65px; }.idea-grid { display:grid; gap:28px; }
.idea-card { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); overflow:hidden; border:1.5px solid var(--ink); border-radius:8px; background:white; box-shadow:9px 10px 0 var(--ink); }.idea-card-visual { min-height:480px; border-right:1.5px solid var(--ink); }.idea-preview { position:relative; min-height:480px; overflow:hidden; color:#f8f6ed; background:#1d211f; }.idea-preview::after { content:""; position:absolute; inset:0; opacity:.35; background:radial-gradient(circle at 50% 50%,#607b6b 0 2px,transparent 3px); background-size:55px 55px; }.idea-preview .preview-label { z-index:2; }.heart-grid { position:absolute; z-index:1; left:50%; top:50%; width:240px; display:grid; grid-template-columns:repeat(3,1fr); gap:9px; transform:translate(-50%,-50%) rotate(-7deg); }.heart-grid i { aspect-ratio:1; border:1px solid #89988e; background:rgba(255,255,255,.04); }.heart-box { position:absolute; z-index:2; display:grid; place-items:center; width:64px; aspect-ratio:1; border:2px solid var(--ink); color:var(--ink); font-size:36px; box-shadow:5px 6px 0 var(--ink); }.heart-box.emerald { left:27%; top:30%; background:#72d79a; }.heart-box.gold { right:24%; bottom:27%; background:#ffd15d; }.idea-preview > b { position:absolute; z-index:2; left:28px; bottom:62px; color:var(--acid); font-size:clamp(42px,6vw,76px); line-height:.8; letter-spacing:-.07em; }.idea-preview > small { position:absolute; z-index:2; left:30px; bottom:28px; color:#abb7ae; font-size:11px; font-weight:800; letter-spacing:.05em; }.idea-card-content { padding:38px; display:flex; flex-direction:column; }.idea-card-content h2 { margin:0; font-size:clamp(38px,5vw,62px); line-height:.95; letter-spacing:-.06em; }.idea-card-content > p { margin:20px 0; color:var(--muted); line-height:1.7; }
.idea-detail-page { background:#fbf3e5; }.idea-document { padding-block:50px 110px; }.idea-document .case-back { margin-bottom:50px; }.idea-document-content { padding:clamp(28px,6vw,72px); border:1.5px solid var(--ink); border-radius:10px; background:#fffdfa; box-shadow:10px 11px 0 var(--ink); }.idea-document-content h2 { margin:0 0 28px; font-size:clamp(42px,7vw,88px); line-height:.95; letter-spacing:-.065em; }.idea-document-content h3 { margin:55px 0 20px; padding-top:20px; border-top:1.5px solid var(--ink); font-size:clamp(28px,4vw,48px); letter-spacing:-.055em; }.idea-document-content h4 { margin:38px 0 14px; font-size:22px; }.idea-document-content p,.idea-document-content li { color:#484840; line-height:1.9; }.idea-document-content p { margin:14px 0; }.idea-document-content strong { color:var(--ink); }.idea-document-content code { padding:2px 5px; border-radius:4px; background:#eee9e1; color:var(--ink); }.idea-document-content ul,.idea-document-content ol { padding-left:24px; }.idea-document-content hr { margin:48px 0; border:0; border-top:1px solid var(--line); }.idea-table-wrap { width:100%; margin:24px 0; overflow-x:auto; }.idea-document-content table { width:100%; min-width:620px; border-collapse:collapse; font-size:14px; }.idea-document-content th,.idea-document-content td { padding:13px; border:1px solid var(--line); text-align:left; vertical-align:top; line-height:1.65; }.idea-document-content th { background:#e5f1e8; color:var(--ink); }

/* Project case study */
.project-detail-page { background:#f4f1e9; }
.case-hero { padding:45px 0 75px; }
.case-back { display:inline-block; margin-bottom:75px; color:var(--muted); font-size:12px; font-weight:800; }
.case-title { display:grid; grid-template-columns:1.25fr .75fr; align-items:end; gap:60px; }
.case-title .eyebrow { grid-column:1/-1; }
.case-title h1 { margin:0; font-size:clamp(70px,11vw,142px); line-height:.78; letter-spacing:-.075em; font-weight:900; }
.case-title h1 span { position:relative; z-index:0; }
.case-title h1 span::after { content:""; position:absolute; z-index:-1; left:0; right:-10px; bottom:8px; height:20%; background:var(--orange); transform:rotate(-1deg); }
.case-title > p { margin:0 0 5px; color:var(--muted); font-size:18px; line-height:1.75; }
.case-meta { margin-top:60px; display:grid; grid-template-columns:repeat(4,1fr); border-block:1px solid var(--line); }
.case-meta span { padding:20px; border-right:1px solid var(--line); font-size:13px; font-weight:800; }
.case-meta span:last-child { border:0; }
.case-meta small { display:block; margin-bottom:5px; color:var(--muted); font-size:9px; font-weight:900; letter-spacing:.1em; }
.runtime-proof { padding-block:120px; display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.72fr); align-items:center; gap:100px; }
.runtime-copy h2 { margin:0 0 28px; font-size:clamp(48px,7vw,88px); line-height:.88; letter-spacing:-.065em; }
.runtime-copy > p:not(.eyebrow) { max-width:610px; color:var(--muted); font-size:17px; line-height:1.8; }
.runtime-notes { margin:42px 0 0; padding:0; list-style:none; border-top:1px solid var(--line); }
.runtime-notes li { display:grid; grid-template-columns:42px 1fr; gap:12px; padding:18px 0; border-bottom:1px solid var(--line); }
.runtime-notes span { padding-top:3px; font-size:10px; font-weight:900; }
.runtime-notes p { margin:0; color:var(--muted); line-height:1.6; }
.runtime-notes b { display:block; margin-bottom:2px; color:var(--ink); }
.runtime-shot { margin:0; }
.runtime-shot-frame { position:relative; width:min(100%,440px); margin-inline:auto; padding:13px; border:1.5px solid var(--ink); background:#171a1a; box-shadow:11px 12px 0 var(--orange); transform:rotate(1deg); }
.runtime-shot-frame::before { content:"ACTUAL BUILD"; position:absolute; z-index:2; right:-22px; top:24px; padding:7px 10px; border:1.5px solid var(--ink); background:var(--acid); font-size:9px; font-weight:900; letter-spacing:.1em; transform:rotate(3deg); }
.runtime-shot img { display:block; width:100%; height:auto; }
.runtime-shot figcaption { margin-top:25px; color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.08em; text-align:center; }
.concept-stage { min-height:680px; display:flex; align-items:center; color:#f5f1e7; background:#171a1a; }
.concept-inner { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:25px; padding-block:65px; }
.desktop-scene { position:relative; min-height:520px; overflow:hidden; border:1px solid #505856; background:#272d2c; box-shadow:10px 12px 0 var(--acid); }
.desktop-scene::before { content:""; position:absolute; inset:46px 0 0; opacity:.25; background:repeating-linear-gradient(90deg,transparent 0 49px,#75807d 50px),repeating-linear-gradient(0deg,transparent 0 49px,#75807d 50px); }
.concept-note { position:absolute; z-index:4; left:12px; bottom:10px; color:#9ca7a3; font-size:9px; letter-spacing:.08em; }
.desktop-bar { position:absolute; inset:0 0 auto; height:46px; display:flex; align-items:center; gap:7px; padding:0 13px; border-bottom:1px solid #4d5653; background:#111514; }
.desktop-bar span { width:8px; height:8px; border-radius:50%; background:var(--orange); }
.desktop-bar span:nth-child(2) { background:var(--acid); }
.desktop-bar span:nth-child(3) { background:var(--blue); }
.desktop-bar b { margin-left:auto; color:#93a09c; font-size:9px; letter-spacing:.12em; }
.pet-silhouette { position:absolute; left:14%; bottom:0; width:220px; height:370px; }
.pet-head { position:absolute; z-index:2; left:50%; top:48px; width:135px; height:125px; display:grid; place-items:center; border:2px solid #111; border-radius:48% 48% 44% 44%; color:#171717; background:#ffb071; box-shadow:9px 9px 0 var(--acid); font-size:21px; font-weight:900; transform:translateX(-50%); }
.pet-hat { position:absolute; z-index:3; left:50%; top:0; width:110px; height:70px; display:grid; place-items:center; border:2px solid #111; border-radius:50% 50% 15% 15%; color:#171717; background:var(--orange); font-size:30px; transform:translateX(-50%) rotate(-4deg); }
.pet-body { position:absolute; left:50%; bottom:0; width:190px; height:230px; border:2px solid #111; border-radius:46% 46% 16% 16%; background:var(--blue); transform:translateX(-50%); }
.speech-demo { position:absolute; z-index:3; right:8%; top:28%; padding:18px 20px; border:1.5px solid #111; border-radius:8px 8px 8px 0; color:#171717; background:#fffaf0; box-shadow:6px 6px 0 var(--orange); font-size:18px; font-weight:900; }
.speech-demo small { display:block; margin-top:8px; color:#d35331; font-size:9px; letter-spacing:.12em; }
.desktop-dock { position:absolute; right:8%; bottom:16%; display:flex; gap:8px; }
.desktop-dock i { width:34px; height:34px; border:1px solid #111; border-radius:7px; background:var(--acid); }
.desktop-dock i:nth-child(2) { background:var(--blue); }
.desktop-dock i:nth-child(3) { background:var(--orange); }
.desktop-dock i:nth-child(4) { background:var(--purple); }
.signal-stack { display:grid; grid-template-rows:auto repeat(4,1fr); border:1px solid #505856; }
.signal-stack > p { padding:18px; margin:0; border-bottom:1px solid #505856; }
.signal-stack > div { display:grid; grid-template-columns:36px 1fr; align-content:center; padding:15px 18px; border-bottom:1px solid #505856; }
.signal-stack > div:last-child { border:0; }
.signal-stack span { grid-row:1/3; color:var(--acid); font-size:10px; font-weight:900; }
.signal-stack b { font-size:17px; }
.signal-stack small { margin-top:4px; color:#8e9b97; font-size:10px; }
.case-overview { padding-block:130px; display:grid; grid-template-columns:1.1fr .9fr; gap:100px; }
.case-copy h2,.case-section-heading h2 { margin:0 0 30px; font-size:clamp(43px,6vw,78px); line-height:.95; letter-spacing:-.06em; }
.case-copy > p:not(.eyebrow) { color:var(--muted); font-size:17px; line-height:1.85; }
.case-numbers { display:grid; grid-template-columns:1fr 1fr; border-left:1px solid var(--line); border-top:1px solid var(--line); }
.case-numbers div { min-height:170px; padding:25px; display:flex; flex-direction:column; justify-content:space-between; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.case-numbers strong { font-size:clamp(38px,5vw,64px); letter-spacing:-.06em; }
.case-numbers span { color:var(--muted); font-size:11px; font-weight:800; }
.feature-band { padding-block:120px; color:#f5f1e7; background:#171a1a; }
.case-section-heading { max-width:850px; margin-bottom:55px; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); border-left:1px solid #4b5351; border-top:1px solid #4b5351; }
.feature-item { min-height:260px; padding:27px; border-right:1px solid #4b5351; border-bottom:1px solid #4b5351; }
.feature-item > span { color:var(--acid); font-size:10px; font-weight:900; }
.feature-item h3 { margin:75px 0 10px; font-size:24px; }
.feature-item p { margin:0; color:#9ca8a4; line-height:1.7; }
.architecture { padding-block:130px; }
.architecture-flow { margin:0; padding:0; list-style:none; border-top:1.5px solid var(--ink); }
.architecture-flow li { display:grid; grid-template-columns:70px 1fr auto; align-items:center; gap:25px; min-height:145px; border-bottom:1px solid var(--line); }
.architecture-flow > li > span { font-size:12px; font-weight:900; }
.architecture-flow h3 { margin:0 0 6px; font-size:25px; }
.architecture-flow p { margin:0; color:var(--muted); line-height:1.6; }
.architecture-flow b { padding:8px 12px; border:1px solid var(--ink); border-radius:999px; font-size:9px; letter-spacing:.1em; }
.stack-band { padding-block:105px; background:var(--blue); border-block:1.5px solid var(--ink); }
.stack-layout { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:end; }
.stack-layout .case-section-heading { margin:0; }
.stack-list { display:flex; flex-wrap:wrap; gap:9px; }
.stack-list span { padding:12px 16px; border:1.5px solid var(--ink); border-radius:999px; background:#f7f4ec; font-size:12px; font-weight:900; box-shadow:3px 3px 0 var(--ink); }
.lessons { padding-block:130px; }
.lessons-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.lessons-grid p { min-height:230px; margin:0; padding:28px; display:flex; flex-direction:column; justify-content:space-between; border:1.5px solid var(--ink); border-radius:8px; background:white; }
.lessons-grid p:nth-child(2) { background:#fff0d4; }
.lessons-grid p:nth-child(3) { background:#e2e8ff; }
.lessons-grid b { font-size:22px; }
.lessons-grid span { color:var(--muted); line-height:1.7; }
.case-end { margin-bottom:110px; padding:55px; display:grid; grid-template-columns:1fr auto; align-items:end; border:1.5px solid var(--ink); border-radius:8px; background:var(--acid); box-shadow:10px 11px 0 var(--ink); }
.case-end .eyebrow { grid-column:1/-1; }
.case-end h2 { margin:0; font-size:clamp(48px,7vw,88px); line-height:.9; letter-spacing:-.06em; }

@media(max-width:900px) {
  .project-card { grid-template-columns:1fr; }
  .project-card-visual { border-right:0; border-bottom:1.5px solid var(--ink); }
  .case-title,.case-overview,.stack-layout,.runtime-proof { grid-template-columns:1fr; gap:60px; }
  .concept-inner { grid-template-columns:1fr; }
  .signal-stack { grid-template-columns:repeat(4,1fr); grid-template-rows:auto 1fr; }
  .signal-stack > p { grid-column:1/-1; }
  .signal-stack > div { grid-template-columns:1fr; border-right:1px solid #505856; }
  .signal-stack span { grid-row:auto; }
  .feature-grid { grid-template-columns:1fr 1fr; }
  .lessons-grid { grid-template-columns:1fr; }
  .idea-title { grid-template-columns:1fr; gap:35px; }
  .character-grid { grid-template-columns:1fr; }
}
@media(max-width:600px) {
  .site-header .brand > span:not(.brand-mark) { display:none; }
  .main-nav { gap:2px; }
  .main-nav a { padding:8px 9px; font-size:11px; }
  .projects-main { padding-top:35px; }
  .projects-intro { padding:30px 0 65px; }
  .projects-intro h1 { font-size:75px; }
  .projects-intro-bottom { align-items:start; flex-direction:column; margin-top:35px; }
  .project-card-visual,.project-preview { min-height:360px; }
  .project-preview::before { inset:43px 18px 35px; }
  .preview-pet { left:9%; width:125px; }
  .preview-message { right:7%; top:26%; max-width:170px; }
  .preview-signal { right:9%; bottom:24%; }
  .preview-caption { right:6%; }
  .project-preview-photo > img { max-width:56%; }
  .preview-runtime-copy { padding:75px 15px 55px; }
  .preview-runtime-copy b { font-size:27px; }
  .project-preview-photo .preview-label { right:12px; }
  .project-preview-photo .preview-caption { right:12px; }
  .project-card-content { padding:25px; }
  .case-hero { padding-top:30px; }
  .case-back { margin-bottom:55px; }
  .case-title h1 { font-size:68px; }
  .case-title > p { font-size:16px; }
  .case-meta { grid-template-columns:1fr 1fr; }
  .case-meta span:nth-child(2) { border-right:0; }
  .case-meta span:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .concept-stage { min-height:0; }
  .runtime-proof { padding-block:90px; }
  .runtime-shot-frame { width:min(86vw,400px); }
  .concept-inner { width:100%; padding-block:0; gap:0; }
  .desktop-scene { min-height:500px; border-inline:0; }
  .pet-silhouette { left:2%; transform:scale(.78); transform-origin:bottom left; }
  .speech-demo { right:5%; top:25%; font-size:14px; }
  .signal-stack { grid-template-columns:1fr 1fr; border-inline:0; }
  .signal-stack > div { min-height:105px; }
  .case-overview,.feature-band,.architecture,.lessons { padding-block:90px; }
  .case-numbers div { min-height:140px; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-item { min-height:220px; }
  .architecture-flow li { grid-template-columns:42px 1fr; padding:22px 0; }
  .architecture-flow b { grid-column:2; justify-self:start; }
  .stack-band { padding-block:80px; }
  .case-end { margin-bottom:75px; padding:30px; grid-template-columns:1fr; gap:30px; }
  .ideas-hero { padding:45px 0 65px; }
  .ideas-hero h1 { font-size:78px; }
  .idea-sheet { margin-bottom:75px; box-shadow:6px 7px 0 var(--ink); }
  .idea-title,.idea-summary,.idea-mechanics,.idea-characters,.idea-flow,.idea-footer { padding-left:26px; padding-right:26px; }
  .idea-title { min-height:310px; padding-top:35px; padding-bottom:35px; }
  .idea-title h2 { font-size:66px; }
  .idea-meta { grid-template-columns:1fr 1fr; }
  .idea-meta span:nth-child(2) { border-right:0; }
  .idea-meta span:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .idea-summary,.idea-characters { padding-top:70px; padding-bottom:70px; }
  .idea-mechanics,.idea-flow { padding-top:65px; padding-bottom:65px; }
  .mechanic-grid { grid-template-columns:1fr; }
  .mechanic-grid section { min-height:180px; }
  .mechanic-grid h4 { margin-top:35px; }
  .character-card { min-height:0; }
  .idea-footer { align-items:stretch; flex-direction:column; }
  .idea-footer a { min-width:0; }
  .ideas-main { padding-top:35px; }
  .ideas-hero-bottom { align-items:start; flex-direction:column; margin-top:35px; }
  .idea-card { grid-template-columns:1fr; }
  .idea-card-visual { min-height:330px; border-right:0; border-bottom:1.5px solid var(--ink); }
  .idea-preview { min-height:330px; }
  .idea-card-content { padding:25px; }
  .idea-document { padding-top:30px; }
  .idea-document-content { padding:28px 22px; box-shadow:6px 7px 0 var(--ink); }
  .idea-document-content h3 { margin-top:42px; }
}
