:root {
  --navy: #08111f;
  --navy-soft: #0d1929;
  --navy-card: #111e30;
  --amber: #f5b83b;
  --amber-light: #ffd36b;
  --cream: #f4ecd9;
  --cream-dim: #c9c1af;
  --line: rgba(244, 236, 217, .14);
  --shadow: #020711;
  --green: #77c697;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; color: var(--navy); background: var(--amber); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { background: rgba(8,17,31,.9); border-color: var(--line); backdrop-filter: blur(14px); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 900; letter-spacing: -.8px; }
.brand > span:last-child > span { color: var(--amber); }
.brand-mark { width: 38px; height: 38px; display: block; object-fit: contain; filter: drop-shadow(3px 3px 0 rgba(245,184,59,.15)); }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 750; }
.site-nav a:not(.nav-cta) { color: var(--cream-dim); transition: color .2s; }
.site-nav a:hover { color: var(--amber); }
.nav-cta { border: 1px solid var(--amber); padding: 10px 16px; color: var(--amber); box-shadow: 3px 3px 0 rgba(245,184,59,.15); }
.menu-toggle { display: none; width: 44px; height: 42px; border: 1px solid var(--line); color: var(--cream); background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 19px; height: 2px; background: currentColor; transition: transform .2s; }

.hero { position: relative; min-height: 760px; padding-top: 82px; background: radial-gradient(circle at 78% 40%, rgba(245,184,59,.09), transparent 31%), var(--navy); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(244,236,217,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(244,236,217,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.hero-noise { position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: radial-gradient(circle at 20% 30%, var(--cream) 0 1px, transparent 1.5px), radial-gradient(circle at 78% 64%, var(--amber) 0 1px, transparent 1.5px); background-size: 37px 37px, 51px 51px; }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; position: relative; z-index: 1; }
.eyebrow, .section-index { font-size: 11px; font-weight: 850; letter-spacing: 2.2px; text-transform: uppercase; color: var(--cream-dim); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.eyebrow span { width: 28px; height: 2px; background: var(--amber); }
.hero h1 { margin: 0; font-size: clamp(64px, 9vw, 124px); line-height: .82; letter-spacing: -7px; font-weight: 950; }
.hero h1 span { color: var(--amber); }
.hero h1 i { font-style: normal; color: var(--amber); }
.hero-slogan { margin: 31px 0 14px; font-size: clamp(24px, 3vw, 40px); font-weight: 800; letter-spacing: -1.5px; }
.hero-text { max-width: 620px; margin: 0; color: var(--cream-dim); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 35px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; border: 1px solid var(--line); font-size: 13px; font-weight: 800; transition: transform .2s, box-shadow .2s, border-color .2s; }
.button:hover { transform: translate(-2px,-2px); }
.button-primary { color: var(--navy); background: var(--amber); border-color: var(--amber); box-shadow: 5px 5px 0 #6f4d12; }
.button-primary:hover { box-shadow: 7px 7px 0 #6f4d12; }
.button-ghost:hover { border-color: var(--amber); color: var(--amber); }
.hero-status { display: flex; align-items: center; gap: 9px; margin-top: 34px; color: #8f9aab; font-family: Consolas, monospace; font-size: 11px; letter-spacing: .5px; }
.status-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(119,198,151,.1); animation: pulse 2s infinite; }

.hero-visual { position: relative; height: 530px; display: grid; place-items: center; }
.hero-logo-stage { position: relative; z-index: 4; width: min(86%, 430px); padding: 18px; transition: transform .25s ease-out; filter: drop-shadow(0 28px 30px rgba(0,0,0,.38)); }
.hero-logo-frame { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg, rgba(18,32,50,.94), rgba(8,17,31,.98)); border: 1px solid #3b4759; box-shadow: inset 0 0 0 8px rgba(244,236,217,.025), 11px 12px 0 #020711; }
.hero-logo-frame::before { content: "TZ / PATHFINDER"; position: absolute; z-index: 2; top: 12px; left: 16px; color: #657287; font: 8px Consolas, monospace; letter-spacing: 1.5px; }
.hero-logo-frame::after { content: "01"; position: absolute; z-index: 2; top: 11px; right: 16px; color: var(--amber); font: 10px Consolas, monospace; }
.hero-logo-frame img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.05); }
.logo-corner { position: absolute; width: 17px; height: 17px; border-color: var(--amber); border-style: solid; }
.corner-one { top: -5px; left: -5px; border-width: 2px 0 0 2px; }
.corner-two { top: -5px; right: -5px; border-width: 2px 2px 0 0; }
.corner-three { bottom: -5px; left: -5px; border-width: 0 0 2px 2px; }
.corner-four { right: -5px; bottom: -5px; border-width: 0 2px 2px 0; }
.hero-logo-caption { margin: 13px 3px 0; padding: 9px 12px; display: grid; grid-template-columns: 42px 1fr 18px; align-items: center; color: #78859a; background: #0d1a2b; border: 1px solid #2e3d53; font: 8px Consolas, monospace; letter-spacing: .6px; box-shadow: 5px 5px 0 rgba(0,0,0,.25); }
.hero-logo-caption b { color: var(--cream); font-weight: 600; }
.hero-logo-caption i { color: var(--green); font-style: normal; font-size: 12px; }
.logo-orbit { position: absolute; border: 1px solid rgba(245,184,59,.2); border-radius: 50%; }
.logo-orbit::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; background: var(--amber); transform: rotate(45deg); }
.logo-orbit-one { width: 465px; height: 465px; animation: spin 22s linear infinite; }
.logo-orbit-two { width: 520px; height: 350px; transform: rotate(-25deg); animation: spinAlt 28s linear infinite reverse; }
.logo-spark { position: absolute; z-index: 2; color: var(--amber); font-size: 30px; font-weight: 200; }
.logo-spark-one { top: 35px; right: 30px; animation: float 3s ease-in-out infinite; }
.logo-spark-two { bottom: 62px; left: 18px; animation: float 3s .8s ease-in-out infinite; }
.robot-wrap { position: relative; z-index: 4; width: 270px; filter: drop-shadow(0 28px 28px rgba(0,0,0,.35)); transition: transform .25s ease-out; }
.antenna { position: relative; width: 8px; height: 55px; background: #1d2c42; margin: 0 auto -5px; border: 2px solid #40516a; }
.antenna span { position: absolute; width: 20px; height: 20px; border-radius: 50%; left: -8px; top: -12px; background: var(--amber); border: 4px solid #1b2a3e; box-shadow: 0 0 0 2px var(--amber); animation: antenna 1.5s infinite alternate; }
.robot-head { position: relative; height: 180px; padding: 26px 23px; background: #d9d1bd; border: 5px solid #1c2a3c; border-radius: 56px 56px 36px 36px; box-shadow: inset -12px -12px 0 #aaa491, inset 12px 8px 0 #f4ecd9, 9px 10px 0 #020812; }
.robot-screen { position: relative; height: 115px; display: flex; align-items: center; justify-content: center; gap: 42px; background: #0a1523; border: 6px solid #485367; border-radius: 32px; box-shadow: inset 0 0 24px rgba(245,184,59,.08); }
.eye { width: 24px; height: 31px; background: var(--amber); border-radius: 45%; box-shadow: 0 0 15px rgba(245,184,59,.5); animation: blink 4.8s infinite; }
.robot-mouth { position: absolute; width: 48px; height: 11px; bottom: 17px; border-bottom: 4px solid var(--amber); border-radius: 50%; }
.robot-ear { position: absolute; width: 25px; height: 58px; top: 66px; background: var(--amber); border: 5px solid #1c2a3c; }
.robot-ear.left { left: -22px; border-radius: 14px 0 0 14px; }
.robot-ear.right { right: -22px; border-radius: 0 14px 14px 0; }
.robot-body { position: relative; width: 210px; height: 175px; margin: -4px auto 0; background: #c3bca9; border: 5px solid #1c2a3c; border-radius: 18px 18px 50px 50px; box-shadow: inset -12px -10px 0 #969080, 8px 9px 0 #020812; }
.body-light { position: absolute; top: 22px; right: 24px; width: 11px; height: 11px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px #354257; }
.body-label { position: absolute; top: 38px; left: 30px; font-size: 33px; font-weight: 950; letter-spacing: -3px; color: #182638; }
.body-label span { color: #8f6b20; }
.body-slot { position: absolute; left: 30px; bottom: 35px; width: 145px; height: 42px; padding: 11px 16px; display: flex; gap: 7px; background: #1b293b; border-radius: 8px; box-shadow: inset 3px 3px 0 #0a111d; }
.body-slot span { width: 11px; height: 18px; background: var(--amber); opacity: .8; }
.body-slot span:nth-child(2) { height: 12px; margin-top: 6px; opacity: .45; }
.body-slot span:nth-child(3) { height: 6px; margin-top: 12px; opacity: .25; }
.robot-shadow { position: absolute; width: 240px; height: 35px; bottom: -25px; left: 15px; background: rgba(0,0,0,.4); border-radius: 50%; filter: blur(7px); }
.orbit { position: absolute; border: 1px solid rgba(245,184,59,.22); border-radius: 50%; }
.orbit::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; background: var(--amber); transform: rotate(45deg); }
.orbit-one { width: 435px; height: 435px; animation: spin 18s linear infinite; }
.orbit-two { width: 510px; height: 350px; transform: rotate(-25deg); animation: spinAlt 26s linear infinite reverse; }
.spark { position: absolute; z-index: 2; color: var(--amber); font-size: 30px; font-weight: 200; }
.spark-one { top: 60px; right: 34px; animation: float 3s ease-in-out infinite; }
.spark-two { bottom: 85px; left: 30px; animation: float 3s .8s ease-in-out infinite; }
.floating-card { position: absolute; z-index: 5; padding: 12px 15px; color: var(--cream-dim); background: #101d2d; border: 1px solid #344259; box-shadow: 5px 5px 0 rgba(0,0,0,.28); font: 10px/1.5 Consolas, monospace; letter-spacing: 1px; }
.floating-card span { color: var(--amber); margin-right: 5px; }
.floating-card b { color: var(--cream); }
.card-top { top: 105px; left: 0; transform: rotate(-3deg); }
.card-bottom { bottom: 80px; right: 0; transform: rotate(3deg); }

.marquee { position: absolute; z-index: 3; bottom: 0; width: 100%; padding: 14px 0; color: var(--navy); background: var(--amber); border-block: 2px solid #7e5c18; overflow: hidden; transform: rotate(-1deg) scale(1.02); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 30px; animation: marquee 22s linear infinite; font-size: 12px; font-weight: 950; letter-spacing: 2px; }
.marquee-track i { font-style: normal; }

.section { padding: 125px 0; }
.two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.section-index { margin-bottom: 28px; }
.section-index.amber { color: var(--amber); }
.section-heading h2, .projects-head h2, .coming h2 { margin: 0; font-size: clamp(42px, 5.5vw, 74px); line-height: 1.04; letter-spacing: -3.5px; }
.section-heading h2 span, .coming h2 span { color: var(--amber); }
.about { background: #0c1726; }
.about-copy { max-width: 600px; }
.about-copy > p { margin: 0 0 24px; color: var(--cream-dim); font-size: 19px; line-height: 1.75; }
.about-copy strong { color: var(--cream); }
.about-copy mark { padding: 2px 4px; color: var(--navy); background: var(--amber); }
.mini-terminal { margin-top: 42px; border: 1px solid #344257; background: #07101c; box-shadow: 8px 8px 0 rgba(0,0,0,.2); }
.terminal-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; background: #142237; border-bottom: 1px solid #344257; }
.terminal-bar span { width: 7px; height: 7px; border-radius: 50%; background: #516078; }
.terminal-bar span:first-child { background: #c76959; }
.terminal-bar span:nth-child(2) { background: var(--amber); }
.terminal-bar span:nth-child(3) { background: var(--green); }
.terminal-bar b { margin-left: 5px; color: #78859a; font: 9px Consolas, monospace; }
.terminal-body { padding: 21px 24px; color: #9ba7b8; font: 12px/2 Consolas, monospace; }
.terminal-body span { color: var(--amber); }
.terminal-body b { color: var(--green); font-weight: 500; }

.retro { background: #07101c; }
.retro-panel { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; padding: 70px; border: 1px solid #29364a; background: linear-gradient(135deg, #111e30, #0a1422); box-shadow: 12px 12px 0 #030812; overflow: hidden; }
.retro-panel::before { content: "FEATURED"; position: absolute; top: 21px; right: -45px; width: 170px; padding: 6px 0; transform: rotate(45deg); color: var(--navy); background: var(--amber); text-align: center; font-size: 9px; font-weight: 900; letter-spacing: 2px; }
.project-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #8c98aa; font: 10px Consolas, monospace; letter-spacing: 1px; }
.project-kicker span { padding: 4px 6px; color: var(--navy); background: var(--amber); font-weight: 900; }
.retro-copy h2 { margin: 0 0 24px; font-size: clamp(54px, 6vw, 86px); line-height: .85; letter-spacing: -4px; }
.retro-copy h2 em { color: var(--amber); font-style: normal; }
.retro-copy > p { max-width: 450px; margin: 0; color: var(--cream-dim); line-height: 1.75; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.feature-list span { padding: 7px 9px; color: #aeb8c8; border: 1px solid #344258; font: 10px Consolas, monospace; }
.feature-list span::before { content: "✓"; margin-right: 6px; color: var(--amber); }
.retro-console { align-self: center; padding: 18px; background: #cfc6b0; border: 5px solid #243147; border-radius: 19px 19px 34px 34px; box-shadow: inset -9px -9px 0 #9d9687, 9px 10px 0 #020711; transform: rotate(1deg); }
.console-top { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 11px; color: #293548; }
.console-brand { font-size: 14px; font-weight: 950; letter-spacing: -1px; }
.console-brand span { color: #a77718; }
.power { font: 8px Consolas, monospace; }
.power i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 4px var(--green); }
.game-screen { position: relative; padding: 18px; color: var(--cream); background: #09131e; border: 8px solid #3a4556; border-radius: 13px; overflow: hidden; }
.scanlines { position: absolute; inset: 0; pointer-events: none; opacity: .12; background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, #fff 4px); }
.screen-head, .screen-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; font: 8px Consolas, monospace; color: #8d99a9; }
.screen-head b { color: var(--amber); }
.game-list { position: relative; z-index: 1; list-style: none; padding: 0; margin: 14px 0; border-top: 1px solid #2e3a4c; }
.game-list li { min-height: 64px; display: grid; grid-template-columns: 32px 1fr 25px; align-items: center; gap: 8px; border-bottom: 1px solid #2e3a4c; }
.game-list li:first-child { margin-inline: -7px; padding-inline: 7px; background: rgba(245,184,59,.1); border-left: 2px solid var(--amber); }
.game-number { color: #657287; font: 9px Consolas, monospace; }
.game-list b { display: block; font-size: 12px; }
.game-list small { color: #6f7d91; font: 7px Consolas, monospace; }
.game-list i { color: var(--amber); font-style: normal; font-size: 10px; }
.screen-footer b { color: var(--cream); }
.console-controls { min-height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 0; color: #374357; }
.dpad { position: relative; width: 52px; height: 20px; background: #354154; border-radius: 4px; box-shadow: 2px 3px 0 #1b2637; }
.dpad::before { content: ""; position: absolute; width: 20px; height: 52px; left: 16px; top: -16px; background: #354154; border-radius: 4px; }
.dpad span { position: absolute; z-index: 2; width: 14px; height: 14px; left: 19px; top: 3px; border-radius: 50%; background: #263245; }
.control-label { font: 7px/1.5 Consolas, monospace; text-align: center; }
.control-label b { font-size: 9px; }
.ab-buttons { display: flex; gap: 10px; transform: rotate(-15deg); }
.ab-buttons span { width: 34px; height: 34px; display: grid; place-items: center; color: #6e4b10; background: var(--amber); border: 3px solid #9a7223; border-radius: 50%; box-shadow: 2px 3px 0 #5c6574; font: 9px Consolas, monospace; }

.doing { background: #f0e7d4; color: var(--navy); }
.section-heading.compact { max-width: 700px; }
.section-heading.compact h2 { letter-spacing: -4px; }
.section-heading.compact p { color: #5d6570; }
.doing-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; border: 1px solid rgba(8,17,31,.15); }
.doing-card { position: relative; min-height: 360px; padding: 30px 26px; border-right: 1px solid rgba(8,17,31,.15); transition: transform .25s, background .25s; }
.doing-card:last-child { border-right: 0; }
.doing-card:hover { z-index: 2; transform: translateY(-8px); background: #fff7e7; box-shadow: 0 13px 0 rgba(8,17,31,.1); }
.doing-card.featured { color: var(--cream); background: var(--amber); }
.doing-card.featured h3, .doing-card.featured p, .doing-card.featured .card-no { color: var(--navy); }
.card-no { position: absolute; top: 24px; right: 23px; color: #8a8f95; font: 10px Consolas, monospace; }
.card-icon { width: 58px; height: 58px; margin: 10px 0 56px; display: grid; place-items: center; color: var(--amber); border: 2px solid var(--navy); box-shadow: 4px 4px 0 rgba(8,17,31,.13); font-size: 40px; font-weight: 300; }
.sliders { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.sliders i { position: relative; width: 31px; height: 2px; background: var(--navy); }
.sliders i::before { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; background: var(--amber); border: 2px solid var(--navy); }
.sliders i:nth-child(1)::before, .sliders i:nth-child(3)::before { left: 6px; }
.sliders i:nth-child(2)::before { right: 4px; }
.focus i { width: 26px; height: 26px; border: 2px solid var(--navy); border-radius: 50%; }
.focus i::after { content: ""; display: block; width: 6px; height: 6px; margin: 8px; background: var(--amber); }
.couch { border-color: var(--navy); }
.couch::before { content: ""; width: 36px; height: 24px; background: var(--navy); border-radius: 8px 8px 3px 3px; box-shadow: -4px 13px 0 -1px var(--navy), 4px 13px 0 -1px var(--navy); }
.doing-card h3 { min-height: 76px; margin: 0; font-size: 22px; line-height: 1.15; letter-spacing: -.8px; }
.doing-card p { margin: 18px 0 0; color: #606873; font-size: 13px; line-height: 1.7; }

.projects { background: #0b1625; }
.projects-head { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 55px; }
.projects-head p { max-width: 390px; margin: 0; color: #939eb0; line-height: 1.7; }
.project-list { border-top: 1px solid var(--line); }
.project-row { min-height: 126px; display: grid; grid-template-columns: 70px 1fr 105px 45px; align-items: center; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.project-row.active:hover { padding-inline: 15px; background: rgba(245,184,59,.06); }
.project-num { color: #637085; font: 11px Consolas, monospace; }
.project-name { display: flex; align-items: center; gap: 25px; }
.pixel-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--navy); background: var(--amber); box-shadow: 4px 4px 0 #4f3a13; font-size: 23px; }
.pixel-icon.sheet, .pixel-icon.flow { color: #8a96a8; background: #172438; box-shadow: 4px 4px 0 #050b13; }
.project-name h3 { margin: 0 0 5px; font-size: 23px; letter-spacing: -.7px; }
.project-name p { margin: 0; color: #7f8b9e; font-size: 12px; }
.project-state { justify-self: start; padding: 5px 7px; color: var(--navy); background: var(--amber); font: 8px Consolas, monospace; font-weight: 900; }
.project-state.soon { color: #8490a3; background: #172438; }
.project-arrow { justify-self: end; color: var(--amber); font-size: 24px; }
.project-arrow.muted { color: #435066; }

.manifesto { padding: 95px 0; color: var(--navy); background: var(--amber); overflow: hidden; }
.manifesto-inner { position: relative; display: grid; grid-template-columns: 1fr 100px 1fr; align-items: center; gap: 45px; }
.manifesto p { position: relative; z-index: 1; margin: 0; font-size: clamp(26px, 3.2vw, 45px); line-height: 1.25; font-weight: 500; letter-spacing: -2px; }
.manifesto p strong { font-weight: 950; }
.manifesto-rule { justify-self: center; width: 1px; height: 120px; background: rgba(8,17,31,.3); }
.manifesto h2 { margin: 0; font-size: clamp(27px, 3.3vw, 48px); line-height: 1.12; letter-spacing: -2px; }
.manifesto h2 span { display: inline; color: var(--cream); background: var(--navy); padding: 0 5px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.quote-mark { position: absolute; left: -25px; top: -90px; color: rgba(8,17,31,.08); font: 260px Georgia, serif; }
.stamp { position: absolute; right: -90px; bottom: -55px; width: 115px; height: 115px; display: grid; place-content: center; text-align: center; border: 3px solid rgba(8,17,31,.3); border-radius: 50%; transform: rotate(-14deg); font: 8px Consolas, monospace; letter-spacing: 1px; }
.stamp b { display: block; font-size: 32px; line-height: 1; }

.coming { background: #07101c; }
.coming-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; padding: 80px; border: 1px solid #2a374a; background: radial-gradient(circle at 90% 0, rgba(245,184,59,.09), transparent 34%), #0e1a2b; box-shadow: 10px 10px 0 #020711; }
.coming-copy p { margin: 0 0 30px; color: var(--cream-dim); font-size: 18px; line-height: 1.75; }
.contact-note { margin-bottom: 35px; padding-left: 14px; border-left: 2px solid var(--amber); }
.contact-note span { display: block; margin-bottom: 4px; color: #8793a6; font-size: 12px; }
.contact-note a { display: inline-flex; align-items: center; gap: 9px; color: var(--cream); font-size: 15px; font-weight: 750; transition: color .2s; }
.contact-note a:hover, .contact-note a:focus-visible { color: var(--amber); }
.contact-note i { color: var(--amber); font-style: normal; font-size: 13px; }
.loading-line { height: 10px; padding: 2px; border: 1px solid #465269; }
.loading-line span { display: block; width: 64%; height: 100%; background: repeating-linear-gradient(135deg, var(--amber) 0 7px, #d99a25 7px 14px); }
.loading-label { display: flex; justify-content: space-between; margin-top: 9px; color: #748196; font: 9px Consolas, monospace; letter-spacing: 1px; }
.loading-label b { color: var(--amber); }

.site-footer { padding: 32px 0; color: #78859a; background: #050b14; border-top: 1px solid #172335; font-size: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { color: var(--cream); }
.footer-brand .brand-mark { width: 31px; height: 31px; margin-right: -2px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-late { transition-delay: .15s; }

@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 0 9px rgba(119,198,151,0); } }
@keyframes blink { 0%, 45%, 49%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.08); } }
@keyframes antenna { to { box-shadow: 0 0 0 2px var(--amber), 0 0 14px var(--amber); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinAlt { to { transform: rotate(335deg); } }
@keyframes float { 50% { transform: translateY(-12px) rotate(10deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 10px; }
  .hero h1 { letter-spacing: -5px; }
  .robot-wrap { transform: scale(.84); }
  .hero-logo-stage { width: min(84%, 390px); }
  .logo-orbit-one { width: 380px; height: 380px; }
  .logo-orbit-two { width: 430px; height: 300px; }
  .floating-card { display: none; }
  .orbit-one { width: 360px; height: 360px; }
  .orbit-two { width: 400px; height: 290px; }
  .two-col { gap: 55px; }
  .retro-panel { padding: 50px 40px; gap: 40px; }
  .doing-grid { grid-template-columns: repeat(2,1fr); }
  .doing-card { border-bottom: 1px solid rgba(8,17,31,.15); }
  .doing-card:nth-child(2) { border-right: 0; }
  .doing-card:nth-child(3), .doing-card:nth-child(4) { border-bottom: 0; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { height: 70px; }
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 70px 0 auto; padding: 25px 16px 30px; display: grid; gap: 0; background: rgba(8,17,31,.98); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; transition: transform .25s, opacity .25s; }
  .site-nav.open { transform: translateY(0); opacity: 1; }
  .site-nav a { padding: 15px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; border: 1px solid var(--amber); }
  .hero { padding-top: 70px; }
  .hero-grid { min-height: auto; padding: 100px 0 105px; grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 5; }
  .hero h1 { font-size: clamp(58px, 19vw, 88px); letter-spacing: -5px; }
  .hero-slogan { margin-top: 25px; }
  .hero-text { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { justify-content: space-between; }
  .hero-visual { height: 410px; margin-top: 15px; }
  .robot-wrap { transform: scale(.75); }
  .hero-logo-stage { width: min(92%, 360px); padding: 12px; }
  .hero-logo-frame { padding: 18px; }
  .logo-orbit-one { width: 325px; height: 325px; }
  .logo-orbit-two { width: 350px; height: 250px; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 340px; height: 250px; }
  .marquee { bottom: 0; }
  .section { padding: 88px 0; }
  .two-col, .retro-panel, .coming-panel { grid-template-columns: 1fr; }
  .two-col { gap: 45px; }
  .section-heading h2, .projects-head h2, .coming h2 { letter-spacing: -2.5px; }
  .about-copy > p { font-size: 17px; }
  .retro-panel { padding: 45px 20px 35px; }
  .retro-copy h2 { font-size: 58px; }
  .retro-console { margin-top: 20px; transform: none; padding: 10px; }
  .game-screen { padding: 12px; border-width: 6px; }
  .game-list b { font-size: 10px; }
  .console-controls { min-height: 78px; padding-inline: 10px; }
  .doing-grid { grid-template-columns: 1fr; }
  .doing-card { min-height: 320px; border-right: 0; border-bottom: 1px solid rgba(8,17,31,.15) !important; }
  .doing-card:last-child { border-bottom: 0 !important; }
  .card-icon { margin-bottom: 42px; }
  .projects-head { display: block; }
  .projects-head p { margin-top: 22px; }
  .project-row { min-height: 130px; grid-template-columns: 40px 1fr 32px; }
  .project-name { gap: 13px; }
  .pixel-icon { width: 42px; height: 42px; }
  .project-name h3 { font-size: 17px; }
  .project-name p { display: none; }
  .project-state { display: none; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 30px; }
  .manifesto-rule { width: 100%; height: 1px; }
  .coming-panel { padding: 48px 24px; gap: 45px; }
  .coming-copy p { font-size: 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 17px; }
  .footer-inner p { margin: 0; }
}

@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; }
}
