:root {
  color-scheme: dark;
  --ink: #171813;
  --paper: #f2efe5;
  --text: #f1efe6;
  --muted: #b7b7a9;
  --accent: #e5e6cf;
  --rule: #3d4035;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(100% - 96px, 1376px); margin-inline: auto; }
.label { font: 500 .6875rem/1.45 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.skip { position: fixed; z-index: 3; top: 10px; left: 10px; padding: 12px 16px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }

.mast, .footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.mast { min-height: 84px; }
.brand { flex: none; font-size: .9375rem; line-height: 1.06; font-weight: 700; letter-spacing: -.015em; }
nav, .foot-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); }
nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .8125rem; font-weight: 500; white-space: nowrap; color: var(--muted); }
nav a:hover, .footer a:hover, .follow a:hover { color: var(--accent); }
nav .nav-contact { color: var(--accent); }

.hero { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 4vw, 68px); padding-block: 22px clamp(36px, 5vw, 74px); border-bottom: 1px solid var(--rule); }
.hero-video { position: relative; display: block; min-width: 0; }
.hero-image { width: 100%; height: auto; }
.hero-video-caption { position: absolute; inset: auto 0 0; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 28px clamp(12px, 1.6vw, 24px) clamp(11px, 1.4vw, 20px); background: linear-gradient(transparent, rgb(15 17 11 / 80%) 46%, rgb(15 17 11 / 94%)); }
.hero-video-caption .label { margin-bottom: 4px; color: var(--accent); font-size: .625rem; }
.hero-video-title { font-size: clamp(.8125rem, 1.35vw, 1.0625rem); font-weight: 650; line-height: 1.2; }
.hero-video-play { display: grid; flex: none; place-items: center; width: clamp(28px, 3vw, 40px); aspect-ratio: 1; border: 1px solid #fff9; border-radius: 50%; background: #1619119c; transition: background-color .18s, color .18s; }
.hero-video-play svg { width: 13px; height: 13px; }
.hero-video:hover .hero-video-play, .hero-video:focus-visible .hero-video-play { background: var(--accent); color: var(--ink); }
.hero-copy { padding-block: 14px; }
.hero-kicker { color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(4.625rem, 8.7vw, 9rem); letter-spacing: -.085em; font-weight: 650; line-height: .84; }
.hero-copy > p:not(.label) { max-width: 28ch; margin-top: 23px; font-size: clamp(1rem, 1.55vw, 1.25rem); line-height: 1.45; color: var(--muted); }
.button { display: inline-flex; min-height: 46px; justify-content: center; align-items: center; gap: 11px; width: fit-content; padding: 11px 17px; font-size: .8125rem; font-weight: 700; line-height: 1.4; transition: background-color .18s, color .18s; }
.button-light { background: var(--accent); color: #1b1e12; margin-top: 22px; }
.button-light:hover { background: var(--paper); }
.button svg, .play svg { width: 13px; height: 13px; }
.portfolio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; padding-block: clamp(40px, 5vw, 76px) clamp(52px, 7vw, 96px); }
.column { min-width: 0; }
#personal, #work, #writing { scroll-margin-top: 22px; }
.column + .column { border-left: 1px solid var(--rule); padding-left: 36px; }
.chapter { color: var(--muted); margin-bottom: 13px; }
h2 { font-size: clamp(2rem, 4.2vw, 4rem); line-height: .99; font-weight: 600; letter-spacing: -.067em; }
.section-intro { margin: 13px 0 22px; min-height: 3.1em; max-width: 42ch; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.film-card { display: block; }
.poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #292c23; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.play { position: absolute; bottom: 12px; left: 12px; display: grid; place-items: center; width: 36px; height: 36px; background: rgb(17 20 14 / 85%); border: 1px solid #ffffff75; border-radius: 50%; color: var(--text); transition: background-color .18s, color .18s; }
.film-card:hover .poster img { transform: scale(1.035); }
.film-card:hover .play { background: var(--accent); color: var(--ink); }
.film-details { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 13px 15px; border-bottom: 1px solid var(--rule); }
.film-details p { color: var(--muted); margin-bottom: 4px; }
.film-details h3 { font-size: clamp(1rem, 1.65vw, 1.35rem); font-weight: 600; line-height: 1.22; letter-spacing: -.03em; }
.film-details > span, .follow span { color: var(--accent); }
.follow { display: flex; gap: 23px; align-items: center; padding-top: 4px; }
.follow a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: .8125rem; font-weight: 600; }
.writing { margin-top: clamp(20px, 3vw, 42px); padding: clamp(20px, 3vw, 38px); background: #22241d; }
.writing h2 { max-width: 19ch; font: 400 clamp(1.875rem, 3.2vw, 2.875rem)/1.04 Georgia, serif; letter-spacing: -.04em; }
.writing-source { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; color: var(--accent); }
.writing-source:hover { text-decoration: underline; }
.essay-intro { max-width: 44ch; margin-top: 12px; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.writing .follow { margin-top: 6px; padding-top: 0; }
.work-list .compact { display: grid; grid-template-columns: clamp(96px, 23%, 124px) minmax(0, 1fr); gap: 14px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--rule); }
.work-list .compact:first-child { padding-top: 0; }
.work-list .compact .film-details { padding: 0; border: 0; }
.work-list .compact .film-details h3 { font-size: clamp(.9375rem, 1.4vw, 1.125rem); }

.contact { background: var(--paper); color: #24261e; padding-block: clamp(40px, 6vw, 84px); scroll-margin-top: 12px; }
.contact-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); grid-template-areas: "about portraits" "inquiries portraits"; align-items: start; align-content: center; column-gap: clamp(28px, 6vw, 84px); row-gap: 28px; }
.contact h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); }
.about { grid-area: about; align-self: end; }
.about > p:last-child { color: #42463a; max-width: 45ch; line-height: 1.55; margin-top: 15px; }
.portraits { grid-area: portraits; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-self: center; }
.portraits figure { margin: 0; }
.portraits img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #d6d2c6; }
.portraits figure:first-child img { object-position: 50% 37%; }
.portraits figcaption { margin-top: 8px; color: #42463a; font-size: .8125rem; line-height: 1.4; }
.inquiries { grid-area: inquiries; border-top: 1px solid #c2c1b4; padding-top: 24px; }
.button-dark { background: #25281e; color: var(--paper); margin-top: 19px; }
.button-dark:hover { background: #454b35; }
.button-dark span { color: var(--accent); }
.footer { min-height: 73px; color: var(--muted); font-size: .8125rem; }
.footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.foot-name { color: var(--text); font-weight: 700; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .portfolio { gap: 23px; }
  .column + .column { padding-left: 23px; }
}
@media (max-width: 710px) {
  .wrap { width: calc(100% - 32px); }
  .mast { min-height: 66px; gap: 4px 10px; flex-wrap: wrap; }
  .brand { font-size: .8125rem; }
  nav { gap: 13px; }
  nav a { font-size: .75rem; gap: 4px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 23px 28px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(3.125rem, 12.5vw, 5.5rem); }
  .hero h1 br { display: none; }
  .hero-kicker { margin-bottom: 15px; }
  .hero-copy > p:not(.label) { margin-top: 17px; }
  .portfolio, .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .contact-inner { grid-template-areas: "about" "portraits" "inquiries"; }
  .column + .column { border-left: 0; padding-left: 0; padding-top: 24px; }
  .column + .column { border-top: 1px solid var(--rule); }
  .section-intro { min-height: 0; margin-bottom: 17px; }
  .footer { min-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
