@font-face {
  font-family: Barlow Condensed;
  src: url(assets/barlow-condensed-800.woff2) format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #171813;
  --paper: #f1f0e7;
  --acid: #dcf67d;
  --faded: #c2c1b6;
  --line: #babaae;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --label: system-ui, sans-serif;
  color: var(--paper);
  background: var(--ink);
  font: 1rem/1.55 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
section, article, footer { scroll-margin-top: 1rem; }
.shell { width: min(calc(100% - 3rem), 78rem); margin-inline: auto; }
.skip { position: absolute; inset: .75rem auto auto .75rem; z-index: 1; padding: .75rem 1rem; color: var(--ink); background: var(--acid); }
.skip:not(:focus) { clip-path: inset(50%); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #535449; }
.wordmark { display: grid; grid-auto-flow: column; align-items: center; justify-content: start; min-width: 44px; min-height: 44px; font: 800 2.3rem/.85 var(--display); letter-spacing: -.02em; text-decoration: none; }
.wordmark span, .hero h1 span { color: var(--acid); }
.masthead nav { display: flex; gap: clamp(.6rem, 3vw, 2.5rem); }
.masthead nav a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-weight: 600; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 7vw, 6.3rem) clamp(3.5rem, 7vw, 6rem); }
.signal { font: 700 .875rem/1.45 var(--label); letter-spacing: .12em; text-transform: uppercase; }
.hero-copy > .signal { color: var(--faded); }
.hero-copy > .signal span { color: var(--acid); margin-inline: .22em; }
.hero h1 { margin: .12em 0 .17em; font: 800 clamp(5.2rem, 12vw, 11.2rem)/.77 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.intro { max-width: 24rem; font-size: clamp(1rem, 1.6vw, 1.37rem); line-height: 1.45; color: var(--faded); }

.featured { container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr) minmax(3.4rem, 53%); grid-template-rows: 1fr auto; align-items: center; column-gap: .7rem; padding: clamp(1.2rem, 3.3vw, 2.5rem); background: var(--acid); color: var(--ink); text-decoration: none; }
.featured:hover { background: #e9ffa8; }
.featured-details { display: grid; justify-items: start; }
.featured-title { margin-bottom: .22em; font: 800 clamp(1.55rem, 10.5cqi, 4.15rem)/.86 var(--display); text-transform: uppercase; }
.featured-play { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; font-weight: 750; }
.featured:hover .featured-play { text-decoration: underline; text-underline-offset: .2em; }
.play { display: inline-block; width: 0; height: 0; border-block: .36rem solid transparent; border-left: .59rem solid currentColor; }
.reel-frame { position: relative; aspect-ratio: 9/16; border: 1px solid var(--ink); background: var(--ink); }
.reel-poster { display: block; width: 100%; height: auto; aspect-ratio: 9/16; }
.reel-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .6rem; padding-top: .75rem; margin-top: 1.15rem; border-top: 1px solid #586131; font: 700 .875rem/1.3 var(--label); font-variant-numeric: tabular-nums; }

.work { padding: clamp(2.55rem, 6.5vw, 5.5rem) 0; background: var(--paper); color: var(--ink); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; padding-bottom: clamp(1.1rem, 3.3vw, 2.25rem); }
.section-heading p { font-weight: 650; color: #45473b; }
h2 { font: 800 clamp(3rem, 7vw, 6.1rem)/.9 var(--display); text-transform: uppercase; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(.85rem, 2.3vw, 2rem); }
.project { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.project:target { border-color: var(--ink); }
.project-poster { position: relative; display: block; background: var(--ink); }
.project-poster img { display: block; width: 100%; height: auto; aspect-ratio: 9/16; }
.project-play { position: absolute; inset: auto .65rem .65rem auto; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #77776e; border-radius: 50%; background: var(--ink); color: var(--paper); }
.project-poster:hover .project-play, .project-poster:focus-visible .project-play { background: var(--acid); color: var(--ink); }
.project-play .play { margin-left: .12rem; }
.project-copy { padding-top: .95rem; }
.project-format { font: 650 .875rem/1.45 var(--label); color: #45473b; }
.project-visual { position: relative; }
.project-visual time { position: absolute; pointer-events: none; bottom: .65rem; left: .65rem; padding: .18rem .42rem; background: var(--ink); color: var(--paper); font: 650 .8rem/1.4 var(--label); font-variant-numeric: tabular-nums; }
.project-copy h3 { margin-top: .32rem; font: 800 clamp(1.75rem, 4vw, 3rem)/.95 var(--display); }
.project-copy p { margin-top: .45rem; max-width: 42rem; }
.project-copy .project-role { margin-top: .65rem; font-size: .875rem; font-weight: 650; color: #45473b; }
.contact-button:focus-visible, .featured:focus-visible { outline-color: var(--focus, currentColor); }
.featured:focus-visible { --focus: var(--acid); }

.about { display: grid; grid-template-columns: minmax(7.5rem, .75fr) minmax(0, 1.4fr); gap: clamp(1.1rem, 5vw, 4rem); padding-block: clamp(3rem, 8vw, 7rem); }
.about-copy p + p { margin-top: 1rem; }
.about-copy p { max-width: 39rem; color: var(--faded); }
.about-copy .about-lead { color: var(--paper); font-size: clamp(1.24rem, 2.4vw, 2rem); font-weight: 650; line-height: 1.25; }
.about-copy .tool-list { font: 650 .875rem/1.6 var(--label); }
.contact { background: var(--acid); color: var(--ink); }
.contact-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.3rem 2rem; padding-block: clamp(2.4rem, 6vw, 5rem); }
.contact p { margin-top: .7rem; }
.contact-address { display: inline-flex; align-items: center; min-height: 44px; margin-top: .15rem; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.contact-button { display: inline-flex; align-items: center; min-height: 48px; min-width: 44px; gap: .3em; padding: .6rem 1.1rem; border: 1px solid var(--ink); border-radius: 2rem; font-weight: 700; color: var(--acid); background: var(--ink); text-decoration: none; }
.contact-button.secondary { color: var(--ink); background: transparent; }
.contact-button:hover { text-decoration: underline; }
.contact-button:focus-visible { --focus: var(--ink); }
.not-found { padding-block: 4rem; }
.not-found h1 { font: 800 4rem/.9 var(--display); margin-bottom: 1rem; }
.not-found a { display: inline-flex; align-items: center; min-height: 44px; }

.player { width: max-content; max-width: calc(100% - 1.25rem); max-height: calc(100dvh - 1.25rem); padding: .65rem .85rem .5rem; border: 1px solid #77776e; color: var(--paper); background: var(--ink); }
.player::backdrop { background: rgb(0 0 0 / 87%); }
body:has(.player[open]) { overflow: hidden; }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.player h2 { font-size: clamp(1.25rem, 4vw, 1.75rem); line-height: 1.05; }
.player button { min-width: 44px; min-height: 44px; padding-inline: .65rem; border: 1px solid #77776e; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.player button:hover, .player button:focus-visible { border-color: var(--acid); }
.player video { display: block; width: min(calc(100vw - 3rem), 27rem, 43dvh); aspect-ratio: 9/16; margin-inline: auto; background: #000; }
.caption-toggle[aria-pressed="true"] { border-color: var(--acid); color: var(--acid); }
.player-controls { margin-top: .4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 .6rem; font-size: .875rem; color: var(--faded); }
.player-fallback { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 49rem) {
  .shell { width: min(calc(100% - 2rem), 39rem); }
  .masthead-inner { min-height: 3.7rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-block: 2.25rem 2.5rem; }
  .hero h1 { font-size: clamp(5.25rem, 18vw, 8.3rem); }
  .featured { min-height: 0; padding: 1.1rem; }
  .reel-frame { width: min(100%, 11rem); justify-self: end; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 23rem) {
  .featured-meta { font-size: .82rem; }
}

@media (max-width: 30rem) {
  .project-grid { grid-template-columns: 1fr; row-gap: 1.05rem; }
  .project { display: grid; grid-template-columns: minmax(6.75rem, 37.5%) minmax(0, 1fr); align-items: center; gap: 1rem; }
  .project-copy { padding: 0; }
}
