@font-face {
  font-family: Anton;
  src: url('/fonts/anton.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('/fonts/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #111111;
  --surface: #1a1a19;
  --accent: #bca580;
  --accent-border: color-mix(in srgb, var(--accent) 55%, transparent);
  --paper: #eae1d5;
  --copy: #ccc4b9;
  --title-gradient: linear-gradient(112deg, #b9b2a8, #eee7db 55%, #c7beb0);
  --muted: #b0a9a0;
  --rule: #373431;
  --rule-strong: #686055;
  --gutter: clamp(20px, 4.15vw, 64px);
  --gap: clamp(14px, 1.5vw, 24px);
  --space: clamp(78px, 9vw, 148px);
  --nav-height: 68px;
  --ease-out: cubic-bezier(.2, .65, .25, 1);
  --display: Anton, Impact, 'Arial Narrow', sans-serif;
  --body: Inter, Arial, sans-serif;
  --editorial: Georgia, 'Times New Roman', serif;
  --mono: 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.6 var(--body); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
main:focus { outline: none; }

.studio-wordmark,
.site-header,
button,
.button,
.skip-link,
.scroll-link,
.text-link,
.contact-footer a,
.service summary,
.player-controls,
.arrow {
  -webkit-user-select: none;
  user-select: none;
}

.frame { width: min(100% - 2 * var(--gutter), 1552px); margin-inline: auto; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.section-title {
  font: 400 clamp(3.1rem, 7.35vw, 8.25rem)/1.02 var(--display);
  letter-spacing: -.014em;
  text-transform: uppercase;
  text-wrap: balance;
}
.eyebrow {
  font: 700 .76rem/1.3 var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.arrow { display: inline-block; flex: none; font: 400 1.18em/1 system-ui, sans-serif; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 30;
  inset: 8px auto auto var(--gutter);
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(calc(-100% - 20px));
}
.skip-link:focus { transform: none; }
.site-header {
  --header-clarity: 0;
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--ink);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    --header-blur: blur(calc(22px * (1 - var(--header-clarity))));
    -webkit-backdrop-filter: var(--header-blur);
    backdrop-filter: var(--header-blur);
    background: rgb(17 17 17 / calc(.56 + .43 * var(--header-clarity)));
  }
}
main:has(> .hero) { margin-top: calc(-1 * var(--nav-height)); }
.header-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.studio-wordmark {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  white-space: nowrap;
}
.studio-wordmark span:first-child {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.035em;
}
.studio-wordmark span:last-child {
  padding-inline-start: .4em;
  font-family: var(--body);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .4em;
}
.logo {
  min-height: 44px;
  gap: 4px;
}
.logo span:first-child { font-size: 1.65rem; line-height: .9; color: var(--paper); }
.logo span:last-child { font-size: .525rem; }
.logo > span, .hero-title > span { opacity: var(--wordmark-opacity, 1); }
.logo:focus-visible > span { opacity: 1; }
.wordmark-in-flight {
  position: fixed;
  z-index: 11;
  inset: 0;
  pointer-events: none;
  color: var(--paper);
}
.wordmark-in-flight > span {
  position: absolute;
  inset: 0 auto auto 0;
  transform-origin: top left;
}
.header-navigation { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav { display: flex; align-items: center; gap: clamp(22px, 3.4vw, 56px); }
.nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: .86rem;
  color: var(--paper);
  transition: color 180ms ease;
}
.nav a::after {
  position: absolute;
  inset: auto 0 5px;
  border-bottom: 1px solid currentColor;
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.nav a:is(:hover, :focus-visible, [aria-current])::after { transform: scaleX(1); }
.language-switch { position: relative; }
.language-switch summary {
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  list-style: none;
  cursor: pointer;
}
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch svg { width: 20px; height: 20px; }
.language-switch summary:is(:hover, :focus-visible), .language-switch[open] summary { color: var(--accent); }
.language-options {
  position: absolute;
  z-index: 1;
  inset: 100% 0 auto auto;
  min-width: max-content;
  margin-top: 4px;
  border: 1px solid var(--rule-strong);
  background: var(--ink);
}
.language-options > * {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 16px 26px;
  font-size: .86rem;
}
.language-options > * + * { border-top: 1px solid var(--rule); }
.language-options a:is(:hover, :focus-visible), .language-options [aria-current] { color: var(--accent); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  container-type: inline-size;
  min-height: clamp(calc(560px + var(--nav-height)), 100svh, calc(1040px + var(--nav-height)));
  display: grid;
  grid-template-rows: 1fr auto;
  padding-block-start: var(--nav-height);
  background: var(--ink);
}
.hero-scene { display: contents; }
.hero-light, .hero-fold {
  position: absolute;
  pointer-events: none;
}
.hero-light {
  z-index: 0;
  inset: 0;
  background: radial-gradient(ellipse at 56% 35%, #292827 0%, #212120 36%, #181818 64%, var(--ink) 96%);
}
.hero-light::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/film-grain.png') repeat;
  opacity: .08;
  mix-blend-mode: soft-light;
}
.cloth { position: absolute; pointer-events: none; filter: grayscale(1) brightness(.71) contrast(.92); }
.cloth img, .cloth canvas { position: absolute; width: 100%; height: 100%; object-fit: contain; }
.cloth canvas {
  inset: -10%;
  width: 120%;
  height: 120%;
  max-width: none;
  visibility: hidden;
}
.cloth--moving canvas { visibility: visible; }
.cloth--moving img { visibility: hidden; }
.hero-fold--far {
  z-index: 1;
  inset: -52% 21% 48% 16%;
  rotate: -66deg;
  opacity: .36;
}
.hero-fold--left {
  z-index: 3;
  inset: -3% auto -30% -16%;
  width: clamp(420px, 51vw, 1010px);
}
.hero-fold--right {
  z-index: 3;
  inset: -44% -15% -3% auto;
  width: clamp(400px, 49vw, 980px);
}
.hero-title {
  z-index: 2;
  color: var(--paper);
  justify-self: center;
  align-self: center;
  padding-bottom: clamp(12px, 4svh, 42px);
  gap: clamp(10px, 2.1svh, 24px);
}
.hero-title span:first-child {
  font-size: 40cqw;
  line-height: .75;
  transform: scaleY(.82);
}
.hero-title span:last-child {
  font-size: clamp(1rem, 3.25cqw, 3.3rem);
  color: var(--paper);
}
.wordmark-in-flight span:last-child { color: var(--paper); }
@supports (background-clip: text) {
  .work-header h2, .about-title, .contact .contact-title, .project-title, .not-found h1 {
    background: var(--title-gradient);
    background-clip: text;
    color: transparent;
  }
}
.hero::after {
  content: '';
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--ink) 81%, transparent) 86%, var(--ink));
}
.hero-caption {
  z-index: 5;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-block: clamp(18px, 3vw, 39px);
}
.hero-role { color: var(--accent); letter-spacing: .14em; }
.hero-statement {
  margin-top: 5px;
  font: 400 clamp(.875rem, 1.15vw, 1rem)/1.45 var(--body);
  color: var(--copy);
}
.hero-location { margin-top: 12px; color: var(--muted); font-size: clamp(.82rem, 1.05vw, .95rem); }
.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.image-frame { position: relative; min-width: 0; background: var(--surface); overflow: hidden; }
.image-frame picture { display: block; width: 100%; height: 100%; }
.image-frame img { width: 100%; height: auto; }
.image-fallback {
  min-height: 190px;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  background: var(--surface);
  color: var(--muted);
  font-size: .85rem;
}
.work-preview { opacity: 0; transition: opacity 220ms ease; }
.work-preview.is-playing { opacity: 1; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.6vw, 24px);
  min-height: 48px;
  width: fit-content;
  max-width: 100%;
  flex-shrink: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--accent-border);
  background: transparent;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 550;
  transition: border-color 220ms ease, color 220ms ease;
}
.button:is(:hover, :focus-visible) { color: var(--accent); border-color: currentColor; }
.button .arrow { color: var(--accent); }
.hero-actions a[href="#work"]:is(:hover, :focus-visible) .arrow { transform: translateY(3px); }
.button .arrow, .work-action .arrow, .contact-footer .arrow { transition: transform 260ms var(--ease-out); }
.button:is(:hover, :focus-visible) .arrow,
.project-link:is(:hover, :focus-visible) .work-action .arrow,
.project-next a:is(:hover, :focus-visible) .work-action .arrow { transform: translate(2px, -2px); }
.contact-footer a:is(:hover, :focus-visible) .arrow { transform: translateY(-3px); }
.scroll-link {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 5px;
  color: var(--accent);
  font: 400 .73rem/1 var(--mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}
.scroll-link:hover { color: var(--paper); }

.work {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(55px, 7vw, 105px) var(--space);
  background: radial-gradient(ellipse 80% 440px at 82% 160px, #252423, transparent), var(--ink);
}
.work-fold {
  z-index: -1;
  inset: -140px max(-17vw, -230px) auto auto;
  width: min(55vw, 760px);
  height: 550px;
  mask-image: linear-gradient(#000 32%, transparent 93%);
  opacity: .21;
  pointer-events: none;
}
.work::after, .contact::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: clamp(60px, 8vw, 120px);
  background: linear-gradient(var(--ink), transparent);
  pointer-events: none;
}
.work-header {
  display: grid;
  gap: clamp(14px, 2.3vw, 34px);
  margin-bottom: clamp(16px, 2.5vw, 38px);
}
.work-header h2 {
  width: fit-content;
  font-size: clamp(2.85rem, 10.2vw, 10rem);
  line-height: .98;
  text-wrap: initial;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(8px, 2.4vw, 35px);
  border-block: 1px solid var(--rule);
}
.filters button {
  position: relative;
  background: none;
  padding: 0 4px;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  font: 500 .8rem/1.3 var(--body);
  transition: color 180ms ease;
}
.filters button:hover, .filters button[aria-pressed='true'] { color: var(--accent); }
.filters button::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 4px;
  right: 4px;
  border-bottom: 1px solid currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.filters button[aria-pressed='true']::after { transform: scaleX(1); }
.work-service { color: var(--accent); }
.work-grid { row-gap: clamp(30px, 3.7vw, 56px); align-items: start; }
.work-card { grid-column: span 6; min-width: 0; }
.work-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--surface);
}
.work-shot--pair { display: grid; grid-template: minmax(0, 1fr) / repeat(2, minmax(0, 1fr)); gap: 2px; }
.work-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--paper) 13%, transparent);
  pointer-events: none;
  transition: border-color 260ms ease;
}
.project-link:is(:hover, :focus-visible) .work-shot::after {
  border-color: color-mix(in srgb, var(--paper) 42%, transparent);
}
.work-shot .image-frame, .work-shot img { width: 100%; height: 100%; }
.work-shot img, .next-cover img { object-fit: cover; transition: transform 620ms var(--ease-out); }
.work-shot .image-frame { pointer-events: none; }
.work-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-link { display: block; }
.work-caption {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.work-caption h3 {
  margin-top: 7px;
  font: 400 clamp(1.55rem, 3vw, 2.65rem)/1.12 var(--display);
  letter-spacing: -.012em;
  text-transform: uppercase;
  text-wrap: balance;
  transition: color 180ms ease;
}
.project-name-unit { white-space: nowrap; }
.work-category { color: var(--accent); }
.work-action {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  color: var(--accent);
  font-size: 1.45rem;
  transition: color 220ms ease;
}
.project-link:is(:hover, :focus-visible) .work-action,
.project-next a:is(:hover, :focus-visible) .work-action { color: var(--paper); }
@media (min-width: 681px) {
  .work-grid:not(.is-filtered) .work-card:first-child { grid-column: 1 / -1; }
  .work-grid:not(.is-filtered) .work-card:first-child .work-shot { aspect-ratio: 2.35 / 1; }
  .work-grid:not(.is-filtered) .work-card:first-child .work-caption-copy {
    display: flex; align-items: baseline; gap: var(--gap);
  }
  .work-grid:not(.is-filtered) .work-card:first-child h3 { margin: 0; }
}
.empty { padding: 42px 0; }
.empty p { margin-bottom: 20px; }

.about {
  padding-block: var(--space);
  background: linear-gradient(var(--ink), transparent var(--space), transparent calc(100% - var(--space)), var(--ink)),
    radial-gradient(ellipse at 85% 12%, #2a2825, transparent 60%), #181716;
}
.about-heading > .eyebrow, .about-skills, .services > .eyebrow, .service-number { color: var(--accent); }
.about-bio, .service > p { color: var(--copy); }
.about-grid { row-gap: clamp(38px, 6vw, 92px); align-items: center; }
.about-heading { grid-column: 1 / 7; }
.about-copy { grid-column: 8 / -1; max-width: 32rem; }
.about-heading > .eyebrow { margin-bottom: 17px; }
.about-title { font-size: clamp(2.8rem, 5.7vw, 6.75rem); text-wrap: wrap; }
.about-title span { display: block; }
.about-intro {
  max-width: 32ch;
  font: 400 clamp(1.28rem, 2.2vw, 2.2rem)/1.2 var(--editorial);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.about-bio { margin-top: 12px; max-width: 49ch; font-size: clamp(.95rem, 1.2vw, 1.07rem); }
.about-skills {
  margin-top: clamp(18px, 2vw, 28px);
  border-top: 1px solid var(--rule-strong);
  padding-top: 12px;
}
.services { grid-column: 1 / -1; }
.services > h2 { margin-bottom: 13px; }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(8px, 1.5vw, 22px);
  border-top: 1px solid var(--rule-strong);
}
.service-row:last-child { border-bottom: 1px solid var(--rule-strong); }
.service summary {
  min-height: 74px;
  display: grid;
  grid-template-columns: clamp(35px, 4.5vw, 70px) minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  padding: 10px 3px 10px 0;
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}
.service summary::-webkit-details-marker { display: none; }
.service summary:is(:hover, :focus-visible), .service[open] summary { color: var(--accent); }
.service-number { font: 700 .9rem/1 var(--mono); }
.service-title { font: 400 clamp(1.5rem, 2.75vw, 2.9rem)/1.12 var(--display); letter-spacing: -.016em; text-transform: uppercase; }
.service-disclosure {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-inline-start: .48em;
  vertical-align: .27em;
  color: var(--accent);
}
.service-disclosure::before, .service-disclosure::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: currentColor;
}
.service-disclosure::after { transform: rotate(90deg); transition: transform 220ms var(--ease-out); }
.service[open] .service-disclosure::after { transform: none; }
.service > p { padding: 0 24px 17px clamp(43px, calc(4.5vw + 8px), 78px); font-size: .94rem; max-width: 60ch; }
.service-work {
  display: grid;
  place-items: center end;
  min-width: 48px;
  min-height: 48px;
  margin-block-start: 13px;
  color: var(--accent);
  transition: color 180ms ease;
}
.service-gallery-icon {
  position: relative;
  display: grid;
  grid-template: repeat(2, 6px) / repeat(2, 9px);
  place-content: center;
  gap: 3px;
  width: 36px;
  height: 34px;
}
.service-gallery-icon > span {
  border: 1px solid currentColor;
  transition: background-color 180ms ease;
}
.service-gallery-icon::before, .service-gallery-icon::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border: solid currentColor;
}
.service-gallery-icon::before {
  inset: 1px auto auto 0;
  border-width: 1px 0 0 1px;
}
.service-gallery-icon::after {
  inset: auto 0 1px auto;
  border-width: 0 1px 1px 0;
}
.service-work:is(:hover, :focus-visible) { color: var(--paper); }
.service-work:is(:hover, :focus-visible) .service-gallery-icon > span { background-color: var(--accent-border); }

