:root {
  --accent: #c6a75e;
  --accent-strong: #e0c988;
  --accent-soft: rgba(198, 167, 94, 0.14);
  --accent-line: rgba(198, 167, 94, 0.38);
  --edge: clamp(1.1rem, 3vw, 2.8rem);
  --section-space: clamp(4.5rem, 10vw, 8.5rem);
  --nav-h: 5.1rem;
  --radius-xl: 2rem;
  --radius-lg: 1.55rem;
  --radius-md: 1.1rem;
  --radius-sm: 0.85rem;
  --shadow-lg: 0 35px 90px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.22);
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.16);
  --focus-ring: 0 0 0 3px rgba(198, 167, 94, 0.26);
  --transition-base: 260ms ease;
  --transition-slow: 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #090909;
  --bg-elevated: #0f0f11;
  --surface: rgba(19, 19, 22, 0.92);
  --surface-2: rgba(26, 26, 30, 0.94);
  --surface-3: rgba(35, 35, 40, 0.88);
  --text: #f5f1e8;
  --muted: #afa79a;
  --muted-strong: #d2cabc;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.14);
  --surface-glow: rgba(255, 255, 255, 0.04);
  --hero-overlay-top: rgba(6, 6, 8, 0.28);
  --hero-overlay-mid: rgba(6, 6, 8, 0.54);
  --hero-overlay-bottom: rgba(6, 6, 8, 0.84);
  --topbar-bg: rgba(10, 10, 12, 0.72);
  --topbar-bg-solid: rgba(10, 10, 12, 0.94);
  --menu-backdrop: rgba(0, 0, 0, 0.54);
  --text-on-media: #f8f5ee;
  --text-on-media-muted: rgba(248, 245, 238, 0.74);
  --modal-backdrop: rgba(4, 4, 5, 0.8);
  --surface-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f6f3ec;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-2: rgba(248, 246, 241, 0.96);
  --surface-3: rgba(240, 236, 228, 0.92);
  --text: #111111;
  --muted: #676056;
  --muted-strong: #3f3a34;
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.15);
  --surface-glow: rgba(255, 255, 255, 0.68);
  --hero-overlay-top: rgba(8, 8, 10, 0.34);
  --hero-overlay-mid: rgba(8, 8, 10, 0.48);
  --hero-overlay-bottom: rgba(8, 8, 10, 0.68);
  --topbar-bg: rgba(248, 246, 241, 0.7);
  --topbar-bg-solid: rgba(248, 246, 241, 0.94);
  --menu-backdrop: rgba(0, 0, 0, 0.22);
  --text-on-media: #f8f5ee;
  --text-on-media-muted: rgba(248, 245, 238, 0.74);
  --modal-backdrop: rgba(17, 17, 17, 0.34);
  --surface-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 8% -12%, rgba(198, 167, 94, 0.08), transparent 55%),
    radial-gradient(900px 640px at 92% 0%, rgba(74, 87, 118, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.03), transparent 30%);
  mix-blend-mode: soft-light;
  opacity: 0.6;
  z-index: -1;
}

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

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

a {
  color: inherit;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

html.theme-ready *,
html.theme-ready *::before,
html.theme-ready *::after {
  transition:
    color var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

main,
section,
footer {
  width: 100%;
}

main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.shell {
  width: calc(100vw - (var(--edge) * 2));
  margin: 0 auto;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-head--split {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  column-gap: clamp(1rem, 2vw, 2rem);
}

.section-head--split > :first-child {
  grid-column: span 7;
  display: grid;
  gap: 0.8rem;
}

.section-head h1,
.section-head h2,
.hero-heading,
.featured-copy h3,
.about-copy h2,
.contact-copy h2,
.inquiry-head h1,
.thank-you-card h1 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4.75rem);
  max-width: 12ch;
}

.section-intro {
  grid-column: span 5;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.72;
  max-width: 42rem;
}

.section-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-reveal.visible {
  opacity: 1;
  transform: none;
}

.control-btn,
.nav-cta,
.inquiry-cta-btn {
  appearance: none;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(198, 167, 94, 0.16), rgba(198, 167, 94, 0.05));
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base);
}

.control-btn:hover,
.nav-cta:hover,
.inquiry-cta-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 167, 94, 0.62);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.control-btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
}

