@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --fg: #efeee9;
  --muted: #a1a19d;
  --line: #2a2a28;
  --sans: "Arial", "Helvetica Neue", sans-serif;
  --mono: "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
::selection { color: var(--bg); background: var(--fg); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2 { margin: 0; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { font-family: var(--mono); font-size: 10px; font-weight: 400; line-height: 1.6; letter-spacing: 1.7px; text-transform: uppercase; }
.quiet { color: var(--muted); }
.small-cross { font-family: var(--mono); font-size: 22px; font-weight: 400; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 14px 20px; color: var(--bg); background: var(--fg); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.header { height: 100px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.header-logo { display: block; width: 106px; flex-shrink: 0; }
.header-logo img { width: 100%; mix-blend-mode: screen; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; font-size: 23px; font-weight: 600; letter-spacing: 5px; line-height: 1; }
.wordmark span { margin-top: 7px; font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: 6px; padding-left: 2px; }
.header nav { display: flex; gap: 38px; align-items: center; font-size: 12px; }
.header nav a { padding-block: 12px; }
.header nav a:hover { color: #aaa; }
.nav-contact { display: flex; gap: 30px; align-items: center; }
.nav-contact span { font-size: 19px; }

.hero { min-height: 855px; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; }
.hero-content { text-align: center; padding-top: 35px; padding-bottom: 76px; position: relative; }
.hero-brand { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 560px; mix-blend-mode: screen; }
.studio-subtitle { margin-top: 2px; color: #b7b7b2; font-size: 9px; letter-spacing: 3px; }
h1 { margin-top: 28px; font-size: clamp(24px, 2.5vw, 36px); font-weight: 500; line-height: 1.3; letter-spacing: .14em; }
.period { color: var(--fg); -webkit-text-stroke: 0; }
.hero-description { margin-top: 28px; color: #b0b0aa; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.button { min-width: 166px; min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; padding: 15px 20px; font-size: 12px; font-weight: 500; border: 1px solid var(--fg); transition: background .2s, color .2s, transform .2s; }
.button span { font-size: 18px; line-height: 1; }
.button-light { background: var(--fg); color: var(--bg); }
.button-light:hover { background: #cecec8; transform: translateY(-3px); }
.button-outline { border-color: #555550; background: #0b0b0b99; }
.button-outline:hover { background: var(--fg); color: var(--bg); transform: translateY(-3px); }
.hero-orbit { position: absolute; z-index: -2; width: 1160px; height: 1160px; border-radius: 50%; border: 1px solid #252521; left: 50%; top: 50%; transform: translate(-50%, -42%); opacity: .52; box-shadow: 0 0 0 90px #151513, 0 0 0 91px #252521, 0 0 0 180px #10100e, 0 0 0 181px #252521; mask-image: linear-gradient(transparent, #000 38%, #000 65%, transparent); }
.hero-grid { position: absolute; z-index: -1; bottom: -100px; left: -50%; width: 200%; height: 400px; background-image: linear-gradient(#5b5b4d22 1px, transparent 1px), linear-gradient(90deg, #5b5b4d22 1px, transparent 1px); background-size: 82px 65px; transform: perspective(330px) rotateX(55deg); mask-image: linear-gradient(transparent, #000); pointer-events: none; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-block: 23px; color: var(--muted); border-top: 1px solid var(--line); }
.hero-bottom .eyebrow { font-size: 9px; letter-spacing: 1px; }
.scroll-link { display: flex; align-items: center; gap: 20px; }
.scroll-link span { color: var(--fg); font-size: 18px; }

.section { padding-block: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.section-index { color: var(--muted); margin-right: 19px; }
.project-panel { display: grid; grid-template-columns: .88fr 1.12fr; border: 1px solid var(--line); }
.project-info { padding: 42px 40px 38px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #44443e; font-family: var(--mono); font-size: 9px; letter-spacing: .5px; }
.status > span { width: 5px; height: 5px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 9px #ffffff70; }
.project-genre { margin-top: 46px; color: var(--muted); font-size: 9px; letter-spacing: 1.1px; }
.project-info h2 { margin-top: 15px; font-size: clamp(64px, 6.2vw, 88px); line-height: .94; letter-spacing: -5px; }
.project-info h2 > span:not(.period) { font-family: Georgia, serif; font-style: italic; font-weight: 400; font-size: .78em; color: #aaa9a0; }
.project-description { max-width: 355px; margin-top: 27px; font-size: 13px; line-height: 1.9; color: #aaa9a4; }
.project-tagline { margin-top: 23px; font-size: 12px; }
.text-link { display: flex; justify-content: space-between; align-items: center; width: fit-content; gap: 32px; padding-block: 14px 7px; border-bottom: 1px solid #5a5a50; margin-top: 24px; font-size: 11px; }
.text-link span { font-size: 18px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.project-art { position: relative; background: radial-gradient(ellipse at 50% 40%, #242421, #141413 70%); display: flex; align-items: center; overflow: hidden; border-left: 1px solid var(--line); }
.project-art > img { width: 100%; padding: 28px 8px 55px; }
.art-title { position: absolute; top: 28px; left: 28px; display: flex; flex-direction: column; gap: 5px; }
.art-title span:first-child { font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.art-title span:last-child { font-family: var(--mono); font-size: 7px; letter-spacing: 2px; color: #aaa99e; }
.project-art figcaption { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; align-items: center; gap: 8px; padding: 18px 24px; border-top: 1px solid #33332e; color: #b2b2a7; font-family: var(--mono); font-size: 8px; letter-spacing: .4px; text-transform: uppercase; }
.project-art figcaption > span:last-child { margin-left: auto; text-align: right; }
.art-dot { width: 5px; height: 5px; background: #858579; flex-shrink: 0; }
.game-loop { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.game-loop > div { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 18px 18px 18px 0; font-size: 11px; }
.game-loop > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.loop-number { color: #92928a; font-family: var(--mono); font-size: 9px; }
.loop-icon { margin-left: auto; color: #92928a; }

.philosophy { border-top: 1px solid var(--line); background: #10100f; position: relative; overflow: hidden; }
.philosophy::after { content: "+"; font-family: var(--mono); font-size: 360px; font-weight: 400; color: #1d1d19; position: absolute; left: max(56px, calc((100vw - 1280px) / 2)); bottom: -115px; pointer-events: none; }
.philosophy-title { font-size: clamp(60px, 8.4vw, 120px); font-weight: 600; letter-spacing: -.065em; line-height: .98; margin-top: 65px; position: relative; z-index: 1; }
.philosophy-title > span:first-child { color: transparent; -webkit-text-stroke: 1px #b8b8ae; }
.philosophy-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 55px; position: relative; z-index: 1; }
.philosophy-note { color: var(--muted); line-height: 2; }
.philosophy-copy { max-width: 420px; }
.philosophy-copy p:first-child { font-size: 19px; letter-spacing: -.3px; }
.philosophy-copy p + p { color: var(--muted); font-size: 13px; line-height: 1.9; margin-top: 20px; }
.philosophy-signature { display: block; margin-top: 30px; font-size: 9px; }

.contact { color: #141413; background: #eae9e3; }
.contact .section-index { color: #62625b; }
.contact .section-heading { margin-bottom: 65px; }
.contact-content { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 50px; }
.contact h2 { font-size: clamp(40px, 4.7vw, 68px); line-height: 1.02; font-weight: 600; letter-spacing: -.06em; }
.contact h2 > span { color: #79796d; }
.contact-detail > p { font-size: 12px; color: #55554e; line-height: 1.8; }
.contact-email { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding-block: 20px 12px; border-bottom: 1px solid #a2a297; font-size: clamp(14px, 1.7vw, 24px); letter-spacing: -.5px; }
.contact-email > span { font-size: 27px; transition: transform .2s; }
.contact-email:hover > span { transform: translate(4px, -4px); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 40px; }
.footer .wordmark { font-size: 16px; letter-spacing: 3px; }
.footer .wordmark > span { font-size: 6px; letter-spacing: 4px; margin-top: 5px; }
.footer > p { font-family: var(--mono); font-size: 9px; color: var(--muted); }
.back-top { font-size: 9px; display: flex; align-items: center; gap: 25px; }
.back-top > span { font-size: 17px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-brand { animation: arrive 1s ease-out both; }
  h1, .hero-description, .hero-actions { animation: arrive 1s .15s ease-out both; }
  .reveal.is-pending { opacity: 0; transform: translateY(22px); }
  .reveal { transition: opacity .7s ease, transform .7s ease; }
  @keyframes arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
}

@media (min-width: 1600px) { .hero { min-height: 900px; } }
@media (min-width: 701px) and (max-height: 800px) {
  .hero { min-height: calc(100svh - 100px); }
  .hero-content { padding-top: 12px; padding-bottom: 40px; }
  .hero-logo { width: 440px; }
  h1 { margin-top: 22px; font-size: 26px; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 810px; }
  .hero-coordinate { display: none; }
  .project-info { padding: 30px 25px; }
  .project-panel { grid-template-columns: 1fr 1fr; }
  .project-art > img { padding-inline: 0; }
  .project-art figcaption { flex-wrap: wrap; padding: 15px; font-size: 7px; }
  .project-art figcaption > span:last-child { flex-basis: 100%; text-align: left; margin: 0 0 0 13px; }
  .game-loop > div { font-size: 10px; gap: 8px; }
  .game-loop > div + div { padding-left: 12px; }
  .contact-content { gap: 30px; }
  .contact-email { letter-spacing: -.6px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 16px; }
  .wrap { width: calc(100% - 40px); }
  .header { height: 82px; }
  .header-logo { width: 88px; }
  .header nav { gap: 20px; font-size: 11px; }
  .header nav .nav-contact { display: none; }
  .hero { min-height: 765px; }
  .hero-content { padding-top: 38px; padding-bottom: 58px; }
  .hero-logo { width: 440px; }
  .studio-subtitle { font-size: 8px; letter-spacing: 2px; }
  h1 { margin-top: 26px; font-size: clamp(18px, 4.3vw, 24px); letter-spacing: .1em; }
  .hero-description { font-size: 12px; margin-top: 25px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .button { min-width: 142px; padding: 14px 17px; font-size: 11px; gap: 20px; }
  .hero-orbit { width: 750px; height: 750px; }
  .hero-bottom { padding-block: 19px; }
  .hero-bottom > span:first-child { max-width: 140px; font-size: 8px; line-height: 1.8; }
  .hero-bottom .scroll-link { font-size: 8px; gap: 12px; }
  .section { padding-block: 65px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .section-heading .quiet { display: none; }
  .section-index { margin-right: 12px; }
  .project-panel { grid-template-columns: 1fr; }
  .project-info { padding: 30px; }
  .project-info h2 { font-size: 78px; }
  .project-genre { margin-top: 35px; }
  .project-description { max-width: 100%; }
  .project-art { border-left: 0; border-top: 1px solid var(--line); min-height: 360px; }
  .project-art > img { padding: 32px 0 45px; }
  .project-art figcaption { flex-wrap: nowrap; font-size: 7px; padding-inline: 15px; }
  .project-art figcaption > span:last-child { flex-basis: auto; text-align: right; margin-left: auto; }
  .game-loop { grid-template-columns: 1fr 1fr; margin-top: 15px; }
  .game-loop > div { padding: 18px 12px 18px 0; font-size: 10px; }
  .game-loop > div + div { padding-left: 12px; }
  .game-loop > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .philosophy-title { font-size: clamp(48px, 11.3vw, 78px); margin-top: 45px; }
  .philosophy-bottom { grid-template-columns: 1fr; gap: 30px; margin-top: 35px; }
  .philosophy-note { font-size: 9px; }
  .philosophy-copy { margin-left: 15%; }
  .philosophy-copy p:first-child { font-size: 17px; }
  .philosophy-copy p + p { font-size: 12px; }
  .philosophy::after { left: -30px; bottom: -110px; }
  .contact .section-heading > span { display: none; }
  .contact .section-heading { margin-bottom: 45px; }
  .contact-content { grid-template-columns: 1fr; gap: 35px; }
  .contact h2 { font-size: clamp(36px, 8.7vw, 58px); }
  .contact-email { font-size: clamp(15px, 4.7vw, 23px); padding-top: 20px; }
  .footer { flex-wrap: wrap; padding-block: 30px; gap: 26px; }
  .footer > p { order: 3; width: 100%; font-size: 8px; }
  .back-top { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
