/* =========================================================
   TRINAY STUDIOS — website v4.1 reference build
   Look & feel: Trinay_Website_Look_and_Feel_v4.1.pdf
   ========================================================= */

/* ---------- Fonts (all SIL Open Font License, see assets/fonts) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 200;
  font-display: swap;
  src: url(../assets/fonts/barlow-condensed-200.woff2) format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/barlow-condensed-300.woff2) format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/barlow-condensed-400.woff2) format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/barlow-400.woff2) format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/barlow-500.woff2) format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/barlow-600.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url(../assets/fonts/instrument-serif-400.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url(../assets/fonts/instrument-serif-400-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/outfit-600.woff2) format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --black: #000;
  --void: #050506;
  --night: #0e0e10;
  --bone: #f2efea;
  --bone-76: rgba(242, 239, 234, 0.76);
  --bone-55: rgba(242, 239, 234, 0.55);
  --line: rgba(242, 239, 234, 0.16);
  --ash: #8c8a86;
  --ember: #ff6b1a;
  --gold: #ffc36b;
  --grad: linear-gradient(92deg, #ffc36b 0%, #ff8a3d 55%, #ff6b1a 100%);
  --f-display: "Barlow Condensed", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-ui: "Barlow", system-ui, sans-serif;
  --f-mark: "Outfit", system-ui, sans-serif;
  --gutter: clamp(20px, 3.35vw, 64px);
  --edge: clamp(20px, 5vw, 96px);
  --rail: clamp(0px, 10.2vw, 196px);
  --radius: clamp(16px, 1.46vw, 28px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1); /* expo-out: nothing bounces */
  --hdr: clamp(72px, 6.9vw, 132px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--black);
}
body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font: 400 18px/1.55 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}
.ic {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ---------- Type ---------- */
.label {
  font: 500 13px/1.3 var(--f-ui);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-76);
}
.display {
  font-family: var(--f-display);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.004em;
  margin: 0;
}
.display em,
.serif-em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.012em;
  font-size: 1.11em;
  line-height: 0.8;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glass {
  background: rgba(12, 12, 16, 0.36);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* ---------- Header: two corners only ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--hdr);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 60;
  transition: transform 0.6s var(--ease);
}
.hdr::before {
  content: "";
  position: absolute;
  inset: 0 0 -60px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s var(--ease);
}
.menu-open .hdr::before {
  opacity: 0;
}
.hdr.is-hidden {
  transform: translateY(-100%);
}
.menu-open .hdr {
  transform: none;
}
.hdr__menu {
  position: relative;
  width: 38px;
  height: 38px;
  color: #fff;
}
.hdr__menu svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition:
    transform 0.4s var(--ease),
    opacity 0.4s var(--ease);
}
.hdr__menu .x {
  opacity: 0;
  transform: rotate(-45deg) scale(0.6);
}
.menu-open .hdr__menu .mark {
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
}
.menu-open .hdr__menu .x {
  opacity: 1;
  transform: none;
}
.wordmark {
  font: 600 21px/1 var(--f-mark);
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: #fff;
}

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: #000;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.5s var(--ease),
    visibility 0s 0.5s;
}
.menu-open .menu {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
.menu__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.32) saturate(0.6);
  transition: opacity 0.6s var(--ease);
}
.menu__bg.is-on {
  opacity: 1;
}
.menu__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.1));
}
.menu__list {
  position: absolute;
  left: calc(var(--gutter) - 0.04em);
  top: calc(var(--hdr) + 3vh);
  display: flex;
  flex-direction: column;
}
.menu__item {
  font: 300 clamp(56px, 6.45vw, 124px)/0.92 var(--f-display);
  text-transform: uppercase;
  width: max-content;
  transition:
    opacity 0.4s var(--ease),
    transform 0.7s var(--ease);
  opacity: 1;
}
.menu__item sup {
  font: 500 13px var(--f-ui);
  letter-spacing: 0.2em;
  vertical-align: top;
  position: relative;
  top: 1.2em;
  margin-left: 16px;
  color: var(--bone-55);
}
.menu__list:hover .menu__item {
  opacity: 0.22;
}
.menu__list .menu__item:hover,
.menu__list .menu__item:focus-visible {
  opacity: 1;
}
.menu-open .menu__item {
  animation: rise 0.7s var(--ease) both;
}
.menu-open .menu__item:nth-child(2) {
  animation-delay: 0.06s;
}
.menu-open .menu__item:nth-child(3) {
  animation-delay: 0.12s;
}
.menu-open .menu__item:nth-child(4) {
  animation-delay: 0.18s;
}
.menu-open .menu__item:nth-child(5) {
  animation-delay: 0.24s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.menu__sub {
  position: absolute;
  left: clamp(380px, 31vw, 600px);
  top: calc(var(--hdr) + 3vh + clamp(52px, 5.9vw, 114px));
  padding-left: 34px;
  border-left: 1px solid rgba(242, 239, 234, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.menu.show-sub .menu__sub {
  opacity: 1;
  pointer-events: auto;
}
.menu__sub a {
  display: block;
  font: 400 30px/1.52 var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bone-55);
  transition: color 0.3s;
}
.menu__sub a:hover {
  color: var(--bone);
}
.menu__sub span {
  font: 500 11px var(--f-ui);
  letter-spacing: 0.2em;
  margin-right: 18px;
  vertical-align: 4px;
}
.menu__foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(24px, 4.8vh, 52px);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font: 500 15px var(--f-ui);
  letter-spacing: 0.08em;
  color: var(--bone-76);
}
.menu__foot i {
  width: 40px;
  height: 1px;
  background: rgba(242, 239, 234, 0.4);
}
.menu__foot nav {
  margin-left: auto;
  display: flex;
  gap: 34px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 40px;
  font: 500 12px var(--f-ui);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 239, 234, 0.92);
}
.pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 9px 9px 9px 30px;
  border-radius: 60px;
  font: 500 17px var(--f-ui);
  color: var(--bone);
  transition: background 0.3s;
}
.cta:hover {
  background: rgba(242, 239, 234, 0.14);
}
.cta__c {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bone);
  color: #000;
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
}
.cta:hover .cta__c {
  transform: translateX(4px);
}
.cta__c .ic {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.link {
  font: 500 16px var(--f-ui);
  border-bottom: 1px solid rgba(242, 239, 234, 0.6);
  padding-bottom: 6px;
}
.circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 234, 0.42);
  display: grid;
  place-items: center;
  flex: none;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.circle:hover {
  border-color: var(--bone);
  background: rgba(242, 239, 234, 0.08);
}
.circle--lg {
  width: 84px;
  height: 84px;
}
.circle--lg .ic {
  width: 30px;
  height: 30px;
}
.circle--xl {
  width: 112px;
  height: 112px;
}
.circle--xl .ic {
  width: 38px;
  height: 38px;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: #05060a;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% 50%;
  transform: scale(1.04);
  animation: heroIn 2.4s var(--ease) both;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 5, 8, 0.86) 0%,
      rgba(4, 5, 8, 0.62) 30%,
      rgba(4, 5, 8, 0.12) 58%,
      rgba(4, 5, 8, 0) 75%
    ),
    linear-gradient(0deg, rgba(4, 5, 8, 0.6), rgba(4, 5, 8, 0) 35%);
}
.hero__copy {
  position: absolute;
  left: var(--edge);
  top: clamp(150px, 23vh, 250px);
  z-index: 2;
  animation: up 1.1s 0.3s var(--ease) both;
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero h1 {
  margin: 34px 0 0;
  font: 400 clamp(54px, 6.9vw, 132px)/0.94 var(--f-serif);
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.worlds {
  position: absolute;
  right: var(--gutter);
  top: clamp(140px, 16.3vh, 176px);
  width: 236px;
  padding: 20px 20px 22px;
  border-radius: 26px;
  z-index: 2;
  animation: up 1.1s 0.6s var(--ease) both;
}
.worlds__head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.worlds__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
}
.worlds__list a {
  position: relative;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.6;
  transition:
    opacity 0.3s,
    box-shadow 0.3s;
}
.worlds__list a:hover,
.worlds__list a.is-on {
  opacity: 1;
}
.worlds__list a.is-on {
  box-shadow: 0 0 0 2px var(--ember);
}
.worlds__list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.worlds__list span {
  position: absolute;
  left: 10px;
  bottom: 6px;
  font: 600 10px var(--f-ui);
  letter-spacing: 0.18em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 84px;
  background: rgba(242, 239, 234, 0.25);
  z-index: 2;
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  width: 1px;
  height: 34px;
  background: var(--bone);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  to {
    transform: translateY(118px);
  }
}

/* ---------- Page hero (studio / careers) ---------- */
.phero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}
.phero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.74) 0%,
      rgba(0, 0, 0, 0.38) 36%,
      rgba(0, 0, 0, 0) 62%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 52%);
}
.phero__copy {
  position: absolute;
  left: var(--edge);
  bottom: clamp(60px, 11vh, 120px);
  z-index: 2;
}
.phero .display {
  font-size: clamp(56px, 6.25vw, 120px);
  margin-top: 22px;
}