.control-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.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;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0 var(--edge);
  background: var(--topbar-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar.is-scrolled {
  background: var(--topbar-bg-solid);
  border-bottom-color: var(--line);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.brand {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.5rem);
}

.menu a,
.footer a,
.contact-points a,
.mobile-menu-links a {
  text-decoration: none;
}

.menu a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.menu a:hover,
.footer a:hover,
.contact-points a:hover,
.mobile-menu-links a:hover {
  color: var(--accent);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-cta {
  min-height: 2.8rem;
  padding-inline: 1rem;
}

.theme-toggle {
  appearance: none;
  position: relative;
  width: 58px;
  height: 34px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.theme-toggle-thumb {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111;
  transition: transform var(--transition-slow);
}

html[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(0);
}

html[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(24px);
}

.theme-icon {
  position: absolute;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.theme-icon-sun {
  opacity: 0;
  transform: scale(0.7);
}

html[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: scale(1);
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: scale(0.7);
}

.menu-toggle {
  display: none;
  appearance: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: var(--menu-backdrop);
}

.mobile-menu {
  position: fixed;
  top: calc(var(--nav-h) + 0.65rem);
  right: var(--edge);
  z-index: 116;
  width: min(92vw, 360px);
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}

.mobile-menu-links {
  display: grid;
  gap: 0.3rem;
}

.mobile-menu-links a {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-menu-links a:last-child {
  border-bottom: none;
}

.theme-toggle-mobile {
  margin-top: 1rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: clip;
}

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

.hero-media iframe,
.hero-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  transform: translate(-50%, calc(-50% + var(--hero-y-offset, 0px))) scale(var(--hero-scale, 1.02));
}

.hero-media iframe {
  border: 0;
  pointer-events: none;
}

.hero-media img {
  object-fit: cover;
  filter: blur(var(--hero-blur, 0px)) brightness(var(--hero-brightness, 1));
  will-change: transform, filter;
}

.hero-scrim {
  opacity: var(--hero-scrim-opacity, 1);
  background:
    linear-gradient(180deg, var(--hero-overlay-top), var(--hero-overlay-mid) 44%, var(--hero-overlay-bottom)),
    radial-gradient(circle at 50% 25%, transparent 0, rgba(0, 0, 0, 0.08) 36%, rgba(0, 0, 0, 0.48) 100%);
  will-change: opacity;
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(2rem, 7vh, 4.5rem));
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
  display: grid;
  align-content: space-between;
}

.hero-copy {
  width: min(100%, 70rem);
  margin: 0 auto;
  color: var(--text-on-media);
  text-align: center;
  display: grid;
  gap: 1.2rem;
  will-change: transform, opacity;
}

.hero-copy .eyebrow {
  color: var(--text-on-media-muted);
}

.hero-heading {
  font-size: clamp(3.6rem, 11vw, 9.25rem);
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-line {
  display: block;
}

.hero-word {
  display: inline-block;
  margin: 0 0.12em 0.14em 0;
}

.hero-subcopy {
  width: min(100%, 46rem);
  margin: 0 auto;
  color: var(--text-on-media-muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.hero-proof {
  width: min(100%, 80rem);
  margin: clamp(1rem, 4vh, 2rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-proof-item {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
}

.hero-proof-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-on-media-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-proof-item strong {
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-scroll {
  display: flex;
  justify-content: center;
  will-change: transform, opacity;
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-on-media-muted);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
}

.scroll-indicator-line {
  position: relative;
  width: 54px;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96), transparent);
  animation: scrollPulse 2.4s linear infinite;
}

.discipline-ribbon {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}

.discipline-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1rem var(--edge);
  animation: marquee 32s linear infinite;
}

.discipline-track span {
  position: relative;
  padding-right: 2rem;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.discipline-track span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.featured,
.portfolio,
.case-studies,
.portrait-works,
.bts,
.services,
.process,
.about,
.contact,
.inquiry-page,
.thank-you-page {
  padding: var(--section-space) 0;
}

.featured-panel,
.case-study-feature,
.portrait-shell,
.contact-card,
.inquiry-panel,
.inquiry-form,
.thank-you-card,
.service-card,
.process-step,
.credential-card,
.about-portrait {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    var(--surface-gradient),
    linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-md);
}

.featured-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  padding: clamp(1.2rem, 2vw, 1.65rem);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(0.5rem, 1.8vw, 1rem);
}

.featured-label,
.contact-card-label,
.case-study-index,
.service-index,
.process-step-label,
.inquiry-panel-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.featured-copy h3 {
  font-size: clamp(2rem, 4.4vw, 4.15rem);
  max-width: 10ch;
}

.featured-copy p:not(.featured-label) {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
  max-width: 36rem;
}

.featured-meta,
.case-study-list,
.contact-card-list,
.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.featured-meta span,
.case-study-list span,
.contact-card-list span,
.case-study-meta span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-actions,
.case-study-actions,
.contact-card-actions,
.hero-actions,
.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.featured-stage {
  position: relative;
  min-height: clamp(420px, 62vw, 820px);
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 0.3rem);
  background: #000;
}

.featured-stage iframe,
.case-study-film-frame iframe,
.player-shell iframe,
.player-shell video,
.project-card-preview iframe,
.portrait-card-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  transform: translateZ(0);
}

.featured-stage iframe,
.project-card-preview iframe,
.portrait-card-preview iframe {
  pointer-events: none;
}

.featured-stage::after,
.project-card::after,
.case-study-film-frame::after,
.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.56));
  pointer-events: none;
}

