:root {
  --bg: #0c0c0c;
  --bg-2: #151515;
  --fg: #f2efe9;
  --muted: #8a8780;
  --line: rgba(242, 239, 233, 0.12);
  --accent: #d9c7a3;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
video, iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter);
  mix-blend-mode: difference;
}
.nav__logo { font-weight: 500; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: clamp(16px, 3vw, 40px); font-size: 14px; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  display: flex; align-items: flex-end;
  padding: 0 var(--gutter) clamp(48px, 9vh, 96px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video { object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,12,0.85) 0%, rgba(12,12,12,0.1) 55%, rgba(12,12,12,0.35) 100%);
}
.hero__content { position: relative; max-width: 1100px; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
}
.hero__title {
  font-weight: 400; font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92; letter-spacing: -0.045em; margin-bottom: 36px;
}
.hero__title em { letter-spacing: -0.02em; color: var(--accent); }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 96px);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Placeholders (until real videos are added) ---------- */
.placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 30% 20%, #262421 0%, transparent 60%),
    radial-gradient(90% 90% at 80% 90%, #1d1c1a 0%, transparent 60%),
    var(--bg-2);
  color: var(--muted);
}
.placeholder span { font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); opacity: 0.35; }
.placeholder--hero { animation: drift 14s ease-in-out infinite alternate; background-size: 140% 140%; }
.placeholder--modal { aspect-ratio: 16 / 9; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 14vh, 160px) var(--gutter); border-top: 1px solid var(--line); }
.section__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(36px, 6vw, 72px);
}
.section__title { font-weight: 400; font-size: clamp(36px, 6vw, 80px); letter-spacing: -0.04em; line-height: 1; }
.section__count { color: var(--muted); font-size: 14px; }

/* ---------- Grid ---------- */
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px) clamp(16px, 2.5vw, 32px);
}
.card { text-align: left; display: block; width: 100%; }
.card__media {
  aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--bg-2);
}
.card__media > * { transition: transform 1s var(--ease); }
.card__media video { object-fit: cover; }
.card:hover .card__media > * { transform: scale(1.035); }
.card__info {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px;
}
.card__title { font-weight: 400; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -0.01em; }
.card__meta { color: var(--muted); font-size: 14px; white-space: nowrap; }

/* ---------- About ---------- */
.about__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 96px); }
.about__lead { font-size: clamp(24px, 3vw, 40px); line-height: 1.25; letter-spacing: -0.025em; font-weight: 300; }
.about__lead strong { font-weight: 500; }
.about__lead em { color: var(--accent); }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-content: start; }
.label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.list { list-style: none; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact__mail {
  display: inline-block; font-family: var(--serif); font-style: italic;
  font-size: clamp(40px, 8vw, 120px); letter-spacing: -0.03em; line-height: 1.05;
  overflow-wrap: anywhere; transition: color 0.4s var(--ease);
}
.contact__mail:hover { color: var(--accent); }
.contact__socials {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-top: 48px;
}
.contact__socials a {
  display: inline-block; padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.contact__socials a:hover { background: var(--fg); color: var(--bg); }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; padding: 28px var(--gutter);
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.footer a:hover { color: var(--fg); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px var(--gutter) 32px;
  background: rgba(8, 8, 8, 0.96);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__frame { width: min(1280px, 100%); aspect-ratio: 16 / 9; max-height: 80vh; background: #000; }
.modal__frame video { object-fit: contain; }
.modal__caption { margin-top: 16px; color: var(--muted); font-size: 14px; }
.modal__close {
  position: absolute; top: 22px; right: var(--gutter); font-size: 14px; color: var(--muted);
  transition: color 0.3s;
}
.modal__close:hover { color: var(--fg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .placeholder--hero { animation: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .about__body { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .nav__links { gap: 16px; font-size: 13px; }
  .footer { flex-direction: column; gap: 8px; }
}
