@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;800;900&display=swap");

:root {
  color-scheme: dark;
  --font-site: "Poppins", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --ink: #050403;
  --ink-soft: #100c09;
  --paper: #f8efe1;
  --paper-dim: #cdbfaa;
  --muted: #a9937b;
  --gold: #d8aa3d;
  --gold-soft: rgba(216, 170, 61, 0.22);
  --red: #b43a2f;
  --cyan: #6eb4b9;
  --line: rgba(248, 239, 225, 0.15);
  --shadow: rgba(0, 0, 0, 0.55);
  --max: 1180px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(180, 58, 47, 0.16), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(110, 180, 185, 0.13), transparent 30rem),
    linear-gradient(180deg, #090603 0%, var(--ink) 46%, #130d08 100%);
  color: var(--paper);
  font-family: var(--font-site);
  font-weight: 400;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size:
    100% 7px,
    90px 90px;
  mix-blend-mode: screen;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--gold);
  color: #110b06;
  padding: 0.75rem 1rem;
  transition: transform 180ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.3rem;
  padding: 0 3vw;
  background: linear-gradient(180deg, rgba(5, 4, 3, 0.9), rgba(5, 4, 3, 0.24));
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 4, 3, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: 1px solid rgba(248, 239, 225, 0.22);
  border-radius: 50%;
}

.brand span {
  display: grid;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand strong {
  font-family: var(--font-site);
  font-size: 0.95rem;
  font-weight: 900;
}

.brand em {
  color: var(--gold);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.48rem, 1vw, 0.85rem);
  color: var(--paper-dim);
  font-size: clamp(0.62rem, 0.72vw, 0.7rem);
  font-weight: 800;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 0.6rem 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.primary-nav a[aria-current="page"] {
  color: var(--paper);
}

.header-cta[aria-current="page"] {
  background: var(--paper);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.9rem 1.15rem;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button--gold,
.header-cta {
  background: var(--gold);
  color: #120c07;
}

.button--quiet {
  border-color: rgba(248, 239, 225, 0.28);
  background: rgba(5, 4, 3, 0.3);
  color: var(--paper);
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.button--quiet:hover,
.button--quiet:focus-visible {
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(248, 239, 225, 0.22);
  background: rgba(5, 4, 3, 0.28);
  color: var(--paper);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

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

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

.hero {
  position: relative;
  min-height: 90svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header) + 4rem) max(4vw, 1.2rem) 4rem;
}

.hero--home {
  min-height: 100svh;
}

.hero__image,
.hero__image img,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.96) 0%, rgba(5, 4, 3, 0.74) 36%, rgba(5, 4, 3, 0.18) 72%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.28) 0%, rgba(5, 4, 3, 0.18) 52%, rgba(5, 4, 3, 0.95) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding-left: max(0px, calc((100vw - var(--max)) / 2));
}

.kicker,
.card-index {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-site);
  font-weight: 700;
}

h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  font-weight: 900;
  line-height: 1.05;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  line-height: 1.14;
}

p {
  color: var(--paper-dim);
  line-height: 1.7;
}

.hero__content p:not(.kicker) {
  max-width: 620px;
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero__stamp {
  position: absolute;
  right: max(3vw, 1.2rem);
  bottom: 3.5rem;
  z-index: 2;
  width: min(24vw, 240px);
  min-width: 150px;
  opacity: 0.94;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.48));
}

.hero__credits {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(248, 239, 225, 0.2);
  background: rgba(5, 4, 3, 0.5);
}

.hero__credits span {
  padding: 1rem max(1rem, 3vw);
  border-right: 1px solid rgba(248, 239, 225, 0.16);
  color: var(--paper);
  font-family: var(--font-site);
  font-size: 1.2rem;
  font-weight: 700;
}

.hero__credits span:last-child {
  border-right: 0;
}

.intro-roll {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem max(4vw, 1.2rem);
  background: rgba(248, 239, 225, 0.04);
}

.intro-roll p {
  width: min(var(--max), 100%);
  margin: 0 auto;
  color: var(--paper);
  font-family: var(--font-site);
  font-size: clamp(2rem, 4vw, 4.35rem);
  font-weight: 900;
  line-height: 1.12;
}