/* ---------- Reel panels (Secret Level stack) ---------- */
.reels {
  position: relative;
  background: var(--void);
  padding: 0 var(--gutter) 0 var(--rail);
}
.reels__intro {
  padding: clamp(120px, 17vh, 190px) 0 clamp(40px, 6vh, 70px);
}
.reels__intro .display {
  font-size: clamp(56px, 5.4vw, 104px);
  margin-top: 20px;
}
.rail-col {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 8;
}
.rail {
  position: sticky;
  top: calc(50vh - 250px);
  margin-top: calc(50vh - 250px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 36px;
}
.rail a {
  position: relative;
  width: 112px;
  height: 63px;
  border-radius: 9px;
  overflow: hidden;
  opacity: 0.5;
  transition:
    opacity 0.3s,
    box-shadow 0.3s;
}
.rail a:hover,
.rail a.is-on {
  opacity: 1;
}
.rail a.is-on {
  box-shadow: 0 0 0 2px var(--ember);
}
.rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rail span {
  position: absolute;
  left: 8px;
  bottom: 5px;
  font: 600 9px var(--f-ui);
  letter-spacing: 0.16em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.slot {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--hdr) * 0.5);
}
.panel {
  position: relative;
  width: 100%;
  height: min(78vh, 1000px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform-origin: 50% 50%;
  will-change: transform;
}
.reels--full .panel {
  height: min(84vh, 1080px);
}
.panel__media,
.panel__video,
.panel__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.66) 0%,
      rgba(0, 0, 0, 0.3) 34%,
      rgba(0, 0, 0, 0) 60%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 46%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 18%);
}
.panel__dim {
  position: absolute;
  inset: 0;
  z-index: 9;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
.panel__index {
  position: absolute;
  left: 56px;
  top: 44px;
  z-index: 3;
}
.panel__status {
  position: absolute;
  right: 56px;
  top: 40px;
  z-index: 3;
  display: flex;
  gap: 18px;
  align-items: center;
  font: 500 12px var(--f-ui);
  letter-spacing: 0.2em;
  color: rgba(242, 239, 234, 0.85);
}
.panel__status .live {
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel__status .live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ash);
}
.panel.is-playing .panel__status .live i {
  background: var(--ember);
}
.panel__copy {
  position: absolute;
  left: 56px;
  bottom: 62px;
  z-index: 3;
  max-width: 820px;
}
.panel__title {
  font-size: 92px;
  margin-top: 18px;
}
.reels--full .panel__title {
  font-size: 104px;
}
.panel__text {
  font: 400 19px/1.55 var(--f-ui);
  color: rgba(242, 239, 234, 0.84);
  max-width: 560px;
  margin: 22px 0 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  max-width: 720px;
}
/* .tags li{font:500 11px var(--f-ui);letter-spacing:.2em;text-transform:uppercase;padding:9px 14px;border:1px solid rgba(242,239,234,.3);border-radius:30px;background:rgba(0,0,0,.22)} */

.tags li {
  position: relative;
  font: 500 11px var(--f-ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid rgba(242, 239, 234, 0.3);
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--bone);
  cursor: default;
  transition:
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.tags li:hover,
.tags li:focus-visible {
  border-color: rgba(255, 107, 26, 0.7);
  background: rgba(255, 107, 26, 0.08);
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 107, 26, 0.25),
    0 6px 18px -6px rgba(255, 107, 26, 0.45),
    0 0 24px -4px rgba(255, 107, 26, 0.35);
  outline: none;
}
.panel__ctrl {
  position: absolute;
  right: 48px;
  bottom: 52px;
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: center;
}
.sound {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 22px 0 20px;
  border-radius: 40px;
  transition: box-shadow 0.3s;
}
.sound .on,
.sound .eq {
  display: none;
}
.sound.is-on {
  box-shadow: 0 0 0 1px rgba(255, 107, 26, 0.65);
}
.sound.is-on .off {
  display: none;
}
.sound.is-on .on {
  display: block;
}
.sound.is-on .eq {
  display: flex;
}

/* hover + focus — subtle warm lift */
.sound:hover,
.sound:focus-visible {
  background: rgba(255, 107, 26, 0.1);
  border-color: rgba(255, 107, 26, 0.55);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 107, 26, 0.25),
    0 6px 18px -6px rgba(255, 107, 26, 0.35);
  outline: none;
}
.eq {
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}
.eq b {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--ember);
  animation: eq 0.9s ease-in-out infinite alternate;
}
.eq b:nth-child(2) {
  animation-delay: -0.3s;
}
.eq b:nth-child(3) {
  animation-delay: -0.6s;
}
.eq b:nth-child(4) {
  animation-delay: -0.15s;
}
.eq b:nth-child(5) {
  animation-delay: -0.45s;
}
@keyframes eq {
  to {
    height: 20px;
  }
}
.panel.no-audio .sound {
  display: none;
}
.cbtn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cbtn .ic {
  width: 24px;
  height: 24px;
}

/* hover + focus */
.cbtn:hover,
.cbtn:focus-visible {
  background: rgba(255, 107, 26, 0.1);
  border-color: rgba(255, 107, 26, 0.55);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 107, 26, 0.25),
    0 6px 18px -6px rgba(255, 107, 26, 0.35);
  outline: none;
}
.panel__prog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 5;
}
.panel__prog i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--bone);
}

