:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --paper-deep: #ebe6dc;
  --ink: #161a1d;
  --muted: #5e666d;
  --line: rgba(22, 26, 29, 0.16);
  --steel: #44606c;
  --steel-dark: #263841;
  --amber: #b8793d;
  --graphite: #111517;
  --smoke: #d7d4ca;
  --shadow-soft: 0 18px 50px rgba(22, 26, 29, 0.12);
  --shadow-strong: 0 30px 90px rgba(8, 9, 10, 0.28);
  --white: #ffffff;
  --black: #08090a;
  --radius: 8px;
  --header-h: 72px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8f5ef 0%, #ece7dd 42%, #f7f4ee 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body.menu-open {
  overflow: hidden;
}

main {
  overflow: clip;
}

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

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

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

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(8, 9, 10, 0.34);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.12);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid,
body:not([data-page="studio"]):not([data-page="tour"]):not([data-page="showreel"]) .site-header {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 42px rgba(22, 26, 29, 0.08);
}

.brand {
  display: grid;
  gap: 0;
  min-width: 164px;
}

.brand strong {
  font-size: 20px;
  line-height: 1;
}

.brand span {
  color: currentColor;
  font-size: 11px;
  opacity: 0.68;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-links a,
.header-cta,
.mobile-menu a {
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14px;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.nav-links a {
  opacity: 0.76;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.site-header.is-solid .nav-links a:hover,
.site-header.is-solid .nav-links a[aria-current="page"],
body:not([data-page="studio"]):not([data-page="tour"]):not([data-page="showreel"]) .site-header .nav-links a:hover,
body:not([data-page="studio"]):not([data-page="tour"]):not([data-page="showreel"]) .site-header .nav-links a[aria-current="page"] {
  background: rgba(22, 26, 29, 0.08);
}

.header-cta {
  border: 1px solid currentColor;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-button.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 14px auto 14px;
  z-index: 55;
  display: none;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 244, 238, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a {
  color: var(--ink);
  background: rgba(22, 26, 29, 0.05);
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 160ms ease, width 160ms ease, height 160ms ease, margin 160ms ease, border-color 160ms ease;
  mix-blend-mode: difference;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-hover {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
}

.hero {
  position: relative;
  min-height: 96svh;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero::before,
.showreel-hero::before,
.sub-hero::before {
  content: "";
  position: absolute;
  inset: var(--header-h) 28px 28px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.hero-home {
  display: grid;
  align-items: end;
  padding: 150px 28px 34px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(7, 8, 9, 0.86) 0%, rgba(7, 8, 9, 0.56) 44%, rgba(7, 8, 9, 0.22) 100%),
              linear-gradient(0deg, rgba(7, 8, 9, 0.88) 0%, rgba(7, 8, 9, 0.08) 42%);
}

.hero-content,
.hero-specs {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.74;
}

.hero-content h1 {
  margin: 0;
  font-size: 88px;
  line-height: 0.95;
  max-width: 740px;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.hero-lead {
  max-width: 630px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(8, 9, 10, 0.20);
}

.button::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 460ms ease;
  pointer-events: none;
}

.button:hover::after {
  transform: translateX(130%);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--steel-dark), #172126);
}

.button-secondary {
  color: var(--ink);
  background: var(--paper);
}

.button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 76px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 9, 10, 0.46);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-strong);
}

.hero-specs div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-specs div:last-child {
  border-right: 0;
}

dt {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

.hero-specs dt {
  color: rgba(255, 255, 255, 0.58);
}

.hero-specs dd {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
}

.section {
  width: min(100% - 56px, var(--max));
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: var(--header-h);
}

.section-copy h2,
.tour-promo-copy h2,
.works-top h2,
.inquiry-form h2,
.visit-card h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
  max-width: 780px;
}

.section-copy p:not(.section-kicker),
.tour-promo-copy p,
.contact-copy p {
  color: var(--muted);
  max-width: 680px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 540px;
}

.image-stack img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.image-stack-main {
  height: 440px;
  box-shadow: var(--shadow-strong);
}

.image-stack-overlap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  height: 260px;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow-soft);
}

.spec-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--line);
}

