/* ==========================================================================
   MASTER — Frameless Independent Design & Direction Studio
   Cormorant Editorial Display + D-DIN Micro UI · Zero Frame Lines
   ========================================================================== */

@font-face {
  font-family: "D-DIN";
  src: url("../fonts/D-DIN.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN";
  src: url("../fonts/D-DIN-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --mst-black: #000000;
  --mst-surface: #0c0c0f;
  --mst-surface-hi: #16161b;
  --mst-white: #ffffff;
  --mst-gray: rgba(255, 255, 255, 0.72);
  --mst-muted: rgba(255, 255, 255, 0.46);

  /* Small UI / Nav / Metadata -> D-DIN | Editorial / Display / Headings -> Cormorant */
  --font-ui: "D-DIN", "Helvetica Neue", Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-editorial: "Cormorant", Georgia, "Times New Roman", serif;

  --gutter: clamp(20px, 2.8vw, 44px);
  --col-gap: clamp(16px, 2vw, 30px);
  --max-width: 1920px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-master: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   01. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--mst-black);
  color: var(--mst-white);
  font-size: 16px;
  scroll-behavior: auto !important;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  background: var(--mst-black);
  color: var(--mst-white);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.48;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  -webkit-overflow-scrolling: touch;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-editorial);
  font-weight: 400;
}

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

button {
  font: inherit;
  font-weight: 400;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

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

/* --------------------------------------------------------------------------
   02. TYPOGRAPHY & FRAMELESS PRIMITIVES
   -------------------------------------------------------------------------- */
.content-container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mst-eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

/* Frameless Minimal Action Link (D-DIN Small UI) */
.mst-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mst-white);
  opacity: 0.9;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.mst-btn:hover {
  opacity: 1;
  transform: translate3d(5px, 0, 0);
}

.mst-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Official Social Brand Vector Icons */
.mst-social-icons {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.mst-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.mst-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.mst-social-icon:hover {
  color: var(--mst-white);
  transform: translate3d(0, -2px, 0);
}

.reveal-up {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-master);
}

.reveal-up.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* --------------------------------------------------------------------------
   03. MINIMAL FRAMELESS HEADER (D-DIN Small Menu Font)
   -------------------------------------------------------------------------- */
.mst-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-top: 1.85rem;
  pointer-events: none;
  mix-blend-mode: difference;
  transition: transform 0.5s var(--ease-master);
}

.mst-nav.is-hidden {
  transform: translate3d(0, -140%, 0);
}

.mst-nav__inner {
  width: 100%;
  max-width: none;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mst-nav a,
.mst-nav button {
  pointer-events: auto;
}

.mst-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  white-space: nowrap;
}

.mst-brand__logo {
  height: clamp(20px, 1.35vw, 28px);
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s var(--ease-soft);
}

.mst-brand:hover .mst-brand__logo {
  opacity: 0.8;
}

.mst-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.6vw, 56px);
  font-family: var(--font-ui);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.mst-nav__link {
  opacity: 0.76;
  transition: opacity 0.25s var(--ease-soft);
}

.mst-nav__link:hover,
.mst-nav__link.is-active {
  opacity: 1;
}

/* Mobile Nav Bar & Fullscreen Frameless Drawer */
.mst-mobile-bar {
  display: none;
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 120;
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) 14px;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
}

.mst-menu-toggle {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mst-white);
}

.mst-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: var(--mst-black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 104px var(--gutter) 36px;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -14px, 0);
  transition: opacity 0.35s var(--ease-master), transform 0.35s var(--ease-master), visibility 0.35s;
}

.mst-mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.mst-mobile-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mst-mobile-drawer__link {
  font-family: var(--font-editorial);
  font-size: clamp(2.6rem, 11vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--mst-gray);
}

.mst-mobile-drawer__link.is-active {
  color: var(--mst-white);
}

.mst-mobile-drawer__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   04. HOME SECTION 1: RAW HERO VIDEO + 2X DESIGN & DIRECTION CO. + MASTER
       + SOUND ON/OFF + MOBILE DUAL-LAYER (therobot.tv Style)
   -------------------------------------------------------------------------- */
