:root {
  --bg: #f4efe9;
  --bg: oklch(0.97 0.012 90);
  --ink: #3c3531;
  --ink: oklch(0.23 0.02 60);
  --muted: #7a6e67;
  --muted: oklch(0.47 0.03 65);
  --accent: #b25d31;
  --accent: oklch(0.55 0.16 40);
  --bg-2: #f9f6f3;
  --bg-2: oklch(0.98 0.005 90);
  --hair: rgba(60, 53, 49, 0.1);
  --line: rgba(178, 93, 49, 0.2);
  --font-display: 'Fraunces', 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, .eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
}

b {
  color: var(--accent);
  font-weight: inherit;
  font-style: italic;
}

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

.section {
  padding: 8vw 4vw;
}

.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 4vw;
}

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

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

.hero__halo {
  position: absolute;
  bottom: -10vh;
  left: 0;
  width: 100%;
  height: 60vh;
  background: radial-gradient(ellipse at bottom, var(--bg) 0%, transparent 70%);
  opacity: 0.95;
  pointer-events: none;
  filter: blur(20px);
}

.hero__overlay {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.eyebrow {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--accent);
  margin-bottom: 1rem;
  font-style: italic;
}

.hero__overlay h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.thesis {
  display: flex;
  justify-content: center;
  text-align: center;
}

.thesis__inner {
  max-width: 900px;
}

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

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

.film-band {
  padding: 0 clamp(12px, 2vw, 28px);
}

.film {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  max-height: 88svh;
  width: 100%;
  background: var(--bg-2);
}

.film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.film figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: linear-gradient(to top, rgba(35,30,28,0.7) 0%, transparent 100%);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 860px) {
  .film {
    aspect-ratio: 4 / 5;
  }
}

.feature {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 6vw;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

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

.feature__text {
  padding: 2vw 0;
}

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

.feature h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.feature p {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
}

.feature__visual {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
}

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

.feature__visual figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

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

.gallery {
  padding: 8vw 0;
  width: 100%;
  overflow: hidden;
}

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

.gallery__cell {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-2);
}

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

.gallery__caption {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2vw;
  padding: 0 2vw;
}

@media (max-width: 860px) {
  .gallery__strip {
    grid-template-columns: 1fr;
    height: auto;
    gap: 4vw;
  }
  .gallery__cell {
    aspect-ratio: 1;
  }
}

.rows {
  max-width: 1000px;
  margin: 0 auto;
}

.row {
  display: grid;
  grid-template-columns: 4rem 1fr 2fr;
  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__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.25rem;
}

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

.row__desc {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--muted);
}

@media (max-width: 860px) {
  .row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 2rem 0;
  }
  .row__num {
    margin-bottom: 0.5rem;
    display: block;
  }
}

.cta {
  text-align: center;
  padding: 12vw 4vw;
}

.cta h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
  border-radius: 4rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.footer {
  position: relative;
  padding-top: 4vw;
  background: var(--bg-2);
  overflow: hidden;
}

.waterline {
  width: 100%;
  height: 1px;
  background: var(--hair);
  margin-bottom: 4vw;
}

.marquee {
  white-space: nowrap;
  font-size: clamp(4rem, 12vw, 10rem);
  font-family: var(--font-display);
  -webkit-text-stroke: 1px var(--ink);
  color: transparent;
  opacity: 0.4;
  text-transform: uppercase;
}

.meta {
  padding: 4vw;
  border-top: 1px solid var(--hair);
  margin-top: 4vw;
}

.meta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .waterline {
    transform-origin: left;
    animation: waterlineAnim 10s linear infinite;
  }
  .marquee span {
    display: inline-block;
    animation: marqueeAnim 30s linear infinite;
  }
  @keyframes waterlineAnim {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
  }
  @keyframes marqueeAnim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
}