.spec-card {
  min-height: 300px;
  padding: 42px 28px;
  background: var(--paper-deep);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.spec-card:nth-child(even) {
  color: var(--white);
  background: linear-gradient(135deg, #121719, #263841);
}

.spec-card:hover {
  transform: translateY(-2px);
}

.spec-card span {
  color: var(--amber);
  font-weight: 800;
}

.spec-card h3 {
  margin: 40px 0 12px;
  font-size: 32px;
}

.spec-card p {
  margin: 0;
  color: var(--muted);
}

.spec-card:nth-child(even) p {
  color: rgba(255, 255, 255, 0.70);
}

.production-flow {
  display: grid;
  gap: 34px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.flow-item {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.flow-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 500ms ease, opacity 180ms ease;
}

.flow-item:hover img {
  transform: scale(1.035);
  opacity: 0.92;
}

.flow-item span,
.flow-item strong {
  position: absolute;
  left: 22px;
  right: 22px;
  z-index: 2;
}

.flow-item span {
  top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.flow-item strong {
  bottom: 22px;
  font-size: 22px;
  line-height: 1.25;
}

.flow-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 7, 0.84), transparent 58%);
}

.tour-promo {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  background: linear-gradient(135deg, #121719, var(--steel-dark));
  color: var(--white);
}

.tour-promo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.tour-promo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}

.tour-promo-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.sub-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: end;
  padding: 130px 28px 58px;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

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

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 8, 9, 0.84), rgba(7, 8, 9, 0.08));
}

.sub-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.sub-hero h1,
.contact-copy h1,
.tour-panel h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1;
}

.sub-hero p:not(.section-kicker) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.works-section {
  display: grid;
  gap: 28px;
}

.works-top {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: end;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-bar button,
.tour-controls button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-bar button:hover,
.tour-controls button:hover {
  transform: translateY(-1px);
}

.filter-bar button.is-active,
.tour-controls button.is-active,
.tour-controls button.is-on {
  color: var(--white);
  background: var(--steel-dark);
  border-color: var(--steel-dark);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  position: relative;
  display: grid;
  grid-template-rows: 260px auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.62) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.work-card::before,
.showreel-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), rgba(68, 96, 108, 0));
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.work-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 121, 61, 0.50);
  box-shadow: var(--shadow-soft);
}

.work-card:hover::before,
.showreel-card:hover::before,
.showreel-card.is-active::before {
  opacity: 1;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition: filter 180ms ease, transform 420ms ease;
}

.work-card:hover img {
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.015);
}

.work-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.work-body span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-body h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.work-body p {
  margin: 0;
  color: var(--muted);
}

.work-meta {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.showreel-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: end;
  padding: 150px 28px 58px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.showreel-hero video,
.showreel-hero-shade {
  position: absolute;
  inset: 0;
}

.showreel-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  filter: saturate(0.82) contrast(1.04);
}

.showreel-hero-shade {
  background: linear-gradient(90deg, rgba(7, 8, 9, 0.82), rgba(7, 8, 9, 0.30), rgba(7, 8, 9, 0.48)),
              linear-gradient(0deg, rgba(7, 8, 9, 0.76), rgba(7, 8, 9, 0.04) 58%);
}

.showreel-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.showreel-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: 86px;
  line-height: 0.96;
}

.showreel-hero-copy p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.showreel-watch {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 34px;
  align-items: start;
}

.showreel-player {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: var(--shadow-strong);
}

.showreel-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--black);
}

.showreel-detail {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.showreel-detail h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

.showreel-detail p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
}

.showreel-meta {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.showreel-meta div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--white);
}

.showreel-meta dd {
  font-weight: 800;
}

.showreel-library {
  display: grid;
  gap: 30px;
  padding-top: 24px;
}

.showreel-library .works-top > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.showreel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.showreel-card {
  position: relative;
  display: grid;
  grid-template-rows: 150px auto auto;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.66) inset;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.showreel-card:hover,
.showreel-card.is-active {
  border-color: rgba(184, 121, 61, 0.62);
  box-shadow: 0 14px 42px rgba(22, 26, 29, 0.12);
  transform: translateY(-2px);
}

.showreel-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
  background: var(--black);
}

.showreel-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.showreel-card strong {
  font-size: 18px;
  line-height: 1.22;
}

.contact-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: center;
  padding: 140px max(28px, calc((100vw - var(--max)) / 2)) 72px;
  background: linear-gradient(135deg, var(--paper-deep), #d9dedb);
}

.contact-copy p {
  font-size: 18px;
}

.contact-info {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-info div {
  padding: 24px;
  background: var(--paper);
}

.contact-info dd {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 800;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.inquiry-form,
.visit-card {
  display: grid;
  gap: 18px;
}

.inquiry-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 0;
  border-color: rgba(184, 121, 61, 0.70);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 121, 61, 0.13);
}

