* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --ink: #171310;
  --muted: #766d63;
  --soft: #fffaf3;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.site-header {
  min-height: 36vh;
  padding: clamp(1.4rem, 4vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.eyebrow,
.credit,
.hint {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
}

h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(3.4rem, 9vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  max-width: 900px;
  font-weight: 700;
}

.credit {
  max-width: 260px;
  text-align: right;
}

.carousel-wrap {
  background: #f1ebe1;
  padding: 0 clamp(1rem, 4vw, 4rem) 2rem;
}

.carousel {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: clamp(1rem, 4vw, 4rem);
  padding: 1rem 0 2rem;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
  height: 10px;
}

.carousel::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.08);
}

.carousel::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.35);
  border-radius: 999px;
}

.slide {
  margin: 0;
  flex: 0 0 auto;
  width: min(78vw, 980px);
  height: min(72vh, 760px);
  scroll-snap-align: start;
  background: var(--soft);
  padding: clamp(0.5rem, 1vw, 0.85rem);
  box-shadow: 0 24px 70px rgba(40, 25, 10, 0.14);
}

.slide:nth-child(3n) {
  width: min(55vw, 680px);
}

.slide:nth-child(4n) {
  width: min(68vw, 820px);
}

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

/* Let portrait images breathe instead of being brutally cropped */
.slide:nth-child(1),
.slide:nth-child(4),
.slide:nth-child(5),
.slide:nth-child(7),
.slide:nth-child(10),
.slide:nth-child(21),
.slide:nth-child(24),
.slide:nth-child(25),
.slide:nth-child(26),
.slide:nth-child(27),
.slide:nth-child(28),
.slide:nth-child(29),
.slide:nth-child(37) {
  width: min(48vw, 560px);
}

.hint {
  text-align: center;
  padding-bottom: 1rem;
}

.stream {
  padding: 4rem clamp(1.2rem, 8vw, 10rem) 8rem;
}

.stream-inner {
  max-width: 980px;
  margin: 0 auto;
  columns: 2 320px;
  column-gap: clamp(2rem, 7vw, 7rem);
}

.stream p {
  break-inside: avoid;
  margin: 0 0 1.35rem;
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  line-height: 1.28;
  letter-spacing: -0.018em;
}

.stream p:first-child,
.stream p:nth-child(8),
.stream p:last-child {
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.16;
}

@media (max-width: 760px) {
  .site-header {
    display: block;
    min-height: auto;
    padding: 2rem 1.1rem 1rem;
  }

  .credit {
    text-align: left;
    margin-top: 1rem;
  }

  .carousel-wrap {
  background: #f1ebe1;
    padding: 0 1rem 1.2rem;
  }

  .slide,
  .slide:nth-child(3n),
  .slide:nth-child(4n),
  .slide:nth-child(1),
  .slide:nth-child(4),
  .slide:nth-child(5),
  .slide:nth-child(7),
  .slide:nth-child(10),
  .slide:nth-child(21),
  .slide:nth-child(24),
  .slide:nth-child(25),
  .slide:nth-child(26),
  .slide:nth-child(27),
  .slide:nth-child(28),
  .slide:nth-child(29),
  .slide:nth-child(37) {
    width: 84vw;
    height: 62vh;
  }

  .stream {
    padding: 3rem 1.2rem 5rem;
  }

  .stream-inner {
    columns: 1;
  }

  .stream p {
    font-size: 1.2rem;
  }
}


/* Updated manifesto text arrangement */
.manifesto-text {
  background: #ffffff;
  padding: 4.5rem clamp(1.2rem, 7vw, 8rem) 8rem;
}

.manifesto-inner {
  max-width: 940px;
  margin: 0 auto;
}

.manifesto-heading {
  margin: 0 0 4rem;
}

.manifesto-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.manifesto-heading p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  letter-spacing: 0.02em;
}

.chapter {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  column-gap: 1.4rem;
  padding: 3.2rem 0;
  border-top: 1px solid rgba(20, 17, 15, 0.14);
}

.chapter .number {
  grid-row: span 40;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.chapter h3 {
  margin: 0 0 1.7rem;
  max-width: 720px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  line-height: 1.25;
}

.chapter p {
  max-width: 720px;
  margin: 0 0 0.9rem;
  font-size: clamp(1.05rem, 1.45vw, 1.34rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.chapter p:not(.number) + p:not(.number) {
  margin-top: 0.05rem;
}

@media (max-width: 760px) {
  .manifesto-text {
    padding: 3rem 1.2rem 5rem;
  }

  .chapter {
    grid-template-columns: 1fr;
    padding: 2.5rem 0;
  }

  .chapter .number {
    grid-row: auto;
    margin-bottom: 0.6rem;
  }

  .chapter p {
    font-size: 1.08rem;
  }
}


/* Updated 5: remove repeated title and tighten manifesto start */
.transition-line {
  max-width: 720px;
  margin: 0 auto 2.8rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid rgba(20, 17, 15, 0.14);
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  font-style: italic;
  text-align: center;
}

.manifesto-text {
  background: #ffffff;
  padding-top: 3.5rem;
}

.manifesto-inner {
  max-width: 1040px;
}

.chapter:first-of-type {
  border-top: 0;
  padding-top: 1.5rem;
}

.chapter p {
  max-width: 780px;
}

.chapter h3 {
  max-width: 820px;
}

@media (max-width: 760px) {
  .transition-line {
    text-align: left;
    margin-bottom: 1.8rem;
  }

  .manifesto-text {
    padding-top: 2.5rem;
  }
}
