*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
img, video { max-width: 100%; display: block; }

:root {
  --bg: #0d0d0d;
  --text: #e8e4dc;
  --hero-dim: 0.55; /* collage darkness: 0 = none, 1 = black */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; }
@media (min-width: 900px) { .hero { height: 100vh; height: 100svh; } }

/* Collage: 3 columns on mobile (6 rows), 6 columns x 3 rows filling the screen on desktop */
.hero-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--bg);
  position: relative;
}
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--hero-dim)); pointer-events: none; }
.hero-media img { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: 50% 50%; }
@media (min-width: 900px) {
  .hero-media { height: 100%; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 1fr); }
  .hero-media img { height: 100%; aspect-ratio: auto; min-height: 0; }
}
.scroll-cue {
  position: absolute;
  left: 0; right: 0; top: calc(100svh - 5.5rem); height: 5.5rem; padding-bottom: 1.5rem;
  display: flex; align-items: flex-end; justify-content: center;
  font-size: .7rem;
  letter-spacing: .25em;
  background: linear-gradient(to top, rgba(13,13,13,.8), transparent);
  pointer-events: none;
  z-index: 2;
}
@media (min-width: 900px) { .scroll-cue { top: auto; bottom: 0; } }

/* Logo */
.hero-logo {
  position: absolute;
  top: 50svh;
  left: 50%;
  width: 70vw;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: logo-in 1.6s ease both;
}
@media (min-width: 900px) { .hero-logo { top: 50%; width: 35vw; } }
@keyframes logo-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }

/* Text */
.text { padding: 8rem 1.5rem; }
.column { max-width: 34rem; margin: 0 auto; }
.column h2 { font-size: clamp(2.2rem, 7vw, 3.5rem); margin-bottom: 2.5rem; }
.column p + p { margin-top: 1.5rem; }

/* Scroll reveal: only hidden once JS has confirmed motion is allowed */
.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.motion .reveal.is-visible { opacity: 1; transform: none; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
