@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --ink: #08111f;
  --ink-soft: #101d30;
  --paper: #f5f7fb;
  --muted: #a8b6c9;
  --line: rgba(255, 255, 255, 0.13);
  --signal: #ffad42;
  --sky: #ffd491;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.nav-is-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }

.section-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 150px); }
.section--contrast { background: #eef3f8; color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.88);
  backdrop-filter: blur(18px);
}
.site-header__inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -0.03em; font-size: 1.15rem; }
.brand__logo { width: 39px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255, 173, 66, .18)); transition: filter .25s ease, transform .25s ease; }
.brand:hover .brand__logo { filter: drop-shadow(0 0 14px rgba(255, 173, 66, .52)); transform: scale(1.04); }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--muted); font-size: .92rem; font-weight: 650; }
.site-nav a:hover { color: var(--paper); }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; }

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid var(--signal);
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
  font-weight: 760;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.button:hover { background: var(--sky); border-color: var(--sky); box-shadow: 0 0 0 4px rgba(255,173,66,.1); }
.button__arrow { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: rgba(8,17,31,.1); font-size: 1rem; line-height: 1; transition: transform .18s ease, background-color .18s ease; }
.button:hover .button__arrow { transform: translateX(3px); background: rgba(8,17,31,.16); }
.button:active .button__arrow { transform: translateX(1px); }
.button--small { min-height: 42px; padding-inline: 18px; font-size: .9rem; }
.button--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.button--ghost .button__arrow { background: rgba(255,255,255,.07); }
.button--ghost:hover { border-color: rgba(255,173,66,.55); background: rgba(255,173,66,.065); color: var(--paper); box-shadow: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(680px, calc(100vh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-block: clamp(72px, 9vw, 120px);
}
.eyebrow { margin: 0 0 18px; color: var(--signal); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .section-heading h2, .site-footer h2, .archive-hero h1, .project-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.4rem, 4.7vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -.05em;
}
.hero__copy { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { max-width: 760px; }
.hero__lead { max-width: 650px; margin: 26px 0 0; color: #cbd6e4; font-size: clamp(1rem, 1.35vw, 1.16rem); }
.hero-orbit { --orbit-radius: 180px; min-width: 0; margin: 0; display: grid; place-items: center; }
.hero-orbit__visual { position: relative; isolation: isolate; width: min(100%, 500px); aspect-ratio: 1; display: grid; place-items: center; }
.hero-orbit__visual::before { content: ""; position: absolute; z-index: -2; inset: 7%; border-radius: 50%; background: radial-gradient(circle, rgba(255,173,66,.16), rgba(255,173,66,.035) 42%, transparent 70%); filter: blur(8px); }
.hero-orbit__ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orbit__ring--outer { inset: 12%; border: 1px solid rgba(255,173,66,.26); box-shadow: 0 0 60px rgba(255,173,66,.045); transition: opacity .35s ease, transform .35s ease; }
.hero-orbit__ring--inner { inset: 28%; border: 1px dashed rgba(255,255,255,.16); }
.hero-orbit__core { position: relative; z-index: 3; width: 210px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px solid rgba(255,173,66,.55); border-radius: 50%; background: radial-gradient(circle at 36% 30%, #1c304b, #0d1a2c 68%); box-shadow: inset 0 0 42px rgba(255,173,66,.055), 0 22px 70px rgba(0,0,0,.38), 0 0 0 12px rgba(255,173,66,.025); }
.hero-orbit__core::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: inherit; }
.hero-orbit__core span, .hero-orbit__core small { color: var(--muted); font-size: .62rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.hero-orbit__core strong { margin: 5px 0 3px; color: var(--signal); font-family: "Space Grotesk", "Manrope", sans-serif; font-size: 1.55rem; line-height: 1; letter-spacing: -.04em; }
.hero-orbit__slot { --angle: 0deg; --counter-angle: 0deg; position: absolute; z-index: 4; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--angle)); animation: orbit-spin 34s linear infinite; }
.hero-orbit__node { position: absolute; left: 0; top: 0; width: 84px; height: 84px; border-radius: 50%; transform: translateX(var(--orbit-radius)) translate(-50%, -50%) rotate(var(--counter-angle)); animation: orbit-counter-spin 34s linear infinite; }
.hero-orbit__badge { position: relative; z-index: 2; width: 100%; height: 100%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(13,27,46,.96); box-shadow: 0 12px 34px rgba(0,0,0,.34); color: #e6edf6; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.hero-orbit__icon { width: 38px; height: 38px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.hero-orbit__icon--xbox { width: 42px; height: 42px; stroke-width: 1.5; }
.hero-orbit__node::before, .hero-orbit__node::after { content: ""; position: absolute; z-index: 1; inset: 0; border: 1px solid rgba(255,173,66,.58); border-radius: 50%; opacity: 0; pointer-events: none; }
.hero-orbit__node::after { animation-delay: .55s; }
.hero-orbit__node:hover::before, .hero-orbit__node:hover::after, .hero-orbit__node:focus-visible::before, .hero-orbit__node:focus-visible::after { animation: platform-ripple 1.65s ease-out infinite; }
.hero-orbit__node:hover .hero-orbit__badge, .hero-orbit__node:focus-visible .hero-orbit__badge { border-color: var(--signal); background: #14243a; color: var(--signal); }
.hero-orbit__slot--pc { --angle: 0deg; --counter-angle: 0deg; }
.hero-orbit__slot--playstation { --angle: 90deg; --counter-angle: -90deg; }
.hero-orbit__slot--xbox { --angle: 180deg; --counter-angle: -180deg; }
.hero-orbit__slot--switch { --angle: 270deg; --counter-angle: -270deg; }
.hero-orbit:hover .hero-orbit__slot, .hero-orbit:hover .hero-orbit__node, .hero-orbit:focus-within .hero-orbit__slot, .hero-orbit:focus-within .hero-orbit__node { animation-play-state: paused; }

@keyframes orbit-spin {
  from { transform: rotate(var(--angle)); }
  to { transform: rotate(calc(var(--angle) + 1turn)); }
}

@keyframes orbit-counter-spin {
  from { transform: translateX(var(--orbit-radius)) translate(-50%, -50%) rotate(var(--counter-angle)); }
  to { transform: translateX(var(--orbit-radius)) translate(-50%, -50%) rotate(calc(var(--counter-angle) - 1turn)); }
}

@keyframes platform-ripple {
  0% { transform: scale(.88); opacity: .72; }
  70%, 100% { transform: scale(1.75); opacity: 0; }
}

.proof-bar { border-block: 1px solid var(--line); }
.proof-bar__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow-x: auto; color: var(--muted); font-size: .78rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.proof-bar__inner span { white-space: nowrap; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 50px; margin-bottom: 56px; }
.section-heading h2, .site-footer h2, .archive-hero h1 { font-size: clamp(2rem, 3.4vw, 3.6rem); }
.section-heading > p { margin: 0; color: var(--muted); }
.section--contrast .section-heading > p { color: #526176; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { position: relative; overflow: hidden; min-height: 280px; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-soft); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.service-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -110px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,173,66,.18), transparent 68%); transition: transform .4s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(255,173,66,.5); box-shadow: 0 24px 60px rgba(0,0,0,.24); }
.service-card:hover::after { transform: scale(1.35); }
.service-card > span { color: var(--signal); font-size: .78rem; font-weight: 800; }
.service-card h3 { margin: 28px 0 12px; font-size: clamp(1.45rem, 2.3vw, 2.1rem); letter-spacing: -.04em; }
.service-card p { max-width: 520px; margin: 0; color: var(--muted); }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { position: relative; overflow: hidden; border: 1px solid #d9e1eb; border-radius: var(--radius); background: #fff; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.project-card::before { content: ""; position: absolute; z-index: 3; inset: 0 0 auto; height: 4px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(255,173,66,.45); box-shadow: 0 24px 55px rgba(8,17,31,.15); }
.project-card:hover::before { transform: scaleX(1); }
.project-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #dfe7f0; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-card__media img { transform: scale(1.035); }
.project-card__engine { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(8,17,31,.56); box-shadow: 0 5px 14px rgba(8,17,31,.24); }
.project-card__engine-icon { display: block; width: 29px; height: 29px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.34)); }
.project-card__engine-icon[src*="unity-mark"] { width: 25.5px; height: 25.5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.project-card__placeholder { display: grid; place-items: center; height: 100%; color: #64748b; font-size: 3rem; font-weight: 850; }
.project-card__body { position: relative; z-index: 2; padding: 20px 24px 22px; color: #000; }
.project-card__overlay { position: absolute; z-index: 1; inset: 0; border-radius: inherit; }
.project-card__overlay:focus-visible { outline: 3px solid var(--signal); outline-offset: -5px; }
.project-card h3 { margin: 14px 0 14px; color: #000; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -.035em; }
.project-card h3 a, .project-card__storefronts a, .project-card__link { color: #000; }
.project-card h3 a:hover, .project-card h3 a:focus-visible, .project-card__storefronts a:hover, .project-card__storefronts a:focus-visible, .project-card__link:hover, .project-card__link:focus-visible { color: #000; }
.project-card .project-card__link, .text-link { color: #000; font-weight: 760; }
.tag-list, .capability-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.project-card .tag-list li { padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; color: #000; font-size: .7rem; font-weight: 760; text-transform: uppercase; }
.tag-list li, .capability-list span { padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; color: #5d6d82; font-size: .7rem; font-weight: 760; text-transform: uppercase; }
.project-card .project-platform-tags li, .project-platform-tags li { text-transform: none; letter-spacing: 0; }

.engagement-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.engagement-steps li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.engagement-steps > li > span { color: var(--signal); font-weight: 800; }
.engagement-steps h3 { margin: 0 0 6px; font-size: 1.5rem; }
.engagement-steps p { margin: 0; color: var(--muted); }
.capability-callout { text-align: center; }
.capability-callout h2 { max-width: 860px; margin: 0 auto 36px; font-family: "Space Grotesk", "Manrope", sans-serif; font-size: clamp(2rem, 3.8vw, 4rem); line-height: 1.04; letter-spacing: -.05em; }
.capability-list { justify-content: center; }
.capability-list span { color: var(--muted); }

.site-footer { padding: 90px 0 28px; background: var(--signal); color: var(--ink); }
.site-footer .eyebrow { color: #542400; }
.site-footer__grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.site-footer__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.site-footer .button { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(8,17,31,.25); font-size: .82rem; font-weight: 650; }

.about-masthead { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); padding-block: clamp(48px, 6vw, 80px) clamp(72px, 10vw, 140px); }
.about-masthead__label { display: flex; flex-direction: column; justify-content: space-between; min-height: 330px; padding-right: 24px; border-right: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.about-masthead__copy h1 { margin: 0; font-family: "Space Grotesk", "Manrope", sans-serif; font-size: clamp(4rem, 9vw, 8.5rem); line-height: .84; letter-spacing: -.075em; }
.about-masthead__copy > p:last-child { max-width: 880px; margin: 56px 0 0; color: #cbd6e4; font-size: clamp(1.2rem, 2.2vw, 1.8rem); line-height: 1.48; }
.about-story { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); padding-block: clamp(90px, 11vw, 150px); border-top: 1px solid var(--line); }
.about-story__rail { display: flex; flex-direction: column; gap: 22px; color: var(--signal); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.about-story__line { width: 1px; height: 150px; background: linear-gradient(var(--signal), transparent); }
.about-story__body h2, .about-operating h2, .about-cta h2 { margin: 0; font-family: "Space Grotesk", "Manrope", sans-serif; font-size: clamp(2.2rem, 4.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.05em; }
.about-story__lead { max-width: 860px; margin: 34px 0 70px; color: var(--muted); font-size: 1.12rem; }
.about-practice { border-bottom: 1px solid var(--line); }
.about-practice article { display: grid; grid-template-columns: 70px minmax(180px, .55fr) minmax(0, 1fr); gap: 28px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.about-practice article > span { color: var(--signal); font-size: .72rem; font-weight: 800; }
.about-practice h3 { margin: 0; font-size: 1.35rem; }
.about-practice p { margin: 0; color: var(--muted); }
.about-operating { padding-block: clamp(90px, 11vw, 150px); background: var(--paper); color: var(--ink); }
.about-operating__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr); gap: clamp(60px, 10vw, 150px); }
.about-operating .eyebrow { color: #985100; }
.about-operating__list { margin: 0; }
.about-operating__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 25px 0; border-top: 1px solid #cbd4df; }
.about-operating__list > div:last-child { border-bottom: 1px solid #cbd4df; }
.about-operating dt { color: #985100; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.about-operating dd { margin: 0; color: #425168; }
.about-cta { padding-block: clamp(100px, 12vw, 170px); }
.about-cta > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: end; }
.about-cta h2 { max-width: 900px; }
.about-cta .button { margin-bottom: 4px; }

.platform-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -30px 0 54px; }
.platform-filters a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .76rem; font-weight: 760; }
.platform-filters a:hover, .platform-filters a.is-active { border-color: var(--signal); background: rgba(255,173,66,.1); color: var(--paper); }
.portfolio-empty { min-height: 220px; color: var(--muted); }

body.post-type-archive-portfolio-item main.site-main.section { padding-block: 0; }
body.post-type-archive-portfolio-item main.site-main.section-shell { padding-bottom: clamp(64px, 8vw, 112px); }
.archive-hero, .project-hero { padding-block: clamp(36px, 5vw, 64px) 70px; }
.archive-hero .eyebrow { color: var(--signal); }
.archive-hero p { max-width: 650px; color: var(--muted); }
.project-detail { padding-bottom: 120px; }
.project-hero h1 { max-width: 100%; margin-block: 24px; }
.project-hero__lead { max-width: 760px; color: var(--muted); font-size: 1.2rem; }
.back-link { display: inline-block; margin-bottom: 36px; color: var(--muted); font-weight: 700; }

@media (min-width: 901px) {
  .project-hero h1 { max-width: none; font-size: clamp(2.4rem, 3.6vw, 3.25rem); white-space: nowrap; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-orbit { --orbit-radius: 150px; }
  .hero-orbit__visual { width: min(100%, 430px); }
}

@media (max-width: 900px) {
  .project-hero h1 { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .back-link { margin-bottom: 24px; }
}
.project-cover { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.project-cover img { width: 100%; max-height: 720px; object-fit: cover; }
.lightbox-trigger { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; cursor: zoom-in; }
.project-gallery .lightbox-trigger { overflow: hidden; }
.project-gallery .lightbox-trigger img { transition: transform .25s ease; }
.project-gallery .lightbox-trigger:hover img, .project-gallery .lightbox-trigger:focus-visible img { transform: scale(1.025); }
.project-lightbox[hidden] { display: none; }
.project-lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; }
.project-lightbox__backdrop { position: absolute; inset: 0; background: rgba(3,8,16,.92); }
.project-lightbox__panel { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; width: min(100%, 1180px); max-height: calc(100vh - 48px); }
.project-lightbox__image { grid-column: 2; width: 100%; max-height: calc(100vh - 100px); object-fit: contain; border-radius: 12px; box-shadow: 0 24px 90px rgba(0,0,0,.5); }
.project-lightbox__close, .project-lightbox__control { border: 1px solid rgba(255,255,255,.48); background: rgba(8,17,31,.82); color: var(--paper); cursor: pointer; }
.project-lightbox__close { position: absolute; z-index: 2; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; font-size: 1.8rem; line-height: 1; }
.project-lightbox__control { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; font-size: 2rem; line-height: 1; }
.project-lightbox__control--prev { grid-column: 1; }
.project-lightbox__control--next { grid-column: 3; }
body.lightbox-is-open { overflow: hidden; }
.project-lightbox :focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.project-content { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, .8fr); gap: 60px; padding-top: 70px; }
.prose-card { max-width: 760px; }
.prose-card h2, .prose-card h3 { letter-spacing: -.035em; }
.prose-card p { color: #c7d2e0; }
.project-facts { display: flex; flex-direction: column; gap: 24px; }
.project-facts > div { padding-top: 18px; border-top: 1px solid var(--line); }
.project-facts > div > .tag-list { margin-top: 14px; gap: 10px; }
.project-facts > div > .tag-list li { color: #fff; border-color: #fff; }
.project-facts > div > span { display: block; }
.project-fact-engine { display: flex; width: max-content; align-items: center; gap: 10px; margin: 10px 0 0; color: #fff; font-weight: 700; }
.project-fact-engine img { display: block; width: 28px; height: 28px; object-fit: contain; }
.project-fact-engine span { color: #fff !important; font-size: 1rem; font-weight: 700; text-transform: none; }
.project-storefronts { display: flex; flex-direction: column; gap: 10px; }
.project-storefronts a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); color: #fff; font-weight: 700; }
.project-storefronts__label { display: inline-flex; align-items: center; gap: 12px; }
.project-facts .project-storefronts__label > span { color: #fff; }
.platform-icon { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; color: #fff; }
.project-storefronts a > span:last-child { color: #fff; }
.project-storefronts a:hover { color: var(--signal); }
.project-storefronts a:hover .project-storefronts__label > span, .project-storefronts a:hover .platform-icon, .project-storefronts a:hover > span:last-child { color: var(--signal); }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 80px; }
.project-gallery > h2 { grid-column: 1 / -1; margin: 0 0 4px; font-family: "Space Grotesk", "Manrope", sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.04em; }
.project-gallery figure { overflow: hidden; margin: 0; border: 1px solid var(--line); background: var(--ink-soft); }
.project-gallery img, .project-gallery video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-gallery__video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.project-gallery__video-frame video { display: block; height: 100%; }
.project-gallery__play { position: absolute; inset: 50% auto auto 50%; display: grid; width: 68px; height: 68px; place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.76); border-radius: 50%; background: rgba(8,17,31,.76); color: #fff; cursor: pointer; font-size: 1.45rem; line-height: 1; transition: background-color .18s ease, transform .18s ease, opacity .18s ease; }
.project-gallery__play:hover, .project-gallery__play:focus-visible { background: var(--signal); color: var(--ink); transform: translate(-50%, -50%) scale(1.05); }
.project-gallery__video-frame.is-playing .project-gallery__play { opacity: 0; pointer-events: none; }
.project-gallery figcaption { padding: 12px 16px; color: var(--muted); font-size: .8rem; }
.project-gallery__video { grid-column: 1 / -1; }
.project-facts span { color: var(--signal); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.pagination { margin-top: 50px; }
.nav-links { display: flex; gap: 10px; }
.page-numbers { display: grid; min-width: 44px; height: 44px; place-items: center; border: 1px solid currentColor; border-radius: 50%; }

@media (max-width: 900px) {
  .about-masthead { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 100px minmax(0, 1fr); }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-left: auto; }
  .nav-toggle__icon { display: grid; gap: 5px; }
  .nav-toggle__icon span { width: 22px; height: 2px; background: currentColor; }
  .site-nav { position: fixed; inset: 78px 0 auto; display: none; padding: 28px 20px 40px; border-bottom: 1px solid var(--line); background: var(--ink); }
  .site-nav.is-open { display: block; }
  .site-nav__list { align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.2rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-orbit { width: min(100%, 540px); margin-inline: auto; }
  .about-masthead, .about-story { grid-template-columns: 100px minmax(0, 1fr); }
  .about-operating__inner { grid-template-columns: 1fr; }
  .about-cta > div { grid-template-columns: 1fr; align-items: start; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery__video { grid-column: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__contact { align-items: flex-start; }
  .project-content { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-block: 64px; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .hero-orbit { --orbit-radius: 120px; width: min(100%, 350px); }
  .hero-orbit__core { width: 158px; }
  .hero-orbit__core strong { font-size: 1.18rem; }
  .hero-orbit__core span, .hero-orbit__core small { font-size: .5rem; }
  .hero-orbit__node { width: 69px; height: 69px; }
  .hero-orbit__icon { width: 32px; height: 32px; }
  .about-masthead, .about-story { grid-template-columns: 1fr; gap: 34px; }
  .about-masthead__label { min-height: 0; flex-direction: row; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-masthead__copy h1 { font-size: clamp(4rem, 22vw, 6.2rem); }
  .about-masthead__copy > p:last-child { margin-top: 38px; }
  .about-story__rail { flex-direction: row; align-items: center; }
  .about-story__line { width: 100px; height: 1px; background: linear-gradient(90deg, var(--signal), transparent); }
  .about-practice article { grid-template-columns: 40px 1fr; gap: 14px; }
  .about-practice article p { grid-column: 2; }
  .about-operating__list > div { grid-template-columns: 90px 1fr; }
  .proof-bar__inner { justify-content: flex-start; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 240px; }
  .service-card h3 { margin-top: 24px; }
  .engagement-steps li { grid-template-columns: 54px 1fr; }
  .site-footer__bottom { flex-direction: column; }
}

/* About masthead: the live template has one child, so it must not land in a narrow legacy track. */
.about-masthead {
  grid-template-columns: minmax(0, 1fr);
}
.about-masthead > .about-masthead__copy {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}
.about-masthead__copy > p:not(.eyebrow) {
  width: min(100%, 880px);
  max-width: 880px;
}
.about-masthead__scope {
  display: grid;
  gap: 24px;
  width: min(100%, 1060px);
  max-width: 1060px;
  margin: 56px 0 0;
  padding-left: 0;
  list-style: none;
}
.about-masthead__scope li {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
  min-width: 0;
}
.about-masthead__scope strong,
.about-masthead__scope span {
  min-width: 0;
}
@media (max-width: 640px) {
  .about-masthead__scope,
  .about-masthead__scope li {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-masthead__scope li {
    row-gap: 8px;
  }
  .about-masthead__scope {
    width: 100%;
    margin-top: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-orbit__slot, .hero-orbit__node, .hero-orbit__node::before, .hero-orbit__node::after { animation: none !important; }
}
