@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#0b0d12;--surface:#11151e;--surface2:#151a25;--text:#f4f6fb;--muted:#9ba4b6;--line:rgba(255,255,255,.1);--blue:#6c8dff;--cyan:#68e3ef;--header:rgba(11,13,18,.78);--shadow:0 25px 80px rgba(0,0,0,.24)}
:root[data-theme="light"]{color-scheme:light;--bg:#f5f7fb;--surface:#fff;--surface2:#edf1f8;--text:#151a26;--muted:#667086;--line:rgba(22,32,55,.12);--blue:#4b68e8;--cyan:#0da9c3;--header:rgba(245,247,251,.82);--shadow:0 25px 80px rgba(30,50,90,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--text);font-family:Manrope,'Noto Sans JP',sans-serif;transition:background .25s,color .25s;overflow-x:hidden}a{color:inherit;text-decoration:none}button{font:inherit}.ambient{position:absolute;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(90px);opacity:.13}.ambient-one{width:340px;height:340px;right:-80px;top:130px;background:#4269ff}.ambient-two{width:260px;height:260px;left:-150px;top:720px;background:#22c8e3}.site-header{height:86px;padding:0 max(5.5vw,24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;background:var(--header);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:10px}.brand img{border-radius:50%}.brand span{display:grid;line-height:1.05;gap:4px}.brand strong{font-size:16px;letter-spacing:-.04em}.brand small{font:9px 'DM Mono',monospace;letter-spacing:.22em;color:var(--muted)}.main-nav{display:flex;gap:36px;margin-left:auto;margin-right:34px}.main-nav a,.text-link{font-size:12px;color:var(--muted);transition:color .2s}.main-nav a:hover,.text-link:hover{color:var(--text)}.theme-toggle{border:1px solid var(--line);border-radius:99px;background:var(--surface);color:var(--text);padding:10px 13px;display:flex;align-items:center;gap:8px;cursor:pointer;font:10px 'DM Mono',monospace;letter-spacing:.08em}.theme-icon{font-size:15px}.section-wrap{width:min(1100px,88%);margin-inline:auto}.hero{min-height:620px;padding-top:110px;position:relative;display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:20px}.hero-copy{padding-bottom:35px}.eyebrow{font:10px 'DM Mono',monospace;letter-spacing:.19em;color:var(--muted);display:flex;align-items:center;gap:10px;margin:0 0 24px}.status-dot{width:6px;height:6px;border-radius:50%;background:#69e7ba;box-shadow:0 0 12px #69e7ba}.hero h1{font-size:clamp(42px,5.3vw,68px);line-height:1.27;letter-spacing:-.065em;margin:0;font-weight:800}.gradient-text{background:linear-gradient(105deg,var(--text) 15%,var(--blue) 66%,var(--cyan));background-clip:text;-webkit-background-clip:text;color:transparent}.hero-description{font-size:14px;line-height:2.1;color:var(--muted);margin:26px 0 30px}.hero-actions{display:flex;align-items:center;gap:26px}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;border-radius:8px;padding:15px 19px;font-size:12px;font-weight:700;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px)}.button-primary{background:var(--text);color:var(--bg);box-shadow:0 8px 30px rgba(80,110,255,.12)}.button-primary span{font-size:16px}.text-link span{margin-left:7px}.hero-art{height:410px;position:relative;display:grid;place-items:center}.core-card{width:235px;height:265px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 72%,var(--blue)));box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;transform:rotate(-5deg);position:relative;z-index:2}.hero-logo{width:118px;height:118px;filter:drop-shadow(0 0 25px rgba(94,130,255,.22))}.core-caption{font:9px 'DM Mono',monospace;letter-spacing:.16em;color:var(--muted)}.orbit{position:absolute;border:1px solid var(--line);border-radius:50%;transform:rotate(-28deg)}.orbit-a{width:390px;height:170px}.orbit-b{width:310px;height:330px;transform:rotate(40deg);border-color:color-mix(in srgb,var(--blue) 24%,transparent)}.float-tag{position:absolute;font:9px 'DM Mono',monospace;letter-spacing:.1em;padding:10px 12px;border:1px solid var(--line);background:var(--surface);border-radius:5px;z-index:3;color:var(--muted)}.tag-top{top:55px;right:8px}.tag-bottom{bottom:52px;left:0}.spark{position:absolute;color:var(--cyan);font-size:24px}.spark-one{top:64px;left:50px}.spark-two{right:50px;bottom:80px}.hero-bottom{position:absolute;left:0;right:0;bottom:26px;display:flex;justify-content:space-between;color:var(--muted);font:9px 'DM Mono',monospace;letter-spacing:.16em}.scroll-hint i{font-style:normal;margin-left:10px;color:var(--text)}.projects{padding-top:125px;padding-bottom:115px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:32px}.section-heading .eyebrow{margin-bottom:13px}.section-heading h2,.about h2,.contact h2{font-size:clamp(30px,4vw,44px);letter-spacing:-.06em;line-height:1.25;margin:0}.muted-dot{color:var(--blue)}.section-note{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 4px}.project-card{display:block;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .25s,border-color .25s;box-shadow:var(--shadow)}.project-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--blue) 55%,var(--line))}.project-visual{height:290px;position:relative;overflow:hidden;background:#10172a;display:grid;place-items:center}.cyber-visual{background:radial-gradient(ellipse at 50% 50%,#203c70 0,#121e37 35%,#0c111e 72%)}.visual-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(114,157,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(114,157,255,.1) 1px,transparent 1px);background-size:38px 38px;transform:perspective(280px) rotateX(53deg) scale(1.5);transform-origin:center 80%;mask-image:linear-gradient(transparent,#000 35%,#000 90%,transparent)}.energy-orb{width:130px;height:130px;border:1px solid rgba(128,183,255,.75);border-radius:50%;display:grid;place-items:center;box-shadow:0 0 35px #4a83ff55,inset 0 0 35px #4a83ff44;position:relative;background:radial-gradient(circle,#62d9ff33,transparent 70%)}.energy-orb:before,.energy-orb:after{content:"";position:absolute;inset:-18px;border:1px solid #6c9dff55;border-radius:50%;transform:rotateX(65deg) rotate(25deg)}.energy-orb:after{transform:rotateX(65deg) rotate(-50deg);inset:-30px}.energy-orb span{font-size:48px;filter:drop-shadow(0 0 14px #5be7ff)}.energy-line{height:1px;width:42%;position:absolute;background:linear-gradient(90deg,transparent,#6bdfff,transparent);opacity:.65}.line-one{transform:rotate(24deg);left:7%;top:37%}.line-two{transform:rotate(-18deg);right:5%;bottom:31%}.visual-label{position:absolute;left:22px;top:20px;font:9px 'DM Mono',monospace;letter-spacing:.15em;color:#9cb7e7}.visual-number{position:absolute;right:22px;bottom:17px;font:11px 'DM Mono',monospace;color:#8ba8e3}.project-info{padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.project-kicker{font:9px 'DM Mono',monospace;letter-spacing:.15em;color:var(--blue);margin-bottom:9px}.project-info h3{font-size:21px;letter-spacing:-.04em;margin:0 0 8px}.project-info p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.round-arrow{width:42px;height:42px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:18px;transition:background .2s,color .2s}.project-card:hover .round-arrow{background:var(--text);color:var(--bg)}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.mini-visual{height:175px;position:relative;display:grid;place-items:center;overflow:hidden}.account-visual{background:linear-gradient(135deg,#18223b,#10131d)}.account-symbol{font-size:92px;font-weight:800;letter-spacing:-.12em;color:#dce7ff;text-shadow:0 0 35px #678aff66}.account-symbol span{color:#6d9aff}.lab-visual{background:linear-gradient(135deg,#162b32,#10151e)}.lab-rings{width:105px;height:105px;position:relative;display:grid;place-items:center}.lab-rings span{position:absolute;width:100%;height:100%;border:1px solid #62d8df99;border-radius:50%;transform:scaleY(.38) rotate(30deg)}.lab-rings span:nth-child(2){transform:scaleY(.38) rotate(90deg)}.lab-rings span:nth-child(3){transform:scaleY(.38) rotate(150deg)}.status-pill{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:7px 10px;white-space:nowrap}.small-card .project-info{padding:19px}.small-card .project-info h3{font-size:17px}.small-card .project-info p{max-width:300px}.about{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:105px 0;display:grid;grid-template-columns:.75fr 1.25fr;gap:65px;align-items:center}.about-mark{display:grid;place-items:center;min-height:260px;border-radius:12px;background:radial-gradient(circle at center,color-mix(in srgb,var(--blue) 17%,transparent),transparent 68%),var(--surface);border:1px solid var(--line)}.about-mark img{width:145px;height:145px;filter:drop-shadow(0 0 35px #6c8dff33)}.about-copy .eyebrow{margin-bottom:16px}.about-copy>p:not(.eyebrow){font-size:13px;line-height:2.1;color:var(--muted);max-width:570px;margin:23px 0 28px}.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.principles div{display:grid;gap:7px;border-top:1px solid var(--line);padding-top:13px}.principles span{font:9px 'DM Mono',monospace;color:var(--blue)}.principles strong{font-size:13px}.principles small{font-size:10px;color:var(--muted)}.contact{padding:95px 0;display:flex;justify-content:space-between;align-items:center;gap:30px}.contact .eyebrow{margin-bottom:17px}.site-footer{min-height:92px;border-top:1px solid var(--line);padding:20px max(5.5vw,24px);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font:9px 'DM Mono',monospace;letter-spacing:.09em}.footer-brand{color:var(--text);font-family:Manrope,'Noto Sans JP',sans-serif;letter-spacing:0}.footer-brand img{width:34px;height:34px}.back-top{transition:color .2s}.back-top:hover{color:var(--text)}
@media(max-width:760px){.site-header{height:72px;padding:0 6%;}.brand img{width:36px;height:36px}.main-nav{gap:15px;margin-right:14px}.main-nav a{font-size:10px}.theme-toggle{padding:8px 10px}.theme-label{display:none}.hero{grid-template-columns:1fr;padding-top:75px;min-height:0;gap:0}.hero-copy{padding-bottom:0}.hero h1{font-size:clamp(42px,10vw,62px)}.hero-art{height:350px;margin-top:5px}.core-card{width:190px;height:220px}.hero-logo{width:95px;height:95px}.orbit-a{width:310px}.orbit-b{width:250px;height:290px}.tag-top{right:2px;top:35px}.tag-bottom{left:0;bottom:35px}.hero-bottom{position:static;padding:8px 0 35px}.projects{padding-top:70px;padding-bottom:75px}.project-visual{height:230px}.project-grid{grid-template-columns:1fr}.mini-visual{height:160px}.about{padding:70px 0;grid-template-columns:1fr;gap:28px}.about-mark{min-height:190px}.about-mark img{width:110px;height:110px}.contact{padding:70px 0;align-items:flex-start;flex-direction:column}.site-footer{gap:18px;flex-wrap:wrap}.section-wrap{width:88%}}
@media(max-width:430px){.main-nav{gap:11px;margin-right:9px}.main-nav a{font-size:9px}.brand{gap:6px}.brand strong{font-size:14px}.brand small{font-size:8px}.theme-toggle{padding:7px 8px}.section-heading{align-items:flex-start;gap:15px}.section-note{font-size:10px}.project-info{padding:18px}.project-info h3{font-size:19px}.project-info p{font-size:11px}.small-card .project-info{align-items:flex-start}.status-pill{font-size:9px}.principles{gap:8px}.principles small{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Multi-page navigation and content */
.main-nav a{white-space:nowrap}.page-hero{padding-top:100px;padding-bottom:35px;min-height:300px}.page-hero h1{font-size:clamp(48px,7vw,78px);line-height:1.1;letter-spacing:-.065em;margin:0}.page-hero .hero-description{margin-top:22px}.page-projects{padding-top:35px}.page-about{margin-top:25px;margin-bottom:20px}.main-nav a[href="/games/"],.main-nav a[href="/about/"]{transition:color .2s}.main-nav a:hover{color:var(--text)}@media(max-width:760px){.page-hero{padding-top:70px;min-height:250px}.page-hero h1{font-size:clamp(44px,11vw,64px)}.page-projects{padding-top:20px}}


/* Balanced project cards: Cyber Factory is presented at the same scale as other projects. */
.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.project-grid .cyber-card{box-shadow:none}
.project-grid .cyber-card .project-visual{height:160px}
.project-grid .cyber-card .energy-orb{width:68px;height:68px}
.project-grid .cyber-card .energy-orb:before{inset:-9px}
.project-grid .cyber-card .energy-orb:after{inset:-16px}
.project-grid .cyber-card .energy-orb span{font-size:27px}
.project-grid .cyber-card .project-info{padding:18px;min-height:145px;align-items:flex-start}
.project-grid .cyber-card .project-info h3{font-size:17px}
.project-grid .cyber-card .project-info p{font-size:11px}
.project-grid .cyber-card .round-arrow{width:32px;height:32px;font-size:15px}
/* Keep the game listing restrained as well. */
.page-projects>.cyber-card{max-width:760px;box-shadow:none}
.page-projects>.cyber-card .project-visual{height:170px}
.page-projects>.cyber-card .energy-orb{width:82px;height:82px}
.page-projects>.cyber-card .energy-orb span{font-size:32px}
@media(max-width:900px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.project-grid{grid-template-columns:1fr}.project-grid .cyber-card .project-visual{height:150px}.project-grid .cyber-card .project-info{min-height:0}}