.section {
  padding: 6rem max(4vw, 1.2rem);
}

.page-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header) + 5rem) max(4vw, 1.2rem) 5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.94), rgba(5, 4, 3, 0.58) 45%, rgba(5, 4, 3, 0.24)),
    linear-gradient(180deg, rgba(5, 4, 3, 0.14), rgba(5, 4, 3, 0.92));
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
}

.page-hero--about img {
  object-position: center 28%;
}

.page-hero--services img,
.page-hero--contact img {
  object-position: center 58%;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.page-hero__content h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.page-hero__content p:not(.kicker) {
  max-width: 640px;
  font-size: 1.1rem;
}

.section-heading,
.film-mosaic,
.craft-layout,
.service-reel,
.contact-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading h2 {
  max-width: 880px;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center h2 {
  margin-right: auto;
  margin-left: auto;
}

.project-spotlight {
  width: min(var(--max), calc(100% - 2.4rem));
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.project-spotlight .hero__actions {
  margin-top: 1.4rem;
}

.spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.spotlight-tags span {
  border: 1px solid var(--line);
  background: rgba(248, 239, 225, 0.05);
  color: var(--gold);
  padding: 0.55rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spotlight-copy p:not(.kicker) {
  max-width: 620px;
}

.spotlight-media {
  position: relative;
  min-height: 560px;
}

.spotlight-frame,
.spotlight-poster {
  position: absolute;
  box-shadow: 0 30px 80px var(--shadow);
}

.spotlight-frame {
  inset: 4% 0 auto auto;
  width: 86%;
  height: 58%;
  object-fit: cover;
}

.spotlight-poster {
  left: 0;
  bottom: 0;
  width: 34%;
  min-width: 170px;
  border: 1px solid rgba(248, 239, 225, 0.18);
}

.film-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
}

.feature-card {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink-soft);
}

.feature-card--large {
  min-height: 700px;
  grid-row: span 2;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 36%, rgba(5, 4, 3, 0.9) 100%),
    linear-gradient(90deg, rgba(5, 4, 3, 0.16), transparent 62%);
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.feature-card div {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.feature-card p:last-child {
  max-width: 430px;
  margin-bottom: 0;
}

.section--breakin-credits {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(248, 239, 225, 0.025), rgba(5, 4, 3, 0)),
    radial-gradient(circle at 78% 18%, rgba(110, 180, 185, 0.09), transparent 24rem);
}

.credits-layout {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1.28fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin: 0 auto;
}

.credits-intro p:not(.kicker) {
  max-width: 560px;
}

.film-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(5, 4, 3, 0.5);
}

.film-specs div {
  min-height: 112px;
  display: grid;
  align-content: end;
  gap: 0.35rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem;
}

.film-specs div:nth-child(2n) {
  border-right: 0;
}

.film-specs div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.film-specs span,
.credit-list span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.film-specs strong {
  color: var(--paper);
  font-size: 0.95rem;
  line-height: 1.35;
}

.credits-board {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1rem;
}

.credits-column {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(248, 239, 225, 0.06), rgba(248, 239, 225, 0.025)),
    rgba(5, 4, 3, 0.62);
  padding: clamp(1rem, 2.2vw, 1.3rem);
}

.credit-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credit-list li {
  display: grid;
  gap: 0.2rem;
  border-bottom: 1px solid rgba(248, 239, 225, 0.12);
  padding-bottom: 0.75rem;
}

.credit-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.credit-list strong {
  color: var(--paper);
  font-size: 0.98rem;
  line-height: 1.3;
}

.credit-list--crew {
  gap: 0.62rem;
}

.credit-list--crew strong {
  font-size: 0.9rem;
}

.section--craft {
  background: linear-gradient(180deg, rgba(248, 239, 225, 0.03), rgba(180, 58, 47, 0.08));
}

.craft-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  align-items: center;
  gap: 4rem;
}

.craft-copy p:not(.kicker) {
  max-width: 580px;
}

.craft-collage {
  position: relative;
  min-height: 620px;
}

.collage-main,
.collage-small {
  position: absolute;
  box-shadow: 0 30px 80px var(--shadow);
}

