/* Jordan: charcoal surfaces, vermilion accents, authentic artwork.
   Radius: 32px stages, 22px media, 14px controls, pill buttons.
   Layers: content 0, sticky navigation 10, mobile menu 11. */
@font-face {
  font-family: Geist;
  src: url("geist-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("geist-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("geist-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
:root {
  --bg: #161719;
  --surface: #202225;
  --ink: #f1f1ef;
  --muted: #b8babd;
  --accent: #f34b3d;
  --line: #ffffff1c;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
  font-family: Geist, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
[hidden] {
  display: none !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #ff9185;
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: #171719;
}
.shell {
  width: calc(100% - 72px);
  max-width: 1440px;
  margin-inline: auto;
}
.section {
  padding-block: 110px;
}
section[id],
footer[id] {
  scroll-margin-top: 110px;
}
h2 {
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.055em;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: var(--ink);
  color: var(--bg);
  padding: 14px;
}
.skip:focus {
  top: 12px;
}
/* Navigation is quiet enough to let the work lead. */
.header {
  height: 76px;
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-block: 10px 18px;
  padding: 12px 18px;
  background: #202225;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-portrait {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #141517;
}
.header-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.header-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1;
}
.header-role {
  font-size: 10px;
  color: var(--muted);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.desktop-nav a {
  font-size: 13px;
  color: #c2c3c6;
  padding: 12px 16px;
  border-radius: 99px;
  transition:
    background 0.25s,
    color 0.25s;
}
.desktop-nav a:hover,
.desktop-nav a.is-current {
  background: #36383c;
  color: var(--ink);
}
sup {
  font-size: 8px;
  margin-left: 3px;
  color: var(--muted);
}
.contact-link,
.work-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  min-height: 46px;
  border-radius: 99px;
  background: var(--accent);
  color: #191919;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background 0.25s;
}
.contact-link:hover {
  background: #ff7262;
}
.menu-toggle {
  display: none;
}
.header #mobile-menu {
  position: absolute;
  top: 78px;
  left: 0;
  right: 0;
  background: #26282b;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 30px #10111255;
}
.header #mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 20px;
  letter-spacing: -0.025em;
}
/* A single red stage. The avatar floats in space rather than inside a second card. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: 20px;
  min-height: 570px;
  max-height: 740px;
  height: calc(100svh - 125px);
  padding: 48px 54px;
  background: var(--accent);
  color: #191919;
  border-radius: 32px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero-role {
  font-size: 14px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(100px, 12vw, 186px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.085em;
  padding-bottom: 10px;
  white-space: nowrap;
}
.hero-description {
  font-size: 17px;
  line-height: 1.6;
  margin-top: 28px;
  max-width: 390px;
}
.hero-description a {
  border-bottom: 1px solid #19191944;
  transition: border-color 0.25s;
}
.hero-description a:hover {
  border-color: #191919;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 33px;
}
.hero .work-link {
  background: #191919;
  color: var(--ink);
  padding: 17px 28px;
}
.hero .work-link:hover {
  transform: translateY(-3px);
  background: #2c2828;
}
.hero-experience {
  display: flex;
  align-items: center;
  min-height: 46px;
  font-size: 13px;
  border-bottom: 1px solid #19191955;
}
.hero-art {
  position: relative;
  height: 100%;
  min-height: 420px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.avatar-backdrop {
  position: absolute;
  width: 98%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ce362c;
  z-index: -2;
}
.avatar-orbit {
  position: absolute;
  width: 115%;
  aspect-ratio: 1;
  border: 1px solid #7b211e48;
  border-radius: 50%;
  transform: rotateX(62deg) rotate(-25deg);
  z-index: -1;
}
.avatar-tilt {
  width: 113%;
  max-width: 595px;
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg));
  transition: transform 0.6s var(--ease);
}
.hero-avatar {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 14px #86241e35);
  animation: avatar-float 7s ease-in-out infinite;
}
.avatar-shadow {
  position: absolute;
  bottom: 0;
  width: 48%;
  height: 15px;
  background: #8f251f;
  opacity: 0.4;
  filter: blur(14px);
  z-index: -1;
}
.hero-social {
  position: absolute;
  bottom: 22px;
  right: 34px;
  font-size: 11px;
}
.hero-social a {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 5px;
}
.hero-social img {
  width: 12px;
  height: 12px;
}
.hero-letter {
  display: inline-block;
  animation: name-enter 0.8s var(--ease) both;
  animation-delay: calc(var(--letter) * 45ms);
}
@keyframes name-enter {
  from {
    opacity: 0;
    transform: translateY(35px) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes avatar-float {
  0%,
  100% {
    transform: translateY(2px) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}
.achievement-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 35px 12px 32px;
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.achievement-band > div {
  min-width: 0;
}
.achievement-band strong {
  display: block;
  font-size: clamp(42px, 4.7vw, 67px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.1;
}
.achievement-band strong span {
  color: var(--accent);
}
.achievement-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-top: 13px;
}
.achievement-band p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 7px;
  max-width: 200px;
}
/* Profile: the supplied Discord portrait is a proper visual, not a tiny thumbnail. */
.about {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 9%;
  align-items: center;
}
.profile {
  align-self: center;
}
.profile > img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 14px;
  background: #232528;
  border: 1px solid var(--line);
  object-fit: contain;
}
.profile > a {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 22px;
}
.about-content h2 {
  font-size: 30px;
  margin-bottom: 24px;
}
.about-content .lead {
  font-size: clamp(25px, 2.8vw, 39px);
  line-height: 1.35;
  letter-spacing: -0.035em;
  max-width: 870px;
}
.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-top: 34px;
}
.about-columns p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.production {
  padding-top: 20px;
}
.section-heading {
  margin-bottom: 34px;
}
.featured-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  border-radius: 28px;
  overflow: hidden;
  background: #272421;
}
.game-image {
  overflow: hidden;
  background: #547e88;
  display: block;
}
.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
  transition: transform 0.85s var(--ease);
}
.game-image:hover img {
  transform: scale(1.045);
}
.game-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.project-kind {
  font-size: 12px;
  color: #ff9a82;
  margin-bottom: 22px;
}
.game-info h3 {
  font-size: clamp(35px, 4vw, 61px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 500;
}
.game-info > p:not(.project-kind) {
  font-size: 15px;
  line-height: 1.75;
  color: #d0c5bf;
  margin-top: 22px;
  max-width: 280px;
}
.text-link {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid #d9c7bb88;
  margin-top: 25px;
  transition: border-color 0.25s;
}
.text-link:hover {
  border-color: var(--accent);
}
.games-preview {
  margin-top: 58px;
}
.games-heading {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
}
.games-heading h3 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.game-controls {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.game-controls button {
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  padding: 12px 16px;
  font-size: 12px;
  min-height: 44px;
}
.game-controls button:hover {
  background: #2c2e31;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 22px;
}
.catalog-card {
  min-width: 0;
}
.catalog-art {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: #30373e;
  aspect-ratio: 16/9;
}
.catalog-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.catalog-card:hover .catalog-art img {
  transform: scale(1.045);
}
.catalog-card h3,
.catalog-card h2 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-top: 17px;
}
.peak-source {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  padding-block: 10px;
  line-height: 1.5;
}
.peak-source strong {
  color: #e2e3e4;
  font-weight: 500;
}
.peak-source:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.peak-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 25px;
}
.all-games-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding: 14px 23px;
  border: 1px solid #ffffff40;
  border-radius: 99px;
  font-size: 13px;
  min-height: 46px;
  transition: background 0.25s;
}
.all-games-link:hover {
  background: #303235;
}
.game-controls {
  display: none;
}
/* Integrations: one uninterrupted brand shelf, with original company lettering. */
.integrations {
  margin-top: 85px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.integrations h3 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.integrations > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}