.mst-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100vh;
  max-height: 100svh;
  background: var(--mst-black);
  overflow: hidden;
}

.mst-hero__desktop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mst-hero__desktop video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mst-hero__mobile-dual {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  place-items: center;
}

.mst-hero__mobile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: blur(3.5px) brightness(0.72) saturate(1.06);
}

.mst-hero__mobile-frame {
  position: relative;
  z-index: 3;
  width: 92vw;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--mst-black);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.72);
}

.mst-hero__mobile-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mst-hero__brand-bottom {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(26px, 4.2vh, 48px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
  mix-blend-mode: difference;
}

/* 2x Larger Subtitle in Cormorant */
.mst-hero__brand-sub {
  font-family: var(--font-editorial);
  font-size: clamp(1.55rem, 1.85vw, 2.05rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.94);
}

.mst-hero__brand-title {
  font-family: var(--font-editorial);
  font-size: clamp(3.2rem, 6.4vw, 6.4rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0.03em;
  color: var(--mst-white);
}

/* Frameless Soft Glass Sound Toggle (D-DIN Small UI) */
.mst-hero__sound {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(26px, 4.2vh, 48px);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(10px);
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.25s, color 0.25s;
}

.mst-hero__sound:hover,
.mst-hero__sound[aria-pressed="true"] {
  background: var(--mst-white);
  color: var(--mst-black);
}

.mst-hero__sound-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.mst-hero__sound[aria-pressed="true"] .mst-hero__sound-dot {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   05. HOME SECTION 2: STUDIO INTRO (LEFT COMPACT TEXT + RIGHT 5-IMAGE GRID)
   -------------------------------------------------------------------------- */
.mst-intro-band {
  position: relative;
  background: var(--mst-black);
  padding-top: clamp(18px, 2.2vh, 32px);
  padding-bottom: clamp(48px, 6.5vh, 104px);
}

.mst-intro-band .content-container {
  max-width: none;
  width: 100%;
  padding-inline: var(--gutter);
}

.mst-intro-band__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.68fr);
  gap: clamp(28px, 3.6vw, 72px);
  align-items: stretch;
}

.mst-intro-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mst-intro-band__text {
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 2.35vw, 3.8rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.005em;
  color: var(--mst-white);
  text-transform: none;
}

/* 5-Image Bento Gallery: 1 Tall Vertical Left + 2x2 Grid Right (Fluid FHD -> 4K) */
.mst-intro-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 22px);
  min-height: clamp(320px, 28vw, 760px);
}

.mst-intro-gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--mst-surface);
}

.mst-intro-gallery__item--tall {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.mst-intro-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out);
}

.mst-intro-gallery__item:hover img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   06. HOME SECTION 3: 6 STICKY STACKED REEL CARDS (ZERO SCRIM / ZERO BLUR)
       + CARD 06 NETFLIX STATIC MIXED-RATIO COLLAGE
   -------------------------------------------------------------------------- */
.mst-featured-deck {
  position: relative;
  background: var(--mst-black);
}

.mst-featured-card {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--mst-black);
}

.mst-featured-card__bg {
  position: absolute;
  inset: 0;
  background: var(--mst-black);
}

.mst-featured-card__bg img,
.mst-featured-card__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mst-featured-card__poster {
  z-index: 1;
}

.mst-featured-card__bg video {
  z-index: 2;
  opacity: 1;
}

/* Zero dark blur / zero scrim / zero text drop shadow */
.mst-featured-card__content {
  position: relative;
  z-index: 8;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(24px, 6vh, 64px);
  pointer-events: none;
}

.mst-featured-card__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: min(100%, 1580px);
}

.mst-featured-card__bar a {
  pointer-events: auto;
  flex-shrink: 0;
}

/* Subtle semi-transparent glass pill CTA on Card Sections (D-DIN Bold) */
.mst-featured-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  transition: background-color 0.28s var(--ease-out), color 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}

