.site-header {
  position: absolute;
  z-index: var(--header-z);
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
}

.nav-shell {
  width: min(1180px, calc(100vw - 64px));
  min-height: 4.35rem;
  margin-inline: auto;
  padding: .45rem .5rem .45rem .55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(11, 9, 10, .74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 60px rgba(18, 3, 12, .25);
  backdrop-filter: blur(20px) saturate(130%);
}

.brand { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.brand img { width: 3.15rem; height: 3.15rem; border-radius: 50%; object-fit: cover; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-copy small { margin-top: .25rem; color: var(--paper-dim); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.7rem); }
.site-nav > a { color: #d8d0d2; font-size: .75rem; font-weight: 600; transition: color 350ms var(--ease-heavy); }
.site-nav > a:hover { color: white; }
.site-nav .nav-cta { padding: .8rem 1.05rem; border-radius: 999px; background: var(--paper); color: var(--ink); }
.site-nav .nav-cta:hover { color: var(--accent-soft); }
.menu-toggle { display: none; }

.hero {
  min-height: 100dvh;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #120b0d;
}

.hero-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 6, 7, .94) 0%, rgba(8, 6, 7, .62) 43%, rgba(8, 6, 7, .16) 75%),
    linear-gradient(0deg, rgba(8, 6, 7, .95) 0%, transparent 42%),
    url("../images/scene-04.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 76% 50%, rgba(209, 55, 30, .12), transparent 31rem);
}

.hero-inner {
  width: var(--container);
  margin-inline: auto;
  padding: 10rem 0 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  align-items: end;
  gap: 4rem;
}

.hero-copy { max-width: 51rem; }
.hero h1 { margin-top: 1.3rem; font-family: var(--font-display); font-size: clamp(3.6rem, 7vw, 7.4rem); font-weight: 600; letter-spacing: -.065em; line-height: .98; text-wrap: balance; }
.hero h1 span { display: block; }
.hero h1 em { color: #ff3d99; font-style: normal; }
.hero-lead { max-width: 37rem; margin-top: 1.7rem; color: #cec5c7; font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.9; text-wrap: pretty; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-meta { padding: 1.25rem; border-radius: 1.3rem; background: rgba(12, 9, 11, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.hero-meta > p { margin-bottom: .8rem; color: var(--accent); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: .65rem; letter-spacing: .2em; }
.hero-meta dl { display: grid; gap: .25rem; }
.hero-meta dl > div { padding: .65rem 0; display: flex; justify-content: space-between; gap: .8rem; border-top: 1px solid var(--line); }
.hero-meta dt { color: var(--paper-dim); font-size: .66rem; }
.hero-meta dd { font-family: ui-monospace, "Cascadia Mono", monospace; font-size: .68rem; font-variant-numeric: tabular-nums; text-align: right; }

.scroll-cue { position: absolute; right: 2rem; bottom: 2rem; display: flex; align-items: center; gap: .8rem; color: var(--paper-dim); font-size: .55rem; letter-spacing: .2em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 2rem; background: linear-gradient(var(--accent), transparent); }

.news-section { background: var(--paper); color: var(--ink); }
.news-layout { display: grid; grid-template-columns: minmax(14rem, .7fr) minmax(0, 1.3fr); gap: clamp(4rem, 9vw, 9rem); align-items: start; }
.sticky-intro { position: sticky; top: 8rem; }
.news-section .eyebrow { color: #6d6267; }
.section-intro h2 { margin-top: 1.35rem; font-family: var(--font-display); font-size: clamp(3rem, 5.2vw, 5.6rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.02; }
.section-intro > p:last-child { max-width: 25rem; margin-top: 1.65rem; color: #655d60; }
.news-feed { display: grid; }
.news-card { min-height: 12.5rem; padding: 2.2rem .5rem; display: grid; grid-template-columns: 7rem 1fr 3rem; gap: 2rem; align-items: start; border-top: 1px solid rgba(35, 24, 29, .16); }
.news-card:last-child { border-bottom: 1px solid rgba(35, 24, 29, .16); }
.news-card time { color: #71686c; font-family: ui-monospace, "Cascadia Mono", monospace; font-size: .7rem; font-variant-numeric: tabular-nums; }
.news-kind { margin-bottom: .6rem; color: var(--accent-soft); font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.news-card h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 600; line-height: 1.35; }
.news-card div > p:last-child { max-width: 36rem; margin-top: .8rem; color: #655d60; font-size: .88rem; }
.news-card > a { width: 2.65rem; height: 2.65rem; display: grid; place-items: center; border-radius: 50%; background: #ded6d3; transition: transform 450ms var(--ease-heavy), background-color 450ms var(--ease-heavy), color 450ms var(--ease-heavy); }
.news-card > a:hover { transform: rotate(8deg) translateY(-3px); background: var(--accent); color: white; }

.story-section { overflow: hidden; }
.story-heading { max-width: 60rem; margin-left: 11%; }
.story-heading h2 { margin-top: 1.5rem; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6.4rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; text-wrap: balance; }
.story-grid { margin-top: 6rem; display: grid; grid-template-columns: 1.3fr .8fr; grid-template-areas: "main copy" "main side"; gap: 1.5rem; align-items: start; }
.story-visual { position: relative; }
.story-visual figcaption { position: absolute; left: 1.5rem; bottom: 1.5rem; padding: .45rem .7rem; border-radius: 999px; background: rgba(10, 7, 9, .72); color: #ddd2d5; font-size: .6rem; letter-spacing: .13em; }
.story-visual-main { grid-area: main; min-height: 46rem; transform: rotate(-1deg); }
.story-visual-side { grid-area: side; min-height: 20rem; margin-left: 3rem; transform: rotate(1.2deg); }
.story-copy { grid-area: copy; padding: 2rem 1rem 3rem 3rem; }
.story-copy > p { color: var(--paper-muted); font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.75; }
.feature-list { margin-top: 2.5rem; }
.feature-list li { padding: 1.15rem 0; display: grid; grid-template-columns: 2rem 1fr; column-gap: .85rem; border-top: 1px solid var(--line); }
.feature-list span { grid-row: span 2; color: var(--accent); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: .6rem; }
.feature-list strong { font-size: .83rem; }
.feature-list small { color: var(--paper-dim); font-size: .72rem; }

.game-section { background: #100d0f; }
.game-layout { display: grid; grid-template-columns: minmax(18rem, .72fr) minmax(22rem, 1.28fr); gap: clamp(4rem, 9vw, 10rem); align-items: center; }
.game-cover-shell { position: relative; max-width: 31rem; padding: .55rem; transform: rotate(-2deg); border-radius: 2rem; background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 45px 100px rgba(53, 9, 25, .4); }
.game-cover-core { overflow: hidden; border-radius: calc(2rem - .55rem); }
.game-cover-core img { width: 100%; }
.cover-stamp { position: absolute; right: -2.3rem; bottom: 4rem; padding: .75rem 1.1rem; transform: rotate(8deg); border-radius: 999px; background: var(--accent); color: white; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.game-copy h2 { margin-top: 1.3rem; font-family: var(--font-display); font-size: clamp(4rem, 8vw, 8.5rem); font-weight: 600; letter-spacing: -.08em; line-height: .7; }
.game-copy h2 small { font-family: var(--font-body); font-size: .22em; letter-spacing: .28em; }
.game-copy > p { max-width: 39rem; margin-top: 2.8rem; color: var(--paper-muted); font-size: 1rem; line-height: 2; }
.game-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.game-tags span { padding: .45rem .7rem; border-radius: .35rem; background: rgba(255, 255, 255, .055); color: #d5cacc; font-size: .68rem; }
.game-rating { margin: 2.6rem 0 1.5rem; display: flex; align-items: baseline; gap: 1rem; }
.game-rating strong { color: #62c3a1; font-size: 1.25rem; }
.game-rating span { color: var(--paper-dim); font-size: .7rem; }

.gallery-section { padding-top: 7rem; }
.gallery-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.gallery-head h2 { margin-top: .8rem; font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5rem); font-weight: 600; letter-spacing: -.055em; }
.gallery-head > p { max-width: 32rem; color: var(--paper-muted); }
.gallery-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 1rem; }
.gallery-grid figure { min-height: 29rem; }

.team-section { background: var(--paper); color: var(--ink); }
.team-intro { max-width: 61rem; }
.team-section .eyebrow { color: #6d6267; }
.team-intro h2 { margin-top: 1.3rem; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6.5rem); font-weight: 600; letter-spacing: -.065em; line-height: 1.02; }
.team-intro > p:last-child { max-width: 49rem; margin-top: 2rem; color: #61595c; font-size: 1.05rem; }
.team-cards { margin-top: 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.member-card { display: grid; grid-template-columns: minmax(10rem, .8fr) 1fr; align-items: center; background: #e4ddda; border-radius: 1.5rem; overflow: hidden; }
.member-card-offset { transform: translateY(5rem); }
.member-image { align-self: stretch; min-height: 25rem; background: #d2c7c2; }
.member-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.02); }
.member-copy { padding: 2rem; }
.member-copy span { color: var(--accent-soft); font-size: .59rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.member-copy h3 { margin: .65rem 0 1rem; font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; }
.member-copy p { color: #655d60; font-size: .82rem; }

.download-section { padding-top: 13rem; background: #100d0f; }
.download-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 8vw, 9rem); }
.download-intro h2 { margin-top: 1.3rem; font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.07; }
.download-intro > p:last-child { max-width: 32rem; margin-top: 1.6rem; color: var(--paper-muted); }
.download-stack { display: grid; gap: 1rem; }
.resource-card { padding: 1.8rem; display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 1.2rem; border-radius: 1.5rem; background: var(--panel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform 600ms var(--ease-heavy), background-color 600ms var(--ease-heavy); }
a.resource-card:hover { transform: translateX(.5rem); background: var(--panel-raised); }
.resource-index { color: var(--accent); font-family: ui-monospace, "Cascadia Mono", monospace; font-size: .65rem; }
.resource-card small { color: var(--paper-dim); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.resource-card h3 { margin-top: .35rem; font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; }
.resource-card p { color: var(--paper-dim); font-size: .75rem; }
.resource-card > i { font-style: normal; }
.mirror-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.mirror-links a { padding: .42rem .65rem; border-radius: .35rem; background: rgba(255, 255, 255, .07); font-size: .66rem; transition: background-color 350ms var(--ease-heavy); }
.mirror-links a:hover { background: var(--accent-soft); }
details { margin-top: 1rem; color: var(--paper-dim); font-size: .7rem; }
summary { cursor: pointer; color: #cfc4c7; }
details p { margin-top: .35rem; }

.contact-section { padding-block: clamp(9rem, 15vw, 15rem); text-align: center; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(70rem, 90vw); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(220, 24, 127, .13); border-radius: 50%; box-shadow: 0 0 0 7rem rgba(220, 24, 127, .025), 0 0 0 14rem rgba(220, 24, 127, .018); pointer-events: none; }
.contact-inner { position: relative; }
.contact-inner .eyebrow { justify-content: center; }
.contact-inner h2 { margin-top: 1.5rem; font-family: var(--font-display); font-size: clamp(3.4rem, 7vw, 7.5rem); font-weight: 500; letter-spacing: -.07em; line-height: 1; }
.contact-inner > p:not(.eyebrow, .copy-status) { max-width: 37rem; margin: 1.8rem auto 0; color: var(--paper-muted); }
.contact-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.copy-status { min-height: 1.7rem; margin-top: .55rem; color: #ff73bc; font-size: .72rem; }
.social-list { margin-top: 4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.8rem; }
.social-list a { padding-bottom: .2rem; border-bottom: 1px solid transparent; color: #d8ced1; font-size: .75rem; transition: border-color 350ms var(--ease-heavy), color 350ms var(--ease-heavy); }
.social-list a:hover { border-color: var(--accent); color: white; }

.site-footer { padding: 4rem 0 2rem; background: #070607; }
.footer-main { padding-bottom: 3rem; display: grid; grid-template-columns: 1fr auto auto; gap: 4rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand img { width: 3.75rem; height: 3.75rem; border-radius: .8rem; }
.footer-main nav, .footer-meta { display: flex; gap: 1.4rem; }
.footer-main nav a, .footer-meta a { color: var(--paper-dim); font-size: .68rem; transition: color 350ms var(--ease-heavy); }
.footer-main nav a:hover, .footer-meta a:hover { color: white; }
.footer-bottom { padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: #6f676b; font-size: .62rem; }

.trailer-dialog { width: min(1050px, calc(100vw - 32px)); padding: .45rem; border: 1px solid var(--line-strong); border-radius: 1.7rem; background: rgba(12, 9, 11, .96); color: var(--paper); box-shadow: 0 60px 160px rgba(0, 0, 0, .68); }
.trailer-dialog::backdrop { background: rgba(4, 3, 4, .88); backdrop-filter: blur(12px); }
.dialog-shell { padding: 1rem; }
.dialog-head { margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; }
.dialog-head small { color: var(--accent); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; }
.dialog-head h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.dialog-head button { width: 2.7rem; height: 2.7rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: white; cursor: pointer; font-size: 1.6rem; transition: transform 450ms var(--ease-heavy), background-color 450ms var(--ease-heavy); }
.dialog-head button:hover { transform: rotate(8deg); background: var(--accent); }
.trailer-dialog video { width: 100%; max-height: 72vh; border-radius: .9rem; background: black; }

.legal-main { min-height: 80dvh; padding: 11rem 0 7rem; }
.legal-copy { max-width: 52rem; }
.legal-copy h1 { margin: 1rem 0 2rem; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.06em; }
.legal-copy h2 { margin: 2.4rem 0 .8rem; font-family: var(--font-display); font-size: 1.65rem; }
.legal-copy p, .legal-copy li { color: var(--paper-muted); }
.legal-copy ul { padding-left: 1.2rem; list-style: disc; }
.legal-copy .text-link { margin-top: 3rem; }

.not-found { min-height: 100dvh; display: grid; place-items: center; padding: 6rem 2rem; text-align: center; background: radial-gradient(circle at center, rgba(220, 24, 127, .14), transparent 30rem); }
.not-found strong { display: block; color: rgba(255, 255, 255, .05); font-family: ui-monospace, monospace; font-size: clamp(8rem, 30vw, 24rem); line-height: .75; }
.not-found h1 { margin-top: -1rem; font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 5rem); }
.not-found p { max-width: 32rem; margin: 1rem auto 2rem; color: var(--paper-muted); }