/* ---------- Lightbox (full film with sound) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.94);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s var(--ease),
    visibility 0s 0.4s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease);
}
.lightbox video {
  width: min(92vw, calc(86vh * 16 / 9));
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
}
.lightbox__close {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--hdr) / 2 - 23px);
  color: #fff;
}
.lightbox__close .ic {
  width: 46px;
  height: 46px;
  stroke-width: 1.3;
}

/* ---------- Reality wipe ---------- */
.reality {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  --split: 54%;
}
.reality img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reality__raw {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.reality__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 1px;
  background: rgba(255, 255, 255, 0.8);
  z-index: 3;
  pointer-events: none;
}
.reality__handle span {
  position: absolute;
  top: 50%;
  left: -34px;
  width: 68px;
  height: 68px;
  margin-top: -34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.reality__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
}
.reality__head {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(120px, 17vh, 180px);
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
.reality__head .display {
  font-size: clamp(48px, 5.4vw, 104px);
  margin-top: 18px;
}
.reality__lab {
  position: absolute;
  bottom: clamp(60px, 10vh, 110px);
  z-index: 5;
  color: #fff;
  pointer-events: none;
}
.reality__credits {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(28px, 5vh, 56px);
  text-align: center;
  font-size: 11px;
  z-index: 5;
  pointer-events: none;
}

/* ---------- Studio statement ---------- */
.statement {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.statement__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.statement__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0) 70%
  );
}
.statement__copy {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 15vh, 200px) var(--edge);
  max-width: 1000px;
}
.statement__copy p.serif {
  font: 400 clamp(34px, 3.35vw, 64px)/1.08 var(--f-serif);
  margin: 26px 0 0;
  letter-spacing: -0.015em;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(30px, 3.6vw, 70px);
  margin-top: clamp(40px, 6.5vh, 70px);
}
.stats b {
  display: block;
  font: 200 clamp(56px, 4.8vw, 92px)/1 var(--f-display);
}
.stats .label {
  display: block;
  margin-top: 12px;
  font-size: 11px;
}
.trusted {
  margin-top: clamp(36px, 5.5vh, 60px);
  font-size: 11px;
  opacity: 0.7;
}

/* ---------- Step through (CTA) ---------- */
.step {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}
.step__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}
.step__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.55)
  );
}
.step__copy {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
}
.step .display {
  font-size: clamp(64px, 7.8vw, 150px);
  margin-top: 22px;
}
.step__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  margin-top: 44px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.foot {
  background: #000;
  padding: clamp(70px, 10vh, 110px) var(--edge) 44px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.foot__brand svg {
  width: 38px;
  height: 38px;
}
.foot__brand .wordmark {
  color: var(--bone);
}
.foot__about {
  margin-top: 26px;
  font: 400 18px/1.6 var(--f-ui);
  color: rgba(242, 239, 234, 0.7);
  max-width: 320px;
}
.foot h5 {
  margin: 0 0 22px;
  font: 500 12px var(--f-ui);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-55);
}
.foot li {
  list-style: none;
  font: 400 18px/2 var(--f-ui);
  color: rgba(242, 239, 234, 0.8);
}
.foot ul {
  margin: 0;
  padding: 0;
}
.foot a:hover {
  color: var(--bone);
}
.foot__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid rgba(242, 239, 234, 0.14);
  font: 500 12px var(--f-ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-55);
}

/* ---------- Studio page ---------- */
.manifesto {
  background: #000;
  padding: clamp(120px, 20vh, 220px) clamp(24px, 13vw, 250px);
  text-align: center;
}
.manifesto p.serif {
  font: 400 clamp(36px, 3.75vw, 72px)/1.08 var(--f-serif);
  margin: 0;
  letter-spacing: -0.015em;
}
.manifesto .label {
  margin-top: 48px;
}
.pipeline {
  background: #000;
  padding: clamp(60px, 10vh, 110px) var(--edge) clamp(80px, 12vh, 140px);
}
.pipeline__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pipeline img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 18px;
}
.pipeline .display {
  font-size: clamp(40px, 3.35vw, 64px);
  margin-top: 10px;
}
.pipeline .label {
  margin-top: 26px;
}

/* ---------- Careers ---------- */
.roles {
  background: #000;
  padding: clamp(100px, 16vh, 180px) var(--edge) clamp(80px, 12vh, 140px);
  position: relative;
}
.roles__list {
  margin-top: 40px;
  border-top: 1px solid rgba(242, 239, 234, 0.18);
}
.role {
  display: grid;
  grid-template-columns: 1fr 300px 220px 200px 50px;
  align-items: center;
  min-height: 118px;
  border-bottom: 1px solid rgba(242, 239, 234, 0.18);
  color: rgba(242, 239, 234, 0.42);
  transition: color 0.3s;
}
.role:hover {
  color: var(--bone);
}
.role__name {
  font: 300 clamp(34px, 2.7vw, 52px)/1 var(--f-display);
  text-transform: uppercase;
}
.role__meta {
  font: 400 20px var(--f-ui);
}
.role .label {
  color: inherit;
}
.role .ic {
  width: 40px;
  height: 40px;
  stroke-width: 1.4;
}
.roles__preview {
  position: fixed;
  width: 360px;
  height: 202px;
  object-fit: cover;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
}
.roles__preview.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.roles__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 70px;
}
.roles__foot p {
  font: italic 400 clamp(28px, 2.1vw, 40px)/1.2 var(--f-serif);
  margin: 0;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: calc(var(--hdr) + 40px) var(--gutter) 76px var(--edge);
  display: grid;
  grid-template-columns: 1fr minmax(0, 640px);
  gap: 40px;
  align-items: start;
}
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}
.contact__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.74) 0%,
    rgba(0, 0, 0, 0.38) 36%,
    rgba(0, 0, 0, 0) 62%
  );
}
.contact__copy,
.form {
  position: relative;
  z-index: 2;
}
.contact__copy {
  padding-top: 60px;
}
.contact .display {
  font-size: clamp(80px, 8.85vw, 170px);
  margin-top: 20px;
}
.contact__mail {
  display: inline-block;
  margin-top: 58px;
  font: 300 clamp(30px, 2.4vw, 46px) var(--f-display);
  border-bottom: 1px solid rgba(242, 239, 234, 0.55);
  padding-bottom: 6px;
}
.clocks {
  display: flex;
  gap: 60px;
  margin-top: 46px;
  font: 400 22px var(--f-ui);
}
.clocks .label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
}
.form {
  padding: 46px 52px;
  border-radius: 4px;
}
.field {
  display: block;
  margin-bottom: 10px;
}
.field input,
.field textarea {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(242, 239, 234, 0.32);
  color: var(--bone);
  font: 400 20px var(--f-ui);
  padding: 26px 0 12px;
  outline: none;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--bone-55);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ember);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  font: 500 12px var(--f-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 16px;
  border: 1px solid rgba(242, 239, 234, 0.32);
  border-radius: 40px;
  color: rgba(242, 239, 234, 0.82);
}
.chip[aria-pressed="true"] {
  background: var(--bone);
  color: #000;
  border-color: var(--bone);
}
.form__send {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .worlds {
    display: none;
  }
  .panel__title,
  .reels--full .panel__title {
    font-size: 72px;
  }
  .role {
    grid-template-columns: 1fr 200px 140px 50px;
  }
  .role .role__type {
    display: none;
  }
  .contact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  :root {
    --rail: 0px;
  }
  body {
    font-size: 16px;
  }
  .wordmark {
    font-size: 14px;
  }
  .hdr__menu {
    width: 28px;
    height: 28px;
  }
  .hero__copy {
    top: auto;
    bottom: 110px;
    right: var(--edge);
  }
  .hero h1 {
    margin-top: 18px;
  }
  .hero__actions {
    margin-top: 28px;
  }
  .hero__bg {
    object-position: 59% 50%;
  }
  .rail-col {
    display: none;
  }
  .reels {
    padding: 0 14px;
  }
  .slot {
    padding-top: 70px;
  }
  .panel {
    height: min(80svh, 740px);
    border-radius: 20px;
  }
  .panel__index {
    left: 18px;
    top: 18px;
    font-size: 10px;
  }
  .panel__status {
    right: 18px;
    top: 18px;
    font-size: 9px;
  }
  .panel__status .tc {
    display: none;
  }
  .panel__copy {
    left: 18px;
    right: 18px;
    bottom: 24px;
  }
  .panel__title,
  .reels--full .panel__title {
    font-size: 42px;
    margin-top: 10px;
  }
  .panel__text {
    font-size: 14px;
    margin-top: 12px;
  }
  .tags {
    margin-top: 14px;
  }
  .tags li {
    font-size: 9px;
    padding: 7px 10px;
  }
  .panel__ctrl {
    right: 14px;
    bottom: auto;
    top: 48px;
  }
  .panel__ctrl .cbtn {
    display: none;
  }
  .sound {
    height: 42px;
    padding: 0 14px;
  }
  .menu__item {
    font-size: 60px;
    line-height: 0.98;
  }
  .menu__sub {
    display: none;
  }
  .menu__foot nav {
    margin-left: 0;
  }
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
  .pipeline__grid {
    grid-template-columns: 1fr 1fr;
  }
  .role {
    grid-template-columns: 1fr 40px;
    padding: 18px 0;
  }
  .role .label,
  .role .role__meta {
    display: none;
  }
  .form {
    padding: 30px 22px;
  }
  .clocks {
    gap: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .slot {
    position: relative;
  }
}

/* Keep zoomed hero and tilted panels from widening the page on phones */
.hero {
  overflow: hidden;
}
.reels,
.slot {
  overflow-x: clip;
}

/* =========================================================
   SERVICES PAGE — accordion (ported from services.php)
   ========================================================= */

/* ---------- Hero ---------- */
.page-services .services-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--edge);
  padding-bottom: clamp(40px, 6vh, 80px);
  overflow: hidden;
}
.page-services .sh-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.page-services .sh-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.5) 42%,
      rgba(0, 0, 0, 0.08) 72%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.1) 48%);
}

