/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --bg:      #0d0d0e;
  --bg-row:  rgba(255,255,255,0.025);
  --line:    rgba(255,255,255,0.09);
  --line-h:  rgba(255,255,255,0.18);
  --text:    #ededed;
  --text-2:  #888;
  --text-3:  #444;
  --accent:  #c9a96e;

  --display: 'Inter Tight', sans-serif;
  --body:    'Inter', sans-serif;

  --nav-h: 60px;
  --pad:   48px;
  --max-w: 1200px;
}

/* ── Base ────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Layout ──────────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Scroll reveal ───────────────────────────────────────────── */
.r {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.r.on { opacity: 1; transform: none; }
.r[data-d="1"] { transition-delay: 0.06s; }
.r[data-d="2"] { transition-delay: 0.12s; }
.r[data-d="3"] { transition-delay: 0.18s; }
.r[data-d="4"] { transition-delay: 0.24s; }
.r[data-d="5"] { transition-delay: 0.30s; }

/* ── Section header ──────────────────────────────────────────── */
.sec-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 0;
}
.sec-num  { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-3); }
.sec-name { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }

/* ═══════════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  /* starts hidden for cinematic intro */
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s, border-color 0.3s;
}
#nav.visible { opacity: 1; transform: none; }
#nav.scrolled {
  background: rgba(13,13,14,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  transition: color 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   CINEMATIC INTRO STATES
   Everything below is invisible on load.
   JS adds .visible when triggered.
════════════════════════════════════════════════════════════════ */

/* Hero text line 1 */
.hero-top {
  opacity: 0;
  transform: scale(1.04) translateY(14px);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
              transform 1s cubic-bezier(0.16,1,0.3,1);
}
.hero-top.visible { opacity: 1; transform: none; }

/* Video clip text */
.vt-wrap {
  opacity: 0;
  transform: scale(1.03) translateY(14px);
  transition: opacity 1.05s cubic-bezier(0.16,1,0.3,1) 0.42s,
              transform 1.05s cubic-bezier(0.16,1,0.3,1) 0.42s;
}
.vt-wrap.visible { opacity: 1; transform: none; }

/* Eyebrow — hidden until scroll */
.hero-eyebrow {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-eyebrow.visible { opacity: 1; transform: none; }

/* Footer row — hidden until scroll */
.hero-foot {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}
.hero-foot.visible { opacity: 1; transform: none; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.scroll-hint.visible { opacity: 1; }
.scroll-hint.hiding  { opacity: 0; transition: opacity 0.35s ease; }

.scroll-hint-label {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.scroll-hint-bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  transform-origin: top;
  animation: hint-drop 1.8s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes hint-drop {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  70%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) var(--pad) 64px;
  gap: 0;
}

/* Hero inner column layout */
#hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Eyebrow */
.hero-eyebrow {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }

/* Top headline */
.hero-top {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(54px, 6.5vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

/* ── VIDEO CLIP TEXT ─────────────────────────────────────────
   The container is isolated. The video fills it.
   The text has white color + dark bg + mix-blend-mode:multiply.
   Result: video shows through the letter shapes (B&W).
──────────────────────────────────────────────────────────── */
.vt-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 40px;
}

.vt-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  pointer-events: none;
}

.vt-text {
  display: block;
  position: relative;
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(80px, 11.5vw, 172px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  /* Blend trick: dark bg hides video outside letters; white x video = video inside */
  background-color: #0d0d0e;
  color: #ffffff;
  mix-blend-mode: multiply;
  padding: 0.02em 0.01em;
}

/* Bottom row: tagline + CTAs */
.hero-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-tagline {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
  font-weight: 300;
  max-width: 320px;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 2px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 500;
  transition: opacity 0.2s, color 0.2s, border-color 0.2s;
}
.btn-pill.fill  { background: var(--text); color: var(--bg); }
.btn-pill.fill:hover { opacity: 0.82; }
.btn-pill.ghost { border: 1px solid var(--line); color: var(--text-2); }
.btn-pill.ghost:hover { border-color: var(--line-h); color: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════════════ */
#about { padding: 120px 0 100px; position: relative; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }

.about-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.about-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.22);
}
.about-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(11,11,12,0.65) 100%),
    linear-gradient(to bottom, #0b0b0c 0%, transparent 18%, transparent 82%, #0b0b0c 100%);
}
#about .wrap { position: relative; z-index: 1; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 56px;
}

.about-display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.about-display em { font-style: italic; font-weight: 800; color: var(--text-2); }

.about-right { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.about-right p { font-size: 14.5px; line-height: 1.8; color: var(--text-2); font-weight: 300; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat { padding-right: 20px; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-n {
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-l { font-size: 11px; color: var(--text-3); margin-top: 5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════
   VENTURES
════════════════════════════════════════════════════════════════ */
#ventures { padding-bottom: 100px; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }

.v-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
  position: relative;
  transition: background 0.2s;
}
.v-row::before {
  content: '';
  position: absolute;
  inset: 0 calc(-1 * var(--pad));
  background: var(--bg-row);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.v-row:hover::before { opacity: 1; }

.v-num  { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; padding-top: 4px; }
.v-body { display: flex; flex-direction: column; gap: 8px; }
.v-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}
.v-desc { font-size: 13.5px; line-height: 1.7; color: var(--text-2); font-weight: 300; max-width: 560px; }
.v-tag  { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); padding-top: 5px; text-align: right; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════
   WORK
════════════════════════════════════════════════════════════════ */
#work { padding-bottom: 100px; }

.w-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.2s;
}
.w-list:hover .w-row { opacity: 0.3; }
.w-list:hover .w-row:hover { opacity: 1; }

.w-num  { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; }
.w-info { display: flex; flex-direction: column; gap: 3px; }
.w-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(17px, 1.8vw, 24px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}
.w-meta { font-size: 12.5px; color: var(--text-3); font-weight: 300; margin-top: 3px; }
.w-year { font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: 0.06em; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════════ */
#contact { padding-bottom: 80px; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }

.contact-inner {
  padding: 80px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.contact-display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 86px);
  line-height: 0.93;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.contact-display em { font-style: italic; font-weight: 800; color: var(--text-2); }

.contact-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.c-btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 13px;
  transition: all 0.2s;
}
.c-btn.fill    { background: var(--text); color: var(--bg); font-weight: 500; }
.c-btn.fill:hover { opacity: 0.84; }
.c-btn.outline { border: 1px solid var(--line); color: var(--text-2); }
.c-btn.outline:hover { border-color: var(--line-h); color: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--line);
  padding: 24px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
}
footer span { font-size: 11.5px; color: var(--text-3); font-family: var(--display); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --pad: 24px; }

  #hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-top { font-size: clamp(44px, 8vw, 72px); }
  .vt-text  { font-size: clamp(58px, 12vw, 110px); }
  .hero-foot { flex-direction: column; gap: 20px; }
  .hero-btns { flex-direction: row; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }

  .v-row { grid-template-columns: 36px 1fr; }
  .v-tag { display: none; }
  .w-row { grid-template-columns: 36px 1fr auto; }

  .nav-links { display: none; }
  footer { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 540px) {
  .vt-text  { font-size: 14vw; }
  .hero-top { font-size: 11vw; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:last-child { padding-left: 0; border-left: none; border-top: 1px solid var(--line); padding-top: 20px; grid-column: 1 / -1; margin-top: 4px; }
  .contact-display { font-size: 11vw; }
  .about-display   { font-size: 9vw; }
}