.featured-stage-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(1rem, 2vw, 1.6rem);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.74));
  color: var(--text-on-media);
}

.featured-stage-overlay h3,
.featured-stage-overlay p {
  margin: 0;
}

.featured-stage-overlay h3 {
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  letter-spacing: -0.04em;
}

.featured-stage-overlay .eyebrow {
  color: var(--text-on-media-muted);
  margin-bottom: 0.65rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.35rem);
}

.portfolio-intro {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 1.15rem;
  margin-bottom: clamp(1.9rem, 3vw, 2.8rem);
  padding-bottom: 0.8rem;
  background: linear-gradient(180deg, var(--bg) 72%, rgba(0, 0, 0, 0));
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.filter-chip {
  appearance: none;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: var(--text);
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(198, 167, 94, 0.16), rgba(198, 167, 94, 0.06));
}

.project-card {
  position: relative;
  grid-column: span 4;
  min-height: clamp(430px, 44vw, 560px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  isolation: isolate;
  transition:
    transform var(--transition-slow),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.project-card--wide {
  grid-column: span 8;
}

.project-card[hidden],
.project-card.is-hidden {
  display: none;
}

.project-card:hover,
.project-card:focus-visible,
.project-card.is-focused {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.project-card-media,
.project-card-preview,
.portrait-card-preview {
  position: absolute;
  inset: 0;
}

.project-card-media img,
.project-card-preview iframe,
.portrait-card img,
.portrait-card-preview iframe,
.bts-frame img,
.case-study-media img,
.case-study-stills img,
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-media img {
  filter: saturate(0.94) brightness(0.9);
  transform: scale(1.01);
  transition: transform 0.8s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

.project-card:hover .project-card-media img,
.project-card:focus-visible .project-card-media img {
  transform: scale(1.05);
}

.project-card-preview,
.portrait-card-preview {
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
  transition: opacity 0.22s ease;
}

.project-card.has-preview .project-card-preview,
.portrait-card.has-preview .portrait-card-preview {
  opacity: 1;
}

.project-card.has-preview .project-card-media img,
.portrait-card.has-preview img {
  opacity: 0;
}

.project-card-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 30%, transparent 64%, rgba(198, 167, 94, 0.24));
  opacity: 0.56;
  pointer-events: none;
  will-change: opacity;
}

.project-card-badge {
  position: absolute;
  left: clamp(1rem, 2vw, 1.35rem);
  bottom: clamp(1rem, 2vw, 1.35rem);
  z-index: 3;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 7, 8, 0.46);
  color: var(--text-on-media);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  will-change: transform;
}

.project-card-copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 0.8rem;
  margin-top: auto;
  padding: clamp(1.2rem, 2vw, 1.6rem);
  padding-bottom: clamp(4.2rem, 5vw, 4.9rem);
  color: var(--text-on-media);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
}

.project-card-kicker,
.case-study-summary,
.contact-card h3,
.inquiry-highlight p,
.thank-you-note {
  margin: 0;
}

.project-card-kicker {
  color: var(--text-on-media-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color var(--transition-base);
}

.project-card-copy h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color var(--transition-base);
}

.project-card-copy p:last-child {
  margin: 0;
  max-width: 28rem;
  color: var(--text-on-media-muted);
  font-size: 0.96rem;
  transition: color var(--transition-base);
}

.case-studies .shell,
.services .shell,
.process .shell,
.about-shell,
.contact-shell,
.inquiry-shell {
  display: grid;
  gap: 1.5rem;
}

.case-study-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.case-study-feature--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.case-study-feature--reverse .case-study-copy {
  order: 2;
}

.case-study-feature--reverse .case-study-media {
  order: 1;
}

.case-study-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(0.5rem, 1.5vw, 1rem);
}

