:root {
  --background: #0b0d10;
  --surface: #14171c;
  --surface-raised: #181b21;
  --text: #f2f0eb;
  --secondary: #8d949e;
  --accent: #ff693d;
  --border: #282d35;
  --max-width: 1320px;
  --header-height: 78px;
  --section-space: clamp(6rem, 11vw, 10rem);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

img,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: #0b0d10;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--accent);
  background: var(--background);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 64px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding-inline: max(32px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid transparent;
  transition:
    background-color 240ms ease,
    border-color 240ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(40, 45, 53, 0.85);
  background: rgba(11, 13, 16, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  background: var(--accent);
  color: var(--background);
}

.brand-label,
.site-nav a,
.hero-meta,
.hero-index,
.section-index,
.project-type,
.media-frame figcaption,
.point-number,
.logic-flow,
.skill-list span,
.contact-link span,
.site-footer {
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.brand-label {
  color: var(--secondary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.25vw, 36px);
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--secondary);
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -30vw;
  width: 68vw;
  height: 68vw;
  border: 1px solid rgba(255, 105, 61, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 8vw rgba(255, 105, 61, 0.025),
    0 0 0 16vw rgba(255, 105, 61, 0.015);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 56%, rgba(255, 105, 61, 0.12), transparent 22%),
    linear-gradient(90deg, transparent 0 68%, rgba(255, 255, 255, 0.035) 68% 68.08%, transparent 68.08%),
    linear-gradient(transparent 0 76%, rgba(255, 255, 255, 0.035) 76% 76.1%, transparent 76.1%);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  right: 9vw;
  top: 23%;
  width: clamp(80px, 8vw, 130px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 80px rgba(255, 105, 61, 0.26);
  opacity: 0.9;
}

.hero-orbit::after {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(255, 105, 61, 0.5);
  border-radius: inherit;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 26px);
  padding-bottom: 40px;
  grid-template-rows: auto 1fr auto;
}

.hero-meta,
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--secondary);
}

.hero-copy {
  align-self: center;
  max-width: 1040px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.project-heading h2,
.section-header h2,
.documents-heading h2,
.contact h2 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(5.25rem, 12.5vw, 12rem);
}

.accent-dot {
  color: var(--accent);
}

.hero-lede {
  max-width: 650px;
  margin: clamp(32px, 5vw, 60px) 0 0 clamp(0px, 15vw, 180px);
  color: #c6c4bf;
  font-size: clamp(1.08rem, 1.7vw, 1.5rem);
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 9px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--accent);
}

.text-link span {
  color: var(--accent);
  font-size: 1rem;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--border);
}

.section-header,
.project-heading {
  display: grid;
  align-items: end;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.42fr);
}

.section-index {
  margin: 0 0 24px;
  color: var(--accent);
}

.section-header h2,
.project-heading h2,
.documents-heading h2,
.contact h2 {
  font-size: clamp(3rem, 6.2vw, 6.5rem);
}

.snapshot-grid {
  display: grid;
  margin-top: clamp(64px, 9vw, 112px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  grid-template-columns: 0.75fr 1.25fr;
}

.snapshot-statement,
.snapshot-copy {
  padding: clamp(32px, 5vw, 70px);
}

.snapshot-statement {
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.snapshot-number {
  margin: 0;
  color: var(--text);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 760;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.snapshot-number span {
  color: var(--accent);
}

.snapshot-statement > p:last-child {
  max-width: 290px;
  margin: 42px 0 0;
  color: var(--secondary);
}

.snapshot-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
}

.snapshot-copy > p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.5rem, 3.4vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.focus-list span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-featured {
  background:
    radial-gradient(circle at 85% 24%, rgba(255, 105, 61, 0.08), transparent 24%),
    var(--background);
}

.project-heading {
  margin-bottom: clamp(56px, 8vw, 104px);
}

.project-type {
  justify-self: end;
  max-width: 340px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--accent);
  color: var(--secondary);
}

.featured-layout {
  display: grid;
  align-items: start;
  gap: clamp(32px, 5vw, 76px);
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.45fr);
}

.featured-layout > *,
.evidence-grid > *,
.project-split > *,
.skills-grid > *,
.contact-heading > * {
  min-width: 0;
}