/* Hero Content */
.page-services .sh-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding-bottom: clamp(32px, 5vh, 64px);
  animation: up 1.1s 0.3s var(--ease) both;
}
.page-services .sh-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.page-services .sh-meta .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
}
.page-services .sh-title {
  margin: 24px 0 0;
  font-size: clamp(64px, 8.5vw, 160px);
  line-height: 0.9;
}
.page-services .sh-title .serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.012em;
}
.page-services .sh-desc {
  max-width: 540px;
  margin: 36px 0 0;
  font: 400 18px/1.6 var(--f-ui);
  color: rgba(242, 239, 234, 0.82);
}

/* Bottom nav — right side */
.page-services .sh-bottom-nav {
  position: absolute;
  right: var(--edge);
  bottom: clamp(40px, 6vh, 80px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px; /* Reduced gap slightly */
  max-width: 700px;
}

/* Divider removed (::before deleted) */

/* Smaller hero chips */
.page-services .nav-chip {
  flex: none;
  font: 500 9px var(--f-ui); /* Reduced from 11px */
  letter-spacing: 0.18em; /* Reduced from .22em */
  text-transform: uppercase;
  padding: 8px 14px; /* Reduced from 11px 18px */
  border-radius: 30px;
  border: 1px solid rgba(242, 239, 234, 0.22); /* Slightly softer border */
  color: rgba(242, 239, 234, 0.75);
  white-space: nowrap;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.35s var(--ease);
}
.page-services .nav-chip:hover,
.page-services .nav-chip:focus-visible {
  border-color: rgba(255, 107, 26, 0.6);
  background: rgba(255, 107, 26, 0.1);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 107, 26, 0.25),
    0 6px 18px -6px rgba(255, 107, 26, 0.35);
}

/* ---------- Accordion section ---------- */
.page-services .services-accordion {
  position: relative;
  background: var(--black);
  padding: clamp(48px, 8vh, 96px) var(--gutter) 0;
}
.page-services .accordion-container {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(242, 239, 234, 0.16);
}

.page-services .acc-row {
  position: relative;
  border-bottom: 1px solid rgba(242, 239, 234, 0.16);
}

/* Header row — Reduced title, wide description */
.page-services .acc-header {
  position: relative;
  z-index: 2;
  display: grid;
  /* 50px for number, 0.8fr for title, 1.2fr for description */
  grid-template-columns: 50px minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(16px, 3vw, 40px);
  min-height: clamp(150px, 18vh, 200px);
  padding: clamp(28px, 4vh, 48px) clamp(8px, 2vw, 24px);
  cursor: pointer;
  color: rgba(242, 239, 234, 0.72);
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.page-services .acc-header:hover,
.page-services .acc-row.is-open .acc-header {
  color: var(--bone);
}
.page-services .acc-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.page-services .acc-num {
  color: rgba(242, 239, 234, 0.5);
  padding-top: 0.3em;
}
.page-services .acc-title {
  margin: 0;
  /* Slightly smaller font size to balance the smaller column */
  font-size: clamp(28px, 2.8vw, 52px);
  line-height: 1;
  transition: transform 0.6s var(--ease);
}
.page-services .acc-header:hover .acc-title {
  transform: translateX(6px);
}

.page-services .acc-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 0.4em;
}
.page-services .acc-desc {
  margin: 0;
  font: 400 16px/1.6 var(--f-ui); /* Increased font size slightly */
  color: rgba(242, 239, 234, 0.62);
  max-width: 100%; /* Removed limit to fill the 1.2fr column */
}
.page-services .acc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-services .acc-chip {
  font-size: 9.5px;
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid rgba(242, 239, 234, 0.22);
  color: rgba(242, 239, 234, 0.7);
  white-space: nowrap;
}

/* Hover preview — Follows the mouse */
.page-services .acc-hover-img {
  position: absolute;
  top: 0;
  left: 0; /* Anchored to top-left, moved via JS */
  width: 240px;
  height: 135px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  /* Center the image on the cursor using CSS variables set by JS */
  transform: translate(
      calc(var(--mouse-x, 0px) - 50%),
      calc(var(--mouse-y, 0px) - 50%)
    )
    scale(0.92);
  transition:
    opacity 0.3s var(--ease),
    transform 0.1s linear; /* Faster transform for tracking */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  z-index: 3;
}
.page-services .acc-row:hover .acc-hover-img {
  opacity: 1;
  transform: translate(
      calc(var(--mouse-x, 0px) - 50%),
      calc(var(--mouse-y, 0px) - 50%)
    )
    scale(1);
}
.page-services .acc-row.is-open .acc-hover-img {
  display: none;
}