.brand-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding: 0;
}
.brand-list li {
  min-width: 0;
}
.brand-list a {
  height: 142px;
  display: grid;
  place-items: center;
  background: #eaeceb;
  border-radius: 22px;
  padding: 26px;
  transition:
    transform 0.35s var(--ease),
    background 0.35s;
}
.brand-list a:hover {
  transform: translateY(-5px);
  background: #fff;
}
.brand-list img {
  width: 100%;
  max-width: 185px;
  height: 75px;
  object-fit: contain;
}
.brand-list .samsung-tile img {
  max-width: 220px;
  width: 100%;
}
.integration-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
/* Community keeps TIR's own navy identity and vault logo intact. */
.community {
  padding-top: 0;
  padding-bottom: 110px;
}
.community-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  background: #1c2537;
  border: 1px solid #7288af30;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.community-identity {
  background: #141e30;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.tir-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg));
  transition: transform 0.8s var(--ease);
}
.community-content {
  padding: 55px;
  min-width: 0;
}
.ownership {
  font-size: 13px;
  color: #b3bfd4;
  margin-bottom: 32px;
}
.community-content h2 {
  font-size: clamp(42px, 5.2vw, 76px);
  max-width: 480px;
}
.community-content .lead {
  font-size: 17px;
  line-height: 1.75;
  color: #c2cbdc;
  margin-top: 28px;
  max-width: 350px;
}
.community-detail {
  display: flex;
  gap: 18px;
  align-items: center;
  border-top: 1px solid #9baed22c;
  padding-top: 26px;
  margin-top: 35px;
  color: #c2cbdc;
  font-size: 12px;
  line-height: 1.7;
}
.community-detail img {
  width: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
/* Events: portraits are the story. Tall image panels, not floating badges. */
.events {
  padding-top: 0;
  display: grid;
  grid-template-columns: 0.85fr 1.65fr;
  gap: 50px;
  align-items: center;
}
.events-intro h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  max-width: 390px;
}
.events-intro h2 span {
  color: var(--accent);
}
.events-intro > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 28px;
  max-width: 340px;
}
.guest-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 23px;
}
.guests {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.guest:nth-child(2) {
  padding-top: 48px;
}
.guest:nth-child(3) {
  padding-top: 22px;
}
.portrait-wrap {
  aspect-ratio: 4/5;
  border-radius: 100px 100px 22px 22px;
  overflow: hidden;
  background: #303234;
  transform: perspective(700px) rotateX(var(--pointer-y, 0deg))
    rotateY(var(--pointer-x, 0deg));
  transition: transform 0.6s var(--ease);
}
.portrait-wrap img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.guest:hover img {
  transform: scale(1.06);
}
.guest-joe .portrait-wrap {
  background: #33383e;
}
.guest-kizmo .portrait-wrap {
  background: #122e2d;
  padding: 22px;
}
.guest-kizmo img {
  object-fit: contain;
}
.guest h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-top: 20px;
}
.guest > p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 7px;
}
/* Partnerships use a compact identity row; collaborations use a contrasting open logo field. */
.partners {
  padding-top: 10px;
  padding-bottom: 85px;
}
.partner-heading h2 {
  font-size: 39px;
}
.partner-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.partner-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  background: #242629;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 18px;
  gap: 16px;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s;
}
.partner-tile:hover {
  transform: translateY(-6px);
  border-color: #ffffff50;
}
.partner-symbol {
  width: 100%;
  height: 70px;
  display: grid;
  place-items: center;
}
.partner-symbol img {
  width: 100%;
  height: 65px;
  object-fit: contain;
}
.partner-rogold img {
  width: 60px;
  height: 60px;
}
.partner-geekout {
  background: #e5e7e5;
  color: #181a1b;
}
.partner-name {
  font-size: 12px;
  color: var(--muted);
}
.partner-geekout .partner-name {
  color: #393d3f;
}
.partner-unconfirmed .partner-symbol span {
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.04em;
}
.partner-unconfirmed {
  background: #302825;
}
.company-credits {
  padding-bottom: 100px;
}
.credits-heading {
  margin-bottom: 30px;
}
.credits-heading h2 {
  font-size: 39px;
}
.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 22px;
  background: #1c1e20;
  border: 1px solid var(--line);
  border-radius: 30px;
  gap: 8px;
}
.credits-grid li {
  min-width: 0;
}
.credit-link {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 22px;
  border-radius: 18px;
  transition: background 0.4s;
}
.credit-link:hover {
  background: #292b2f;
}
.credit-art {
  display: grid;
  place-items: center;
  width: 100%;
  height: 85px;
  transition: transform 0.5s var(--ease);
}
.credit-art img {
  max-width: 90%;
  width: 195px;
  height: 65px;
  object-fit: contain;
}
.credit-misfits .credit-art img {
  width: 100px;
  height: 85px;
}
.credit-basket .credit-art img {
  filter: brightness(0) invert(1);
  width: 225px;
}
.credit-inter .credit-art img {
  width: 85px;
  height: 85px;
}
.credit-metaheights img {
  width: 215px;
}
.credit-link:hover .credit-art {
  transform: translateY(-4px);
}
/* A deliberate full stop: bold red heading, clear email, tactile contact rows. */
.closing {
  position: relative;
  padding: 48px;
  background: #242426;
  border-radius: 32px 32px 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  overflow: hidden;
}
.closing-main {
  padding-bottom: 35px;
}
.closing-heading {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 28px;
}
.closing-heading > img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #161719;
  object-fit: contain;
}
.closing-heading h2 {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500;
}
.closing-heading h2 span {
  color: var(--accent);
}
.closing-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(24px, 3.2vw, 46px);
  letter-spacing: -0.045em;
  padding-bottom: 9px;
  border-bottom: 1px solid #f34b3d90;
  color: #e9e8e5;
  max-width: 100%;
  transition: color 0.25s;
}
.closing-email:hover {
  color: #ff8c7c;
}
.closing-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.closing-links > a,
.closing-links > button {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-align: left;
  border: 1px solid var(--line);
  background: #1b1d20;
  border-radius: 18px;
  padding: 23px;
  min-height: 100px;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.closing-links > a:hover,
.closing-links > button:hover {
  background: #302825;
  border-color: #e88b7b55;
}
.closing-links img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.closing-detail {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.closing-network {
  font-size: 11px;
  color: var(--muted);
}
.closing-handle {
  font-size: 15px;
  letter-spacing: -0.025em;
}
.contact-action {
  font-size: 11px;
  color: #b9babc;
  margin-left: auto;
}
.closing-bottom {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted);
}
.closing-bottom > span {
  margin-right: auto;
}
.closing-bottom button {
  border: 0;
  background: none;
  font-size: 11px;
  padding: 12px 0;
  min-height: 44px;
}
.closing-bottom > a {
  padding-block: 12px;
  min-height: 44px;
}
#copy-status {
  min-height: 17px;
  margin-top: 13px;
  font-size: 12px;
  color: var(--muted);
}
/* Gallery stays a separate, searchable directory. */
.game-directory {
  padding-block: 48px 100px;
}
.back-link {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.game-directory h1 {
  font-size: clamp(65px, 8vw, 120px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.065em;
  margin-top: 24px;
}
.game-directory > p:not(.peak-note) {
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.7;
}
.game-filters {
  display: grid;
  grid-template-columns: 1fr 260px auto;
  gap: 20px;
  align-items: end;
  margin-top: 40px;
}
.game-filters label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.game-filters input,
.game-filters select {
  border: 1px solid #ffffff30;
  border-radius: 14px;
  background: #242629;
  color: var(--ink);
  min-height: 50px;
  padding: 12px 16px;
  width: 100%;
}
.game-filters input::placeholder {
  color: #a8a9ac;
}
.game-filters > p {
  font-size: 12px;
  color: var(--muted);
  padding-block: 17px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
  margin-top: 35px;
}
#games-empty {
  padding: 60px 20px;
  color: var(--muted);
  text-align: center;
}
/* One reveal system. Assets remain visible and start loading before their entrance. */
.entering {
  animation: section-enter 0.65s var(--ease) both;
  animation-delay: var(--delay, 0ms);
}
@keyframes section-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .community-identity .tir-logo {
      animation: community-depth linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes community-depth {
      from {
        transform: scale(1.08) translateY(-10px);
      }
      to {
        transform: scale(1) translateY(10px);
      }
    }
  }
}
/* Mobile: flow first, with a native swipe gallery instead of a long six-card wall. */
@media (min-width: 1600px) {
  .shell {
    width: calc(100% - 100px);
  }
  .hero {
    height: 700px;
  }
  .hero h1 {
    font-size: 185px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 48px);
  }
  .section {
    padding-block: 85px;
  }
  .header {
    gap: 16px;
  }
  .desktop-nav a {
    padding: 12px 10px;
    font-size: 12px;
  }
  .hero {
    min-height: 500px;
    padding: 35px 40px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-art {
    min-height: 370px;
  }
  .about {
    grid-template-columns: 210px 1fr;
    gap: 6%;
  }
  .game-info {
    padding: 30px;
  }
  .community-content {
    padding: 35px;
  }
  .events {
    gap: 32px;
    grid-template-columns: 1fr 1.8fr;
  }
  .events-intro h2 {
    font-size: 45px;
  }
  .guests {
    gap: 12px;
  }
  .guest-kizmo .portrait-wrap {
    padding: 16px;
  }
  .closing {
    padding: 35px;
  }
  .closing-links > a,
  .closing-links > button {
    padding: 18px;
    gap: 12px;
  }
  .closing-handle {
    font-size: 13px;
  }
}
@media (max-width: 850px) and (min-width: 768px) {
  .header-name {
    font-size: 17px;
  }
  .header-role {
    font-size: 8px;
  }
  .header-portrait {
    width: 32px;
    height: 32px;
  }
  .desktop-nav a {
    font-size: 11px;
    padding: 12px 8px;
  }
  .contact-link {
    font-size: 12px;
    padding: 14px 18px;
  }
  .hero {
    padding: 30px;
  }
  .hero h1 {
    font-size: 12vw;
  }
  .hero-art {
    min-height: 330px;
  }
  .about-columns {
    gap: 22px;
  }
  .events {
    grid-template-columns: 1fr;
  }
  .events-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
  }
  .events-intro > p {
    margin: 0;
  }
  .portrait-wrap {
    aspect-ratio: 1;
  }
  .guest:nth-child(n) {
    padding: 0;
  }
  .closing-links {
    grid-template-columns: 1fr;
  }
  .closing-links > a,
  .closing-links > button {
    min-height: 85px;
  }
  .partner-logos {
    gap: 9px;
  }
  .partner-tile {
    padding: 18px 12px;
  }
  .partner-name {
    font-size: 10px;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 94px;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .section {
    padding-block: 65px;
  }
  section[id],
  footer[id] {
    scroll-margin-top: 94px;
  }
  h2 {
    font-size: 40px;
  }
  .header {
    top: 8px;
    height: 64px;
    margin-block: 8px 12px;
    border-radius: 20px;
    padding: 8px 12px;
    gap: 10px;
  }
  .header-portrait {
    width: 32px;
    height: 32px;
  }
  .header-name {
    font-size: 18px;
  }
  .header-role {
    font-size: 8px;
  }
  .desktop-nav {
    display: none;
  }
  .header .contact-link {
    margin-left: auto;
    min-height: 44px;
    font-size: 11px;
    padding: 12px 17px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
  }
  .menu-toggle span {
    height: 2px;
    width: 21px;
    background: var(--ink);
    transition: transform 0.25s;
  }
  .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);
  }
  .header #mobile-menu {
    top: 72px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-height: 0;
    height: auto;
    max-height: none;
    border-radius: 26px;
    padding: 28px 25px 30px;
  }
  .hero-role {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(78px, 24vw, 155px);
    padding-bottom: 0;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.65;
    margin-top: 20px;
    max-width: 340px;
  }
  .hero-actions {
    gap: 23px;
    margin-top: 22px;
  }
  .hero .work-link {
    font-size: 12px;
    padding: 14px 24px;
    min-height: 46px;
  }
  .hero-experience {
    font-size: 12px;
  }
  .hero-art {
    height: 290px;
    min-height: 0;
    margin-top: 5px;
  }
  .avatar-tilt {
    width: 330px;
    max-width: 110%;
  }
  .avatar-backdrop {
    width: 270px;
    max-width: 95%;
    max-height: 95%;
    height: auto;
  }
  .avatar-orbit {
    width: 310px;
    max-width: 108%;
  }
  .hero-social {
    bottom: 13px;
    right: 24px;
    font-size: 9px;
  }
  .hero-social img {
    width: 10px;
    height: 10px;
  }
  .hero-avatar {
    animation-duration: 8s;
    filter: drop-shadow(0 15px 10px #86241e30);
  }
  .achievement-band {
    grid-template-columns: 1fr 1fr;
    padding: 28px 7px 30px;
    gap: 27px 23px;
  }
  .achievement-band strong {
    font-size: 45px;
  }
  .achievement-label {
    font-size: 11px;
    margin-top: 11px;
  }
  .achievement-band p {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 6px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .profile {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .profile > img {
    width: 94px;
    padding: 6px;
  }
  .profile > a {
    font-size: 12px;
    margin: 0;
  }
  .about-content h2 {
    font-size: 27px;
    margin-bottom: 20px;
  }
  .about-content .lead {
    font-size: 28px;
  }
  .about-columns {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
  }
  .about-columns p {
    font-size: 14px;
    line-height: 1.75;
  }
  .production {
    padding-top: 0;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .featured-game {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .game-image img {
    aspect-ratio: 16/10;
    height: auto;
  }
  .game-info {
    padding: 28px;
  }
  .project-kind {
    margin-bottom: 16px;
  }
  .game-info h3 {
    font-size: 44px;
  }
  .game-info > p:not(.project-kind) {
    max-width: none;
    margin-top: 18px;
    font-size: 15px;
  }
  .text-link {
    margin-top: 18px;
  }
  .games-preview {
    margin-top: 38px;
  }
  .games-heading {
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
  }
  .games-heading h3 {
    font-size: 25px;
    max-width: 200px;
  }
  .game-controls {
    display: flex;
    gap: 5px;
  }
  .game-controls button {
    font-size: 10px;
    padding: 10px 12px;
  }
  .preview-grid {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #686366 transparent;
    padding-bottom: 17px;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 0;
  }
  .preview-grid .catalog-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
  .catalog-art {
    border-radius: 18px;
  }
  .catalog-card h3,
  .catalog-card h2 {
    font-size: 18px;
    margin-top: 15px;
  }
  .peak-source {
    font-size: 12px;
    min-height: 44px;
  }
  .peak-note {
    font-size: 11px;
    margin-top: 20px;
  }
  .all-games-link {
    margin-top: 22px;
  }
  .integrations {
    margin-top: 55px;
    padding-top: 35px;
  }
  .integrations h3 {
    font-size: 29px;
  }
  .integrations > p {
    font-size: 13px;
    line-height: 1.6;
  }
  .brand-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 23px;
  }
  .brand-list a {
    height: 112px;
    padding: 19px;
    border-radius: 18px;
  }
  .brand-list img {
    height: 65px;
  }
  .community {
    padding-block: 0 65px;
  }
  .community-panel {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }
  .community-identity {
    aspect-ratio: 1.18;
    max-height: 370px;
  }
  .tir-logo {
    width: 100%;
    height: auto;
    max-width: 380px;
  }
  .community-content {
    padding: 30px 28px 35px;
  }
  .ownership {
    margin-bottom: 20px;
    font-size: 12px;
  }
  .community-content h2 {
    font-size: 48px;
    max-width: 280px;
  }
  .community-content .lead {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 23px;
    max-width: none;
  }
  .community-detail {
    margin-top: 26px;
    padding-top: 24px;
    font-size: 12px;
  }
  .events {
    padding-top: 0;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .events-intro h2 {
    font-size: 43px;
    max-width: 330px;
  }
  .events-intro > p {
    font-size: 14px;
    margin-top: 24px;
    max-width: none;
  }
  .guest-label {
    margin-bottom: 20px;
  }
  .guests {
    gap: 13px;
  }
  .guest:nth-child(2) {
    padding-top: 27px;
  }
  .guest:nth-child(3) {
    padding-top: 12px;
  }
  .portrait-wrap {
    aspect-ratio: 3/4;
    border-radius: 70px 70px 18px 18px;
  }
  .guest-kizmo .portrait-wrap {
    padding: 12px;
  }
  .guest h3 {
    font-size: 17px;
    margin-top: 16px;
  }
  .guest > p {
    font-size: 11px;
    line-height: 1.6;
  }
  .partners {
    padding-block: 0 55px;
  }
  .partner-heading h2,
  .credits-heading h2 {
    font-size: 34px;
  }
  .partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
  }
  .partner-tile {
    padding: 22px 17px;
    border-radius: 20px;
    gap: 13px;
  }
  .partner-symbol {
    height: 60px;
  }
  .partner-symbol img {
    height: 55px;
  }
  .partner-name {
    font-size: 12px;
  }
  .partner-unconfirmed {
    grid-column: 1/-1;
    min-height: 95px;
  }
  .partner-unconfirmed .partner-symbol {
    height: auto;
  }
  .partner-unconfirmed .partner-symbol span {
    font-size: 24px;
  }
  .company-credits {
    padding-bottom: 65px;
  }
  .credits-heading {
    margin-bottom: 26px;
  }
  .credits-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    padding: 10px;
    gap: 3px;
  }
  .credit-link {
    min-height: 125px;
    padding: 12px;
  }
  .credit-art {
    height: 75px;
  }
  .credit-art img {
    width: 150px;
    height: 50px;
    max-width: 100%;
  }
  .credit-misfits .credit-art img {
    height: 75px;
    width: 85px;
  }
  .credit-inter .credit-art img {
    height: 70px;
    width: 70px;
  }
  .closing {
    padding: 30px 24px 23px;
    border-radius: 26px 26px 0 0;
  }
  .closing-heading {
    gap: 15px;
    margin-bottom: 25px;
  }
  .closing-heading > img {
    width: 48px;
    height: 48px;
  }
  .closing-heading h2 {
    font-size: 37px;
    max-width: 230px;
  }
  .closing-email {
    font-size: clamp(20px, 5.5vw, 34px);
    letter-spacing: -0.045em;
    line-height: 1.3;
    padding-bottom: 8px;
  }
  .closing-main {
    padding-bottom: 26px;
  }
  .closing-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .closing-links > a,
  .closing-links > button {
    padding: 19px;
    min-height: 86px;
    gap: 16px;
  }
  .closing-handle {
    font-size: 15px;
  }
  .closing-bottom {
    flex-wrap: wrap;
    gap: 10px 25px;
    padding-top: 16px;
    font-size: 10px;
  }
  .closing-bottom > span {
    flex-basis: 100%;
    margin: 0;
  }
  .closing-bottom button {
    font-size: 10px;
  }
  .closing-bottom > a {
    margin-left: auto;
  }
  .game-directory {
    padding-block: 28px 65px;
  }
  .game-directory h1 {
    font-size: 75px;
    margin-top: 18px;
  }
  .game-directory > p:not(.peak-note) {
    font-size: 14px;
    margin-top: 15px;
  }
  .game-filters {
    grid-template-columns: 1fr 1fr;
    gap: 20px 14px;
    margin-top: 30px;
  }
  .game-filters > div:first-child {
    grid-column: 1/-1;
  }
  .game-filters > p {
    padding-bottom: 16px;
    text-align: right;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 28px;
  }
  .game-directory .catalog-art {
    aspect-ratio: 16/9;
  }
  a:active,
  button:active {
    transform: scale(0.98);
  }
  .entering {
    animation-duration: 0.48s;
    animation-delay: 0ms;
  }
  @keyframes section-enter {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 359px) {
  .header-identity {
    gap: 4px;
  }
  .header-role {
    display: none;
  }
  .header-name {
    font-size: 16px;
  }
  .header .contact-link {
    padding: 12px 14px;
  }
  .header {
    gap: 6px;
  }
  .hero {
    padding: 26px 22px;
  }
  .hero h1 {
    font-size: 24vw;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-art {
    height: 255px;
  }
  .avatar-tilt {
    width: 290px;
  }
  .avatar-backdrop {
    width: 235px;
  }
  .games-heading {
    display: block;
  }
  .games-heading h3 {
    max-width: none;
  }
  .game-controls {
    margin-top: 18px;
  }
  .community-content h2 {
    font-size: 42px;
  }
  .closing-heading h2 {
    font-size: 30px;
  }
  .closing-heading > img {
    width: 40px;
    height: 40px;
  }
  .closing {
    padding-inline: 20px;
  }
  .closing-email {
    font-size: 19px;
  }
  .guest h3 {
    font-size: 15px;
  }
  .guest > p {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-letter,
  .entering {
    transform: none !important;
    opacity: 1 !important;
  }
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.motion-paused .hero-letter,
.motion-paused .entering {
  opacity: 1 !important;
  transform: none !important;
}

/* Company marks share a fixed frame; the production role carries the main emphasis.
   Section anchors remain stationary. Only the card entrances animate. */
.roles-section {
  margin-top: 88px;
  scroll-margin-top: 120px;
}
.roles-heading {
  margin-bottom: 28px;
}
.roles-heading h3 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.055em;
}
.roles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}
.role-card {
  min-width: 0;
  border-radius: 28px;
  padding: 32px;
  border: 1px solid #ffffff17;
  background: #202229;
}
.role-primary {
  background: #272a42;
  border-color: #949ac034;
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.role-brand {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}
.role-logo {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 20px;
  background: #181b25;
}
.role-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.role-logo-indigo {
  background: #1c1e32;
}
.role-logo-indigo img {
  width: 58px;
  height: 58px;
}
.role-logo-ix {
  background: #292c35;
}
.role-logo-ix img {
  width: 48px;
  height: 38px;
}
.role-logo-roblox {
  background: #33282c;
}
.role-logo-roblox img {
  width: 33px;
  height: 33px;
  filter: brightness(0) invert(1);
}
.role-brand h4 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0;
  color: #f1f1f5;
}
.role-brand p {
  font-size: 13px;
  line-height: 1.5;
  color: #bec4d3;
  margin-top: 7px;
}
.role-fact {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  padding-bottom: 30px;
  border-bottom: 1px solid #c8cce326;
}
.role-fact strong {
  font-size: clamp(44px, 4.6vw, 62px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1;
  color: #eff0ff;
  white-space: nowrap;
}
.role-fact > span {
  font-size: 13px;
  line-height: 1.65;
  color: #c3c8de;
}
.role-work {
  margin: 28px 0 0;
  display: grid;
  gap: 23px;
}
.role-work dt {
  color: #f0f0f7;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 7px;
  letter-spacing: -0.015em;
}
.role-work dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #c2c8df;
  max-width: 390px;
}
.roles-secondary {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
}
.role-studio {
  background: #202229;
}
.role-studio .role-brand {
  margin-bottom: 24px;
}
.role-body {
  font-size: 16px;
  line-height: 1.7;
  max-width: 400px;
  color: #c8cad4;
  margin: 0;
}
.role-testing {
  background: #282326;
  border-color: #ed81772b;
}
.role-testing .role-brand {
  margin-bottom: 24px;
}
.role-testing .role-brand p {
  color: #efa59c;
}
.role-nda {
  font-size: 13px;
  line-height: 1.7;
  color: #b7afb6;
  margin: 18px 0 0;
  max-width: 390px;
}
.role-logo img {
  transform-origin: center;
}
@keyframes role-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes role-mark-enter {
  from {
    transform: rotate(-9deg) scale(0.88);
  }
  to {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .role-card.role-entered {
    animation: role-enter 0.65s var(--ease) both;
  }
  .role-entered .role-logo img {
    animation: role-mark-enter 0.8s var(--ease) both;
  }
}
.motion-paused .role-card,
.motion-paused .role-logo img {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
}
@media (min-width: 1440px) {
  .role-card {
    padding: 36px;
  }
  .role-primary {
    padding: 40px;
  }
  .role-fact {
    margin-top: 46px;
  }
  .role-brand h4 {
    font-size: 29px;
  }
  .role-work dd {
    font-size: 16px;
  }
}
@media (max-width: 1000px) {
  .role-card {
    padding: 27px;
  }
  .role-primary {
    padding: 30px;
  }
  .role-brand {
    gap: 14px;
  }
  .role-logo {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }
  .role-logo-indigo img {
    width: 50px;
    height: 50px;
  }
  .role-brand h4 {
    font-size: 24px;
  }
  .role-body,
  .role-work dd {
    font-size: 14px;
  }
  .role-fact {
    gap: 18px;
  }
  .role-fact > span {
    font-size: 12px;
  }
}
@media (max-width: 767px) {
  .roles-section {
    margin-top: 56px;
    scroll-margin-top: 100px;
  }
  .roles-heading {
    margin-bottom: 22px;
  }
  .roles-heading h3 {
    font-size: 36px;
  }
  .roles-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .roles-secondary {
    gap: 16px;
  }
  .role-card,
  .role-primary {
    padding: 25px;
    border-radius: 24px;
  }
  .role-brand {
    gap: 15px;
  }
  .role-logo {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }
  .role-brand h4 {
    font-size: 25px;
  }
  .role-brand p {
    font-size: 13px;
    margin-top: 5px;
  }
  .role-fact {
    margin-top: 30px;
    padding-bottom: 25px;
    gap: 24px;
  }
  .role-fact strong {
    font-size: 51px;
  }
  .role-fact > span {
    font-size: 12px;
  }
  .role-work {
    margin-top: 24px;
    gap: 21px;
  }
  .role-work dt {
    font-size: 16px;
  }
  .role-work dd,
  .role-body {
    font-size: 15px;
    line-height: 1.7;
  }
  .role-nda {
    font-size: 13px;
    line-height: 1.65;
  }
  .role-studio .role-brand,
  .role-testing .role-brand {
    margin-bottom: 23px;
  }
  .role-card.role-entered {
    animation-duration: 0.48s;
  }
  .role-entered .role-logo img {
    animation-duration: 0.62s;
  }
  .motion-ready .reveal {
    transition-duration: 0.45s;
    transition-delay: 0ms;
    transform: translateY(12px);
  }
  .motion-ready .reveal.is-visible {
    transform: none;
  }
  .work-link,
  .hero-experience,
  .text-link,
  .all-games-link,
  .closing-links > a,
  .closing-links > button,
  #motion-toggle {
    min-height: 44px;
  }
  .hero-experience,
  .text-link {
    display: inline-flex;
    align-items: center;
  }
  a:active,
  button:active {
    transition: transform 0.12s;
    transform: scale(0.975);
  }
  .header a:active {
    transform: scale(0.98);
  }
}
@media (max-width: 359px) {
  .role-card,
  .role-primary {
    padding: 22px;
  }
  .role-brand {
    gap: 12px;
  }
  .role-brand h4 {
    font-size: 23px;
  }
  .role-logo {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }
  .role-logo-indigo img {
    width: 44px;
    height: 44px;
  }
  .role-logo-ix img {
    width: 41px;
    height: 32px;
  }
  .role-fact {
    gap: 19px;
  }
  .role-fact strong {
    font-size: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .role-card,
  .role-logo img {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 767px) {
  .header .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    gap: 5px;
  }
  .header .contact-link {
    min-height: 44px;
  }
  .header #mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Keep production roles in the same warm charcoal family. */
.role-primary {
  background: #2c2526;
  border-color: #f34b3d30;
}
.role-fact strong {
  color: #f4e9e6;
}
.role-fact > span,
.role-work dd {
  color: #d2c2bf;
}
.role-logo-indigo {
  background: #211f25;
}
.role-testing {
  background: #242629;
  border-color: #ffffff17;
}
.role-logo-roblox {
  background: #303237;
}
.role-testing .role-brand p {
  color: #bfc3cc;
}
.role-nda {
  color: #b9bcc2;
}
.role-body {
  color: #c7c8cc;
}
.role-logo img {
  max-width: 100%;
}

/* One anchor offset, with a complete avatar inside shorter laptop viewports. */
section[id],
footer[id],
#experience {
  scroll-margin-top: 0;
}
.hero {
  min-height: 480px;
}
.hero-art {
  min-height: 350px;
}
.avatar-tilt {
  width: min(113%, calc(100svh - 220px));
}
@media (max-width: 767px) {
  .hero {
    min-height: 0;
  }
  .hero-art {
    min-height: 0;
  }
  .avatar-tilt {
    width: 330px;
  }
}

.guest-kizmo img {
  mix-blend-mode: screen;
}
.partner-devlox {
  background: #e5e7e5;
  color: #191b1d;
}
.partner-devlox .partner-name {
  color: #393d3f;
}
.partner-gamebeast .partner-name,
.partner-geekout .partner-name,
.partner-devlox .partner-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.partner-tile {
  min-height: 155px;
}

.profile > img {
  height: auto;
  padding: 0;
  object-fit: cover;
  background: #141414;
}
@media (max-width: 767px) {
  .profile > img {
    height: 94px;
    width: 94px;
  }
  .hero-art {
    height: clamp(220px, calc(100svh - 430px), 300px);
  }
  .avatar-tilt {
    width: clamp(260px, calc(100svh - 390px), 340px);
  }
  .avatar-backdrop {
    width: min(270px, calc(100svh - 420px));
    max-height: none;
  }
  .avatar-orbit {
    width: min(310px, calc(100svh - 370px));
  }
}

.samsung-tile img {
  filter: brightness(0);
}
.brand-list .nyx-logo {
  mix-blend-mode: multiply;
}

.header #mobile-menu:not([hidden]) {
  animation: menu-enter 0.3s var(--ease) both;
}
@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 767px) {
  .hero-social {
    display: none;
  }
  .about-content .lead {
    font-size: clamp(24px, 7vw, 28px);
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .community {
    padding-block: 0 85px;
  }
  .events {
    padding-top: 0;
  }
  .partners {
    padding-block: 0 65px;
  }
  .production {
    padding-top: 20px;
  }
}
