@font-face{font-family:Barlow Condensed;src:url("assets/display.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:Space Grotesk;src:url("assets/body.woff2") format("woff2");font-weight:400 700;font-display:swap}

:root {
  color-scheme: dark;
  --bg: #131410;
  --panel: #1b1d16;
  --white: #f2f1e8;
  --muted: #aaa99d;
  --line: #42443a;
  --accent: #dcf94d;
  --gutter: clamp(20px, 5vw, 86px);
  --body: "Space Grotesk", Arial, sans-serif;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; min-width: 280px; background: var(--bg); color: var(--white); font: 1rem/1.5 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button[hidden], [hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--bg); }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1480px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 3; left: 20px; top: 20px; padding: .65rem 1rem; color: var(--bg); background: var(--accent); }
.label { color: var(--accent); font-size: .84rem; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; margin: 0; }

.masthead { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: .94rem; line-height: 1; letter-spacing: .105em; font-weight: 700; white-space: nowrap; }
.mark { display: inline-flex; gap: 3px; transform: skewX(-15deg); color: var(--accent); }
.mark i { width: 3px; height: 16px; background: currentColor; }
.masthead nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 42px); font-size: .92rem; }
.masthead nav a:hover, .text-link:hover { color: var(--accent); }
.nav-pill { border: 1px solid var(--line); padding: 8px 14px; border-radius: 4px; }