.mst-featured-card__cta:hover {
  background: rgba(255, 255, 255, 0.86);
  color: var(--mst-black);
  transform: translate3d(4px, 0, 0);
}

.mst-featured-card__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: min(72%, 940px);
}

.mst-featured-card__title {
  font-family: var(--font-editorial);
  font-size: clamp(3.6rem, 7.6vw, 8.4rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mst-white);
}

.mst-featured-card__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 2px;
  font-family: var(--font-editorial);
  font-size: clamp(1.08rem, 1.38vw, 1.5rem);
  font-weight: 500;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.94);
}

.mst-featured-card__list li {
  position: relative;
}

.mst-featured-card__list li:not(:last-child)::after {
  content: "·";
  margin-left: 18px;
  opacity: 0.55;
}

/* CARD 07: NETFLIX BOXSHOT PORTRAIT WALL — CALM CROSSFADE (Zero Dark Blur) */
.mst-netflix-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: #000000;
}

.mst-nf-tile {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #09090c;
}

.mst-nf-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.75s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.mst-nf-tile img.is-visible {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* --------------------------------------------------------------------------
   07. ORIGINAL FRAMELESS MASTER PICTURES FOOTER
   -------------------------------------------------------------------------- */
.mst-footer-master {
  position: relative;
  z-index: 20;
  background: var(--mst-black);
  padding-top: clamp(72px, 10vh, 136px);
  padding-bottom: clamp(36px, 5vh, 64px);
}

.mst-footer-master--minimal {
  padding-top: clamp(20px, 3vh, 36px);
  padding-bottom: clamp(32px, 4.5vh, 52px);
}

.mst-footer-master__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vh, 88px);
}

.mst-footer-master__signature {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.mst-footer-master__title {
  font-family: var(--font-editorial);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.02em;
  color: var(--mst-white);
}

.mst-footer-master__tagline {
  font-family: var(--font-editorial);
  font-size: clamp(1.1rem, 1.4vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--mst-muted);
}

.mst-footer-master__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.mst-footer-master__block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--mst-gray);
}

.mst-footer-master__block a {
  width: fit-content;
  transition: color 0.25s;
}

.mst-footer-master__block a:hover {
  color: var(--mst-white);
}

.mst-footer-master__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mst-gray);
}

.mst-footer-master__links a:hover {
  color: var(--mst-white);
}

.mst-footer-master__socials {
  display: flex;
  justify-content: flex-end;
}

.mst-footer-master__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mst-muted);
}

.mst-footer-master__legal-right {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.mst-legal-link {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mst-muted);
  transition: color 0.25s;
}

.mst-legal-link:hover {
  color: var(--mst-white);
}

/* --------------------------------------------------------------------------
   08. WORK PAGE — FRAMELESS 12-COL EDITORIAL GRID + HOVER VIDEO
   -------------------------------------------------------------------------- */
/* Full-bleed fluid container on Work & Project pages (FHD -> 4K responsive) */
body[data-page="work"] .content-container,
body[data-page="project"] .content-container {
  max-width: none;
}

.mst-work-header {
  padding-top: clamp(118px, 14vh, 170px);
  padding-bottom: clamp(36px, 5vh, 60px);
}

.mst-work-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.mst-work-header__title {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.02em;
}

.mst-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.mst-filter-btn {
  padding: 4px 0;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mst-muted);
  transition: color 0.25s;
}

.mst-filter-btn:hover,
.mst-filter-btn.is-active {
  color: var(--mst-white);
}

/* Dynamic Aspect-Aware Justified Editorial Rows:
   - Landscapes: up to 2 per row
   - Mixed (Landscape + Portrait): up to 3 per row
   - Portraits: up to 4 per row
   Zero cropping · Balanced full-width rhythm · Mobile stacks 1 per row */
.mst-work-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.2vw, 64px);
  padding-bottom: clamp(72px, 9vw, 136px);
}

.mst-work-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 32px);
  width: 100%;
  max-width: 100%;
}

.mst-work-row--single {
  max-width: min(100%, calc(var(--row-ratio-sum, 1.6) * 58vh));
}

