:root {
  --ink: #10251f;
  --ink-soft: rgba(16, 37, 31, 0.68);
  --forest: #13392e;
  --forest-deep: #071713;
  --jade: #28b8a6;
  --aqua: #9ddfd0;
  --ivory: #f5f1e8;
  --paper: #f2eee6;
  --stone: #7b8078;
  --wood: #8b5d38;
  --red: #a84538;
  --serif: "Cormorant Garamond", "Bodoni MT", "Didot", serif;
  --sans: "Montserrat", "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: var(--jade);
  color: var(--forest-deep);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.18);
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--ivory), var(--jade));
  transform: scaleX(var(--scroll, 0));
  transform-origin: left;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(22px, 4vw, 64px);
  color: var(--ivory);
  mix-blend-mode: difference;
}

.brand {
  display: grid;
  gap: 4px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.brand span {
  font-size: 13px;
  font-weight: 400;
}

.brand small {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .36em;
}

.site-nav nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
}

.site-nav nav a {
  position: relative;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.site-nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}

.site-nav nav a:hover::after,
.site-nav nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
  background: var(--forest-deep);
}

.hero-image {
  position: absolute;
  inset: -4vh 0 auto 0;
  height: 108%;
  object-fit: cover;
  object-position: center;
  transform: translateY(calc(var(--scroll, 0) * 80px)) scale(1.035);
  filter: saturate(.94) contrast(1.04);
  z-index: -3;
}

.hero-veils {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 42%, rgba(40, 184, 166, .18), transparent 28%),
    linear-gradient(90deg, rgba(6, 20, 16, .88) 0%, rgba(6, 20, 16, .48) 36%, rgba(6, 20, 16, .12) 68%),
    linear-gradient(180deg, rgba(6, 20, 16, .34), rgba(6, 20, 16, .76));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.hero-copy {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 18vh clamp(24px, 7vw, 112px) 12vh;
}

.kicker,
.eyebrow {
  margin: 0;
  color: rgba(245, 241, 232, .78);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(78px, 15vw, 216px);
  font-weight: 300;
  line-height: .76;
  letter-spacing: .018em;
  text-transform: uppercase;
}

.hero-subtitle {
  width: min(760px, 82vw);
  margin: 28px 0 0;
  font-size: clamp(13px, 1.4vw, 20px);
  font-weight: 200;
  letter-spacing: .46em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero-line {
  margin: 18px 0 0;
  color: rgba(245, 241, 232, .72);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 300;
}

.hero-side {
  position: absolute;
  right: clamp(22px, 4vw, 64px);
  top: 22vh;
  display: grid;
  gap: 16px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .34em;
  color: rgba(245, 241, 232, .76);
}

.hero-side span:first-child {
  font-family: "Noto Sans SC", sans-serif;
}

.scroll-cue {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: clamp(24px, 5vw, 66px);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .32em;
}

.scroll-cue span {
  width: 86px;
  height: 1px;
  background: rgba(245, 241, 232, .7);
  overflow: hidden;
}

.scroll-cue span::after {
  content: "";
  display: block;
  width: 30%;
  height: 100%;
  background: var(--jade);
  animation: lineTravel 2.4s var(--ease) infinite;
}

@keyframes lineTravel {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}

.field-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(88px, 13vw, 180px) clamp(22px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(19, 57, 46, .09), transparent 44%),
    var(--paper);
}

.section-number {
  position: absolute;
  top: 9vw;
  left: 5vw;
  color: rgba(16, 37, 31, .08);
  font-family: var(--serif);
  font-size: clamp(130px, 22vw, 300px);
  font-weight: 300;
  line-height: .8;
  pointer-events: none;
}

.field-image {
  position: relative;
  z-index: 1;
  align-self: start;
}

.field-image::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 38%;
  height: 44%;
  border: 1px solid rgba(16, 37, 31, .25);
  z-index: -1;
}