.project-intro {
  margin: 0;
  color: #d7d4ce;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.spirit-intro {
  max-width: 760px;
}

.teaser-layout {
  display: grid;
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  margin: clamp(42px, 6vw, 78px) 0 clamp(64px, 9vw, 118px);
  grid-template-columns: minmax(0, 4fr) minmax(170px, 1fr);
}

.teaser-feature {
  min-width: 0;
  margin: 0;
}

.teaser-video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #08090b;
  transition: border-color 240ms ease;
}

.teaser-video-shell:hover,
.teaser-video-shell:focus-within {
  border-color: rgba(255, 105, 61, 0.75);
}

.teaser-video-shell video {
  width: 100%;
  height: auto;
  background: #08090b;
}

.teaser-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
}

.teaser-controls button {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(242, 240, 235, 0.24);
  background: rgba(11, 13, 16, 0.84);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.teaser-controls button:hover,
.teaser-controls button:focus-visible {
  border-color: var(--accent);
  background: rgba(11, 13, 16, 0.96);
  color: var(--accent);
}

.teaser-metadata {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  line-height: 1.55;
  text-transform: uppercase;
}

.teaser-metadata strong {
  color: var(--accent);
  font-weight: 500;
}

.teaser-metadata span:last-child {
  flex: 0 0 auto;
  text-align: right;
}

.teaser-note {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.teaser-kicker,
.teaser-state {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  line-height: 1.55;
  text-transform: uppercase;
}

.teaser-kicker {
  color: var(--accent);
}

.teaser-state {
  margin-top: 8px;
  color: var(--secondary);
}

.teaser-summary {
  margin: clamp(28px, 4vw, 52px) 0 0;
  color: #d7d4ce;
  font-size: 0.94rem;
  line-height: 1.6;
}

.build-model {
  margin-top: 0;
  padding: 20px;
  border: 1px solid var(--border);
  background: rgba(20, 23, 28, 0.76);
}

.build-model-top,
.build-model-bottom {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.build-model-top {
  position: relative;
  padding-bottom: 28px;
}

.build-model-top::after {
  position: absolute;
  right: 16.66%;
  bottom: 9px;
  left: 16.66%;
  height: 1px;
  background: var(--accent);
  content: "";
  opacity: 0.45;
}

.build-model-top span,
.build-model-bottom span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.build-model-top span:first-child {
  border-color: var(--accent);
}

.build-model-top small {
  color: var(--accent);
  font-size: 0.61rem;
}

.build-model-bottom span {
  min-height: 42px;
  color: var(--secondary);
}

.media-frame {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #08090b;
  transition: border-color 240ms ease;
}

.media-frame:hover {
  border-color: rgba(255, 105, 61, 0.75);
}

.media-frame video,
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.media-frame:hover video,
.media-frame:hover img {
  transform: scale(1.018);
}

.media-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
}

.media-frame figcaption span:first-child {
  color: var(--text);
}

.evidence-grid {
  display: grid;
  align-items: start;
  gap: clamp(32px, 5vw, 76px);
  margin-top: clamp(58px, 8vw, 110px);
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.45fr);
}

.project-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-points li {
  display: grid;
  gap: 22px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  grid-template-columns: 34px 1fr;
}

.project-points li:last-child {
  border-bottom: 1px solid var(--border);
}

.point-number {
  padding-top: 3px;
  color: var(--accent);
}

.project-points h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 650;
}

.project-points p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.93rem;
}