.mst-work-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: var(--card-flex, 1) 1 0%;
  min-width: 0;
  -webkit-touch-callout: none;
}

.mst-work-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--card-aspect, 16 / 10);
  overflow: hidden;
  background: var(--mst-black);
}

.mst-work-card__media img,
.mst-work-card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--mst-black);
}

.mst-work-card__media img {
  transition: transform 0.7s var(--ease-out);
}

.mst-work-card__media video {
  opacity: 0;
  transition: opacity 0.35s var(--ease-soft);
  z-index: 2;
  pointer-events: none;
}

.mst-work-card.is-playing .mst-work-card__media video {
  opacity: 1;
}

.mst-work-card:hover .mst-work-card__media img {
  transform: scale(1.025);
}

.mst-work-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.mst-work-card__left {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.mst-work-card__num {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--mst-muted);
}

.mst-work-card__title {
  font-family: var(--font-editorial);
  font-size: clamp(1.22rem, 1.5vw, 1.56rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--mst-white);
}

.mst-work-card__meta {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mst-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   09. SIMPLE FRAMELESS PROJECT DETAIL PAGE (project.html)
       - Full fluid width on FHD & 4K so hero video fills the screen cleanly
       - Native playback bar + true aspect ratio (zero top/bottom video crop)
       - Seamless 0px gap between sequential images & videos
   -------------------------------------------------------------------------- */
.mst-case-page {
  width: 100%;
  max-width: none;
  padding-top: clamp(84px, 9vh, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
}

.mst-case-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--mst-black);
  margin-bottom: clamp(40px, 5vw, 68px);
}

.mst-case-hero video,
.mst-case-hero img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 104px);
  object-fit: contain;
  display: block;
  margin-inline: auto;
  background: var(--mst-black);
}

.mst-case-header {
  width: 100%;
  max-width: min(100%, calc((100vh - 104px) * 1.7778));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 84px);
}

.mst-case-header--top {
  padding-top: clamp(28px, 4vh, 56px);
}

.mst-case-title {
  font-family: var(--font-editorial);
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

.mst-case-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.mst-case-spec dt {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mst-muted);
  margin-bottom: 4px;
}

.mst-case-spec dd {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--mst-white);
}

.mst-case-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mst-case-lead {
  font-family: var(--font-editorial);
  font-size: clamp(1.38rem, 2.05vw, 2rem);
  font-weight: 400;
  line-height: 1.38;
  color: var(--mst-white);
}

.mst-case-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.mst-chip {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mst-muted);
  text-transform: uppercase;
}

/* Seamless 0px-gap sequential single-column media stack (kept at readable 1360px max width) */
.mst-case-gallery {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mst-case-stack__item {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: var(--mst-black);
}

.mst-case-stack__item img,
.mst-case-stack__item video {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

.mst-case-nextprev {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: clamp(56px, 7vw, 96px);
}

/* Custom Editorial Webpage Case Study Wrapper (project folder with page.html + page.css) */
.mst-custom-case {
  width: 100%;
  overflow-x: clip;
}

.mst-custom-case__video-bar {
  background: var(--mst-black);
  padding-top: clamp(84px, 9vh, 120px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

.mst-custom-case__nav-band {
  background: var(--mst-black);
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.mst-custom-case__nav-band .mst-case-nextprev {
  margin-top: 0;
}

/* Reel Collection Page (Tagged Projects Grid below Top Reel Video) */
.mst-reel-related {
  padding-top: clamp(24px, 4vw, 56px);
}

.mst-reel-related__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.mst-reel-related__title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 400;
  color: var(--mst-white);
}

/* --------------------------------------------------------------------------
   09B. ABOUT US PAGE (Original Frameless Editorial — Zero Borders)
   -------------------------------------------------------------------------- */
.mst-about-page {
  padding-top: clamp(124px, 15vh, 184px);
  padding-bottom: clamp(48px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 10vw, 144px);
}

.mst-about-hero {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}

.mst-about-hero__headline {
  max-width: 18ch;
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--mst-white);
}

.mst-about-hero__visual {
  width: 100%;
  max-width: 1360px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--mst-black);
}

.mst-about-hero__visual img,
.mst-about-hero__visual video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--mst-black);
}

