:root {
  --bg: #282725;
  --bg: oklch(0.17 0.01 60);
  --bg-2: #353432;
  --bg-2: oklch(0.22 0.01 60);
  --ink: #f4f3ef;
  --ink: oklch(0.96 0.01 60);
  --muted: #9b9894;
  --muted: oklch(0.62 0.02 60);
  --accent: #c88258;
  --accent: oklch(0.74 0.17 55);
  --hair: rgba(244, 243, 239, 0.1);
  --hair: color-mix(in srgb, var(--ink) 10%, transparent);
  --line: rgba(200, 130, 88, 0.2);
  --line: color-mix(in srgb, var(--accent) 20%, transparent);

  --font-display: 'Playfair Display', 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, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  font-weight: 400;
}

img, video {
  display: block;
  max-width: 100%;
}

b {
  color: var(--accent);
  font-weight: normal;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: opacity, transform;
}

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

/* HERO */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

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

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

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%);
  z-index: 1;
}

.hero__halo {
  position: absolute;
  bottom: -10vh;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, var(--bg) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 2;
  pointer-events: none;
}

.hero__overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 4rem;
  text-align: center;
}

.hero__eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ink), transparent);
  z-index: 3;
}

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

.thesis__statement {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.thesis__lede {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* FEATURE GRIDS */
.feature {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 6rem;
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

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

.feature__content {
  max-width: 480px;
}

.feature--right .feature__content {
  justify-self: end;
}

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

.feature__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

.feature__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature__image-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  will-change: transform;
}

.feature__image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.feature__caption {
  font-size: 0.875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* GALLERY BAND */
.gallery {
  padding: 8rem 0;
  text-align: center;
}

.strip {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr 0.72fr;
  gap: 1rem;
  height: 60vh;
  width: 100%;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.strip__cell {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

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

.gallery__caption {
  font-size: 0.875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.row {
  display: flex;
  gap: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--hair);
}

.row__number {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.5rem;
  width: 3rem;
}

.row__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.row__heading {
  font-size: 1.5rem;
}

.row__text {
  color: var(--muted);
  line-height: 1.6;
}

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

.cta__inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta__heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 4rem;
}

.cta__button {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.cta__button:hover {
  background: var(--ink);
}

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

.footer__waterline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

@media (prefers-reduced-motion: no-preference) {
  .footer__waterline {
    animation: waterline 4s infinite linear;
  }
}

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

.footer__marquee-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 4rem;
  white-space: nowrap;
}

.footer__marquee {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 12rem);
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--ink);
  color: transparent;
  opacity: 0.2;
}

@media (prefers-reduced-motion: no-preference) {
  .footer__marquee {
    animation: marquee 20s infinite linear;
  }
}

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

.footer__marquee span {
  padding-right: 2rem;
}

.footer__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .feature, .feature--left {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 2rem;
  }
  
  .feature--left .feature__visual {
    order: -1;
  }
  
  .strip {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    height: 120vh;
  }
  
  .row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}
