@font-face { font-family: "Oswald"; src: url("fonts/oswald.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --fg: #f2efe9;
  --mute: #8f8b84;
  --line: rgba(242, 239, 233, 0.14);
  --red: #e6002e;
  --display: "Oswald", "Bahnschrift", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --hdr: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }
.muted { color: var(--mute); }

.eyebrow { margin: 0 0 18px; font: 500 12px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--red); }
.display { margin: 0; font: 500 clamp(34px, 5vw, 72px)/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: #cfcac2; max-width: 46ch; }
.lead-lg { margin: 0 0 40px; font: 300 clamp(22px, 2.6vw, 38px)/1.35 var(--body); letter-spacing: -0.01em; max-width: 34ch; }

/* ruler motif: minor tick every 8px, major every 80px */
.ruler { height: 14px; background:
  repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 8px) bottom / 100% 6px no-repeat,
  repeating-linear-gradient(90deg, rgba(242,239,233,.35) 0 1px, transparent 1px 80px) bottom / 100% 14px no-repeat; }
.ruler-light { --line: rgba(255, 255, 255, 0.28); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; background: var(--red); color: #fff; font: 500 14px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; transition: background .25s, transform .25s var(--ease); }
.btn:hover { background: #ff1744; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--red); border-color: var(--red); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--line); transition: border-color .25s, gap .25s var(--ease); }
.link-arrow:hover { border-color: var(--red); gap: 16px; }
.link-arrow svg { width: 18px; height: 18px; color: var(--red); }
.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(10,10,10,.5); transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--red); border-color: var(--red); }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); transition: background .35s, backdrop-filter .35s, border-color .35s; border-bottom: 1px solid transparent; }
.hdr.scrolled { background: rgba(10,10,10,.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.brand { font: 600 26px/1 var(--display); letter-spacing: .02em; }
.brand-i { color: var(--red); }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.nav a { position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .nav-cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.35); }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--red); border-color: var(--red); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; background: #000; isolation: isolate; }
.hero-page { min-height: 78svh; align-items: flex-end; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.12); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.2) 60%, rgba(10,10,10,1) 100%); }
.hero-center { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; padding: var(--hdr) 20px 80px; }
.hero-logo { width: clamp(120px, 13vw, 190px); height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.45)); animation: rise 1.4s .3s var(--ease) both; }
.hero-tag { margin: 0; font: 400 13px/1.4 var(--body); letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.82); animation: rise 1.4s .5s var(--ease) both; }
.hero-center .btn { margin-top: 14px; animation: rise 1.4s .7s var(--ease) both; }
.hero-inner { padding-bottom: 92px; animation: rise 1.2s .2s var(--ease) both; }
.hero-title { font-size: clamp(56px, 11vw, 168px); line-height: .9; }
.hero-sub { margin: 22px 0 0; max-width: 52ch; color: rgba(255,255,255,.8); font-size: clamp(16px, 1.3vw, 19px); }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 26px; margin: auto; display: flex; align-items: flex-end; gap: 20px; }
.hero-foot .ruler { flex: 1; }
.timecode { font: 400 12px/1 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: .12em; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.timecode::before { content: "● "; color: var(--red); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* sections */
.section { padding-block: clamp(64px, 9vw, 140px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
.statement { padding-block: clamp(80px, 12vw, 180px) 0; }
.statement-text { margin: 0; font: 300 clamp(26px, 3.6vw, 56px)/1.22 var(--body); letter-spacing: -.02em; max-width: 26ch; }
.statement-text.small { font-size: clamp(22px, 2.6vw, 40px); max-width: 32ch; }

/* work cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px) clamp(20px, 2.4vw, 36px); }
.grid-feature .card-wide { grid-column: 1 / -1; }
.grid-feature .card-wide .card-media { aspect-ratio: 2.39 / 1; }
.card[hidden] { display: none; }
.card-hit { display: block; width: 100%; text-align: left; }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.92); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); opacity: .7; transition: opacity .5s; }
.card-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 14px 22px 14px 18px; background: var(--red); color: #fff; font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; transform: translate(-50%, -40%); opacity: 0; transition: opacity .35s, transform .5s var(--ease); }
.card-play svg { width: 18px; height: 18px; }
.card-hit:hover .card-media img, .card-hit:focus-visible .card-media img { transform: scale(1.05); filter: saturate(1.05); }
.card-hit:hover .card-play, .card-hit:focus-visible .card-play { opacity: 1; transform: translate(-50%, -50%); }
.card-info { display: grid; grid-template-columns: auto 1fr auto; column-gap: 16px; align-items: baseline; padding-top: 18px; border-top: 1px solid transparent; }
.card-n { font: 400 12px/1 ui-monospace, Consolas, monospace; color: var(--red); }
.card-title { margin: 0; font: 500 clamp(19px, 1.7vw, 26px)/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.card-meta { grid-column: 2; color: var(--mute); font-size: 14px; margin-top: 4px; }
.card-kind { grid-column: 3; grid-row: 1; font: 500 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); border: 1px solid var(--line); padding: 6px 9px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border: 1px solid var(--line); font: 500 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); transition: color .2s, border-color .2s, background .2s; }
.chip sup { margin-left: 4px; font-size: 10px; }
.chip:hover { color: var(--fg); border-color: rgba(255,255,255,.4); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* award */
.award { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: center; padding-top: clamp(80px, 11vw, 160px); }
.award-poster { position: relative; isolation: isolate; margin: 0 22px 22px 0; }
.award-poster::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--red); z-index: -1; }
.award-poster img { width: 100%; height: auto; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.award-text .display { font-size: clamp(48px, 7vw, 112px); margin-bottom: 20px; }
.award-text .display .muted { font-weight: 300; }
.award-text .btn { margin-top: 18px; }

/* stills strip */
.strip { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item { height: clamp(180px, 22vw, 320px); flex: none; overflow: hidden; }
.strip-item img { height: 100%; width: auto; transition: transform .8s var(--ease); }
.strip-item:hover img { transform: scale(1.04); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* about */
.about-teaser { padding-bottom: 0; }
.names { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font: 500 clamp(28px, 4vw, 56px)/1.1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(242,239,233,.5); }
.names li { transition: color .3s, -webkit-text-stroke-color .3s; }
.names li:hover { color: var(--red); -webkit-text-stroke-color: var(--red); }
.team { border-top: 1px solid var(--line); }
.member { display: grid; grid-template-columns: 60px minmax(160px, 3fr) 7fr; gap: 20px; padding: clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .4s; }
.member:hover .member-name { color: var(--red); }
.member-n { font: 400 12px/1 ui-monospace, Consolas, monospace; color: var(--red); }
.member-name { margin: 0; font: 500 clamp(36px, 4.6vw, 68px)/.95 var(--display); transition: color .3s; }
.member-bio { margin: 0; color: #c9c4bc; max-width: 68ch; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact .display { font-size: clamp(34px, 4vw, 60px); margin-bottom: 18px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.field-full { grid-column: 1 / -1; }
.field input, .field textarea { font: 400 17px/1.5 var(--body); letter-spacing: 0; text-transform: none; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; resize: vertical; transition: border-color .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field.invalid input, .field.invalid textarea { border-color: #ff5c5c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-status { margin: 0; color: var(--mute); }
.form-status.ok { color: #9be6a8; }
.form-status.err { color: #ff8080; }

/* stills page */
.masonry { columns: 3 320px; column-gap: 16px; }
.still { position: relative; display: block; margin-bottom: 16px; break-inside: avoid; overflow: hidden; background: var(--bg-2); }
.still img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.still:hover img { transform: scale(1.035); }
.still-n { position: absolute; left: 12px; bottom: 10px; font: 400 11px/1 ui-monospace, Consolas, monospace; color: rgba(255,255,255,.8); opacity: 0; transition: opacity .3s; }
.still:hover .still-n { opacity: 1; }

/* dialogs */
dialog { padding: 0; border: 0; color: var(--fg); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(5,5,5,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog[open] { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: scale(.985); } }
.player { width: 100vw; height: 100dvh; display: none; flex-direction: column; justify-content: center; gap: 18px; padding: 20px var(--gutter); }
.player[open] { display: flex; }
.player-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; width: min(100%, 1500px); margin-inline: auto; }
.player-kind { font: 500 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.player-title { margin: 8px 0 4px; font: 500 clamp(22px, 2.4vw, 34px)/1.1 var(--display); text-transform: uppercase; }
.player-sub { color: var(--mute); font-size: 14px; }
.player-stage { position: relative; width: min(100%, 1500px); margin-inline: auto; }
.player-stage video { width: 100%; max-height: calc(100dvh - 190px); background: #000; aspect-ratio: 16 / 9; object-fit: contain; }
.player-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.player-nav.prev { left: -64px; } .player-nav.next { right: -64px; }
.player-count { text-align: center; font: 400 12px/1 ui-monospace, Consolas, monospace; color: var(--mute); letter-spacing: .1em; }
.lightbox { width: 100vw; height: 100dvh; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox img { max-width: calc(100vw - 2 * var(--gutter) - 120px); max-height: calc(100dvh - 120px); width: auto; height: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-close { position: fixed; top: 20px; right: var(--gutter); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: var(--gutter); } .lb-nav.next { right: var(--gutter); }
.lb-count { position: fixed; bottom: 24px; left: 0; right: 0; text-align: center; font: 400 12px/1 ui-monospace, Consolas, monospace; color: var(--mute); }

/* footer */
.ftr { margin-top: clamp(100px, 14vw, 200px); }
.ftr-cta { padding-block: clamp(56px, 8vw, 110px); }
.ftr-big { display: inline-block; font: 500 clamp(44px, 9vw, 150px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.005em; transition: color .3s; }
.ftr-big em { font-style: normal; color: var(--red); }
.ftr-big:hover { color: var(--red); }
.ftr-big:hover em { color: var(--fg); }
.ftr-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 26px calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.ftr-bar a:hover { color: var(--fg); }

.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding-top: var(--hdr); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .player-nav.prev { left: 8px; } .player-nav.next { right: 8px; }
}
@media (max-width: 860px) {
  :root { --hdr: 64px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px; background: rgba(10,10,10,.97); font: 500 34px/1 var(--display); letter-spacing: .06em; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav .nav-cta { font-size: 16px; font-family: var(--body); letter-spacing: .2em; margin-top: 12px; }
  .grid { grid-template-columns: 1fr; }
  .award, .contact { grid-template-columns: 1fr; }
  .award-poster { max-width: 420px; }
  .member { grid-template-columns: 40px 1fr; }
  .member-bio { grid-column: 2; }
  .form { grid-template-columns: 1fr; }
  .lightbox img { max-width: 100vw; max-height: calc(100dvh - 140px); }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
  .player-nav { display: none; }
  .hero-foot .ruler { display: none; }
  .hero-foot { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .strip { overflow-x: auto; }
}