.case-study-copy h3 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.case-study-copy > p:not(.case-study-index) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.case-study-media {
  display: grid;
  gap: 0.9rem;
}

.case-study-media--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-study-media img,
.case-study-stills img {
  border-radius: calc(var(--radius-lg) - 0.2rem);
  border: 1px solid var(--line);
  min-height: 100%;
}

.case-study-media--three img {
  aspect-ratio: 4 / 5;
}

.portrait-shell {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.portrait-stack {
  display: grid;
  gap: 1.5rem;
}

.portrait-stage {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(560px, 72vw, 820px);
  gap: clamp(1rem, 3vw, 2.5rem);
  overflow: clip;
}

.portrait-detail {
  grid-column: 1;
  grid-row: 1;
  z-index: 4;
  padding: clamp(1.4rem, 2vw, 1.8rem);
  max-width: 360px;
}

.portrait-detail-kicker {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portrait-detail-index {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 0.9;
}

.portrait-detail-title {
  margin: 0.85rem 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.portrait-detail-type {
  display: grid;
  gap: 0.3rem;
  margin: 0 0 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.portrait-detail-type strong {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.portrait-detail-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.portrait-card {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  position: relative;
  width: clamp(220px, 24vw, 320px);
  aspect-ratio: 9 / 16;
  border-radius: 1.9rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  contain: layout paint style;
  transform:
    translate3d(var(--portrait-x, 0), var(--portrait-y, 0), 0)
    scale(var(--portrait-scale, 1))
    rotate(var(--portrait-rotate, 0deg));
  opacity: var(--portrait-opacity, 1);
  z-index: var(--portrait-z, 1);
  transition:
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.portrait-card.is-active {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}

.portrait-card img {
  transition: opacity 0.3s ease;
}

.portrait-card-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1rem 1rem 1.2rem;
  color: var(--text-on-media);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
}

.portrait-card-meta h3,
.portrait-index {
  margin: 0;
}

.portrait-card-meta h3 {
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.portrait-index {
  margin-bottom: 0.35rem;
  color: var(--text-on-media-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portrait-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.bts-marquee {
  position: relative;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding-inline: var(--edge);
}

.bts-marquee::before,
.bts-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 6vw, 6rem);
  z-index: 2;
  pointer-events: none;
}

.bts-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0, transparent 100%);
}

.bts-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0, transparent 100%);
}

.bts-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 64s linear infinite;
  will-change: transform;
}

.bts-track--reverse {
  animation-direction: reverse;
  animation-duration: 76s;
}

.bts-track:hover {
  animation-play-state: paused;
}

.bts-frame {
  flex: 0 0 clamp(260px, 28vw, 420px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-3);
  box-shadow: var(--shadow-sm);
}

.bts-frame img {
  display: block;
  object-fit: contain;
  background: #111;
}

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

.service-card,
.process-step {
  padding: 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.service-card h3,
.process-step h3,
.contact-card h3,
.inquiry-highlight h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.service-card p,
.process-step p,
.contact-copy p,
.about-copy p,
.inquiry-head p,
.inquiry-highlight p,
.thank-you-card p {
  color: var(--muted);
}

.service-card p,
.process-step p {
  margin: 0;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.about-shell {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
}

.about-portrait {
  display: block;
  min-height: clamp(420px, 58vw, 760px);
  overflow: hidden;
  line-height: 0;
}

.about-portrait img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.about-copy h2 {
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  max-width: 12ch;
}

.about-copy p {
  margin: 0;
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.78;
}

.about-quote {
  margin: 0.5rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--muted-strong);
}

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

.credential-card {
  padding: 1rem;
}

.credential-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.credential-card strong {
  font-size: 1rem;
  line-height: 1.45;
}

.contact-shell,
.inquiry-layout {
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.86fr);
  align-items: start;
}

.contact-copy,
.inquiry-panel {
  display: grid;
  gap: 1rem;
}

.contact-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  max-width: 10ch;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-points a {
  font-size: 1rem;
  font-weight: 600;
}

.contact-card {
  padding: clamp(1.3rem, 2vw, 1.7rem);
  display: grid;
  gap: 1rem;
}

.contact-card-list {
  gap: 0.55rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem var(--edge) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.case-study-modal,
.player-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: var(--edge);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.case-study-modal[hidden],
.player-overlay[hidden] {
  display: none;
}

.case-study-modal.is-open,
.player-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.case-study-backdrop,
.player-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--modal-backdrop);
}