.visit-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.partner-strip img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  padding: 12px;
  background: var(--white);
}

.tour-page {
  min-height: 100svh;
  padding-top: var(--header-h);
  background: #101314;
  color: var(--white);
}

.tour-shell {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
}

.tour-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #fbf7ef, #e8e1d4);
  color: var(--ink);
  overflow-y: auto;
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.18);
}

.tour-panel h1 {
  font-size: 44px;
}

.tour-panel p:not(.section-kicker),
.control-note {
  color: var(--muted);
}

.tour-specs {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.tour-specs div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 14px;
  background: var(--paper);
}

.tour-specs dd {
  font-weight: 800;
}

.tour-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.control-note {
  margin-top: auto;
  font-size: 14px;
}

.tour-stage {
  position: relative;
  min-width: 0;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #182022 0%, #101314 58%, #08090a 100%);
}

.tour-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at var(--tour-glow-x, 50%) var(--tour-glow-y, 46%), rgba(216, 208, 194, 0.10), transparent 28%);
  transition: background 160ms ease;
}

#studioTour {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: calc(100svh - var(--header-h));
  cursor: grab;
  touch-action: none;
}

#studioTour:active {
  cursor: grabbing;
}

.tour-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #101314;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.tour-loading strong {
  font-size: 30px;
}

.tour-loading span {
  color: rgba(255, 255, 255, 0.68);
}

.tour-loading i {
  width: 220px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.tour-loading i::before {
  content: "";
  display: block;
  width: var(--load-progress, 12%);
  height: 100%;
  background: var(--amber);
  transition: width 220ms ease;
}

.tour-loading.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tour-hud {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  pointer-events: none;
}

.tour-hud span {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  padding: 2px 0 2px 10px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 12px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.70);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px max(28px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: var(--graphite);
}

.site-footer div {
  display: grid;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.66);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-content h1,
  .showreel-hero-copy h1 {
    font-size: 68px;
  }

  .hero-specs,
  .spec-band,
  .works-grid,
  .showreel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-specs div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .intro-grid,
  .tour-promo,
  .contact-hero,
  .inquiry-layout,
  .showreel-watch {
    grid-template-columns: 1fr;
  }

  .tour-shell {
    grid-template-columns: 1fr;
  }

  .tour-panel {
    order: 2;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .tour-stage {
    min-height: 68svh;
  }

  #studioTour {
    min-height: 68svh;
  }

  .tour-promo img {
    height: 440px;
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding: 0 14px;
  }

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

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .brand strong {
    font-size: 18px;
  }

  .hero-home {
    min-height: 92svh;
    padding: 120px 18px 24px;
  }

  .hero-content h1,
  .showreel-hero-copy h1 {
    font-size: 52px;
  }

  .hero-lead,
  .showreel-hero-copy p:not(.section-kicker) {
    font-size: 18px;
  }

  .hero-specs,
  .spec-band,
  .flow-grid,
  .works-grid,
  .partner-strip,
  .showreel-grid {
    grid-template-columns: 1fr;
  }

  .hero-specs div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .section {
    width: min(100% - 36px, var(--max));
    padding: 70px 0;
  }

  .section-copy h2,
  .tour-promo-copy h2,
  .works-top h2,
  .inquiry-form h2,
  .visit-card h2,
  .sub-hero h1,
  .contact-copy h1 {
    font-size: 36px;
  }

  .tour-panel h1 {
    font-size: 34px;
  }

  .image-stack {
    min-height: 380px;
  }

  .image-stack-main {
    height: 300px;
  }

  .image-stack-overlap {
    width: 66%;
    height: 180px;
    border-width: 6px;
  }

  .flow-item {
    min-height: 340px;
  }

  .tour-promo-copy,
  .tour-panel {
    padding: 34px 18px;
  }

  .sub-hero,
  .contact-hero,
  .showreel-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .showreel-hero {
    min-height: 86svh;
    padding-top: 120px;
    padding-bottom: 34px;
  }

  .showreel-card {
    grid-template-rows: 210px auto auto;
  }

  .showreel-card img {
    height: 210px;
  }

  .works-top {
    display: grid;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .contact-info dd {
    font-size: 18px;
  }

  .site-footer {
    display: grid;
    padding: 28px 18px;
  }
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}

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