.contact {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: var(--space);
  background: radial-gradient(ellipse at 75% 10%, #2d2925, transparent 65%), #151413;
}
.contact-fold {
  z-index: -1;
  width: min(64%, 900px);
  inset: -32% -13% -12% auto;
  rotate: 175deg;
  opacity: .64;
}
.contact-title { font-size: clamp(4rem, 17.2vw, 18rem); }
.contact--project { padding-top: clamp(52px, 7vw, 105px); }
.contact--project .contact-title { font-size: clamp(3.45rem, 12.5vw, 12rem); }
.contact-intro {
  max-width: 40ch;
  margin-top: clamp(16px, 2.8vw, 44px);
  font: 400 clamp(1.15rem, 2.2vw, 2rem)/1.34 var(--editorial);
  letter-spacing: -.02em;
  text-wrap: pretty;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(12px, 1.6vw, 22px);
  margin-top: 21px;
}
.contact-toggle { text-align: start; }
.contact-toggle[aria-expanded='true'] { color: var(--accent); }
.contact-toggle[aria-expanded='true'] .arrow { transform: rotate(180deg); }
.contact-instagram {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--rule-strong);
  color: var(--accent);
  transition: color 220ms ease, border-color 220ms ease;
}
.contact-instagram:is(:hover, :focus-visible) { color: var(--paper); border-color: var(--accent); }
.instagram-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1.5px solid currentColor;
  border-radius: 6px;
}
.instagram-mark::before {
  content: '';
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.instagram-mark::after {
  content: '';
  position: absolute;
  inset: 3px 3px auto auto;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: currentColor;
}
.contact-inquiry-panel { display: flow-root; container: contact-panel / inline-size; }
.contact-inquiry-panel.is-animating { overflow: clip; }
.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  max-width: 740px;
  margin-top: 21px;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--accent);
  background: var(--ink);
}
.contact-form-fields { display: grid; align-content: start; gap: 16px; min-width: 0; }
.contact-project-fields { padding-top: 22px; border-top: 1px solid var(--rule); }
.contact-field, .contact-form-end { display: grid; align-content: start; gap: 7px; min-width: 0; }
.contact-field, .contact-reference { font-size: .875rem; }
@media (min-width: 681px) {
  @container contact-panel (min-width: 540px) {
    .contact-form { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
    .contact-project-fields { padding: 0 0 0 22px; border: 0; border-inline-start: 1px solid var(--rule); }
    .contact-form-end button { justify-self: end; }
  }
}
.contact-hint { color: var(--muted); font-size: .78rem; font-weight: 400; }
.contact-form :is(input, select, textarea) {
  min-width: 0;
  min-height: 44px;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--paper);
  font: 1rem/1.45 var(--body);
}
.contact-form :is(input, select, textarea):focus-visible { outline-offset: 2px; }
.contact-form textarea { resize: vertical; }
.contact-form input[type='date'] { width: min(100%, 13rem); }
.contact-reference {
  display: grid;
  gap: 13px;
  min-width: 0;
  margin: 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid var(--rule);
}
.contact-reference legend { padding: 0 8px 0 0; }
.contact-form input[type='file'] { max-width: 100%; font-size: .875rem; }
.contact-form input::file-selector-button {
  margin-inline-end: 9px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}
