/* Intro */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; transition: opacity .5s;
}
.intro .vf-corner { width: 44px; height: 44px; opacity: 0; animation: cornerIn .5s var(--ease) forwards; }
.intro .tl { top: 24px; left: 24px; } .intro .tr { top: 24px; right: 24px; }
.intro .bl { bottom: 24px; left: 24px; } .intro .br { bottom: 24px; right: 24px; }
@keyframes cornerIn { from { opacity: 0; transform: scale(1.4); } to { opacity: 1; transform: none; } }
.intro__read { position: absolute; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; opacity: 0; animation: fadeIn .4s .3s forwards; }
.intro__read--top { top: 36px; } .intro__read--bottom { bottom: 36px; }
@keyframes fadeIn { to { opacity: 1; } }
.intro__skip { position: absolute; right: 80px; bottom: 30px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.intro.is-done { opacity: 0; pointer-events: none; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; color: var(--paper); background: var(--ink);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; clip-path: inset(50% 50% 50% 50%); transition: clip-path 1s var(--ease); }
body.is-revealed .hero__media { clip-path: inset(0 0 0 0); }
.hero__media video, .camb__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__fallback {
  width: 100%; height: 100%;
  background: radial-gradient(60% 50% at 30% 40%, #5a2b1f, transparent 70%),
              radial-gradient(50% 60% at 75% 65%, #1d3b4a, transparent 70%), #121212;
  background-size: 160% 160%; animation: drift 14s ease-in-out infinite alternate;
}
.hero__fallback--alt { background: radial-gradient(70% 70% at 60% 40%, #6b4a1c, transparent 70%), #151515; background-size: 160% 160%; }
@keyframes drift { to { background-position: 100% 100%; } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 55%, transparent 100%), linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.85) 100%); }
@media (max-width: 640px) { .hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.8) 70%, rgba(0,0,0,.9) 100%); } }

.hero__vf { position: absolute; inset: 72px var(--gutter) 72px; pointer-events: none; color: rgba(242,239,232,.7); }
.hero__grid { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.hero__grid i { position: absolute; background: rgba(242,239,232,.14); }
.hero__grid i:nth-child(1) { left: 33.33%; top: 0; bottom: 0; width: 1px; }
.hero__grid i:nth-child(2) { left: 66.66%; top: 0; bottom: 0; width: 1px; }
.hero__grid i:nth-child(3) { top: 33.33%; left: 0; right: 0; height: 1px; }
.hero__grid i:nth-child(4) { top: 66.66%; left: 0; right: 0; height: 1px; }
.hero.is-pointer .hero__grid { opacity: 1; }

.hero__inner {
  flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: 120px calc(var(--gutter) + 24px) 32px;
}
.hero__copy { max-width: 820px; min-width: 0; }
.hero__loc { margin: 0 0 20px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.hero__title { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: .01em; font-size: clamp(48px, 7.5vw, 104px); }
.hero__line { display: block; opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s var(--ease); }
.hero__line--outline { margin-top: 14px; font-family: var(--font-body); font-weight: 500; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: .32em; line-height: 1.3; color: rgba(242,239,232,.78); transition-delay: .12s; }

body.is-revealed .hero__line { opacity: 1; transform: none; }
.hero__sub { margin: 22px 0 0; max-width: 520px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.45; color: rgba(242,239,232,.82); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.camb { margin: 0; flex-shrink: 0; width: 260px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; position: relative; border: 1px solid rgba(242,239,232,.3); }
.camb__media { position: absolute; inset: 0; }
.camb figcaption { position: absolute; left: 10px; top: 10px; font-family: var(--font-mono); font-size: 11px; display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.5); padding: 4px 8px; border-radius: 4px; }

.hero__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px var(--gutter) 22px; border-top: 1px solid rgba(242,239,232,.2); font-size: 14px;
}
.hero__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero__socials { display: flex; flex-wrap: wrap; gap: 18px; }
.hero__socials a:hover, .menu__socials a:hover { color: var(--signal); }
.hero__socials--mobile { display: none; }
.hero__scroll { font-family: var(--font-mono); font-size: 12px; }

/* Reel modal */
.reel { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 16px; }
.reel[hidden] { display: none; }
.reel__frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; display: grid; place-items: center; color: var(--paper); font-family: var(--font-mono); }
.reel__frame video, .reel__frame iframe { width: 100%; height: 100%; border: 0; }
.reel__close { position: absolute; top: 12px; right: 16px; font-size: 36px; color: var(--paper); width: 44px; height: 44px; }

@media (max-width: 900px) {
  .camb { display: none; }
}
@media (max-width: 640px) {
  .hero__inner { justify-content: center; text-align: center; padding: 96px 16px 28px; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__ctas { justify-content: center; }
  .hero__socials--mobile { display: flex; justify-content: center; margin-top: 22px; font-size: 14px; }
  .hero__bar .hero__socials { display: none; }
  .hero__vf { inset: 64px 12px 64px; }
  .hero__vf .vf-corner { width: 18px; height: 18px; }
  .hero__line--outline { letter-spacing: .24em; }

  .intro__skip { right: 50%; transform: translateX(50%); bottom: 70px; }
}

/* Parallax: JS writes transforms; these just hint the compositor */
.hero__media, .hero__copy, .camb { will-change: transform; }
.hero__copy { will-change: transform, opacity; }
.camb { transform-style: preserve-3d; transition: box-shadow .3s; }
.hero__vf .vf-corner { transition: transform .1s linear; }
.hero__vf .tl { transform: translate(var(--vf, 0px), var(--vf, 0px)); }
.hero__vf .tr { transform: translate(calc(var(--vf, 0px) * -1), var(--vf, 0px)); }
.hero__vf .bl { transform: translate(var(--vf, 0px), calc(var(--vf, 0px) * -1)); }
.hero__vf .br { transform: translate(calc(var(--vf, 0px) * -1), calc(var(--vf, 0px) * -1)); }

/* Location tag: brackets open to reveal text, close when scrolled past */
.hero__loc { display: inline-flex; align-items: center; }
.loc__br { display: inline-block; transition: transform .7s var(--ease); }
.loc__text {
  display: inline-grid; grid-template-columns: 0fr; overflow: hidden; white-space: nowrap;
  transition: grid-template-columns .7s var(--ease), padding .7s var(--ease);
}
.loc__text > span { min-width: 0; opacity: 0; transition: opacity .35s; }
.hero__loc.is-open .loc__text { grid-template-columns: 1fr; padding: 0 .6em; }
.hero__loc.is-open .loc__text > span { opacity: 1; transition-delay: .3s; }
