@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-v38-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-v38-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-v38-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
    font-family: "Source Serif 4";
    src: url("fonts/source-serif-4-v15-latin-regular.woff2")
    format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Serif 4";
    src: url("fonts/source-serif-4-v15-latin-700.woff2")
    format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display:swap;
}
@font-face {
    font-family: "Source Serif 4";
    src: url("fonts/source-serif-4-v15-latin-800.woff2")
    format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
  --serif: "Source Serif 4", "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #111;
  --fg: #e9e6e1;
  --muted: #9a958d;
  --accent: #d9a441;
  --line: #2a2a2a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 18px/1.6 var(--sans);
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Hero */
.hero { padding: 24px 0 72px; border-bottom: 1px solid var(--line); }
nav { display: flex; gap: 24px; justify-content: flex-end; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--accent); }
h1 { font-family: var(--serif); font-size: clamp(2.6rem, 8vw, 5rem); line-height: 1.05; margin: 72px 0 12px; font-weight: 800; letter-spacing: -.02em; }
.tagline { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--muted); max-width: 32em; margin: 0; }
.biz { margin: 24px 0 0; color: var(--accent); letter-spacing: .2em; text-transform: uppercase; font-size: 14px; }

/* Sections */
section.wrap { padding-top: 72px; }
h2 { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 32px; }
h3 { font-family: var(--serif); font-weight: 700; margin: 0 0 8px; font-size: 1.5rem; }
h4 { margin: 0 0 8px; color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
ul { padding-left: 1.1em; margin: 0 0 1em; }

/* Projects */
.project { margin-bottom: 64px; }
.video {
  display: block; position: relative; width: 100%; aspect-ratio: 800 / 424;
  padding: 0; border: 0; background: #000; cursor: pointer;
}
iframe.video { cursor: auto; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px;
  border-radius: 50%; background: rgba(0,0,0,.6); border: 2px solid #fff;
}
.play::after {
  content: ""; position: absolute; left: 30px; top: 22px;
  border-left: 24px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent;
}
/* Standard-def 4:3 footage: show the whole frame with black bars at the sides */
.video.sd img { object-fit: contain; }
.aka { color: var(--muted); font-weight: 400; font-size: .75em; }
.video:hover .play, .video:focus-visible .play { background: var(--accent); border-color: var(--accent); }
.meta { margin-top: 16px; }
.meta ul { list-style: none; padding: 0; color: var(--muted); font-size: 16px; }

/* More work: stills grid */
.more { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 24px 0 24px; font-family: var(--sans); font-weight: 400; }
.stills { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.stills figure { margin: 0; }
.stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.stills figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* About */
.portrait { float: right; width: 200px; margin: 0 0 16px 24px; border-radius: 4px; }
@media (max-width: 560px) { .portrait { float: none; margin: 0 0 20px; width: 160px; } }

/* Services / gear */
.services { list-style: none; padding: 0; font-size: 1.2rem; }
.services li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.gear { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 16px; font-size: 16px; color: var(--muted); }

/* Contact */
.email { font-size: 1.6rem; }

footer { margin-top: 96px; padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