.contact-file-control { position: relative; min-width: 0; }
.contact-file-control:has(.contact-file-display:not([hidden])) input {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.contact-file-display {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
}
.contact-file-display > span:first-child { flex: none; color: var(--accent); }
.contact-file-display > [data-file-name] {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-file-control:has(input:focus-visible) .contact-file-display { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-form-end button {
  padding-inline: 16px;
  border: 0;
  background: var(--accent);
  color: var(--ink);
}
.contact-form-end button:is(:hover, :focus-visible) { background: var(--paper); color: var(--ink); }
.contact-form-end button .arrow { color: currentColor; }
.contact-form button:disabled { opacity: .55; cursor: wait; }
.contact-form progress { width: min(100%, 18rem); accent-color: var(--accent); }
.contact-form-status:not(:empty) { color: var(--accent); font-size: .875rem; }
.contact-form-status.is-error:not(:empty) { color: #f3b7ac; }
.contact-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule-strong);
  margin-top: clamp(55px, 8vw, 132px);
  padding-block: 12px;
  color: var(--muted);
}
.contact-footer a, .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  font-size: .86rem;
}
.contact-footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .3em; }

body:has(.project) { background: radial-gradient(ellipse 80% 620px at 12% 0, #282624, transparent), var(--ink); }
.project { padding-block: clamp(14px, 2.9vw, 45px) var(--space); }
.project-back { margin-bottom: 12px; color: var(--accent); }
.project-grid { align-items: start; }
.project-info { container-type: inline-size; grid-column: span 4; padding-right: clamp(0px, 1.5vw, 26px); }
.project-title {
  --project-title-size: clamp(2.75rem, 6.4vw, 7.4rem);
  font-size: min(var(--project-title-size), 21cqi);
}
.project-meta { border-top: 1px solid var(--rule); margin-top: 24px; padding-top: 10px; }
.project-meta > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block: 5px; font-size: .83rem; }
.project-meta dt, .companion-films > h2.eyebrow { color: var(--accent); }
.project-meta dd { text-align: right; }
.project-media { grid-column: span 8; }
.project-poster .image-frame { max-height: 76svh; aspect-ratio: var(--cover-ratio); background: var(--ink); }
.project-poster img { width: 100%; height: 100%; object-fit: contain; }
.player {
  container-type: inline-size;
  width: min(100%, calc(76svh * (var(--video-ratio))));
  margin-inline: auto;
  background: var(--ink);
  color: var(--paper);
}
.player-stage { position: relative; background: #000; }
.player video {
  width: 100%;
  height: auto;
  aspect-ratio: var(--video-ratio);
  margin-inline: auto;
  object-fit: contain;
  background: #000;
}
.player-launch {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  width: clamp(68px, 10cqw, 90px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 73%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  color: var(--paper);
  font: 600 .58rem/1.3 var(--body);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}
.player-launch:is(:hover, :focus-visible) { background: var(--surface); color: var(--accent); }
.player-launch svg, .player-control svg { width: 21px; height: 21px; }
.player-controls {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 20px clamp(4px, 1.8cqw, 18px) 4px;
  background: linear-gradient(transparent, color-mix(in srgb, var(--ink) 85%, transparent) 42%,
    color-mix(in srgb, var(--ink) 95%, transparent));
  pointer-events: none;
  transition: opacity 180ms ease;
}
.player-controls > * { pointer-events: auto; }
.player.is-playing.controls-idle .player-controls:not(:has(:focus-visible)) > * { pointer-events: none; }
.player.is-playing.controls-idle .player-controls:not(:has(:focus-visible)) {
  opacity: 0;
  pointer-events: none;
}
.player-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  transition: background 180ms ease, color 180ms ease;
}
.player-control:hover, .player-control.is-selected { color: var(--accent); }
.player-control:focus-visible { outline-offset: -2px; }
.player-quality {
  flex: none;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding-inline: 4px;
  background: transparent;
  color: var(--paper);
  font: 600 .72rem/1 var(--body);
  cursor: pointer;
}
.player-quality option { background: var(--surface); color: var(--paper); }
.player-quality:is(:hover, :focus-visible) { color: var(--accent); }
.player-quality:focus-visible { outline-offset: -2px; }
@container (max-width: 410px) {
  .player-controls { gap: 0; padding: 12px 3px 1px; }
  .player-time { display: none; }
  .player-controls:has(.player-seek:enabled) .player-time {
    position: absolute;
    display: block;
    left: 12px;
    bottom: 42px;
    color: var(--paper);
    text-shadow: 0 1px 3px var(--ink);
  }
  .player-seek { margin-inline: 1px; }
}
@container (max-width: 260px) {
  .player-controls { flex-wrap: wrap; }
  .player-seek { flex-basis: 100%; order: -1; height: 20px; }
  .player-quality { margin-left: auto; }
  .player-controls:has(.player-seek:enabled) .player-time { bottom: 62px; }
}
.player-control [data-icon='pause'], .player-control [data-icon='mute'], .player-control [data-icon='exit'],
.player.is-playing .player-control [data-icon='play'],
.player.is-muted .player-control [data-icon='sound'],
.player.is-fullscreen .player-control [data-icon='fullscreen'] { display: none; }
.player.is-playing .player-control [data-icon='pause'],
.player.is-muted .player-control [data-icon='mute'],
.player.is-fullscreen .player-control [data-icon='exit'] { display: block; }
.player-time { flex: none; color: var(--muted); font: 400 .72rem/1.2 var(--mono); white-space: nowrap; }
.player-seek {
  --progress: 0%;
  --track: linear-gradient(to right, var(--accent) var(--progress),
    color-mix(in srgb, var(--muted) 38%, transparent) var(--progress));
  min-width: 24px;
  flex: 1;
  margin-inline: 6px;
  height: 34px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.player-seek:disabled { cursor: default; opacity: .5; }
.player-seek::-webkit-slider-runnable-track { height: 3px; background: var(--track); }
.player-seek::-moz-range-track { height: 3px; background: var(--track); }
.player-seek::-webkit-slider-thumb { appearance: none; width: 11px; height: 11px; margin-top: -4px; background: var(--accent); border: 0; border-radius: 50%; }
.player-seek::-moz-range-thumb { width: 11px; height: 11px; background: var(--accent); border: 0; border-radius: 50%; }
.player-status { padding: 6px 10px; font-size: .8rem; color: var(--muted); }
.player-status:empty { display: none; }
.player:is(:fullscreen, :popover-open) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
}
.player:popover-open {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
}
html:has(.player:popover-open) { overflow: hidden; }
.player:is(:fullscreen, :popover-open) .player-stage { flex: 1; min-height: 0; }
.player:is(:fullscreen, :popover-open) video { width: 100%; height: 100%; }
.media-notice { padding: 12px; color: var(--muted); font-size: .9rem; }
.companion-films { margin-top: clamp(36px, 5.5vw, 78px); }
.companion-films > h2 { margin-bottom: 14px; color: var(--muted); }
.companion-film { border-top: 1px solid var(--rule); }
.companion-film:last-child { border-bottom: 1px solid var(--rule); }
.companion-film summary {
  display: grid;
  grid-template-columns: clamp(70px, 12vw, 160px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2.3vw, 34px);
  padding-block: 12px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(.95rem, 2vw, 1.4rem);
  font-weight: 650;
  line-height: 1.25;
}
.companion-film summary::-webkit-details-marker { display: none; }
.companion-film summary:is(:hover, :focus-visible), .companion-film[open] summary { color: var(--accent); }
.companion-film[open] .work-action .arrow { transform: rotate(180deg); }
.companion-cover { aspect-ratio: 16 / 9; }
.companion-cover img { height: 100%; object-fit: cover; }
.companion-cover .image-fallback { min-height: 0; }
.companion-film .player { margin: 4px auto var(--gap); max-width: 1000px; }
.companion-film .player:is(:fullscreen, :popover-open) { max-width: none; margin: 0; }
.project-next { margin-top: clamp(38px, 5.6vw, 84px); border-block: 1px solid var(--rule); }
.project-next a {
  display: grid;
  grid-template-columns: clamp(90px, 17vw, 230px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2.3vw, 34px);
  padding-block: var(--gap);
}
.next-cover { aspect-ratio: 16 / 9; }
.next-cover img { height: 100%; }
.next-cover .image-fallback { min-height: 0; }
.project-next .eyebrow { color: var(--accent); }
.project-next strong { display: block; font: 400 clamp(1.45rem, 3vw, 3rem)/1.15 var(--display); text-wrap: balance; margin-top: 4px; transition: color 180ms ease; }
.project-next a:hover strong { color: var(--accent); }
.not-found { min-height: 70svh; padding-block: var(--space); }
.not-found p { margin: 12px 0 20px; }

.shop-page {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--nav-height));
  padding: 24px var(--gutter);
  background: var(--ink);
}
.shop-light {
  position: absolute;
  inset: -24%;
  background: radial-gradient(ellipse at 46% 46%, #292827, transparent 45%),
    radial-gradient(ellipse at 66% 70%, #594c3a40, transparent 34%);
  opacity: .72;
  pointer-events: none;
}
.shop-fold {
  inset: 18% -13% -50% auto;
  width: min(83vw, 1150px);
  rotate: 22deg;
  opacity: .66;
}
.shop-title {
  position: relative;
  max-width: 100%;
  font-size: clamp(4.35rem, 22vw, 20rem);
  letter-spacing: -.025em;
  white-space: nowrap;
  color: var(--paper);
}
@supports (background-clip: text) {
  .shop-title {
    background: var(--title-gradient);
    background-clip: text;
    color: transparent;
  }
}
.reel-dialog {
  width: min(92%, 1060px);
  max-height: 92svh;
  padding: 16px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--rule-strong);
}
.reel-dialog::backdrop { background: color-mix(in srgb, var(--ink) 86%, transparent); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.dialog-header h2 { font: 400 2rem/1 var(--display); text-transform: uppercase; }
.dialog-header button { min-height: 44px; background: transparent; border: 0; }
html:has(.reel-dialog[open]) { overflow: hidden; }

@media (hover: hover) and (pointer: fine) {
  .project-link:hover img, .project-next a:hover img { transform: scale(1.045); }
  .project-link:hover h3 { color: var(--accent); }
}

@media (max-width: 900px) {
  .about-copy { grid-column-start: 7; }
  .about-title { font-size: clamp(2.6rem, 6.2vw, 5.5rem); }
  .project-info { grid-column: span 5; }
  .project-media { grid-column: span 7; }
}

@media (max-width: 680px) {
  :root { --nav-height: 58px; --space: clamp(64px, 13vw, 92px); }
  .header-inner { flex-wrap: wrap; gap: 0 12px; }
  .site-header.has-menu .header-inner { flex-wrap: nowrap; }
  .header-navigation { flex-wrap: wrap; gap: 8px; }
  .logo span:first-child { font-size: 1.48rem; }
  .has-menu .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border: 0;
    background: none;
    padding: 0 2px 0 8px;
    font-size: .86rem;
  }
  .menu-icon { display: grid; gap: 4px; }
  .menu-icon::before, .menu-icon::after {
    content: '';
    width: 15px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }
  .menu-toggle[aria-expanded='true'] .menu-icon::before { transform: translateY(2.5px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] .menu-icon::after { transform: translateY(-2.5px) rotate(-45deg); }
  .nav { gap: 14px; }
  .shop-fold { inset: 28% -40% -42% auto; width: 133vw; }
  .has-menu .nav {
    position: absolute;
    display: none;
    inset: 100% 0 auto;
    background: var(--ink);
    padding: 6px var(--gutter) 14px;
    border-bottom: 1px solid var(--rule);
  }
  .has-menu .nav.is-open { display: grid; gap: 0; }
  .has-menu .nav > a { min-height: 48px; border-bottom: 1px solid var(--rule); }
  .has-menu .nav a::after { display: none; }
  .has-menu .nav > a:last-child { border: 0; }

  .hero { min-height: clamp(calc(530px + var(--nav-height)), 100svh, calc(870px + var(--nav-height))); }
  .hero-title span:first-child { line-height: 1.02; transform: scaleY(1.08); }
  .hero-fold--far { inset: -52% -25% 42% 0; }
  .hero-fold--left { inset: 40% auto -43% -46%; width: 112vw; }
  .hero-fold--right { inset: -30% -71% 30% auto; width: 104vw; }
  .hero::after {
    background: linear-gradient(180deg, transparent 48%, color-mix(in srgb, var(--ink) 79%, transparent) 81%, var(--ink));
  }
  .hero-caption { flex-direction: column; align-items: start; gap: 8px; padding-block: 20px; }
  .hero-location { margin-top: 9px; max-width: 37ch; }
  .scroll-link { margin-top: 3px; }

  .work { padding-top: 54px; }
  .work-fold { inset: -68px -18vw auto auto; width: 85vw; height: 300px; }
  .filters { column-gap: clamp(5px, 2vw, 17px); }
  .filters button { font-size: .82rem; }
  .work-card, .work-grid.is-filtered .work-card { grid-column: 1 / -1; }
  .work-action { width: 38px; height: 38px; }

  .about-grid { row-gap: 26px; }
  .about-heading, .about-copy { grid-column: 1 / -1; }
  .about-title { font-size: clamp(2.65rem, 10.4vw, 5.1rem); }
  .services { margin-top: 6px; }
  .service summary { min-height: 64px; grid-template-columns: 22px minmax(0, 1fr); }
  .service-title { font-size: clamp(1.22rem, 4.1vw, 1.8rem); }
  .service > p { padding-inline: 30px 0; }
  .service-work { margin-block-start: 8px; }
  .contact-title { font-size: clamp(3.45rem, 17.2vw, 8rem); }
  .contact-fold { width: 95%; inset: -34% -47% 4% auto; opacity: .46; }
  .contact-toggle { font-size: .9rem; }
  .contact-footer { padding-block: 7px; }
  .project-info, .project-media { grid-column: 1 / -1; }
  .project-info { padding-right: 0; }
  .project-title { --project-title-size: clamp(3rem, 10vw, 5.5rem); }
  .project-meta { max-width: 25rem; margin-top: 14px; }
  .player-controls { gap: 0; padding-inline: 2px; }
  .player-seek { margin-inline: 4px; }
}

@media (min-width: 681px) and (min-aspect-ratio: 19/10) {
  .hero-title span:first-child { line-height: .55; transform: scaleY(.58); }
}

@media (min-width: 681px) and (min-aspect-ratio: 5/2) {
  .hero-title span:first-child { line-height: .40; transform: scaleY(.42); }
}

@keyframes title-in {
  from { opacity: .15; transform: translateY(.18em); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wordmark-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}
@keyframes frame-in {
  from { opacity: .35; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } }
@keyframes shop-light-in {
  from { transform: translateX(-12%); opacity: .42; }
  to { transform: translateX(0); opacity: .72; }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header { view-transition-name: portfolio-header; }
  ::view-transition-group(*) { animation-duration: 260ms; }
  ::view-transition-old(root) { animation: 140ms ease-in both page-out; }
  ::view-transition-new(root) { animation: 260ms ease-out both page-in; }
  .hero-title { animation: wordmark-in 840ms var(--ease-out); }
  .hero-caption > div:first-child { animation: rise-in 430ms var(--ease-out) 170ms backwards; }
  .hero-caption .button:not(:focus-visible) { animation: rise-in 410ms var(--ease-out) 255ms backwards; }
  .project-info { animation: rise-in 280ms var(--ease-out); }
  .project-media { animation: frame-in 390ms var(--ease-out); }
  html:active-view-transition :is(.project-info, .project-media) { animation: none; }
  [data-reveal].awaiting-entry:not(:focus-within) { opacity: 0; }
  [data-reveal='copy'].has-entered { animation: rise-in 550ms var(--ease-out); }
  [data-reveal='title'].has-entered { animation: title-in 560ms var(--ease-out); }
  [data-reveal='frame'].has-entered:not(:focus-within) { animation: frame-in 560ms var(--ease-out); }
  .has-menu .nav.is-open { animation: rise-in 220ms var(--ease-out); }
  .reel-dialog[open] { animation: rise-in 220ms var(--ease-out); }
  .shop-light { animation: shop-light-in 2.6s var(--ease-out) both; }
  .shop-title { animation: title-in 660ms var(--ease-out) both; }

  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    .service { interpolate-size: allow-keywords; }
    .service::details-content {
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size 320ms var(--ease-out), opacity 220ms ease, content-visibility 320ms allow-discrete;
    }
    .service[open]::details-content { block-size: auto; opacity: 1; }
  }
  @supports not ((interpolate-size: allow-keywords) and selector(::details-content)) {
    .service[open] > p { animation: rise-in 240ms var(--ease-out); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloth canvas { visibility: hidden; }
  .cloth img { visibility: visible; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

