:root {
  --bg: #0b0b0b;
  --fg: #f2efe9;
  --muted: #9a958c;
  --accent: #c9a96e;
  --line: #2a2825;
  --card: #151413;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); letter-spacing: .25em; text-decoration: none; font-size: 15px; }
.nav { display: flex; gap: 22px; }
.nav a {
  text-decoration: none; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a.active { color: var(--fg); border-color: var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--fg); padding: 6px 12px; font: inherit; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 70vh; display: grid; place-items: center; text-align: center;
  background: #000 center/cover no-repeat;
  padding: 80px 20px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.65)); }
.hero > * { position: relative; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 8vw, 96px); letter-spacing: .08em; margin: 0; color: #fff; }
.hero .eyebrow { color: var(--accent); letter-spacing: .3em; font-size: 12px; text-transform: uppercase; margin-bottom: 12px; }
.hero--video .frame { max-width: 1100px; margin: 0 auto; }

/* Latest Work: looping video behind the title, click to expand */
.hero--feature { min-height: 82vh; padding: 0; display: block; }
.hero--feature::before { z-index: 1; pointer-events: none; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 1s ease;
}
.hero__bg iframe.is-loaded { opacity: 1; }
.hero__open {
  position: relative; z-index: 2; width: 100%; min-height: 82vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: none; border: 0; color: #fff; cursor: pointer; font: inherit; padding: 80px 20px;
}
.hero__text { display: flex; flex-direction: column; align-items: center; }
.hero__title { font-family: var(--serif); font-size: clamp(40px, 8vw, 96px); letter-spacing: .08em; line-height: 1.1; }
.hero__play {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px;
  border: 1px solid #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.hero__open:hover .hero__play, .hero__open:focus-visible .hero__play { background: #fff; color: #000; }
.hero__play[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(0, 0, 0, .92); padding: 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox__frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; background: #000; animation: expand .25s ease-out; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__link {
  position: absolute; bottom: 18px; left: 0; right: 0; text-align: center;
  color: #bbb; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
}
.lightbox__link:hover { color: #fff; }
.lightbox__close {
  position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff;
  font-size: 40px; line-height: 1; cursor: pointer;
}
@keyframes expand { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lightbox__frame { animation: none; } }

/* ---------- Intro ---------- */
.intro {
  padding: 140px 24px; text-align: center; color: #fff;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.7)), var(--intro-photo) center 40% / cover no-repeat;
}
.intro__inner { max-width: 760px; margin: 0 auto; }
.intro p { color: #e6e2da; }
.intro .button { border-color: #fff; }
.intro .button:hover { background: #fff; color: #000; }
.intro h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4vw, 38px); margin: 0 0 16px; }
.jump { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.button {
  display: inline-block; padding: 12px 22px; border: 1px solid var(--fg); text-decoration: none;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.button:hover { background: var(--fg); color: var(--bg); }

/* ---------- Categories ---------- */
.category { max-width: 1200px; margin: 0 auto; padding: 80px 24px 40px; }
.category__head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 44px); letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.category__head .blurb { color: var(--muted); margin: 8px 0 24px; }
.search {
  width: 100%; max-width: 320px; padding: 10px 14px; margin-bottom: 24px;
  background: var(--card); border: 1px solid var(--line); color: var(--fg); font: inherit; font-size: 14px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 22px; }

/* ---------- Video tiles ---------- */
.tile { margin: 0; }
.tile[hidden] { display: none; }
.frame { position: relative; aspect-ratio: 16 / 9; background: var(--card); overflow: hidden; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame--empty { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--card) 0 12px, var(--line) 12px 13px); }
.frame--empty span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); background: var(--bg); padding: 6px 10px; }
.tile figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14px; }
.tile figcaption em { font-style: normal; color: var(--muted); white-space: nowrap; }

/* ---------- Photos ---------- */
.photo-grid { columns: 3 260px; column-gap: 16px; max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; }
.photo-grid figure { margin: 0 0 16px; break-inside: avoid; }
.photo-grid img { width: 100%; height: auto; }
.photo-grid figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.page-title { text-align: center; font-family: var(--serif); font-weight: 400; letter-spacing: .15em; text-transform: uppercase; font-size: clamp(28px, 5vw, 48px); padding: 60px 20px 10px; margin: 0; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 20px 80px; }

/* ---------- Bio & Gear ---------- */
.bio-hero {
  min-height: 80vh; padding-bottom: 40px; color: #fff;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.72)), var(--bio-photo) center 82% / cover no-repeat;
}
.bio-hero .prose p { color: #e6e2da; }
.bio-hero .button { border-color: #fff; }
.bio-hero .button:hover { background: #fff; color: #000; }
.prose { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 3vw, 30px); }
.prose p { color: var(--muted); font-size: 17px; }
.gear-group { margin-top: 36px; }
.gear-group h3 { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; font-weight: 500; }
.gear-group ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.gear-group li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- Contact & footer ---------- */
#contact { text-align: center; max-width: 720px; margin: 0 auto; padding: 100px 24px 60px; }
#contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
#contact a.mail { font-size: 18px; }
.site-footer {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  padding: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
.site-footer p { margin: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .grid { grid-template-columns: 1fr; }
  .hero { min-height: 56vh; }
}