.collage-main {
  inset: 5% 8% auto auto;
  width: 78%;
  height: 74%;
  object-fit: cover;
}

.collage-small--one {
  left: 0;
  bottom: 3%;
  width: 48%;
  height: 34%;
  object-fit: cover;
  border: 10px solid rgba(248, 239, 225, 0.08);
}

.collage-small--two {
  right: 0;
  bottom: 0;
  width: 30%;
  height: 38%;
  object-fit: cover;
  border: 10px solid rgba(248, 239, 225, 0.08);
}

.section--team {
  border-top: 1px solid var(--line);
}

.section--team:first-child {
  padding-top: calc(var(--header) + 3rem);
}

.team-grid {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.team-grid article {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(248, 239, 225, 0.045);
  padding: clamp(1rem, 2.2vw, 1.5rem);
  text-align: center;
}

.team-grid img {
  width: min(250px, 72%);
  aspect-ratio: 1;
  height: auto;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(248, 239, 225, 0.18);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) saturate(0.78) contrast(1.08);
}

.team-grid article:nth-child(1) img {
  object-position: center 28%;
}

.team-grid article:nth-child(2) img,
.team-grid article:nth-child(3) img {
  object-position: center 24%;
}

.team-grid h3 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.team-grid p {
  margin-bottom: 0;
  max-width: 33rem;
}

.section--milestones {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 10%, rgba(216, 170, 61, 0.12), transparent 24rem),
    radial-gradient(circle at 86% 34%, rgba(180, 58, 47, 0.1), transparent 28rem);
}

.milestone-grid {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.milestone-grid article {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: stretch;
  gap: 0.85rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.12), rgba(5, 4, 3, 0.84)),
    rgba(248, 239, 225, 0.045);
  padding: clamp(1rem, 2vw, 1.35rem);
}

.milestone-image {
  width: 100%;
  height: 170px;
  border: 1px solid rgba(248, 239, 225, 0.14);
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.78) contrast(1.05);
}

.milestone-grid span,
.milestone-grid a {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.milestone-grid h3 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2.3vw, 2.2rem);
}

.milestone-grid p {
  margin-bottom: 0;
}

.milestone-grid a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
}

.service-reel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.service-reel--page article {
  min-height: 380px;
}

.service-reel article {
  min-height: 320px;
  display: grid;
  align-content: space-between;
  gap: 1.2rem;
  border-right: 1px solid var(--line);
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(248, 239, 225, 0.04), rgba(5, 4, 3, 0.1)),
    var(--ink-soft);
}

.service-reel article:last-child {
  border-right: 0;
}

.service-reel span {
  color: var(--gold);
  font-weight: 900;
}

.service-reel p {
  margin-bottom: 0;
}

.service-detail {
  width: min(var(--max), calc(100% - 2.4rem));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto 6rem;
}

.service-detail article {
  min-height: 360px;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.2), rgba(5, 4, 3, 0.88)),
    radial-gradient(circle at 20% 15%, rgba(216, 170, 61, 0.16), transparent 18rem),
    var(--ink-soft);
  padding: 1.4rem;
}

.service-detail h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.visual-break {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 5rem max(4vw, 1.2rem);
}

.visual-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
}

.visual-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 4, 3, 0.05), rgba(5, 4, 3, 0.9));
}

.visual-break div {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
}

.client-strip {
  width: min(var(--max), calc(100% - 2.4rem));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin: 0 auto 6rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 12%, rgba(216, 170, 61, 0.14), transparent 20rem),
    rgba(248, 239, 225, 0.04);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.client-strip h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3.1vw, 3rem);
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.client-logos img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border: 1px solid rgba(248, 239, 225, 0.12);
  background: rgba(0, 0, 0, 0.34);
  padding: 1rem;
}

.section--games {
  background:
    radial-gradient(circle at 14% 10%, rgba(216, 170, 61, 0.14), transparent 25rem),
    radial-gradient(circle at 90% 18%, rgba(180, 58, 47, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(248, 239, 225, 0.03), rgba(5, 4, 3, 0));
}

.games-grid {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin: 0 auto;
}

.game-card {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.25);
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.08) 0%, rgba(5, 4, 3, 0.28) 38%, rgba(5, 4, 3, 0.94) 100%),
    linear-gradient(90deg, rgba(5, 4, 3, 0.38), rgba(5, 4, 3, 0.06));
}

