/* Shared studio foundation, navigation, hero and footer. */
:root {
  --studio-bg: #090a0c;
  --studio-text: #f6f6f3;
  --studio-muted: #b8b9bd;
  --studio-accent: #e32347;
  --studio-gutter: clamp(1.25rem, 5vw, 12rem);
  --studio-width: 208rem;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--studio-bg); color: var(--studio-text); }
html { scroll-padding-block: 1.5rem; }
.studio-opening {
  background: var(--studio-bg);
  color: var(--studio-text);
  isolation: isolate;
}
.studio-opening a, .studio-footer a { color: inherit; text-decoration: none; }
.studio-opening a:focus-visible,
.studio-opening button:focus-visible,
.studio-footer a:focus-visible {
  outline: 2px solid var(--studio-text);
  outline-offset: 7px;
}
.hero-skip {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  padding: 1rem;
  background: #fff;
  color: #090a0c;
  transform: translateY(-200%);
}
.hero-skip:focus { transform: translateY(0); }
.studio-header {
  position: relative;
  z-index: 5;
  padding: 0;
  background: var(--studio-bg);
  border: 0;
}
.studio-header__inner {
  max-width: var(--studio-width);
  margin-inline: auto;
  padding: 1.4rem var(--studio-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.studio-brand { display: inline-flex; flex-shrink: 0; }
.studio-brand img { width: clamp(7rem, 7.5vw, 17rem); height: auto; display: block; }
.studio-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  width: 100%;
  font-size: .875rem;
  font-weight: 600;
}
.studio-nav a { display: inline-flex; align-items: center; min-height: 44px; gap: .75rem; transition: color 180ms ease; }
.studio-nav a:hover { color: var(--studio-muted); }
.studio-nav__contact { border-bottom: 1px solid var(--studio-accent); }
.studio-nav a span { transition: transform 180ms ease; }
.studio-nav a:hover span { transform: translate(2px, -2px); }
.studio-menu {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-height: 44px;
  background: none;
  border: 0;
  color: var(--studio-text);
  font-size: .875rem;
  cursor: pointer;
}
.studio-menu[hidden] { display: none; }
.studio-menu__icon { width: 22px; height: 12px; position: relative; }
.studio-menu__icon::before, .studio-menu__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}
.studio-menu__icon::before { top: 2px; }
.studio-menu__icon::after { bottom: 2px; }
.studio-menu[aria-expanded="true"] .studio-menu__icon::before { transform: translateY(3.5px) rotate(45deg); }
.studio-menu[aria-expanded="true"] .studio-menu__icon::after { transform: translateY(-3.5px) rotate(-45deg); }
.studio-header.is-enhanced .studio-nav { display: none; }
.studio-header.is-enhanced.is-open .studio-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid #ffffff20; padding-top: .75rem; }
.studio-header.is-enhanced.is-open .studio-nav a { padding-block: 1rem; }
.studio-hero { position: relative; overflow: hidden; }
.studio-hero__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.studio-hero__art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 65% center;
  filter: saturate(.45);
  opacity: .6;
}
.studio-hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,10,12,.76), rgba(9,10,12,.18)), linear-gradient(0deg, #090a0c 0%, transparent 55%, rgba(9,10,12,.25));
}
.studio-hero__inner {
  max-width: var(--studio-width);
  margin-inline: auto;
  padding: clamp(3rem, 7vh, 10rem) var(--studio-gutter) 1.75rem;
  min-height: calc(100svh - 89px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3.5rem;
}
.studio-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: clamp(1.7rem, 3vh, 4rem);
  color: #d4d4d5;
  font-size: clamp(.625rem, .72vw, 1.5rem);
  font-weight: 600;
  letter-spacing: .16em;
}
.studio-eyebrow > span { width: 1.5rem; height: 2px; background: var(--studio-accent); }
.studio-hero h1 {
  font-size: clamp(2.25rem, 8.4vw, 5.5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.065em;
}
.studio-hero h1 > span { display: block; }
.studio-last-word { display: block; }
.studio-period { color: var(--studio-accent); }
.studio-hero__intro {
  margin-top: clamp(1.5rem, 2.5vw, 5rem);
  max-width: 35em;
  font-size: clamp(.9rem, 1.05vw, 2rem);
  line-height: 1.75;
  color: #d0d0d3;
  text-wrap: pretty;
}
.studio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-top: clamp(1.5rem, 2.2vw, 4rem);
  padding: 1.05em 1.4em;
  min-height: 48px;
  background: var(--studio-accent);
  font-size: clamp(.875rem, .9vw, 1.75rem);
  font-weight: 600;
  transition: background 180ms ease, transform 180ms ease;
}
.studio-cta:hover { background: #bf1939; transform: translateY(-2px); }
.studio-cta > span { font-size: 1.4em; font-weight: 400; }
.studio-hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid #ffffff29;
  padding-top: 1.5rem;
}
.studio-metrics { display: flex; justify-content: space-between; gap: 1.25rem; width: 100%; }
.studio-metrics > div { display: flex; flex-direction: column-reverse; gap: .55rem; }
.studio-metrics dt { color: var(--studio-muted); font-size: clamp(.625rem, .75vw, 1.5rem); line-height: 1.5; }
.studio-metrics dd { font-size: clamp(1.35rem, 2.15vw, 4.5rem); font-weight: 600; letter-spacing: -.05em; }
.studio-metrics dd > span { color: var(--studio-accent); }
.studio-game-credit { display: inline-flex; align-items: center; gap: 1rem; }
.studio-game-credit img { width: clamp(2.5rem, 3vw, 6rem); height: auto; border: 1px solid #ffffff26; }
.studio-game-credit small { display: block; color: var(--studio-muted); font-size: clamp(.55rem, .6vw, 1.2rem); letter-spacing: .15em; margin-bottom: .4rem; }
.studio-game-credit strong { font-size: clamp(.875rem, 1vw, 2rem); font-weight: 600; }
.studio-game-credit__arrow { margin-left: 1rem; transition: transform 180ms ease; }
.studio-game-credit:hover .studio-game-credit__arrow { transform: translate(3px, -3px); }
.studio-footer { background: var(--studio-bg); color: var(--studio-text); border-top: 1px solid #ffffff20; }
.studio-footer__inner { max-width: var(--studio-width); margin-inline: auto; padding: clamp(3rem, 6vw, 12rem) var(--studio-gutter) 1rem; }
.studio-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-bottom: clamp(3rem, 5vw, 10rem); }
.studio-footer__label { margin-bottom: 1rem; font-size: clamp(.7rem, .75vw, 1.5rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--studio-muted); }
.studio-footer__brand .studio-footer__label { margin-top: 2rem; }
.studio-footer__brand p { max-width: 27em; color: var(--studio-muted); font-size: clamp(.95rem, 1vw, 2rem); line-height: 1.8; }
.studio-footer__nav, .studio-footer__contact { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.studio-footer__nav a, .studio-footer__contact a { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; padding-block: .55rem; font-size: clamp(1rem, 1.15vw, 2.25rem); }
.studio-footer__email { max-width: 100%; overflow-wrap: anywhere; border-bottom: 1px solid var(--studio-accent); margin-bottom: 1rem; }
.studio-footer__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding-block: 1.5rem .5rem; border-top: 1px solid #ffffff20; color: var(--studio-muted); font-size: clamp(.75rem, .75vw, 1.5rem); line-height: 1.6; }
.studio-footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.studio-footer__bottom a { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; }
.studio-footer a { transition: color 180ms ease; }
.studio-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; }
@media (min-width: 48rem) {
  .studio-footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .65fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 10rem); }
  .studio-footer__bottom { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
  .studio-header__inner { min-height: clamp(6rem, 6.5vw, 15rem); flex-wrap: nowrap; }
  .studio-menu { display: none; }
  .studio-nav, .studio-header.is-enhanced .studio-nav { display: flex; width: auto; gap: clamp(1.5rem, 3vw, 7rem); font-size: clamp(.8rem, .85vw, 1.75rem); }
  .studio-nav__contact { padding: .6em 0; }
  .studio-hero__inner { min-height: calc(100svh - clamp(6rem, 6.5vw, 15rem)); padding-top: clamp(3rem, 5vh, 7rem); padding-bottom: clamp(2rem, 3vw, 6rem); }
  .studio-hero h1 { font-size: clamp(4rem, 7.2vw, 17.25rem); }
  .studio-last-word { display: inline; }
  .studio-hero__art { left: 24%; }
  .studio-hero__art img { object-position: 62% center; opacity: .85; }
  .studio-hero__art::after { background: linear-gradient(90deg, #090a0c, rgba(9,10,12,.45) 40%, rgba(9,10,12,.1)), linear-gradient(0deg, #090a0c, transparent 45%, rgba(9,10,12,.25)); }
  .studio-hero__bottom { padding-top: clamp(1.5rem, 2vw, 4rem); }
  .studio-metrics { width: auto; gap: clamp(3rem, 6vw, 14rem); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .studio-hero__copy { animation: studio-arrive 650ms ease-out both; }
  @keyframes studio-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .studio-opening *, .studio-opening *::before, .studio-opening *::after, .studio-footer * { transition: none !important; }
}