/* Floating preview image (like careers page) */
.page-services .acc-preview {
  position: fixed;
  width: 300px;
  height: 169px; /* 16:9 ratio */
  object-fit: cover;
  border-radius: 12px;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  /* Start slightly scaled down and offset */
  transform: translateY(10px) scale(0.95);
  transition:
    opacity 0.3s var(--ease),
    transform 0.4s var(--ease);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.page-services .acc-preview.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hide on touch devices */
@media (max-width: 900px) {
  .page-services .acc-preview {
    display: none !important;
  }
}
/* ---------- Expanded fullscreen body ---------- */
.page-services .acc-body {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.5s var(--ease),
    visibility 0s 0.5s;
}
.page-services .acc-row.is-open .acc-body {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s var(--ease);
}
.page-services .acc-body-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 1s var(--ease);
}
.page-services .acc-row.is-open .acc-body-bg {
  transform: scale(1);
}
.page-services .acc-body-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.5) 45%,
      rgba(0, 0, 0, 0.1) 75%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 45%);
}
.page-services .acc-close {
  position: absolute;
  top: calc(var(--hdr) / 2 - 20px);
  right: var(--gutter);
  z-index: 3;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid rgba(242, 239, 234, 0.32);
  color: var(--bone);
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.page-services .acc-close:hover,
.page-services .acc-close:focus-visible {
  border-color: rgba(255, 107, 26, 0.6);
  background: rgba(255, 107, 26, 0.1);
  outline: none;
}
.page-services .acc-body-content {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 920px;
  padding: 0 var(--edge) clamp(60px, 10vh, 120px);
}
.page-services .acc-expanded-title {
  font-size: clamp(56px, 7vw, 130px);
  margin: 20px 0 0;
}
.page-services .acc-expanded-title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.012em;
}
.page-services .acc-expanded-desc {
  max-width: 560px;
  margin: 24px 0 36px;
  font: 400 19px/1.6 var(--f-ui);
  color: rgba(242, 239, 234, 0.82);
}

/* ---------- Footer note ---------- */
.page-services .acc-footer {
  text-align: center;
  padding: clamp(48px, 8vh, 80px) 0 clamp(72px, 10vh, 120px);
  color: rgba(242, 239, 234, 0.5);
}

/* ---------- Body lock while a row is expanded ---------- */
.page-services.acc-open {
  overflow: hidden;
}

/* ---------- Tablet (≤ 900px) ---------- */
@media (max-width: 900px) {
  .page-services .sh-bottom-nav {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: flex-start;
    margin-top: 30px;
    max-width: none;
  }

  .page-services .acc-header {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 10px 16px;
    padding: 26px 6px;
    align-items: start;
    min-height: 0;
  }
  .page-services .acc-num {
    grid-row: 1;
    grid-column: 1;
    padding-top: 0.4em;
  }
  .page-services .acc-title {
    grid-row: 1;
    grid-column: 2;
    font-size: clamp(26px, 4.6vw, 40px);
  }
  .page-services .acc-meta {
    grid-row: 2;
    grid-column: 2;
    padding-top: 0;
    gap: 10px;
  }
  .page-services .acc-desc {
    font-size: 13.5px;
    max-width: none;
  }
  .page-services .acc-chip {
    font-size: 9px;
    padding: 6px 10px;
  }
  .page-services .acc-hover-img {
    display: none;
  }
  .page-services .sh-desc {
    font-size: 16px;
    margin-top: 28px;
    max-width: none;
  }
  .page-services .sh-title {
    margin-top: 20px;
  }
}

/* ---------- Mobile (≤ 600px) ---------- */
@media (max-width: 600px) {
  .page-services .services-hero {
    padding-bottom: clamp(28px, 4vh, 48px);
  }
  .page-services .sh-content {
    padding-bottom: clamp(24px, 4vh, 48px);
  }
  .page-services .nav-chip {
    font-size: 9px; /* Kept small on mobile too */
    padding: 8px 12px;
  }
  .page-services .services-accordion {
    padding: clamp(32px, 6vh, 64px) 16px 0;
  }
  .page-services .acc-header {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 22px 4px;
  }
  .page-services .acc-num {
    font-size: 11px;
  }
  .page-services .acc-title {
    font-size: clamp(22px, 5.4vw, 32px);
  }
  .page-services .acc-desc {
    font-size: 13px;
    line-height: 1.5;
  }
  .page-services .acc-chip {
    font-size: 8.5px;
    padding: 5px 9px;
    letter-spacing: 0.16em;
  }
  .page-services .acc-body-content {
    padding: 0 20px 60px;
  }
  .page-services .acc-expanded-title {
    font-size: clamp(40px, 11vw, 72px);
  }
  .page-services .acc-expanded-desc {
    font-size: 15px;
    margin: 18px 0 26px;
  }
  .page-services .acc-close {
    top: 16px;
    right: 16px;
    padding: 10px 16px;
  }
}

/* =========================================================
   STUDIO PAGE
   ========================================================= */

/* ---------- Studio Hero ---------- */
.page-studio .studio-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.page-studio .sh-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.8);
}

.page-studio .sh-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.page-studio .sh-center {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -12vh;
  padding: 0 var(--gutter);
}

.page-studio .sh-meta {
  margin-bottom: 24px;
}

.page-studio .sh-title {
  margin: 0;
  font-size: clamp(56px, 7.5vw, 140px);
  line-height: 0.9;
}

.page-studio .sh-principles {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(242, 239, 234, 0.16);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-studio .principle {
  padding: clamp(32px, 5vw, 56px) var(--gutter);
  border-right: 1px solid rgba(242, 239, 234, 0.16);
}

.page-studio .principle:last-child {
  border-right: none;
}

.page-studio .sph-num {
  display: block;
  color: var(--ember);
  margin-bottom: 16px;
}

.page-studio .principle h3 {
  font-size: clamp(28px, 2.8vw, 44px);
  margin: 0 0 20px;
  color: var(--bone);
}

.page-studio .principle p {
  font: 400 16px/1.65 var(--f-ui);
  color: rgba(242, 239, 234, 0.7);
  margin: 0;
  max-width: 340px;
}

/* ---------- Manifesto (from homepage) ---------- */
.page-studio .manifesto {
  background: #000;
  padding: clamp(120px, 20vh, 220px) clamp(24px, 13vw, 250px);
  text-align: center;
}

.page-studio .manifesto p.serif {
  font: 400 clamp(36px, 3.75vw, 72px)/1.08 var(--f-serif);
  margin: 0;
  letter-spacing: -0.015em;
}

.page-studio .manifesto .label {
  margin-top: 48px;
}

/* ---------- Pipeline Marquee ---------- */
.page-studio .studio-pipeline {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--black);
  border-bottom: 1px solid rgba(242, 239, 234, 0.16);
  overflow: hidden; /* Prevent horizontal scrollbar */
}

.page-studio .pipeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 var(--edge);
  margin-bottom: clamp(40px, 6vh, 60px);
}

.page-studio .pipeline-header .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  margin-right: 12px;
}

.page-studio .pipeline-title {
  font-size: clamp(48px, 6vw, 100px);
  margin-top: 24px;
  line-height: 0.95;
}

/* Hide manual buttons (no longer needed for infinite marquee) */
.page-studio .pipeline-controls {
  display: none;
}

/* The Track */
.page-studio .pipeline-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 20px 0;
  will-change: transform;
  /* Add a fade mask to the left and right edges */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* Individual Card */
.page-studio .pipe-card {
  flex: 0 0 auto;
  width: clamp(300px, 35vw, 450px);
  height: clamp(200px, 24vh, 260px);
  background: var(--night);
  border: 1px solid rgba(242, 239, 234, 0.1);
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.4s var(--ease),
    background 0.4s var(--ease),
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
  opacity: 0.4; /* Dimmed by default */
}

/* Highlight the active card */
.page-studio .pipe-card.is-active {
  border-color: rgba(255, 107, 26, 0.5);
  background: rgba(255, 107, 26, 0.04);
  opacity: 1;
  transform: scale(1.02);
}