.game-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.02);
}

.game-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.game-card__content p:not(.card-index) {
  max-width: 560px;
  margin-bottom: 0;
}

.game-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.games-note {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  margin: clamp(1rem, 2vw, 1.4rem) auto 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(248, 239, 225, 0.08), rgba(248, 239, 225, 0.03)),
    rgba(5, 4, 3, 0.58);
  padding: clamp(1rem, 3vw, 1.4rem);
}

.games-note img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(248, 239, 225, 0.18);
}

.games-note h2 {
  margin-bottom: 0.55rem;
}

.games-note p:not(.kicker) {
  max-width: 620px;
}

.section--contact {
  background:
    radial-gradient(circle at 82% 12%, rgba(216, 170, 61, 0.16), transparent 26rem),
    #080503;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 4rem;
}

.contact-layout > div p:not(.kicker) {
  max-width: 560px;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  background: rgba(248, 239, 225, 0.055);
  padding: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(248, 239, 225, 0.18);
  background: rgba(5, 4, 3, 0.56);
  color: var(--paper);
  padding: 0.9rem;
  outline: none;
}

.contact-form option {
  color: #120c07;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 170, 61, 0.13);
}

.contact-form .button {
  width: 100%;
}

.form-status {
  min-height: 1.5rem;
  margin-bottom: 0;
  color: var(--gold);
}

.rate-page {
  background:
    radial-gradient(circle at 16% 18%, rgba(47, 84, 67, 0.18), transparent 26rem),
    radial-gradient(circle at 86% 22%, rgba(180, 58, 47, 0.12), transparent 22rem),
    #050403;
}

.rate-hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header) + 5rem) max(4vw, 1.2rem) 5rem;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.rate-hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
}

.rate-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.96), rgba(5, 4, 3, 0.7) 42%, rgba(5, 4, 3, 0.24)),
    linear-gradient(180deg, rgba(5, 4, 3, 0.16), rgba(5, 4, 3, 0.92));
}

.rate-hero__grain {
  position: absolute;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 22% 30%, rgba(248, 239, 225, 0.16) 0 1px, transparent 1px),
    radial-gradient(circle at 76% 44%, rgba(248, 239, 225, 0.12) 0 1px, transparent 1px);
  background-size: 5px 5px, 8px 8px;
  animation: survey-grain 8s steps(5) infinite;
}

@keyframes survey-grain {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(1.6%, -1.2%, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.rate-hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding-left: max(0px, calc((100vw - var(--max)) / 2));
}

.rate-hero__content h1 {
  font-size: clamp(4rem, 10vw, 8.4rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.rate-hero__content p:not(.kicker) {
  max-width: 620px;
  color: var(--paper);
  font-size: 1.18rem;
}

.rate-hero__poster {
  position: absolute;
  right: max(3vw, 1.2rem);
  bottom: 3.5rem;
  z-index: 2;
  width: min(23vw, 230px);
  min-width: 150px;
  border: 1px solid rgba(248, 239, 225, 0.24);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.62);
}

.section--rate {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header) + 2rem);
  padding-bottom: 3rem;
  background:
    linear-gradient(180deg, rgba(248, 239, 225, 0.035), rgba(180, 58, 47, 0.07)),
    #070504;
}

.rate-layout {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(380px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin: 0 auto;
}

.rate-copy {
  position: sticky;
  top: calc(var(--header) + 2rem);
}

.rate-copy p:not(.kicker) {
  max-width: 560px;
}

.rate-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
  color: var(--paper);
  font-family: var(--font-site);
  font-size: 1.15rem;
  font-weight: 700;
}

.rate-logo-lockup img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid rgba(248, 239, 225, 0.22);
  border-radius: 50%;
}

.rate-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(248, 239, 225, 0.075), rgba(248, 239, 225, 0.035)),
    rgba(5, 4, 3, 0.76);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.32);
}