.case-study-shell,
.player-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100vw - (var(--edge) * 2)));
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-lg);
}

.case-study-shell {
  max-height: calc(100svh - (var(--edge) * 2));
  overflow: auto;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  gap: 1.25rem;
}

.case-study-close,
.player-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  appearance: none;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-study-modal-media,
.case-study-modal-copy {
  display: grid;
  gap: 1rem;
}

.case-study-film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 0.15rem);
  background: #000;
}

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

.case-study-stills img {
  aspect-ratio: 4 / 3;
}

.case-study-modal-copy {
  padding-top: 0.75rem;
}

.case-study-modal-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.case-study-summary {
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.75;
}

.case-study-detail {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.case-study-detail span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-study-detail p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.player-shell {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.player-shell video {
  object-fit: contain;
  background: #000;
}

.inquiry-page {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 2rem);
}

.inquiry-shell {
  gap: 1.6rem;
}

.inquiry-head {
  display: grid;
  gap: 0.9rem;
  width: min(100%, 54rem);
}

.inquiry-head h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 11ch;
}

.inquiry-layout {
  display: grid;
  gap: 1.25rem;
}

.inquiry-panel,
.inquiry-form,
.thank-you-card {
  padding: clamp(1.2rem, 2vw, 1.65rem);
}

.inquiry-highlights {
  display: grid;
  gap: 0.9rem;
}

.inquiry-highlight {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.inquiry-highlight:last-child {
  border-bottom: none;
}

.inquiry-highlight p,
.thank-you-card p,
.thank-you-note {
  margin-top: 0.45rem;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.field-span-2,
.inquiry-form label.full,
.inquiry-form .full {
  grid-column: 1 / -1;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  appearance: none;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  color: var(--text);
}

.inquiry-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.thank-you-page {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--nav-h) + 1rem);
}

.thank-you-shell {
  display: grid;
  place-items: center;
}

.thank-you-card {
  width: min(100%, 58rem);
  display: grid;
  gap: 1rem;
}

.thank-you-card h1 {
  font-size: clamp(2.8rem, 6vw, 5.75rem);
  max-width: 10ch;
}

.thank-you-note {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollPulse {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .discipline-track,
  .bts-track,
  .scroll-indicator-line::after {
    animation: none;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
  }

  .project-card,
  .portrait-card,
  .control-btn,
  .nav-cta,
  .theme-toggle-thumb {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .section-head--split,
  .featured-panel,
  .case-study-feature,
  .case-study-layout,
  .about-shell,
  .contact-shell,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .case-study-feature--reverse .case-study-copy,
  .case-study-feature--reverse .case-study-media {
    order: initial;
  }

  .section-head--split > :first-child,
  .section-intro {
    grid-column: auto;
  }

  .project-card,
  .project-card--wide {
    grid-column: span 6;
  }

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

  .process-timeline,
  .about-credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .menu,
  .nav-cta,
  .theme-toggle-desktop {
    display: none;
  }

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

  .shell {
    width: calc(100vw - (var(--edge) * 2));
  }

  .project-card,
  .project-card--wide {
    grid-column: span 12;
  }

  .case-study-media--three,
  .case-study-stills,
  .services-grid,
  .process-timeline,
  .about-credentials,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .portrait-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.5rem;
    justify-items: center;
  }

  .portrait-detail {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
  }

  .portrait-card {
    grid-column: 1;
    grid-row: 2;
    width: min(64vw, 300px);
  }

  .featured-copy h3,
  .contact-copy h2,
  .about-copy h2,
  .section-head h2,
  .case-study-modal-copy h2 {
    max-width: none;
  }

  .case-study-shell,
  .player-shell {
    width: calc(100vw - (var(--edge) * 2));
  }

  .case-study-shell {
    padding-top: 4rem;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 4.6rem;
    --section-space: clamp(3.5rem, 12vw, 5rem);
  }

  .topbar {
    min-height: var(--nav-h);
  }

  .hero-shell {
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .hero-heading {
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  .hero-actions,
  .featured-actions,
  .case-study-actions,
  .contact-card-actions,
  .portrait-controls,
  .thank-you-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .control-btn,
  .nav-cta,
  .inquiry-cta-btn {
    width: 100%;
  }

  .featured-stage {
    min-height: 320px;
  }

  .project-card {
    min-height: 380px;
  }

  .project-card-copy h3,
  .case-study-copy h3,
  .portrait-detail-title {
    font-size: clamp(1.45rem, 7vw, 2.2rem);
  }

  .bts-frame {
    flex-basis: 260px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