.hero { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(0, 1.55fr); gap: clamp(16px, 2vw, 35px); min-height: clamp(495px, 47vw, 700px); padding-block: clamp(28px, 4.3vw, 66px); border-bottom: 1px solid var(--line); }
.hero-copy { align-self: center; padding: 12px 0 18px; }
.hero-label { display: flex; align-items: center; gap: .68rem; }
.accent-square { width: 7px; height: 7px; background: var(--accent); }
h1, h2 { margin: 0; font: 800 1em/.84 var(--display); }
h1 { font-size: clamp(7rem, 12.5vw, 13.6rem); letter-spacing: -.03em; margin: .12em 0 .115em -.024em; }
h1 span, h2 span { color: var(--accent); }
.hero-description { max-width: 23ch; margin: 0 0 24px; color: #c1c0b3; font-size: clamp(1rem, 1.38vw, 1.26rem); line-height: 1.4; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1.05rem; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: var(--bg); font-weight: 700; transition: background .2s, color .2s; }
.cta:hover { color: var(--accent); background: transparent; }
.hero-visual { isolation: isolate; position: relative; display: block; text-align: left; min-width: 0; min-height: 388px; overflow: hidden; background: var(--panel); border: 0; padding: 0; border-radius: 6px; }
.hero-visual img, .card-image img { position: absolute; display: block; inset: 0; height: 100%; width: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.28,1); }
.hero-visual:hover img, .card:hover img { transform: scale(1.04); }
.hero-visual::after { content: ""; z-index: 0; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #000d 0%, #0005 23%, transparent 53%); }
.hero-frame { position: absolute; z-index: 1; inset: 14px; border: 1px solid #f2f1e849; border-radius: 2px; pointer-events: none; }
.hero-caption { position: absolute; z-index: 1; left: clamp(25px, 3.2vw, 48px); bottom: clamp(24px, 3vw, 40px); display: grid; gap: 3px; }
.hero-caption strong { font: 800 clamp(2.1rem, 4.1vw, 4.6rem)/.98 var(--display); text-transform: uppercase; }
.hero-watch { position: absolute; z-index: 1; right: clamp(25px, 3.2vw, 48px); bottom: clamp(28px, 3vw, 44px); font-size: .9rem; }
.play { position: absolute; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #fff8; border-radius: 50%; background: #111a; color: #fff; transition: background .2s, border-color .2s, color .2s; }
.play::before { content: ""; width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0; margin-left: 3px; }
.play-hero { width: clamp(62px, 6.3vw, 91px); height: clamp(62px, 6.3vw, 91px); left: 50%; top: 50%; transform: translate(-50%,-50%); color: var(--bg); background: var(--accent); border-color: var(--accent); }
.play-hero::before { border-width: 10px 0 10px 16px; }
.hero-visual:hover .play-hero { color: var(--accent); background: var(--bg); }
.card:hover .play { color: var(--bg); background: var(--accent); border-color: var(--accent); }

.work, .library { padding-top: clamp(57px, 7.5vw, 115px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 25px; }
.section-heading .label { margin-bottom: 9px; }
.section-heading h2 { font-size: clamp(3.4rem, 7.6vw, 7.6rem); letter-spacing: -.018em; }
.text-link { display: inline-block; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-size: .94rem; font-weight: 600; }
.feature-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(14px, 2vw, 30px); }
.card { display: block; width: 100%; overflow: hidden; padding: 0; text-align: left; background: none; border: 0; min-width: 0; }
.card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 5px; background: var(--panel); border: 1px solid #f2f1e815; }
.feature-grid .card-image { aspect-ratio: auto; height: clamp(190px, 22vw, 340px); }
.card-image .play { right: 10px; bottom: 10px; }
.card-meta { display: block; padding: 13px 0 14px; border-bottom: 1px solid var(--line); min-height: 104px; }
.card-title { display: block; font-size: clamp(1.07rem, 1.65vw, 1.43rem); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.card-description { display: block; color: var(--muted); font-size: .87rem; margin-top: 5px; line-height: 1.35; }
.feature-grid .card-title { font-size: clamp(1.22rem, 2vw, 1.63rem); }
.library { padding-bottom: clamp(55px, 8vw, 110px); }
.library-heading { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 20px; }
.count { color: var(--muted); margin: 0; font-size: .92rem; white-space: nowrap; }
.library-controls { display: flex; justify-content: space-between; gap: 14px 25px; margin-bottom: 28px; }
.filters { display: flex; align-items: start; flex-wrap: wrap; gap: 7px; }
.filter { border-radius: 3px; border: 1px solid var(--line); background: transparent; padding: 8px 10px; color: #d1d0c3; font-size: .9rem; line-height: 1.2; min-height: 38px; }
.filter:hover { border-color: var(--accent); }
.filter[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--bg); font-weight: 700; }
.search { display: flex; align-items: center; gap: 10px; min-width: 190px; width: min(100%, 218px); min-height: 38px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 3px; align-self: start; }
.search:focus-within { border-color: var(--accent); }
.search input { width: 100%; background: none; border: 0; line-height: 1.2; color: var(--white); outline: none; }
.search input::placeholder { color: var(--muted); }
.search-icon { position: relative; width: 13px; height: 13px; border: 1px solid var(--muted); border-radius: 50%; flex: 0 0 13px; }
.search-icon::after { position: absolute; content: ""; width: 6px; height: 1px; background: var(--muted); right: -5px; bottom: -2px; transform: rotate(45deg); }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px clamp(14px, 2vw, 30px); }
.project-grid .card-meta { min-height: 91px; }
.library-end { display: flex; justify-content: center; margin-top: 29px; }
.secondary { background: transparent; color: var(--white); border-color: var(--line); }
.secondary:hover { border-color: var(--accent); }

.footer { background: var(--accent); color: #141510; }
.footer-inner { min-height: 123px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer .mark, .footer .text-link:hover { color: inherit; }
.footer :focus-visible { outline-color: var(--bg); }
.footer p { margin: 6px 0 0; font-size: .92rem; }

dialog { max-width: min(930px, calc(100% - 32px)); width: 100%; max-height: calc(100dvh - 40px); border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--white); padding: 0; box-shadow: 0 20px 90px #0009; }
dialog::backdrop { background: #090a07d9; backdrop-filter: blur(5px); }
.dialog-inner { padding: clamp(15px, 3vw, 28px); }
.dialog-header { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.dialog-header h2 { font-size: clamp(2.65rem, 6vw, 4.65rem); line-height: .94; margin-top: 5px; }
.player-subtitle { margin: 7px 0 0; color: var(--muted); }
.close { display: grid; place-items: center; width: 42px; height: 42px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; font-size: 1.8rem; line-height: 1; }
.close:hover { border-color: var(--accent); color: var(--accent); }
.video-frame { display: grid; place-items: center; height: min(52dvh, 470px); min-height: 190px; border-radius: 5px; overflow: hidden; background: #050504; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.clips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 15px; }
.dialog-actions a:first-child { color: var(--accent); }
details { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 10px; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
details summary { cursor: pointer; }
details p { margin: 6px 0 0; }

@media (max-width: 1030px) {
  .library-controls { flex-wrap: wrap; }
  .search { width: min(100%, 218px); }
  .project-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .masthead { height: 64px; }
  .masthead nav { gap: 0; }
  .masthead nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 22px; min-height: 0; }
  .hero-copy { padding: 8px 0 0; }
  h1 { font-size: clamp(6.8rem, 23vw, 10rem); }
  .hero-description { max-width: 29ch; margin-bottom: 17px; }
  .hero-visual { min-height: 0; aspect-ratio: 1.32; }
  .hero-frame { inset: 9px; }
  .hero-caption { left: 19px; bottom: 18px; }
  .hero-watch { right: 19px; bottom: 20px; }
  .section-heading { margin-bottom: 19px; }
  .feature-grid, .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-grid .card:first-child { grid-column: 1 / -1; }
  .feature-grid .card-image { height: auto; aspect-ratio: 1.1; }
  .feature-grid .card:first-child .card-image { aspect-ratio: 1.7; }
  .feature-grid .card-meta, .project-grid .card-meta { min-height: 75px; }
  .search { width: 100%; }
  .footer-inner { min-height: 95px; }
}
@media (max-width: 360px) {
  .hero-caption .label { font-size: .74rem; }
  .hero-caption strong { font-size: 1.75rem; }
  .hero-watch { display: none; }
  .section-heading h2 { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@font-face {
  font-family: Space Grotesk;
  src: url("assets/body-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