.mst-about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.mst-about-split__label {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mst-muted);
}

.mst-about-split__lead {
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 2.6vw, 2.7rem);
  font-weight: 400;
  line-height: 1.28;
  color: var(--mst-white);
  margin-bottom: 24px;
}

.mst-about-split__body {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.72;
  color: var(--mst-gray);
  max-width: 62ch;
}

.mst-about-disciplines {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mst-about-disciplines__list {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 30px);
}

.mst-about-discipline {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  padding-block: 10px;
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}

.mst-about-discipline:hover {
  transform: translate3d(8px, 0, 0);
}

.mst-about-discipline__num {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mst-muted);
}

.mst-about-discipline__name {
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--mst-white);
  line-height: 1.05;
}

.mst-about-discipline__tags {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mst-muted);
}

.mst-about-triptych {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 1.05fr);
  gap: clamp(14px, 1.8vw, 26px);
  align-items: end;
}

.mst-about-triptych figure {
  overflow: hidden;
  background: var(--mst-surface);
}

.mst-about-triptych figure:nth-child(1) { aspect-ratio: 16 / 10; }
.mst-about-triptych figure:nth-child(2) { aspect-ratio: 3 / 4; }
.mst-about-triptych figure:nth-child(3) { aspect-ratio: 4 / 3; }

.mst-about-triptych img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mst-about-clients__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px) clamp(16px, 2vw, 28px);
}

.mst-about-client {
  font-family: var(--font-editorial);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mst-about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(20px, 3vw, 40px);
}

.mst-about-cta__heading {
  font-family: var(--font-editorial);
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--mst-white);
}

/* --------------------------------------------------------------------------
   10. FRAMELESS CONTACT PAGE (Master Studio · Real Email · Privacy Consent)
   -------------------------------------------------------------------------- */
.mst-contact-page {
  padding-top: clamp(120px, 15vh, 180px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.mst-contact-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(72px, 9vw, 120px);
}

.mst-contact-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mst-contact-intro__title {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.01em;
}

.mst-contact-intro__sub {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 1.55vw, 1.5rem);
  font-weight: 400;
  line-height: 1.42;
  color: var(--mst-gray);
  max-width: 34ch;
}

.mst-contact-intro__direct {
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--mst-muted);
}

.mst-contact-intro__direct button {
  color: var(--mst-white);
  margin-left: 6px;
}

.mst-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mst-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mst-field--full {
  grid-column: 1 / -1;
}

.mst-field label {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mst-muted);
}

.mst-input,
.mst-select,
.mst-textarea {
  width: 100%;
  padding: 14px 16px;
  background: #23252a;
  border: 0;
  border-radius: 2px;
  color: var(--mst-white);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: background-color 0.25s;
}

.mst-input::placeholder,
.mst-textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.mst-select option {
  background: #23252a;
  color: var(--mst-white);
}

.mst-input:hover,
.mst-select:hover,
.mst-textarea:hover {
  background: #2b2e35;
}

.mst-input:focus,
.mst-select:focus,
.mst-textarea:focus {
  background: #333740;
}

.mst-textarea {
  min-height: 136px;
  resize: vertical;
}

/* Privacy Consent Checkbox (Korean PIPA + Global Compliance) */
.mst-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.55;
  color: var(--mst-gray);
  cursor: pointer;
}

.mst-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.mst-consent__policy-btn {
  color: var(--mst-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
}

.mst-contact-fallback {
  padding: 18px 20px;
  background: #1a1c21;
  border-left: 2px solid var(--mst-white);
  gap: 10px;
}

.mst-contact-fallback[hidden] {
  display: none;
}

.mst-contact-fallback__title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mst-white);
}

.mst-contact-fallback__desc {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.55;
  color: var(--mst-gray);
}

.mst-contact-fallback__desc strong {
  color: var(--mst-white);
}

.mst-contact-fallback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.mst-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--mst-white);
}

