:root {
  --accent: #c48950;
  --accent: oklch(0.76 0.09 80);
  --bg: #2b2624;
  --bg: oklch(0.18 0.012 85);
  --bg-2: #36302e;
  --bg-2: oklch(0.24 0.012 85);
  --ink: #f0ede6;
  --ink: oklch(0.94 0.018 90);
  --muted: #a39d96;
  --muted: oklch(0.64 0.018 85);
  --hair: rgba(240, 237, 230, 0.1);
  --line: rgba(196, 137, 80, 0.2);
  
  --font-display: "DM Serif Display", serif;
  --font-body: "Inter", system-ui, 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;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 400;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
}

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

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

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

.hero__media video,
.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 60%);
  z-index: 1;
  pointer-events: none;
}

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

.hero__overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem 5vw 10vh;
  width: 100%;
}

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

.hero h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 1;
  color: var(--ink);
}

/* THESIS */
.thesis {
  padding: 15vh 5vw;
  display: flex;
  justify-content: center;
}

.thesis__container {
  max-width: 900px;
  text-align: center;
}

.thesis__headline {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--ink);
}

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

/* FEATURES */
.feature {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 5vw;
  padding: 10vh 5vw;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

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

.feature__text {
  padding: 2rem 0;
}

.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(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

.feature__caption {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--ink) !important;
  text-transform: uppercase;
}

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

.feature__visual {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-2);
}

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

/* GALLERY BAND */
.band {
  padding: 15vh 0;
  overflow: hidden;
}

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

.strip__cell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-2);
}

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

.band__caption {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-transform: uppercase;
}

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

/* NUMBERED ROWS */
.rows {
  padding: 10vh 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.rows__container {
  display: flex;
  flex-direction: column;
}

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

.row:last-child {
  border-bottom: 1px solid var(--hair);
}

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

.row__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink);
}

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

/* CTA */
.cta {
  padding: 20vh 5vw;
  text-align: center;
}

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

.cta__headline {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 3rem;
  color: var(--ink);
}

.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  padding: 1.25rem 3rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta__button:hover {
  transform: translateY(-2px);
  background: var(--ink);
}

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

.footer__waterline {
  width: 100%;
  height: 1px;
  background: var(--line);
  position: absolute;
  top: 0;
  left: 0;
}

.footer__marquee {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--hair);
  padding: 4rem 0;
  user-select: none;
}

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

.footer__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem 5vw 4rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  border-bottom: 1px solid var(--hair);
}

.footer__copyright {
  padding: 2rem 5vw;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .footer__waterline {
    animation: waterline 3s ease-in-out infinite alternate;
  }
  
  .footer__marquee span {
    animation: marquee 20s linear infinite;
  }
}

@keyframes waterline {
  0% { opacity: 0.3; transform: scaleX(0.95); }
  100% { opacity: 1; transform: scaleX(1); }
}

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

/* RESPONSIVE */
@media (max-width: 860px) {
  .feature, .feature--mirrored {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .feature--mirrored .feature__visual {
    order: -1;
  }
  
  .strip {
    grid-template-columns: 1fr;
    height: auto;
    gap: 1rem;
  }
  
  .strip__cell {
    aspect-ratio: 16/9;
  }
  
  .row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
  
  .row__meta {
    margin-bottom: 0.5rem;
  }
}