.secondary-media {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-split {
  display: grid;
  align-items: center;
  gap: clamp(54px, 9vw, 124px);
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.mobile-context {
  display: grid;
  align-items: end;
  gap: clamp(32px, 6vw, 92px);
  margin-bottom: clamp(54px, 8vw, 104px);
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
}

.mobile-boundary {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.mobile-gameplay-layout,
.mobile-ai-layout {
  display: grid;
  align-items: center;
  gap: clamp(46px, 8vw, 116px);
}

.mobile-gameplay-layout {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.mobile-ai-layout {
  margin-top: clamp(72px, 10vw, 132px);
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.65fr);
}

.mobile-video-frame {
  width: 100%;
  max-width: 470px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #08090b;
  transition: border-color 240ms ease;
}

.mobile-video-main {
  justify-self: center;
}

.mobile-video-secondary {
  max-width: 360px;
  justify-self: end;
}

.mobile-video-frame:hover {
  border-color: rgba(255, 105, 61, 0.75);
}

.mobile-video-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #08090b;
}

.mobile-video-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.mobile-video-frame figcaption span:first-child {
  color: var(--text);
}

.mobile-system-copy,
.mobile-ai-copy {
  max-width: 650px;
}

.mobile-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-system-copy h3,
.mobile-ai-copy h3,
.mobile-meta-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.mobile-system-copy > p:last-of-type,
.mobile-ai-copy > p:last-of-type,
.mobile-meta-heading > p {
  margin: clamp(26px, 4vw, 46px) 0 0;
  color: var(--secondary);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

.mobile-system-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(36px, 6vw, 64px);
}

.mobile-system-flow span {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-system-flow span:first-child,
.mobile-system-flow span:last-child {
  border-color: rgba(255, 105, 61, 0.7);
  color: var(--text);
}

.mobile-system-flow span:not(:last-child)::after {
  margin-left: 10px;
  color: var(--accent);
  content: "→";
}

.mobile-ai-copy {
  padding-block: clamp(36px, 6vw, 72px);
  border-block: 1px solid var(--border);
}

.mobile-meta {
  margin-top: clamp(96px, 14vw, 176px);
}

.mobile-meta-heading {
  display: grid;
  align-items: end;
  gap: clamp(36px, 7vw, 104px);
  margin-bottom: clamp(48px, 7vw, 84px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
}

.mobile-meta-heading > p {
  margin-top: 0;
}

.mobile-meta-grid {
  display: grid;
  align-items: start;
  gap: clamp(14px, 2vw, 26px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mobile-meta-item {
  min-width: 0;
  margin: 0;
}

.mobile-meta-item img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    border-color 220ms ease,
    transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mobile-meta-item:hover img {
  border-color: rgba(255, 105, 61, 0.68);
  transform: translateY(-4px);
}

.mobile-meta-item figcaption {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.mobile-meta-item strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-meta-item span {
  color: var(--secondary);
  font-size: 0.82rem;
  line-height: 1.55;
}

.mobile-production-note {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(52px, 7vw, 82px);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.mobile-production-note span:first-child {
  color: var(--accent);
}

.phone-gallery {
  position: relative;
  display: grid;
  min-height: 680px;
  place-items: center;
  isolation: isolate;
}

.phone-gallery::before {
  position: absolute;
  z-index: -1;
  inset: 12% 4%;
  border: 1px solid var(--border);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 105, 61, 0.16) 50%, transparent 50.1%),
    linear-gradient(transparent 49.9%, rgba(255, 105, 61, 0.16) 50%, transparent 50.1%),
    var(--surface);
  content: "";
}

.phone-card {
  position: absolute;
  width: clamp(205px, 24vw, 300px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  transition:
    transform 480ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 220ms ease;
}

.phone-card img {
  width: 100%;
  aspect-ratio: 0.75;
  object-fit: cover;
}

.phone-card-left {
  z-index: 1;
  transform: translateX(-58%) rotate(-6deg) scale(0.87);
}

.phone-card-center {
  z-index: 3;
  border-color: rgba(255, 105, 61, 0.65);
}

.phone-card-right {
  z-index: 2;
  transform: translateX(58%) rotate(6deg) scale(0.87);
}

.phone-gallery:hover .phone-card-left {
  transform: translateX(-64%) rotate(-8deg) scale(0.87);
}

.phone-gallery:hover .phone-card-right {
  transform: translateX(64%) rotate(8deg) scale(0.87);
}

.project-copy .project-points {
  margin-top: clamp(42px, 6vw, 72px);
}

.project-vr {
  background: #0d0f13;
}

.vr-intro {
  display: grid;
  align-items: start;
  gap: clamp(48px, 8vw, 120px);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.vr-role {
  padding-top: 18px;
  border-top: 1px solid var(--accent);
}

.vr-role > p,
.vr-block-label,
.splash-rule span,
.splash-contribution > p:first-child,
.vr-outcome > p:first-child {
  margin: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vr-role ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.vr-role li {
  padding: 8px 11px;
  border: 1px solid var(--border);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vr-block {
  margin-top: clamp(80px, 11vw, 150px);
}

.vr-block-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.vr-block-heading > p:not(.vr-block-label) {
  max-width: 470px;
  margin: 0;
  color: var(--secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: right;
}

.vr-block-heading h3 {
  max-width: 830px;
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.vr-showcase-grid {
  display: grid;
  align-items: end;
  gap: clamp(16px, 2.5vw, 34px);
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
}

.vr-media,
.splash-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #08090b;
  transition: border-color 220ms ease;
}

.vr-media:hover,
.splash-media:hover {
  border-color: rgba(255, 105, 61, 0.75);
}

.vr-media video,
.splash-media video {
  width: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.vr-media video {
  aspect-ratio: 16 / 9;
}

.vr-media:hover video,
.splash-media:hover video {
  transform: scale(1.012);
}

.vr-media figcaption,
.splash-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.vr-media figcaption span:first-child,
.splash-media figcaption span:first-child {
  color: var(--text);
}

.logic-flow {
  display: grid;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--border);
  grid-template-columns: repeat(4, 1fr);
}

.logic-flow span {
  position: relative;
  display: flex;
  min-height: 148px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
}

.logic-flow small {
  color: var(--accent);
  font-size: 0.6rem;
}

.logic-flow strong {
  margin-top: 20px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.logic-flow em {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.logic-flow span:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  right: -5px;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  background: #0d0f13;
  content: "";
}

.splash-case {
  padding: clamp(32px, 5vw, 68px);
  border: 1px solid var(--border);
  background: rgba(20, 23, 28, 0.55);
}

.splash-heading {
  max-width: 960px;
}

.splash-heading h3 {
  margin: 16px 0 0;
  font-size: clamp(2.8rem, 6.7vw, 7rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.splash-heading > p:last-child {
  max-width: 760px;
  margin: 26px 0 0;
  color: #d7d4ce;
  font-size: clamp(1.02rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.splash-layout {
  display: grid;
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
  margin-top: clamp(42px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.splash-media video {
  aspect-ratio: 1;
}

.splash-rule {
  margin: 0 0 30px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--border);
}

.splash-rule strong {
  display: block;
  max-width: 420px;
  margin-top: 16px;
  color: var(--text);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.splash-flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.splash-flow li {
  display: grid;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--border);
  grid-template-columns: 86px minmax(0, 1fr);
}

.splash-flow li:last-child {
  border-bottom: 1px solid var(--border);
}

.splash-flow span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.splash-flow p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.splash-contribution,
.vr-outcome {
  display: grid;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  grid-template-columns: 150px minmax(0, 1fr);
}

.splash-contribution {
  margin-top: clamp(40px, 6vw, 72px);
}

.splash-contribution > p:last-child,
.vr-outcome > p:last-child {
  max-width: 880px;
  margin: 0;
  color: #d7d4ce;
  line-height: 1.65;
}

.vr-outcome {
  margin-top: clamp(48px, 7vw, 86px);
}

.skills-grid {
  display: grid;
  align-items: start;
  gap: clamp(64px, 9vw, 130px);
  grid-template-columns: 0.9fr 1.1fr;
}

.skills-grid .section-header {
  display: block;
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.skill-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.skill-list li {
  display: grid;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.4rem, 2.7vw, 2.4rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  grid-template-columns: 70px 1fr;
  transition:
    padding-left 220ms ease,
    border-color 220ms ease;
}

.skill-list li:hover {
  padding-left: 12px;
  border-color: var(--accent);
}

.skill-list span {
  color: var(--accent);
}

.documents {
  background: #0d0f13;
}

.documents-heading {
  display: grid;
  align-items: end;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
}

.documents-heading > p {
  max-width: 330px;
  justify-self: end;
  margin: 0;
  color: var(--secondary);
}

.document-list {
  margin-top: clamp(58px, 8vw, 104px);
  border-top: 1px solid var(--border);
}

.document-row {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: 30px;
  padding: 26px 20px;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 82px minmax(0, 1fr) auto;
  transition:
    background-color 220ms ease,
    border-color 220ms ease;
}

.document-row:hover {
  border-color: rgba(255, 105, 61, 0.7);
  background: var(--surface);
}

.document-code,
.document-name p,
.document-actions a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.document-code {
  color: var(--accent);
}

.document-name {
  min-width: 0;
}

.document-name h3 {
  margin: 0 0 5px;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 620;
  letter-spacing: -0.02em;
}

.document-name p {
  margin: 0;
  color: var(--secondary);
}

.document-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.document-actions a {
  padding: 10px 12px;
  border: 1px solid var(--border);
  color: var(--secondary);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.document-actions a:hover,
.document-actions a:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 105, 61, 0.06);
  color: var(--text);
}

.contact {
  padding-bottom: 0;
  border-bottom: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 105, 61, 0.12), transparent 19%),
    var(--background);
}

.contact-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.contact-mark {
  display: grid;
  width: clamp(74px, 9vw, 122px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.contact-links {
  display: grid;
  margin-top: clamp(68px, 10vw, 130px);
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(3, 1fr);
}

.contact-link {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition:
    background-color 220ms ease,
    border-color 220ms ease;
}

.contact-link:first-child {
  border-left: 1px solid var(--border);
}

a.contact-link:hover,
a.contact-link:focus-visible {
  border-color: var(--accent);
  background: var(--surface);
}

.contact-link span {
  color: var(--accent);
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 550;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 34px;
  color: var(--secondary);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  :root {
    --section-space: clamp(5.5rem, 10vw, 7.5rem);
  }

  .container {
    width: min(calc(100% - 48px), var(--max-width));
  }

  .hero h1 {
    font-size: clamp(5rem, 14vw, 9rem);
  }

  .hero-orbit {
    right: 5vw;
    top: 27%;
  }

  .featured-layout,
  .evidence-grid {
    gap: 44px;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .teaser-layout {
    grid-template-columns: minmax(0, 3.4fr) minmax(160px, 1fr);
  }

  .secondary-media {
    grid-template-columns: 1fr;
  }

  .project-split {
    gap: 64px;
  }

  .mobile-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-meta-item {
    max-width: 430px;
  }

  .phone-gallery {
    min-height: 570px;
  }

  .vr-showcase-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }

  .splash-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand-label {
    display: none;
  }

  .menu-toggle {
    position: fixed;
    z-index: 102;
    top: 13px;
    right: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--border);
    background: var(--background);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--text);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    visibility: hidden;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 68px 18px 32px;
    background: rgba(11, 13, 16, 0.98);
    opacity: 0;
    transition:
      opacity 200ms ease,
      visibility 200ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    font-family: var(--sans);
    font-size: clamp(2.1rem, 9vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    text-transform: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header.is-scrolled {
    border-color: transparent;
    background: var(--background);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-meta span:last-child {
    display: none;
  }

  .hero-grid {
    background:
      radial-gradient(circle at 80% 36%, rgba(255, 105, 61, 0.12), transparent 22%),
      linear-gradient(90deg, transparent 0 82%, rgba(255, 255, 255, 0.035) 82% 82.2%, transparent 82.2%);
  }

  .hero-orbit {
    right: 9vw;
    top: 22%;
    width: 70px;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 21vw, 8rem);
  }

  .hero-lede {
    max-width: 26rem;
    margin-left: 0;
    font-size: 1.08rem;
  }

  .hero-footer {
    align-items: flex-end;
  }

  .section-header,
  .project-heading,
  .snapshot-grid,
  .teaser-layout,
  .featured-layout,
  .evidence-grid,
  .project-split,
  .mobile-context,
  .mobile-gameplay-layout,
  .mobile-ai-layout,
  .mobile-meta-heading,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .section-header,
  .project-heading {
    gap: 28px;
  }

  .section-header h2,
  .project-heading h2,
  .documents-heading h2,
  .contact h2 {
    font-size: clamp(2.9rem, 13vw, 5.2rem);
  }

  .snapshot-statement {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .snapshot-statement,
  .snapshot-copy {
    padding: 34px 24px;
  }

  .project-type {
    justify-self: start;
    max-width: none;
  }

  .featured-layout,
  .evidence-grid {
    gap: 46px;
  }

  .teaser-layout {
    gap: 26px;
    grid-template-columns: 1fr;
  }

  .teaser-note {
    display: grid;
    align-items: start;
    gap: 10px 24px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .teaser-state {
    margin-top: 0;
    text-align: right;
  }

  .teaser-summary {
    margin-top: 8px;
    grid-column: 1 / -1;
  }

  .featured-layout .featured-copy,
  .project-copy {
    width: 100%;
    min-width: 0;
    max-width: 620px;
  }

  .media-frame-main {
    order: -1;
  }

  .secondary-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-split {
    gap: 58px;
  }

  .mobile-context,
  .mobile-meta-heading {
    gap: 28px;
  }

  .mobile-gameplay-layout,
  .mobile-ai-layout {
    gap: 48px;
  }

  .mobile-ai-copy {
    order: 2;
  }

  .mobile-video-secondary {
    justify-self: center;
  }

  .phone-gallery {
    min-height: min(130vw, 620px);
  }

  .phone-card {
    width: min(43vw, 270px);
  }

  .vr-intro,
  .vr-showcase-grid,
  .splash-layout {
    grid-template-columns: 1fr;
  }

  .vr-block-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .vr-block-heading > p:not(.vr-block-label) {
    max-width: 620px;
    text-align: left;
  }

  .logic-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .logic-flow span:nth-child(2)::after {
    display: none;
  }

  .skills-grid .section-header {
    position: static;
  }

  .documents-heading {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .documents-heading > p {
    justify-self: start;
  }

  .document-row {
    align-items: start;
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .document-actions {
    justify-content: flex-start;
    grid-column: 2;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-link,
  .contact-link:first-child {
    min-height: 112px;
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero-inner {
    padding-bottom: 24px;
  }

  .hero-meta,
  .hero-index {
    font-size: 0.62rem;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 22vw, 6.2rem);
  }

  .text-link {
    gap: 12px;
    font-size: 0.65rem;
  }

  .section-header h2,
  .project-heading h2,
  .documents-heading h2,
  .contact h2 {
    font-size: clamp(2.6rem, 13.5vw, 4.3rem);
  }

  .project-intro {
    font-size: 1.12rem;
  }

  .mobile-video-frame,
  .mobile-video-secondary {
    max-width: 100%;
  }

  .mobile-video-frame figcaption,
  .mobile-production-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-meta-grid {
    grid-template-columns: 1fr;
  }

  .mobile-meta-item {
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
  }

  .teaser-layout {
    margin-top: 34px;
  }

  .teaser-controls {
    right: 8px;
    bottom: 8px;
  }

  .teaser-controls button {
    min-height: 40px;
    padding-inline: 10px;
  }

  .teaser-metadata,
  .teaser-note {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .teaser-metadata span:last-child,
  .teaser-state {
    text-align: left;
  }

  .teaser-summary {
    margin-top: 18px;
  }

  .build-model {
    padding: 12px;
  }

  .build-model-top span,
  .build-model-bottom span {
    font-size: 0.56rem;
  }

  .media-frame figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .secondary-media {
    grid-template-columns: 1fr;
  }

  .phone-gallery {
    min-height: 118vw;
  }

  .phone-card {
    width: 45vw;
  }

  .logic-flow {
    grid-template-columns: 1fr;
  }

  .logic-flow span::after {
    display: none;
  }

  .splash-case {
    padding: 24px 16px;
  }

  .vr-media figcaption,
  .splash-media figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .splash-flow li,
  .splash-contribution,
  .vr-outcome {
    grid-template-columns: 1fr;
  }

  .skill-list li {
    grid-template-columns: 46px 1fr;
  }

  .document-row {
    gap: 14px;
    padding: 22px 14px;
    grid-template-columns: 1fr;
  }

  .document-actions {
    grid-column: auto;
  }

  .contact-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-heading h2 {
    width: 100%;
    max-width: 100%;
  }

  .contact-mark {
    width: 68px;
    align-self: flex-start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