.page-studio .pipe-card .label {
  color: rgba(242, 239, 234, 0.4);
  margin-bottom: auto;
  transition: color 0.4s var(--ease);
}

.page-studio .pipe-card.is-active .label {
  color: var(--ember);
}

.page-studio .pipe-card h4 {
  font-size: clamp(32px, 3.5vw, 48px);
  margin: 0 0 8px;
  color: var(--bone);
}

.page-studio .pipe-card p {
  color: rgba(242, 239, 234, 0.6);
}

@media (max-width: 900px) {
  .page-studio .pipeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-studio .pipeline-track {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      transparent,
      black 5%,
      black 95%,
      transparent
    );
  }
}

/* ---------- Locations ---------- */
.page-studio .studio-locations {
  background: var(--black);
}

.page-studio .locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(242, 239, 234, 0.16);
}

.page-studio .loc-card {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(40px, 5vw, 70px);
}

.page-studio .loc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}

.page-studio .loc-card:hover .loc-bg {
  transform: scale(1.04);
}

.page-studio .loc-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.page-studio .loc-top,
.page-studio .loc-bottom {
  position: relative;
  z-index: 2;
}

.page-studio .loc-top {
  color: rgba(242, 239, 234, 0.7);
}

.page-studio .loc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.page-studio .loc-city {
  font-size: clamp(40px, 5vw, 80px);
  margin: 0 0 12px;
}

.page-studio .loc-roles,
.page-studio .loc-right {
  color: rgba(242, 239, 234, 0.7);
  font-size: 13px;
  letter-spacing: 0.2em;
}