.survey-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rate-question {
  position: relative;
  display: grid;
  gap: 0.75rem;
  margin: 0;
  border: 1px solid rgba(248, 239, 225, 0.16);
  background: rgba(5, 4, 3, 0.34);
  padding: 1.2rem;
  text-align: left;
}

fieldset.rate-question {
  display: block;
  min-width: 0;
}

.rate-question legend,
.rate-question > span,
.mailing-fields span {
  display: block;
  width: 100%;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.rate-question legend {
  float: left;
  margin: 0 0 0.8rem;
  padding: 0;
}

fieldset.rate-question > :not(legend) {
  clear: both;
}

.rate-help,
.rating-status {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.88rem;
}

.apple-rating {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.45rem, 2vw, 0.78rem);
  padding: 0.4rem 0 0.25rem;
}

.rating-apple {
  position: relative;
  width: clamp(2.8rem, 8vw, 4.1rem);
  aspect-ratio: 0.92;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.36;
  transform: translateY(0) scale(0.94);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    filter 160ms ease;
}

.rating-apple::before {
  content: "";
  position: absolute;
  inset: 0.35rem 0.2rem 0.1rem;
  border-radius: 48% 48% 44% 44%;
  background:
    radial-gradient(circle at 34% 24%, rgba(248, 239, 225, 0.95), transparent 0.45rem),
    radial-gradient(circle at 34% 28%, #dceec4, #84a85d 48%, #2c4625 100%);
  box-shadow:
    inset -0.24rem -0.34rem 0.5rem rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(248, 239, 225, 0.12);
}

.rating-apple::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.1rem;
  width: 0.22rem;
  height: 0.64rem;
  border-radius: 999px;
  background: #2b1a0c;
  transform: translateX(-50%) rotate(10deg);
}

.rating-apple.is-selected {
  opacity: 1;
  transform: translateY(-0.12rem) scale(1);
  filter: drop-shadow(0 0.55rem 1rem rgba(127, 163, 91, 0.24));
}

.apple-rating.is-low .rating-apple.is-selected::before {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 205, 196, 0.9), transparent 0.42rem),
    radial-gradient(circle at 34% 28%, #d7645a, #a4322f 50%, #4a1010 100%);
  box-shadow:
    inset -0.24rem -0.34rem 0.5rem rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(248, 239, 225, 0.08);
}

.apple-rating.is-low .rating-apple.is-selected {
  filter: drop-shadow(0 0.55rem 1rem rgba(141, 39, 37, 0.28));
}

.rate-question textarea,
.rate-question input[type="text"],
.rate-question input[type="email"],
.rate-question input[type="tel"] {
  width: 100%;
  border: 1px solid rgba(248, 239, 225, 0.18);
  background: rgba(5, 4, 3, 0.56);
  color: var(--paper);
  padding: 0.9rem;
  outline: none;
}

.rate-question textarea {
  resize: vertical;
}

.rate-question textarea:focus,
.rate-question input[type="text"]:focus,
.rate-question input[type="email"]:focus,
.rate-question input[type="tel"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 170, 61, 0.13);
}

.mailing-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.mailing-choice label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  border: 1px solid rgba(248, 239, 225, 0.18);
  background: rgba(5, 4, 3, 0.46);
  padding: 0.75rem 0.9rem;
  color: var(--paper);
  font-weight: 900;
  text-transform: uppercase;
}

.mailing-choice input {
  accent-color: var(--gold);
}

