: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__link[hidden] { display: none; }
.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 33% / 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; }

.category-band {
  background: linear-gradient(rgba(11,11,11,.8), rgba(11,11,11,.72)), var(--band-photo) center / cover no-repeat;
  background-attachment: scroll, fixed;
}
@media (max-width: 780px), (hover: none) { .category-band { background-attachment: scroll, scroll; } }
.category-band .category__head .blurb { color: #cfcac1; }

/* ---------- 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 ---------- */
.page-hero {
  position: relative; overflow: hidden; background: #000;
  display: grid; place-items: center; min-height: 50vh; padding: 60px 20px 120px;
}
.page-hero__bg {
  position: absolute; left: 0; right: 0; top: -25%; bottom: -25%; will-change: transform;
  background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.42)), var(--hero-photo) center 55% / cover no-repeat;
}
.page-hero .page-title { position: relative; z-index: 1; color: #fff; padding: 0; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.photo-grid { columns: 3 260px; column-gap: 16px; max-width: 1200px; margin: -110px auto 0; padding: 40px 24px 80px; position: relative; z-index: 2; }
.photo-grid img { box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.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; }

/* Photo viewer */
.plightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.plightbox[hidden] { display: none; }
.plb__stage { margin: 0; max-width: calc(100vw - 150px); max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.plb__stage img { max-width: 100%; max-height: 86vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.plb__stage figcaption { color: #cfcac1; font-size: 14px; margin-top: 10px; min-height: 1em; text-align: center; }
.plb__btn { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; line-height: 1; border-radius: 50%; transition: background .2s; }
.plb__btn:hover, .plb__btn:focus-visible { background: rgba(255,255,255,.22); }
.plb__close { top: 16px; right: 18px; width: 48px; height: 48px; font-size: 32px; }
.plb__prev, .plb__next { top: 50%; width: 54px; height: 54px; font-size: 38px; transform: translateY(-50%); padding-bottom: 5px; }
.plb__prev { left: 20px; }
.plb__next { right: 20px; }
.plb__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #9a958c; font-size: 12px; letter-spacing: .2em; }
@media (max-width: 780px) {
  .plb__stage { max-width: 100vw; }
  .plb__prev, .plb__next { width: 44px; height: 44px; font-size: 30px; top: auto; bottom: 18px; transform: none; }
  .plb__prev { left: 16px; } .plb__next { right: 16px; }
  .plb__count { bottom: 30px; }
}

/* ---------- 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 75% / cover no-repeat;
}
.gear-hero {
  position: relative; overflow: hidden; background: #000;
  min-height: 80vh; padding-bottom: 40px; color: #fff;
}
.gear-hero__bg {
  position: absolute; left: 0; right: 0; top: -25%; bottom: -25%; will-change: transform;
  background:
    radial-gradient(ellipse 560px 70% at 50% 45%, rgba(0,0,0,.2), rgba(0,0,0,0) 100%),
    linear-gradient(rgba(0,0,0,.26), rgba(0,0,0,.45)),
    var(--gear-photo) center / cover no-repeat;
}
.gear-hero > .page-title, .gear-hero > .prose { position: relative; z-index: 1; }
.gear-hero .page-title { text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.gear-hero .gear-group h3 { color: #d9ba7c; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.gear-hero .gear-group li { font-weight: 400; color: #fff; text-shadow: 0 1px 9px rgba(0,0,0,.65); }
.gear-hero .gear-group li { border-color: rgba(255,255,255,.22); }
.gear-hero .gear-group ul { border-color: rgba(255,255,255,.22); }
.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; }
}

/* Phone: show the bio photo whole and unobstructed below the text, instead of cropped behind it. */
@media (max-width: 760px) {
  .intro { background: var(--bg); padding: 96px 24px 0; }
  .intro::after {
    content: ""; display: block; margin: 56px -24px 0; aspect-ratio: 2 / 3;
    background: var(--intro-photo) center / cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  }
}