.mst-btn--ghost:hover {
  border-color: var(--mst-white);
}

.mst-studio-locations__head {
  font-family: var(--font-editorial);
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 32px;
}

.mst-studio-locations__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.mst-studio-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--mst-gray);
}

.mst-studio-card h3 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mst-muted);
  margin-bottom: 6px;
}

.mst-studio-card a {
  width: fit-content;
  color: var(--mst-white);
  opacity: 0.82;
  transition: opacity 0.25s;
}

.mst-studio-card a:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   11. PRIVACY POLICY MODAL & TOAST (Frameless Dark Surface)
   -------------------------------------------------------------------------- */
.mst-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.mst-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mst-modal {
  width: min(680px, 100%);
  max-height: 82vh;
  overflow-y: auto;
  background: var(--mst-surface);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mst-modal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.mst-modal__title {
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 500;
  color: var(--mst-white);
}

.mst-modal__close {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mst-muted);
  transition: color 0.2s;
}

.mst-modal__close:hover {
  color: var(--mst-white);
}

.mst-modal__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.65;
  color: var(--mst-gray);
}

.mst-modal__body h4 {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mst-white);
  margin-top: 6px;
}

.mst-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  transform: translate3d(-50%, 16px, 0);
  padding: 10px 18px;
  background: var(--mst-white);
  color: var(--mst-black);
  border-radius: 2px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}

.mst-toast.is-show {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS (TABLET <= 1023px & MOBILE <= 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .mst-intro-band__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mst-intro-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    gap: 14px;
  }

  .mst-intro-gallery__item--tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .mst-intro-gallery__item:not(.mst-intro-gallery__item--tall) {
    aspect-ratio: 4 / 3;
  }

  .mst-contact-top,
  .mst-case-header,
  .mst-footer-master__row {
    grid-template-columns: 1fr;
  }

  .mst-footer-master__socials {
    justify-content: flex-start;
  }

  .mst-netflix-collage {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .mst-intro-band .content-container {
    padding-inline: var(--gutter);
  }

  .mst-nav {
    display: none;
  }

  .mst-mobile-bar {
    display: flex;
  }

  .mst-brand__logo {
    height: 16px;
  }

  .mst-about-split,
  .mst-about-triptych {
    grid-template-columns: 1fr;
  }

  .mst-about-hero__visual {
    aspect-ratio: 16 / 9;
  }

  .mst-about-discipline {
    grid-template-columns: 36px 1fr;
    gap: 8px 14px;
  }

  .mst-about-discipline__tags,
  .mst-about-discipline__arrow {
    grid-column: 2;
  }

  .mst-about-clients__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mst-hero {
    aspect-ratio: auto;
    height: 100vh;
    height: 100svh;
  }

  .mst-hero__desktop {
    display: none;
  }

  .mst-hero__mobile-dual {
    display: grid;
  }

  .mst-hero__brand-bottom {
    bottom: 22px;
  }

  .mst-hero__brand-sub {
    font-size: clamp(1.28rem, 4.6vw, 1.55rem);
  }

  .mst-hero__sound {
    bottom: 22px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .mst-featured-card__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .mst-featured-card__meta {
    max-width: 100%;
    width: 100%;
  }

  .mst-featured-card__title {
    font-size: clamp(2.15rem, 11vw, 3.6rem);
    line-height: 0.96;
    overflow-wrap: break-word;
  }

  /* Mobile Netflix Boxshot Portrait Wall: 3x4 uniform portrait tiles */
  .mst-netflix-collage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
  }

  .mst-work-rows {
    gap: 32px;
  }

  .mst-work-row,
  .mst-work-row--single {
    flex-direction: column;
    max-width: 100%;
    gap: 32px;
  }

  .mst-work-card {
    flex: none;
    width: 100%;
  }

  .mst-contact-form,
  .mst-studio-locations__grid,
  .mst-case-pair {
    grid-template-columns: 1fr;
  }

  .mst-case-nextprev {
    flex-direction: column;
    align-items: flex-start;
  }
}