/* ---------- Timezone Strip ---------- */
.page-studio .timezone-strip {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: clamp(36px, 6vw, 60px) var(--gutter);
  border-bottom: 1px solid rgba(242, 239, 234, 0.16);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-studio .timezone-strip::-webkit-scrollbar {
  display: none;
}

.page-studio .tz-label {
  color: var(--bone);
  white-space: nowrap;
}

.page-studio .tz-clocks {
  display: flex;
  gap: 48px;
  color: rgba(242, 239, 234, 0.6);
}

.page-studio .tz-clocks span {
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .page-studio .studio-hero {
    height: auto;
    min-height: 100svh;
  }

  .page-studio .sh-center {
    margin-top: 0;
    padding-top: 16vh;
  }

  .page-studio .sh-principles {
    position: relative;
    grid-template-columns: 1fr;
    background: var(--black);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin-top: 10vh;
  }

  .page-studio .principle {
    border-right: none;
    border-bottom: 1px solid rgba(242, 239, 234, 0.16);
  }

  .page-studio .principle:last-child {
    border-bottom: none;
  }

  .page-studio .locations-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   RESPONSIVE REFINEMENT — layout only, original design kept
   Append after the existing stylesheet.
   ========================================================= */

/* Fluid media and safer viewport sizing */
html {
  scroll-padding-top: var(--hdr);
  overscroll-behavior-x: none;
}
body {
  min-width: 320px;
  overscroll-behavior-x: none;
}
img,
video {
  height: auto;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
:where(.hero, .phero, .reality, .step, .statement, .contact) {
  scroll-margin-top: var(--hdr);
}

/* Large tablets / compact laptops */
@media (min-width: 768px) and (max-width: 1100px) {
  :root {
    --gutter: clamp(24px, 3.2vw, 38px);
    --edge: clamp(28px, 5vw, 56px);
    --rail: 104px;
    --hdr: 88px;
  }

  .hero__copy {
    max-width: min(68vw, 760px);
  }
  .hero h1 {
    font-size: clamp(68px, 8vw, 100px);
  }

  .rail {
    padding-left: 14px;
    gap: 8px;
  }
  .rail a {
    width: 78px;
    height: 48px;
  }
  .panel {
    height: min(76svh, 780px);
  }
  .panel__copy {
    left: 36px;
    right: 36px;
    bottom: 42px;
    max-width: 68%;
  }
  .panel__title,
  .reels--full .panel__title {
    font-size: clamp(54px, 6.4vw, 72px);
  }
  .panel__text {
    font-size: 16px;
    max-width: 500px;
  }
  .panel__index {
    left: 36px;
    top: 32px;
  }
  .panel__status {
    right: 36px;
    top: 30px;
  }
  .panel__ctrl {
    right: 30px;
    bottom: 32px;
  }

  .manifesto {
    padding-left: clamp(48px, 9vw, 120px);
    padding-right: clamp(48px, 9vw, 120px);
  }
  .pipeline__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .role {
    grid-template-columns: minmax(0, 1fr) 170px 46px;
    gap: 14px;
  }
  .role .role__type {
    display: none;
  }
  .contact {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
  }
  .contact .display {
    font-size: clamp(72px, 8vw, 104px);
  }
  .form {
    padding: 34px 30px;
  }

  .page-services .sh-bottom-nav {
    max-width: 48%;
  }
  .page-services .acc-header {
    grid-template-columns: 38px minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
  }
  .page-services .acc-title {
    font-size: clamp(28px, 3.5vw, 40px);
  }
}

/* Tablet and mobile */
@media (max-width: 900px) {
  :root {
    --hdr: 76px;
    --gutter: clamp(20px, 4vw, 32px);
    --edge: clamp(22px, 5vw, 44px);
  }

  .hero,
  .phero,
  .reality,
  .step {
    min-height: 560px;
  }
  .hero__copy {
    max-width: calc(100% - 2 * var(--edge));
  }
  .hero h1 {
    font-size: clamp(58px, 9vw, 92px);
  }
  .phero .display,
  .reels__intro .display {
    font-size: clamp(52px, 8vw, 86px);
  }

  .reels {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }
  .rail-col {
    display: none;
  }
  .slot {
    padding-top: 56px;
  }
  .panel {
    height: min(78svh, 820px);
  }
  .panel__copy {
    left: 32px;
    right: 32px;
    bottom: 36px;
    max-width: 72%;
  }
  .panel__title,
  .reels--full .panel__title {
    font-size: clamp(48px, 7vw, 68px);
  }
  .panel__text {
    font-size: 16px;
  }
  .panel__index {
    left: 32px;
    top: 28px;
  }
  .panel__status {
    right: 32px;
    top: 28px;
  }
  .panel__ctrl {
    right: 24px;
    bottom: 26px;
  }
  .sound {
    height: 52px;
  }
  .cbtn {
    width: 52px;
    height: 52px;
  }

  .statement__copy {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }
  .manifesto {
    padding: clamp(90px, 13vh, 150px) var(--edge);
  }
  .pipeline__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roles {
    padding-left: var(--edge);
    padding-right: var(--edge);
  }
  .role {
    grid-template-columns: minmax(0, 1fr) 150px 42px;
    gap: 12px;
  }
  .role .role__type {
    display: none;
  }
  .contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: calc(var(--hdr) + 28px) var(--edge) 64px;
  }
  .contact__copy {
    padding-top: 16px;
  }
  .contact .display {
    font-size: clamp(76px, 11vw, 120px);
  }
  .contact__mail {
    margin-top: 32px;
  }
  .form {
    padding: 32px;
  }

  .page-services .services-hero {
    min-height: 760px;
    min-height: max(680px, 100svh);
  }
  .page-services .sh-content {
    max-width: 760px;
  }
  .page-services .sh-bottom-nav {
    position: relative;
    inset: auto;
    justify-content: flex-start;
    max-width: none;
    margin-top: 28px;
  }
  .page-services .acc-header {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .page-services .acc-meta {
    min-width: 0;
  }
  .page-services .acc-chip {
    white-space: normal;
  }
  .page-services .acc-body-content {
    padding-bottom: max(48px, env(safe-area-inset-bottom));
  }

  .page-studio .studio-hero {
    min-height: 100svh;
  }
  .page-studio .sh-center {
    padding-top: 14vh;
    margin-top: 0;
  }
  .page-studio .sh-principles {
    position: relative;
    grid-template-columns: 1fr;
    margin-top: 10vh;
  }
  .page-studio .principle {
    border-right: 0;
    border-bottom: 1px solid rgba(242, 239, 234, 0.16);
  }
  .page-studio .principle:last-child {
    border-bottom: 0;
  }
  .page-studio .locations-grid {
    grid-template-columns: 1fr;
  }
}

/* Phones */
@media (max-width: 767px) {
  :root {
    --hdr: 68px;
    --gutter: 18px;
    --edge: 22px;
    --rail: 0px;
    --radius: 18px;
  }

  body {
    font-size: 16px;
    line-height: 1.5;
  }
  .label {
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  .hdr {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .hdr__menu {
    width: 30px;
    height: 30px;
  }
  .wordmark {
    font-size: 14px;
    letter-spacing: 0.34em;
    margin-right: -0.34em;
  }
  .menu__list {
    top: calc(var(--hdr) + 8vh);
    right: var(--gutter);
  }
  .menu__item {
    font-size: clamp(46px, 12vw, 62px);
    line-height: 1;
  }
  .menu__item sup {
    font-size: 10px;
    margin-left: 8px;
  }
  .menu__foot {
    bottom: max(22px, env(safe-area-inset-bottom));
    gap: 14px;
    font-size: 12px;
  }
  .menu__foot i {
    width: 24px;
  }
  .menu__foot nav {
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 10px;
  }

  .hero {
    height: 100svh;
    min-height: 620px;
  }
  .hero__bg {
    object-position: 62% center;
  }
  .hero__shade {
    background:
      linear-gradient(
        0deg,
        rgba(4, 5, 8, 0.86) 0%,
        rgba(4, 5, 8, 0.36) 58%,
        rgba(4, 5, 8, 0.16) 100%
      ),
      linear-gradient(90deg, rgba(4, 5, 8, 0.32), transparent 80%);
  }
  .hero__copy {
    left: var(--edge);
    right: var(--edge);
    top: auto;
    bottom: max(84px, calc(env(safe-area-inset-bottom) + 64px));
  }
  .hero h1 {
    font-size: clamp(54px, 13vw, 76px);
    line-height: 0.96;
    margin-top: 18px;
  }
  .hero__actions {
    gap: 16px 22px;
    margin-top: 26px;
  }
  .hero__actions .cta {
    gap: 14px;
    padding-left: 18px;
    font-size: 15px;
  }
  .hero__actions .cta__c {
    width: 42px;
    height: 42px;
  }
  .scroll-cue {
    height: 54px;
  }

  .phero {
    height: 100svh;
    min-height: 580px;
  }
  .phero__shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12) 72%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent);
  }
  .phero__copy {
    left: var(--edge);
    right: var(--edge);
    bottom: max(48px, env(safe-area-inset-bottom));
  }
  .phero .display {
    font-size: clamp(50px, 12vw, 76px);
  }

  .reels {
    padding: 0 12px;
  }
  .reels__intro {
    padding: 88px 8px 34px;
  }
  .reels__intro .display {
    font-size: clamp(48px, 11vw, 68px);
  }
  .slot {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 580px;
    padding-top: calc(var(--hdr) * 0.75);
    padding-bottom: 14px;
  }
  .panel,
  .reels--full .panel {
    height: calc(100svh - var(--hdr) - 28px);
    min-height: 540px;
    max-height: 760px;
    border-radius: 16px;
  }
  .panel__index {
    left: 16px;
    top: 16px;
    font-size: 9px;
  }
  .panel__status {
    right: 16px;
    top: 16px;
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .panel__status .tc {
    display: none;
  }
  .panel__copy {
    left: 16px;
    right: 16px;
    bottom: 20px;
    max-width: none;
  }
  .panel__title,
  .reels--full .panel__title {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 0.96;
    margin-top: 8px;
  }
  .panel__text {
    font-size: 13px;
    line-height: 1.45;
    margin-top: 10px;
    max-width: 100%;
  }
  .tags {
    gap: 6px;
    margin-top: 10px;
  }
  .tags li {
    font-size: 8px;
    letter-spacing: 0.12em;
    padding: 6px 8px;
  }
  .panel__ctrl {
    top: 44px;
    right: 12px;
    bottom: auto;
    gap: 6px;
  }
  .panel__ctrl .cbtn {
    display: none;
  }
  .sound {
    height: 36px;
    gap: 8px;
    padding: 0 11px;
    font-size: 10px;
  }
  .sound .ic {
    width: 16px;
    height: 16px;
  }

  .lightbox {
    padding: 18px;
  }
  .lightbox video {
    width: 100%;
    max-height: 72svh;
    height: auto;
    border-radius: 8px;
  }
  .lightbox__close {
    top: max(14px, env(safe-area-inset-top));
    right: 16px;
  }
  .lightbox__close .ic {
    width: 36px;
    height: 36px;
  }

  .reality {
    height: 82svh;
    min-height: 560px;
  }
  .reality__head {
    top: 90px;
    padding: 0 18px;
  }
  .reality__head .display {
    font-size: clamp(38px, 10vw, 58px);
  }
  .reality__handle span {
    width: 54px;
    height: 54px;
    left: -27px;
    margin-top: -27px;
  }
  .reality__lab {
    bottom: 64px;
  }
  .reality__credits {
    bottom: 22px;
    font-size: 9px;
  }

  .statement {
    min-height: auto;
  }
  .statement__copy {
    padding: 100px var(--edge);
  }
  .statement__copy p.serif {
    font-size: clamp(30px, 8vw, 42px);
  }
  .stats {
    gap: 26px 34px;
    margin-top: 38px;
  }
  .stats b {
    font-size: clamp(48px, 12vw, 66px);
  }
  .stats .label {
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .step {
    height: 82svh;
    min-height: 560px;
  }
  .step .display {
    font-size: clamp(52px, 13vw, 78px);
  }
  .step__actions {
    gap: 14px;
    margin-top: 30px;
  }
  .step__actions .cta {
    gap: 14px;
    padding-left: 18px;
    font-size: 15px;
  }
  .step__actions .cta__c {
    width: 42px;
    height: 42px;
  }

  .foot {
    padding: 64px var(--edge) 30px;
  }
  .foot__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px 18px;
  }
  .foot__brand {
    gap: 12px;
  }
  .foot__brand svg {
    width: 30px;
    height: 30px;
  }
  .foot__brand .wordmark {
    font-size: 12px;
  }
  .foot__about {
    font-size: 14px;
    margin-top: 18px;
  }
  .foot h5 {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .foot li {
    font-size: 14px;
    line-height: 1.9;
  }
  .foot__base {
    margin-top: 42px;
    padding-top: 20px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .manifesto {
    padding: 88px var(--edge);
  }
  .manifesto p.serif {
    font-size: clamp(32px, 8.5vw, 46px);
  }
  .manifesto .label {
    margin-top: 30px;
  }
  .pipeline {
    padding: 64px var(--edge) 76px;
  }
  .pipeline__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .pipeline img {
    border-radius: 14px;
  }
  .roles {
    padding: 84px var(--edge) 72px;
  }
  .role {
    grid-template-columns: minmax(0, 1fr) 32px;
    min-height: 88px;
    gap: 10px;
    padding: 14px 0;
  }
  .role__name {
    font-size: clamp(28px, 7.5vw, 38px);
  }
  .role__meta,
  .role .label {
    display: none;
  }
  .role .ic {
    width: 28px;
    height: 28px;
  }
  .roles__foot {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 42px;
    gap: 20px;
  }
  .roles__preview {
    display: none;
  }

  .contact {
    min-height: auto;
    padding: calc(var(--hdr) + 26px) var(--edge) 56px;
    gap: 18px;
  }
  .contact__copy {
    padding-top: 8px;
  }
  .contact .display {
    font-size: clamp(66px, 16vw, 96px);
  }
  .contact__mail {
    font-size: clamp(27px, 7vw, 36px);
    margin-top: 26px;
    overflow-wrap: anywhere;
  }
  .clocks {
    flex-wrap: wrap;
    gap: 22px 32px;
    margin-top: 30px;
    font-size: 17px;
  }
  .clocks .label {
    font-size: 10px;
  }
  .form {
    padding: 24px 18px;
  }
  .field input,
  .field textarea {
    font-size: 16px;
    padding: 20px 0 10px;
  }
  .chips {
    gap: 8px;
  }
  .chip {
    font-size: 10px;
    padding: 9px 12px;
  }
  .form__send {
    gap: 12px;
    margin-top: 22px;
  }

  .page-services .services-hero {
    min-height: 100svh;
    padding: 0 var(--edge) 34px;
  }
  .page-services .sh-content {
    padding-bottom: 12px;
  }
  .page-services .sh-title {
    font-size: clamp(52px, 13vw, 78px);
    margin-top: 18px;
  }
  .page-services .sh-desc {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 20px;
  }
  .page-services .sh-bottom-nav {
    gap: 7px;
    margin-top: 18px;
  }
  .page-services .nav-chip {
    font-size: 8px;
    letter-spacing: 0.12em;
    padding: 7px 10px;
  }
  .page-services .services-accordion {
    padding: 44px 16px 0;
  }
  .page-services .acc-header {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 20px 2px;
  }
  .page-services .acc-title {
    font-size: clamp(22px, 6vw, 32px);
    overflow-wrap: anywhere;
  }
  .page-services .acc-meta {
    gap: 9px;
  }
  .page-services .acc-desc {
    font-size: 13px;
    line-height: 1.5;
  }
  .page-services .acc-chips {
    gap: 6px;
  }
  .page-services .acc-chip {
    font-size: 8px;
    padding: 5px 8px;
    letter-spacing: 0.1em;
  }
  .page-services .acc-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-services .acc-body-content {
    align-self: end;
    padding: 0 20px max(32px, env(safe-area-inset-bottom));
  }
  .page-services .acc-expanded-title {
    font-size: clamp(40px, 11vw, 64px);
  }
  .page-services .acc-expanded-desc {
    font-size: 14px;
    line-height: 1.55;
  }
  .page-services .acc-close {
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    padding: 9px 14px;
    font-size: 12px;
  }
  .page-services .acc-footer {
    padding: 42px 18px 64px;
  }

  .page-studio .studio-hero {
    height: auto;
    min-height: 100svh;
  }
  .page-studio .sh-center {
    padding: 110px var(--edge) 0;
  }
  .page-studio .sh-title {
    font-size: clamp(48px, 12vw, 72px);
  }
  .page-studio .sh-principles {
    margin-top: 64px;
  }
  .page-studio .principle {
    padding: 26px var(--edge);
  }
  .page-studio .principle h3 {
    font-size: 28px;
    margin-bottom: 12px;
  }
  .page-studio .principle p {
    font-size: 14px;
  }
  .page-studio .manifesto {
    padding: 88px var(--edge);
  }
  .page-studio .manifesto p.serif {
    font-size: clamp(32px, 8.5vw, 46px);
  }
  .page-studio .studio-pipeline {
    padding: 68px 0;
  }
  .page-studio .pipeline-header {
    padding: 0 var(--edge);
    margin-bottom: 28px;
  }
  .page-studio .pipeline-title {
    font-size: clamp(42px, 10vw, 64px);
  }
  .page-studio .pipeline-track {
    gap: 14px;
    padding: 14px 0;
  }
  .page-studio .pipe-card {
    width: min(78vw, 340px);
    height: 210px;
    padding: 24px;
  }
  .page-studio .pipe-card h4 {
    font-size: 32px;
  }
  .page-studio .loc-card {
    min-height: 280px;
    aspect-ratio: auto;
    padding: 28px 22px;
  }
  .page-studio .loc-bottom {
    gap: 16px;
    align-items: flex-end;
  }
  .page-studio .loc-city {
    font-size: clamp(38px, 10vw, 56px);
  }
  .page-studio .loc-roles,
  .page-studio .loc-right {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .page-studio .timezone-strip {
    gap: 28px;
    padding: 28px var(--edge);
  }
  .page-studio .tz-clocks {
    gap: 28px;
  }
}

/* Very narrow phones */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 52px;
  }
  .hero__actions {
    gap: 12px;
  }
  .panel__title,
  .reels--full .panel__title {
    font-size: 33px;
  }
  .panel__text {
    font-size: 12px;
  }
  .foot__grid {
    gap: 26px 12px;
  }
  .page-services .acc-header {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
  }
}

/* Fine-pointer hover only: avoid sticky hover states on touch screens */
@media (hover: none) {
  .menu__list:hover .menu__item {
    opacity: 1;
  }
  .menu__list .menu__item:hover {
    opacity: 1;
  }
  .rail a:hover,
  .worlds__list a:hover {
    opacity: 1;
  }
  .role:hover,
  .page-services .acc-header:hover {
    color: inherit;
    background: transparent;
  }
  .page-services .acc-header:hover .acc-title {
    transform: none;
  }
  .page-studio .loc-card:hover .loc-bg {
    transform: none;
  }
}

/* Keep motion smooth without forcing expensive layers everywhere */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg,
  .panel,
  .page-studio .pipeline-track {
    backface-visibility: hidden;
  }
}

/* =========================================================
   JS-SYNCED RESPONSIVE POLISH
   Supports sticky reels, expanded service panels and the
   responsive GSAP marquee without changing the visual design.
   ========================================================= */

/* Expanded service content remains reachable on short tablet screens. */
@media (max-width: 900px) {
  .page-services .acc-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .page-services .acc-body-content {
    width: 100%;
    padding-bottom: max(48px, env(safe-area-inset-bottom));
  }
}

/* Keep reel controls clear of copy on mid-sized tablet layouts. */
@media (min-width: 768px) and (max-width: 900px) {
  .panel__copy {
    max-width: calc(100% - 64px);
    padding-right: 150px;
  }

  .panel__ctrl {
    right: 22px;
    bottom: 22px;
  }

  .panel__title,
  .reels--full .panel__title {
    font-size: clamp(44px, 6vw, 58px);
  }
}

/* Respect device safe areas without changing the established layout. */
@media (max-width: 767px) {
  .hdr {
    padding-top: env(safe-area-inset-top);
  }

  .menu__foot {
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  .lightbox__close {
    top: max(14px, env(safe-area-inset-top));
  }

  .panel {
    min-height: 0;
  }
}