.mailing-fields {
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.mailing-fields[hidden] {
  display: none;
}

.mailing-fields label {
  display: grid;
  gap: 0.45rem;
}

.mailing-fields em {
  color: var(--paper-dim);
  font-style: normal;
  font-weight: 700;
}

.two-column-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.rate-form .button {
  width: 100%;
}

.site-footer {
  width: min(var(--max), calc(100% - 2.4rem));
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid rgba(248, 239, 225, 0.18);
  border-radius: 50%;
}

.footer-brand p {
  margin-bottom: 0;
  color: var(--paper);
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-links div {
  display: grid;
  gap: 0.45rem;
}

.footer-links span {
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 88svh;
  }

  .hero--home {
    min-height: 100svh;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(5, 4, 3, 0.36), rgba(5, 4, 3, 0.42) 42%, rgba(5, 4, 3, 0.96) 100%),
      linear-gradient(90deg, rgba(5, 4, 3, 0.82), rgba(5, 4, 3, 0.24));
  }

  .hero__stamp {
    top: calc(var(--header) + 1rem);
    right: 1.2rem;
    bottom: auto;
    width: 150px;
  }

  .film-mosaic,
  .craft-layout,
  .contact-layout,
  .rate-layout,
  .credits-layout,
  .project-spotlight,
  .client-strip,
  .games-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .spotlight-media {
    min-height: 500px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .team-grid article {
    min-height: auto;
  }

  .client-logos {
    max-width: 680px;
  }

  .game-card {
    min-height: 560px;
  }

  .rate-copy {
    position: static;
  }

  .page-hero {
    min-height: 66svh;
  }

  .feature-card--large {
    min-height: 540px;
  }

  .credits-board {
    grid-template-columns: 1fr;
  }

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

  .service-reel article:nth-child(2) {
    border-right: 0;
  }

  .service-reel article:nth-child(1),
  .service-reel article:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

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

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 1rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav.is-open {
    position: fixed;
    inset: var(--header) 0 auto;
    display: grid;
    gap: 0;
    background: rgba(5, 4, 3, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
  }

  .primary-nav.is-open a {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    font-size: 1rem;
  }

  .hero {
    min-height: 86svh;
    padding: calc(var(--header) + 8rem) 1rem 4.2rem;
  }

  .hero--home {
    min-height: 100svh;
  }

  .hero__image img {
    object-position: 62% center;
  }

  .hero__stamp {
    width: 122px;
  }

  .rate-hero {
    min-height: 82svh;
    padding: calc(var(--header) + 8rem) 1rem 4rem;
  }

  .rate-hero__poster {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(170px, 46vw);
    margin-top: 1.4rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__credits {
    display: none;
  }

  .intro-roll,
  .section,
  .page-hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .page-hero {
    min-height: 74svh;
    padding-top: calc(var(--header) + 5rem);
    padding-bottom: 3.5rem;
  }

  .page-hero__content p:not(.kicker) {
    font-size: 1rem;
  }

  .film-mosaic {
    gap: 0.8rem;
  }

  .feature-card,
  .feature-card--large {
    min-height: 440px;
  }

  .game-card {
    min-height: 500px;
  }

  .feature-card div {
    padding: 1.1rem;
  }

  .spotlight-tags span {
    width: 100%;
  }

  .film-specs {
    grid-template-columns: 1fr;
  }

  .film-specs div,
  .film-specs div:nth-child(2n),
  .film-specs div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .film-specs div:last-child {
    border-bottom: 0;
  }

  .craft-collage {
    min-height: 500px;
  }

  .collage-main {
    inset: 0 0 auto auto;
    width: 88%;
    height: 66%;
  }

  .collage-small--one {
    width: 58%;
    height: 34%;
  }

  .collage-small--two {
    width: 38%;
  }

  .service-reel {
    grid-template-columns: 1fr;
  }

  .project-spotlight,
  .client-strip {
    width: calc(100% - 2rem);
  }

  .spotlight-media {
    min-height: 420px;
  }

  .spotlight-frame {
    width: 100%;
    height: 54%;
  }

  .spotlight-poster {
    width: 42%;
  }

  .team-grid img {
    height: 320px;
  }

  .client-logos {
    grid-template-columns: 1fr;
  }

  .client-logos img {
    height: 120px;
  }

  .service-reel article,
  .service-reel article:nth-child(2) {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-detail {
    width: calc(100% - 2rem);
    margin-bottom: 4rem;
  }

  .service-detail article {
    min-height: 260px;
  }

  .games-note {
    grid-template-columns: 1fr;
  }

  .games-note img {
    max-height: 260px;
  }

  .site-footer,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .service-reel article:last-child {
    border-bottom: 0;
  }

  .visual-break {
    min-height: 70svh;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .rate-form {
    padding: 0.8rem;
  }

  .rate-question {
    padding: 0.9rem;
  }

  .two-column-fields {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    padding: 1.5rem 0;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .hero__content p:not(.kicker) {
    font-size: 1rem;
  }

  .brand strong {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
