@font-face {
  font-family: Oranienbaum;
  src: url('/assets/fonts/oranienbaum.woff2?v=d24ed51f28') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Golos Text';
  src: url('/assets/fonts/golos-text.woff2?v=4240056f64') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #101010;
  --paper: #FAFAFA;
  --grey: #B8B8B8;
  --ink-muted: rgb(16 16 16 / 72%);
  --paper-muted: rgb(250 250 250 / 76%);
  --hairline: 1px solid var(--grey);

  --display: Oranienbaum, 'Bodoni 72', Didot, Georgia, serif;
  --text: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --header-height: 4rem;
  --edge: clamp(1rem, 4vw, 3rem);
  --section-space: clamp(5rem, 11vw, 9rem);
  --title: clamp(2.5rem, 5.5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  scrollbar-color: var(--grey) var(--paper);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html, body { overflow-x: clip; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, p, ul, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }

::selection { color: var(--paper); background: var(--ink); }
.contact ::selection, .hero ::selection, .menu ::selection { color: var(--ink); background: var(--paper); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 0.75rem;
  left: var(--edge);
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

.container {
  width: 100%;
  max-width: 82rem;
  margin-inline: auto;
  padding-inline: var(--edge);
}

/* ---------- Shared controls ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border: 1px solid currentColor;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}
.button:active { transform: scale(0.97); }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-ghost { color: var(--paper); background: transparent; border-color: rgb(250 250 250 / 70%); }

.text-link {
  text-decoration-color: currentColor;
  transition: text-decoration-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .button-light:hover { color: var(--paper); background: transparent; }
  .button-ghost:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }
  .text-link:hover, .work-more a:hover { text-decoration-color: transparent; }
}

.loop-control {
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgb(250 250 250 / 45%);
  color: var(--paper);
  background: rgb(16 16 16 / 55%);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.loop-control:active { transform: scale(0.97); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: var(--paper);
  border-bottom-color: var(--grey);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 82rem;
  height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--edge);
}
.wordmark {
  min-width: 0;
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--display);
  font-size: 1.3125rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.primary-nav { display: flex; gap: 0.5rem; }
.primary-nav a, .languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 200ms ease;
}
.primary-nav a { padding-inline: 0.75rem; }
.languages { display: flex; margin-left: 0.5rem; }
.languages a { min-width: 2.75rem; }
.languages a[aria-current] { text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .primary-nav a:hover, .languages a:hover { text-decoration-color: currentColor; }
}
.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.625rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  place-items: center;
  transition: transform 160ms var(--ease-out);
}
.menu-toggle:active { transform: scale(0.94); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}
.hero-poster, .hero-poster img, .hero-film {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-film { opacity: 0; transition: opacity 600ms ease; }
.hero-film.is-playing { opacity: 1; }
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(to bottom, rgb(16 16 16 / 62%), rgb(16 16 16 / 40%) 45%, rgb(16 16 16 / 66%));
}
.hero-content {
  width: 100%;
  max-width: 68rem;
  padding: calc(var(--header-height) + 2rem) var(--edge) 5rem;
  text-align: center;
}
.hero-role {
  margin-bottom: 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.2;
}
.hero-name {
  margin-bottom: 1rem;
  font-size: clamp(2.75rem, 8.2vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.hero-intro {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--paper-muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.hero-control {
  position: absolute;
  right: var(--edge);
  bottom: 1.25rem;
}

/* The page's one authored entrance: the hero copy settles in once, on load. */
@keyframes settle {
  from { opacity: 0; transform: translateY(14px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: settle 700ms var(--ease-out) both; }
  .hero-content > :nth-child(2) { animation-delay: 70ms; }
  .hero-content > :nth-child(3) { animation-delay: 150ms; }
  .hero-content > :nth-child(4) { animation-delay: 210ms; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-space); }
.section h2 { font-size: var(--title); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
  align-items: end;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head p { color: var(--ink-muted); }

/* ---------- Work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem) clamp(0.75rem, 2vw, 1.5rem);
  padding: 0;
  list-style: none;
}
.work-lead { grid-column: 1 / -1; }
.work-plate, .work-strip { grid-column: span 2; }

.work-item { display: block; text-decoration: none; }
.work-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  transition: transform 160ms var(--ease-out);
}
.work-plate .work-media { aspect-ratio: 9 / 16; }
.work-media video { width: 100%; height: 100%; object-fit: cover; }
.work-item:active .work-media { transform: scale(0.985); }
.play-mark {
  position: absolute;
  left: 0.875rem;
  bottom: 0.875rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--ink);
  background: rgb(250 250 250 / 92%);
  transition: opacity 200ms ease, transform 200ms var(--ease-out);
}
.play-mark svg { width: 1.125rem; height: 1.125rem; }
.work-item.is-previewing .play-mark { opacity: 0; transform: scale(0.9); }
.work-caption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.work-duration { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.work-more { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.work-more a { font-weight: 500; transition: text-decoration-color 200ms ease; }

/* ---------- About ---------- */

.about { border-top: var(--hairline); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 30%; }
.about-text { max-width: 34rem; }
.about-text h2 { margin-bottom: 2rem; }
.about-text p + p { margin-top: 1.25rem; }
.about-text h2 + p {
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.35;
}
.about-text p:not(:first-of-type) { color: var(--ink-muted); }
.about-text .about-cta { margin-top: 2rem; font-weight: 500; }

/* ---------- Services ---------- */

.services { border-top: var(--hairline); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: var(--hairline);
}
.service-main { display: flex; flex-direction: column; gap: 0.875rem; }
.service-card h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.service-price {
  font-size: 1.0625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.service-body { color: var(--ink-muted); }

.service-fashion-film {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.service-fashion-film .service-body,
.service-fashion-film .service-note { color: var(--paper-muted); }
.service-fashion-film h3 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }
.service-included h4 {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service-included ul { padding: 0; list-style: none; }
.service-included li {
  padding-block: 0.625rem;
  border-top: 1px solid rgb(250 250 250 / 22%);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.service-note { margin-top: 1rem; font-size: 0.875rem; }
.service-plate { position: relative; align-self: start; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.service-plate video { width: 100%; height: 100%; object-fit: cover; }
.service-control { position: absolute; right: 0.75rem; bottom: 0.75rem; }
.service-packages { grid-column: 1 / -1; }
.service-packages .service-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: baseline;
  gap: 1rem 3rem;
}

.ai-note {
  max-width: 44rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.35;
}
.pricing {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: var(--hairline);
}
.pricing h3 {
  margin-bottom: 1.25rem;
  font-family: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pricing-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 3rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* ---------- Contact ---------- */

.contact { padding-bottom: 0; color: var(--paper); background: var(--ink); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 3rem clamp(2rem, 6vw, 6rem);
}
.contact h2 { margin-bottom: 1.75rem; font-size: clamp(3rem, 7vw, 6rem); }
.contact-copy p { max-width: 30rem; color: var(--paper-muted); }
.contact-copy p + p { margin-top: 0.75rem; }
.contact-links { padding: 0; list-style: none; }
.contact-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgb(250 250 250 / 25%);
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.contact-links li:last-child .contact-link { border-bottom: 1px solid rgb(250 250 250 / 25%); }
.contact-link:active { transform: scale(0.99); }
.contact-label { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.contact-handle { color: var(--paper-muted); font-size: 0.9375rem; }
.contact-arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .contact-link:hover .contact-arrow { transform: translate(3px, -3px); }
}
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: var(--section-space);
  padding-block: 1.75rem;
  border-top: 1px solid rgb(250 250 250 / 25%);
  color: var(--paper-muted);
  font-size: 0.8125rem;
}
.footer a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-block: -0.75rem; }
.credit a { color: var(--paper); }

/* ---------- Dialogs ---------- */

dialog {
  padding: 0;
  border: 0;
  color: var(--paper);
  background: var(--ink);
}
.menu, .player {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
}
.menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 var(--edge) 2rem;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.menu-close, .player-top button, .player-controls button {
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgb(250 250 250 / 45%);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.menu-close:active, .player-top button:active, .player-controls button:active { transform: scale(0.97); }
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-block: auto;
  padding-block: 2rem;
}
.menu-links a {
  font-family: var(--display);
  font-size: clamp(2.5rem, 12vw, 3.5rem);
  line-height: 1.15;
  text-decoration: none;
}
.menu-languages { margin-left: -0.75rem; }

.player-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: 1rem var(--edge) 1.25rem;
}
.player-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.player-top p {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.player video {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  background: var(--ink);
}
.player-controls { display: flex; justify-content: center; gap: 0.75rem; }

.menu, .player {
  opacity: 0;
  transition: opacity 150ms ease, display 150ms allow-discrete, overlay 150ms allow-discrete;
}
.menu[open], .player[open] {
  opacity: 1;
  transition-duration: 220ms;
  @starting-style { opacity: 0; }
}
.player-inner { transition: transform 150ms var(--ease-out); }
.player[open] .player-inner {
  transition: transform 300ms var(--ease-out);
  @starting-style { transform: scale(0.96); }
}
.player::backdrop, .menu::backdrop { background: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 64rem) {
  .service-fashion-film { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-plate { grid-column: 1 / -1; }
}

@media (max-width: 52rem) {
  .primary-nav { display: none; }
  .menu-toggle:not([hidden]) { display: grid; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-photo { max-width: 32rem; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-packages .service-main { display: flex; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 46rem) {
  .hero { place-items: end center; }
  .hero::after { background: linear-gradient(to bottom, rgb(16 16 16 / 45%), rgb(16 16 16 / 20%) 30%, rgb(16 16 16 / 72%) 62%, rgb(16 16 16 / 86%)); }
  .hero-name span { display: block; }
  .hero-content { padding-bottom: 5.5rem; }
  .hero-actions .button { flex: 1 1 12rem; }

  /* Two per row. The third reel spans three rows so the backstage clips stack beside it. */
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 0.75rem;
    align-items: start;
  }
  .work-plate, .work-strip { grid-column: auto; }
  .work-plate:nth-child(4) { grid-row: span 3; }
  .work-caption { flex-direction: column; gap: 0.125rem; font-size: 0.6875rem; }
  .work-lead .work-caption { flex-direction: row; }
  .play-mark { left: 0.5rem; bottom: 0.5rem; width: 2.25rem; height: 2.25rem; }

  .service-fashion-film { grid-template-columns: minmax(0, 1fr); }
  .pricing-columns { grid-template-columns: minmax(0, 1fr); }
  .contact-link { grid-template-columns: minmax(0, 1fr) auto; }
  .contact-handle { grid-row: 2; }
  .contact-arrow { grid-row: 1 / span 2; grid-column: 2; }
}

@media (max-width: 26rem) {
  .header-inner { gap: 0.25rem; }
  .languages { margin-left: 0; }
  .languages a { min-width: 2.25rem; }
}
@media (max-width: 22.5rem) {
  .wordmark { font-size: 1.0625rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: opacity, color, background-color, border-color, text-decoration-color !important; }
  .player[open] .player-inner { transform: none; }
}

/* ---------- 404 ---------- */

.not-found main {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  min-height: 100svh;
}
.not-found-code { font-family: var(--display); font-size: clamp(5rem, 18vw, 10rem); line-height: 1; }
