:root {
  --bg: #0b0f0e;
  --bg-2: #101614;
  --fg: #ebe9e3;
  --fg-2: #a8a9a3;
  --line: rgba(235, 233, 227, 0.12);
  --accent: #d8c7a3;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
em { font-style: italic; color: var(--accent); }

.skip {
  position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg);
  padding: 8px 12px; border-radius: 6px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: linear-gradient(to bottom, rgba(11,15,14,0.75), rgba(11,15,14,0));
  backdrop-filter: blur(0px);
}
.nav.solid { background: rgba(11,15,14,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 22px; }
.nav nav { display: flex; gap: 28px; font-size: 14px; color: var(--fg-2); }
.nav nav a:hover { color: var(--fg); }
.nav nav .ig { color: var(--fg); }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; background: var(--fg); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter); font-family: var(--serif); font-size: 36px;
}
.mobile-nav[hidden] { display: none; }
@media (max-width: 760px) {
  .nav nav { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
  filter: saturate(0.95);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11,15,14,0.92) 0%, rgba(11,15,14,0.35) 45%, rgba(11,15,14,0.15) 100%);
}
.hero-text { padding: 0 var(--gutter) clamp(56px, 10vh, 120px); max-width: 900px; }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 14px; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: 0.98; margin-bottom: 20px; }
.lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--fg-2); max-width: 52ch; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--fg); color: var(--bg); transition: transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid rgba(235,233,227,0.35); }
.scroll-hint {
  position: absolute; right: var(--gutter); bottom: 28px; color: var(--fg-2); font-size: 20px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint { animation: none; } }

/* Sections */
.section { padding: clamp(64px, 10vw, 128px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section.alt { max-width: none; background: var(--bg-2); }
.section.alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--fg-2); margin: 0; }

/* Gallery */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.tile { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: var(--bg-2); cursor: zoom-in; aspect-ratio: 4 / 3; }
.tile.wide { grid-column: span 2; aspect-ratio: auto; height: 100%; min-height: 0; }
.tile.wide img { position: absolute; inset: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.03); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: baseline;
  background: linear-gradient(to top, rgba(11,15,14,0.8), rgba(11,15,14,0));
  font-size: 14px; opacity: 0; transition: opacity .25s;
}
.tile figcaption small { color: var(--fg-2); font-size: 12px; }
.tile:hover figcaption, .tile:focus-within figcaption { opacity: 1; }
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .tile.wide { grid-column: span 2; aspect-ratio: 16 / 9; height: auto; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 8px; }
  .tile, .tile.wide { grid-column: span 1; aspect-ratio: 4 / 3; height: auto; }
  .tile figcaption { opacity: 1; }
}

/* Reels */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #000;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s, opacity .3s; }
.reel:hover img { transform: scale(1.04); opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0) 55%); }
.reel-label, .reel-meta { position: relative; z-index: 1; }
.reel-label { font-family: var(--serif); font-size: 20px; line-height: 1.15; }
.reel-meta { font-size: 12px; color: var(--fg-2); margin-top: 6px; }
.reel.more { justify-content: center; align-items: center; border: 1px dashed var(--line); background: transparent; font-size: 18px; }
.reel.more::after { display: none; }
@media (max-width: 900px) { .reels { grid-template-columns: repeat(2, 1fr); } }

/* About */
.about { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.about-img { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05; margin-bottom: 20px; }
.about-text p { color: var(--fg-2); max-width: 56ch; margin: 0 0 14px; }
.about-text .tr { font-style: italic; color: var(--accent); }
.tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg-2); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-img { aspect-ratio: 4 / 3; } }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(44px, 7vw, 88px); }
.contact p { color: var(--fg-2); }
.mail {
  display: inline-block; margin: 20px 0 28px; font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 36px); border-bottom: 1px solid var(--accent); padding-bottom: 4px;
  overflow-wrap: anywhere;
}
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; color: var(--fg-2); font-size: 14px; }
.socials a:hover { color: var(--fg); }

/* Footer */
.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-2);
  max-width: var(--max); margin: 0 auto;
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,0.92); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 94vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lightbox button {
  position: absolute; z-index: 2; background: rgba(255,255,255,0.08); color: var(--fg); border: 0;
  width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,0.18); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--fg-2); font-size: 14px; margin: 0; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
