:root {
  --bg: #f5f2ef;
  --bg: oklch(0.96 0.02 85);
  --bg-2: #fdfcfb;
  --bg-2: oklch(0.98 0.01 85);
  --ink: #3f3c3a;
  --ink: oklch(0.24 0.02 50);
  --muted: #7c746e;
  --muted: oklch(0.48 0.03 60);
  --accent: #c4683a;
  --accent: oklch(0.58 0.19 30);
  --hair: rgba(63, 60, 58, 0.1);
  --line: rgba(196, 104, 58, 0.2);
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .marquee {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* HERO */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  will-change: transform;
  z-index: 1;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 40%);
  z-index: 2;
}

.hero__halo {
  position: absolute;
  bottom: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 60vh;
  background: radial-gradient(circle at center, rgba(38, 36, 35, 0.8) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.hero__overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  color: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin-bottom: 2rem;
}

.hero__scroll-cue {
  font-size: 1.5rem;
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* THESIS */
.thesis {
  padding: 10rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.thesis h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--ink);
  text-transform: none;
}

.thesis .lede {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* FEATURE BLOCKS */
.feature {
  display: grid;
  gap: 4rem;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.feature--1 {
  grid-template-columns: 1fr 0.82fr;
}

.feature--2 {
  grid-template-columns: 0.82fr 1fr;
}

.feature__index {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 1.5rem;
}

.feature h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.feature p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
}

.feature__visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.caption {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 1rem;
}

.caption b {
  color: var(--accent);
  font-weight: 500;
}

/* GALLERY BAND */
.gallery {
  padding: 6rem 0;
  overflow: hidden;
}

.band {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr 0.72fr;
  gap: 1rem;
  height: 60vh;
  min-height: 400px;
  width: 100%;
}

.band__cell {
  height: 100%;
  overflow: hidden;
}

.band__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery .caption {
  text-align: center;
  padding: 1.5rem 2rem;
}

/* ROWS */
.rows {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--hair);
  align-items: center;
}

.row__index {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.row__title {
  font-size: 1.5rem;
}

.row__desc {
  color: var(--muted);
  line-height: 1.5;
}

/* CTA */
.cta {
  text-align: center;
  padding: 8rem 2rem 10rem;
}

.cta h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 1.25rem 3rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.125rem;
  border-radius: 99px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  position: relative;
  padding: 4rem 2rem 2rem;
  overflow: hidden;
  background: var(--bg-2);
}

.waterline {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: wave 6s linear infinite;
}

@keyframes wave {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.marquee {
  white-space: nowrap;
  font-size: clamp(4rem, 10vw, 10rem);
  -webkit-text-stroke: 1px var(--ink);
  color: transparent;
  padding: 2rem 0;
}

.marquee span {
  display: inline-block;
  padding-right: 2rem;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--ink);
  border-top: 1px solid var(--hair);
  padding-top: 2rem;
  margin-top: 2rem;
}

.copy {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .waterline,
  .marquee span {
    animation: none;
  }
}

/* MOBILE */
@media (max-width: 860px) {
  .feature--1,
  .feature--2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .feature--2 .feature__visual {
    order: -1;
  }

  .band {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .band__cell {
    height: 40vh;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
  
  .row__index {
    margin-bottom: 0.5rem;
  }
  
  .meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .copy {
    text-align: left;
  }
}