.field-image img {
  height: min(880px, 84vh);
  object-fit: cover;
  object-position: center;
}

.field-copy {
  align-self: center;
  max-width: 560px;
}

.field-copy .eyebrow,
.chapter-head p,
.journal-intro .eyebrow,
.canyon-copy .eyebrow {
  color: var(--red);
}

.field-copy h2,
.chapter-head h2,
.stillness-panel h2,
.canyon-copy h2,
.journal-intro h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 118px);
  font-weight: 300;
  line-height: .86;
  letter-spacing: .01em;
}

.body-copy,
.stillness-panel p {
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.9;
}

.meta-grid {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px 24px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(16, 37, 31, .18);
}

.meta-grid span {
  color: rgba(16, 37, 31, .45);
  font-size: 10px;
  letter-spacing: .32em;
}

.meta-grid strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
}

.water-section {
  padding: clamp(86px, 12vw, 168px) clamp(20px, 5vw, 72px);
  background: var(--forest-deep);
  color: var(--ivory);
}

.chapter-head {
  display: grid;
  grid-template-columns: .38fr minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(54px, 8vw, 112px);
}

.chapter-head p {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .44em;
}

.chapter-head h2 {
  max-width: 1040px;
}

.water-layout {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(260px, .52fr);
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
}

figure {
  margin: 0;
}

.water-main img {
  height: min(920px, 92vh);
  object-fit: cover;
  object-position: center;
}

.water-secondary {
  margin-top: 18vh;
}

.water-secondary img {
  height: min(620px, 68vh);
  object-fit: cover;
  object-position: center;
}

figcaption {
  margin-top: 14px;
  color: rgba(245, 241, 232, .62);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.stillness-section {
  position: relative;
  min-height: 116vh;
  display: grid;
  align-items: end;
  padding: clamp(28px, 5vw, 72px);
  color: var(--ivory);
  overflow: hidden;
  background: var(--forest-deep);
}

.stillness-bg {
  position: absolute;
  inset: 0;
  height: 116%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) contrast(1.02);
  transform: translateY(calc((var(--scroll, 0) - .42) * -80px));
}

.stillness-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 23, 19, .1), rgba(7, 23, 19, .8)),
    linear-gradient(90deg, rgba(7, 23, 19, .7), transparent 56%);
}

.stillness-panel {
  position: relative;
  z-index: 2;
  width: min(560px, 92vw);
  padding: clamp(26px, 4vw, 54px) 0;
  margin-left: clamp(0px, 7vw, 100px);
}

.stillness-panel h2 {
  font-size: clamp(58px, 8vw, 124px);
}

.canyon-section {
  padding: clamp(88px, 13vw, 180px) clamp(22px, 5vw, 72px);
  background: var(--ivory);
}

.canyon-copy {
  display: grid;
  grid-template-columns: .44fr 1fr;
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(38px, 6vw, 78px);
}

.canyon-copy h2 {
  max-width: 980px;
  font-size: clamp(48px, 7.4vw, 108px);
}

.canyon-frame {
  position: relative;
  overflow: hidden;
  background: var(--forest);
}

.canyon-frame img {
  height: min(880px, 86vh);
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) contrast(1.02);
}

.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(245, 241, 232, .9);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .34em;
}

.callout::before {
  content: "";
  width: clamp(44px, 8vw, 116px);
  height: 1px;
  background: currentColor;
}

.callout-a {
  left: 8%;
  top: 22%;
}

.callout-b {
  right: 8%;
  bottom: 26%;
}

.callout-c {
  left: 44%;
  bottom: 12%;
}

.journal-section {
  padding: clamp(88px, 12vw, 164px) clamp(20px, 5vw, 72px);
  background: #dfe7dc;
}

.journal-intro {
  max-width: 940px;
  margin: 0 auto clamp(46px, 7vw, 96px);
  text-align: center;
}

