:root {
  --red: #e01100;
  --stage: #0a0a0a;
  --surface: #181818;
  --white: #ffffff;
  --silver: #b8b5b1;
  --rule: #333333;
  --header-height: 86px;
  --layer-nav: 2;
  --layer-skip: 3;
  --gutter: clamp(20px, 3.4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--stage);
  color: var(--white);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 28px); scrollbar-gutter: stable; }
body { margin: 0; max-width: 1680px; margin-inline: auto; }
body:has(dialog[open]) { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
.gutter { padding-inline: var(--gutter); }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 14px; background: white; color: black; transform: translateY(-180%); z-index: var(--layer-skip); }
.skip-link:focus { transform: translateY(0); }
.opening { background: var(--red); }
.site-header { position: sticky; top: 0; z-index: var(--layer-nav); display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: var(--header-height); padding-block: 18px; font-size: 14px; background: var(--red); transition: background .25s; }
.site-header[data-dark] { background: var(--stage); }
.name-link { font-size: 16px; line-height: 1.4; }
.name-link span { display: block; font-size: 13px; }
.site-header nav { display: flex; gap: 30px; align-items: center; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 12px; }
.site-header nav a:hover, .reel-link:hover, .contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.8fr); gap: clamp(32px, 5vw, 84px); align-items: end; padding-top: 32px; }
.hero-brand { padding-bottom: 8px; }
.brand-signature { width: min(100%, 360px); aspect-ratio: 1080 / 790; overflow: hidden; margin-left: -8px; }
.brand-mark { width: 100%; height: auto; transform: translateY(-28%); }
h1 { font-size: clamp(28px, 3.25vw, 58px); letter-spacing: -.03em; line-height: 1.02; margin-top: 20px; }
.hero-film { display: block; position: relative; min-width: 0; aspect-ratio: 16 / 10; background: black; overflow: hidden; animation: opening-frame .7s var(--ease); }
.hero-film > img { height: 100%; width: 100%; object-fit: cover; }
.hero-film::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .75)); pointer-events: none; }
.feature-caption { position: absolute; inset: auto 30px 27px; display: flex; align-items: end; justify-content: space-between; gap: 16px; font-size: 28px; z-index: 1; }
.film-kind { display: block; font-size: 14px; margin-top: 7px; }
.play-round { display: grid; place-items: center; padding-left: 3px; width: 64px; height: 64px; border: 1px solid rgb(255 255 255 / .75); border-radius: 50%; font-size: 18px; transition: background .2s, color .2s; }
.hero-film:hover .play-round, .hero-film:focus-visible .play-round { background: white; color: black; }
.hero-play-label { position: absolute; top: 24px; left: 30px; right: 30px; display: flex; justify-content: space-between; font-size: 14px; text-shadow: 0 1px 3px black; }
.hero-play-label span { font-variant-numeric: tabular-nums; }
.hero-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px 32px; font-size: 15px; }
.reel-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 10px 0; }
.reel-link > span:first-child { font-size: 11px; }
.reel-duration { margin-left: 12px; font-variant-numeric: tabular-nums; }
.reel-duration > span { margin-left: 12px; }
.work { padding-top: 72px; padding-bottom: 88px; scroll-margin-top: -72px; }
.section-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.section-intro h2 { font-size: clamp(36px, 4vw, 64px); letter-spacing: -.035em; }
.section-intro p { color: var(--silver); font-size: 15px; }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 58px; align-items: start; }
.project-asimov { grid-column: span 7; }
.project-corvera { grid-column: span 5; }
.project-daytona { grid-column: span 5; }
.project-lunavo { grid-column: span 7; }
.project-shimoda, .project-chase, .project-launch-harder, .project-zawaj, .project-characterquilt { grid-column: span 6; }
.project a { display: block; }
.project-image { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project a:hover img { transform: scale(1.025); }
.watch-label { position: absolute; bottom: 16px; right: 16px; display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 2px; background: var(--white); color: var(--stage); font-size: 13px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.watch-label > span { font-size: 10px; }
.project a:hover .watch-label, .project a:focus-visible .watch-label { opacity: 1; transform: translateY(0); }
.project-caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; }
.project-caption h3 { font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
.project-caption p { font-size: 14px; color: var(--silver); margin-top: 8px; }
.project-caption > span { font-size: 13px; color: var(--silver); margin-top: 5px; font-variant-numeric: tabular-nums; }
.external-mark { display: inline-block; color: var(--silver); font-size: .65em; vertical-align: .1em; margin-left: 6px; }
.about { border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 92px 104px; scroll-margin-top: -92px; }
.about-label { font-size: 14px; color: var(--silver); margin-bottom: 26px; }
.about h2 { font-size: clamp(56px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.04em; }
.about-copy { max-width: 510px; padding-top: 7px; }
.about-copy > p:first-child { font-size: clamp(24px, 2.3vw, 34px); letter-spacing: -.02em; line-height: 1.3; }
.about-copy > p + p { font-size: 17px; line-height: 1.65; color: var(--silver); margin-top: 24px; }
.about-copy .collaboration-note { font-size: 14px; }
.about-copy a { display: inline-flex; gap: 25px; align-items: center; padding-block: 12px; margin-top: 26px; border-bottom: 1px solid #888; font-size: 16px; }
.contact { background: var(--red); padding-top: 70px; scroll-margin-top: -70px; }
.contact-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 72px; }
.contact h2 { font-size: clamp(48px, 6vw, 88px); line-height: 1.02; letter-spacing: -.04em; }
.contact-links { display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.email-link { font-size: clamp(20px, 2.3vw, 34px); letter-spacing: -.02em; }
.contact-links a:last-child { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.contact-links a span { margin-left: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; align-items: center; border-top: 1px solid rgb(255 255 255 / .35); padding-block: 28px; font-size: 13px; }
.footer-bottom > a { font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.footer-bottom > a span { padding-left: 20px; }
.footer-bottom > div { display: flex; gap: 24px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.film-dialog { width: min(1100px, calc(100% - 40px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #444; background: var(--stage); color: var(--white); }
.film-dialog::backdrop { background: rgb(0 0 0 / .88); }
.player-top, .player-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 24px; }
.player-top h2 { font-size: 20px; }
.close-player { min-height: 44px; border: 0; background: transparent; padding: 10px 0 10px 16px; font-size: 14px; }
.close-player span { font-size: 24px; margin-left: 16px; vertical-align: -2px; }
.player-stage { position: relative; aspect-ratio: 16 / 9; background: black; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .5; }
.player-poster:not([src]) { display: none; }
.player-status { position: absolute; inset: auto 20px 20px; z-index: 1; font-size: 14px; }
.player-frame { position: absolute; inset: 0; background: transparent; }
.film-dialog:not([data-loading]) .player-status { visibility: hidden; }
.player-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player-bottom { font-size: 13px; justify-content: flex-end; }
.youtube-fallback { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
@keyframes opening-frame { from { clip-path: inset(0 0 6% 0); } to { clip-path: inset(0); } }
@media (max-width: 1000px) {
  .location { display: none; }
  .hero { grid-template-columns: .8fr 1.3fr; gap: 32px; }
  .hero-film { aspect-ratio: 1.3; }
  .work-grid { column-gap: 28px; row-gap: 48px; }
  .section-intro { align-items: start; }
  .section-intro p { max-width: 210px; line-height: 1.5; }
  .about { gap: 44px; }
}
@media (max-width: 640px) {
  :root { --header-height: 76px; }
  .site-header { padding-block: 14px; gap: 12px; }
  .name-link { font-size: 15px; }
  .name-link span { font-size: 12px; }
  .site-header nav { gap: 16px; font-size: 14px; }
  .site-header nav a:last-child span { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding-top: 30px; }
  .hero-brand { display: flex; align-items: end; gap: 20px; padding: 0; }
  .brand-signature { width: 46%; flex-shrink: 0; margin: 0 0 0 -5px; }
  h1 { margin: 0 0 6px; font-size: clamp(25px, 6.6vw, 38px); }
  .hero-film { aspect-ratio: 16/10; }
  .feature-caption { inset: auto 20px 20px; font-size: 24px; }
  .hero-play-label { top: 20px; left: 20px; right: 20px; font-size: 13px; }
  .play-round { height: 50px; width: 50px; font-size: 14px; }
  .hero-footer { padding-block: 20px 24px; flex-wrap: wrap; gap: 8px; font-size: 14px; }
  .hero-footer p { width: 100%; }
  .reel-link { width: 100%; gap: 12px; }
  .reel-duration { margin-left: auto; }
  .work { padding-block: 50px 56px; scroll-margin-top: -50px; }
  .section-intro { display: block; margin-bottom: 30px; }
  .section-intro h2 { font-size: 34px; }
  .section-intro p { margin-top: 12px; max-width: none; font-size: 14px; }
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .project { grid-column: auto; margin: 0; padding: 0; }
  .project-caption { padding-top: 14px; }
  .project-caption h3 { font-size: 22px; }
  .watch-label { opacity: 1; transform: none; font-size: 13px; padding: 10px 12px; bottom: 12px; right: 12px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 50px 56px; scroll-margin-top: -50px; }
  .about-label { margin-bottom: 20px; }
  .about h2 { font-size: 64px; }
  .about-copy { padding: 0; }
  .about-copy > p:first-child { font-size: 26px; }
  .about-copy > p + p { font-size: 16px; margin-top: 20px; }
  .about-copy .collaboration-note { font-size: 14px; }
  .contact { padding-top: 50px; scroll-margin-top: -50px; }
  .contact-top { display: block; padding-bottom: 44px; }
  .contact h2 { font-size: 56px; }
  .contact-links { margin-top: 38px; gap: 18px; }
  .email-link { font-size: 25px; }
  .footer-bottom { flex-wrap: wrap; gap: 22px; padding-block: 24px; }
  .footer-bottom > span { display: none; }
  .film-dialog { width: calc(100% - 24px); }
  .player-top, .player-bottom { padding: 12px 16px; gap: 12px; }
  .player-top h2 { font-size: 16px; }
  .player-bottom { flex-wrap: wrap; }
}
@media (hover: none) { .watch-label { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