.journal-intro h2 {
  font-size: clamp(54px, 9vw, 126px);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(200px, 24vw);
  gap: clamp(10px, 1.5vw, 20px);
}

.tile {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--forest);
}

.tile-large {
  grid-column: span 2;
  grid-row: span 2;
}

.tile-tall {
  grid-row: span 2;
}

.tile-wide {
  grid-column: span 2;
}

.tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
}

.tile:hover img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.04);
}

.tile figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  margin: 0;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

.tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(7, 23, 19, .72));
  opacity: 0;
  transition: opacity .45s var(--ease);
}

.tile:hover::after,
.tile:hover figcaption {
  opacity: 1;
}

.tile:hover figcaption {
  transform: translateY(0);
}

.film-section {
  padding: clamp(70px, 10vw, 136px) 0;
  background: var(--forest-deep);
  color: var(--ivory);
}

.film-header {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(22px, 5vw, 72px) 28px;
  color: rgba(245, 241, 232, .72);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .38em;
  text-transform: uppercase;
}

.film-header strong {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 300;
}

.film-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 clamp(22px, 5vw, 72px) 26px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--jade) rgba(245, 241, 232, .12);
}

.film-strip img {
  width: clamp(240px, 28vw, 420px);
  height: clamp(320px, 43vw, 620px);
  object-fit: cover;
  scroll-snap-align: center;
  flex: 0 0 auto;
  filter: saturate(.9);
  transition: transform .55s var(--ease), filter .55s var(--ease);
}

.film-strip img:nth-child(even) {
  height: clamp(260px, 34vw, 520px);
  align-self: end;
}

.film-strip img:hover {
  transform: translateY(-10px);
  filter: saturate(1.04) contrast(1.02);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(22px, 5vw, 72px);
  background: var(--forest-deep);
  border-top: 1px solid rgba(245, 241, 232, .12);
  color: rgba(245, 241, 232, .62);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer span {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(4, 13, 11, .92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: auto;
  max-width: min(86vw, 1360px);
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .46);
  transform: scale(.96);
  transition: transform .45s var(--ease);
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245, 241, 232, .34);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 23px;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.lightbox-arrow.previous {
  left: clamp(18px, 4vw, 54px);
}

.lightbox-arrow.next {
  right: clamp(18px, 4vw, 54px);
}

.lightbox-caption {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  bottom: 24px;
  margin: 0;
  color: rgba(245, 241, 232, .7);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .hero-image,
  .stillness-bg {
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-nav {
    align-items: flex-start;
  }

  .site-nav nav {
    gap: 16px;
  }

  .field-section,
  .chapter-head,
  .water-layout,
  .canyon-copy {
    grid-template-columns: 1fr;
  }

  .field-image img,
  .water-main img,
  .water-secondary img,
  .canyon-frame img {
    height: auto;
    max-height: none;
  }

  .water-secondary {
    margin-top: 0;
    width: min(520px, 86vw);
    justify-self: end;
  }

  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, 46vw);
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .site-nav {
    padding: 20px;
  }

  .site-nav nav {
    display: none;
  }

  .hero-copy {
    padding: 22vh 20px 12vh;
  }

  .hero h1 {
    font-size: clamp(64px, 20vw, 104px);
  }

  .hero-subtitle {
    letter-spacing: .28em;
  }

  .hero-side {
    display: none;
  }

  .scroll-cue {
    left: 20px;
    right: auto;
  }

  .field-section,
  .water-section,
  .canyon-section,
  .journal-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .stillness-section {
    min-height: 96vh;
    padding: 18px;
  }

  .stillness-panel {
    margin-left: 0;
  }

  .callout {
    display: none;
  }

  .editorial-grid {
    display: block;
  }

  .tile {
    margin-bottom: 14px;
    height: 62vh;
  }

  .tile-wide,
  .tile-large,
  .tile-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .film-header {
    flex-direction: column;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 24px;
  }

  .lightbox-caption {
    display: none;
  }
}
