.materials-page {
  background: var(--cream);
  color: var(--ink);
}

.materials-page .site-header {
  background: rgba(43, 47, 38, .97);
  border-bottom-color: rgba(245, 243, 236, .12);
}

.materials-main { overflow: hidden; }

.materials-wrap {
  width: min(1360px, calc(100vw - 80px));
  margin-inline: auto;
}

.materials-masthead {
  padding-top: clamp(174px, 15vw, 214px);
  background: var(--cream);
}

.materials-page-label,
.chapter-number {
  margin: 0;
  color: var(--copper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
}

.materials-page-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.materials-page-label::before {
  width: 42px;
  height: 1px;
  background: var(--copper);
  content: "";
}

.materials-opening h1 {
  max-width: 1120px;
  margin: 42px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(72px, 10.8vw, 156px);
  font-weight: 400;
  letter-spacing: -.078em;
  line-height: .79;
}

.materials-opening h1 em {
  color: var(--moss);
  font-weight: 400;
}

.materials-introduction {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, .7fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
  margin-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(82px, 9vw, 126px);
}

.materials-subtitle {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3.25vw, 47px);
  line-height: 1.18;
}

.materials-opening-copy {
  max-width: 610px;
  margin: 4px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  color: #637069;
  font-size: 15px;
  line-height: 1.9;
}

.materials-hero-photo,
.chapter-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #d8d1c5;
}

.materials-hero-photo {
  width: min(1540px, calc(100vw - 40px));
  height: clamp(480px, 54vw, 780px);
  margin-inline: auto;
}

.materials-hero-photo::after,
.chapter-photo::after {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(43, 47, 38, .08);
  content: "";
  pointer-events: none;
}

.materials-hero-photo img,
.chapter-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.035);
  transition: transform .8s cubic-bezier(.2, .6, .2, 1), filter .45s ease;
}

.materials-hero-photo img { object-position: center 54%; }

.materials-hero-photo:hover img,
.chapter-photo:hover img {
  transform: scale(1.016);
  filter: saturate(.9) contrast(1.035);
}

.materials-hero-photo figcaption,
.chapter-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  padding: 8px 10px;
  color: rgba(245, 243, 236, .88);
  background: rgba(43, 47, 38, .72);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.materials-chapters { background: var(--cream); }

.material-chapter {
  padding-block: clamp(112px, 12vw, 178px);
}

.material-chapter--blank,
.material-chapter--handle,
.material-chapter--reelseat,
.material-chapter--butt {
  display: grid;
  gap: clamp(56px, 8vw, 124px);
  align-items: center;
}

.material-chapter--blank {
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .68fr);
}

.chapter-photo--portrait {
  height: clamp(680px, 70vw, 960px);
}

.chapter-photo--portrait img { object-position: center 46%; }

.chapter-copy { max-width: 610px; }

.chapter-copy h2 {
  margin: 30px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(54px, 6.3vw, 92px);
  font-weight: 400;
  letter-spacing: -.064em;
  line-height: .84;
}

.chapter-copy > p:last-child,
.wraps-intro {
  margin: 45px 0 0;
  color: #526159;
  font-family: var(--serif);
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.72;
}

.material-chapter--dark {
  position: relative;
  color: var(--cream);
  background: var(--ink);
}

.material-chapter--dark::before {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

.chapter-dark-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(350px, .62fr) minmax(0, 1.38fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: center;
}

.material-chapter--dark .chapter-copy h2 { color: var(--cream); }
.material-chapter--dark .chapter-copy > p:last-child { color: rgba(245, 243, 236, .68); }

.guides-composition {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .55fr);
  gap: 18px;
  align-items: end;
}

.guides-main { height: clamp(460px, 48vw, 690px); }
.guides-main img { object-position: 59% center; }

.guides-detail {
  height: clamp(280px, 30vw, 430px);
  margin-bottom: -54px;
}

.guides-detail img { object-position: 60% center; }

.material-chapter--handle {
  grid-template-columns: minmax(350px, .66fr) minmax(0, 1.34fr);
}

.chapter-photo--handle { height: clamp(510px, 52vw, 750px); }
.chapter-photo--handle img { object-position: center 52%; }

.material-chapter--reelseat {
  padding-top: clamp(70px, 7vw, 102px);
  border-top: 1px solid var(--line-light);
  grid-template-columns: minmax(0, 1.24fr) minmax(380px, .76fr);
}

.chapter-photo--reelseat { height: clamp(500px, 48vw, 690px); }
.chapter-photo--reelseat img { object-position: center 54%; }

.material-chapter--wraps {
  padding-top: clamp(128px, 13vw, 190px);
  padding-bottom: clamp(124px, 14vw, 204px);
  background: #e9e5dc;
}

.wraps-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .72fr);
  gap: clamp(54px, 9vw, 138px);
  align-items: end;
}

.wraps-intro { margin: 0; }

.wraps-composition {
  display: grid;
  grid-template-columns: minmax(0, 1.54fr) minmax(290px, .46fr);
  gap: 20px;
  align-items: end;
  margin-top: clamp(74px, 8vw, 112px);
}

.wraps-main { height: clamp(450px, 47vw, 690px); }
.wraps-main img { object-position: center 47%; }

.wraps-detail {
  height: clamp(560px, 58vw, 790px);
  margin-bottom: -72px;
}

.wraps-detail img { object-position: center 55%; }

.material-chapter--butt {
  grid-template-columns: minmax(350px, .64fr) minmax(0, 1.16fr);
  padding-top: clamp(170px, 16vw, 230px);
}

.chapter-photo--butt { height: clamp(590px, 58vw, 820px); }
.chapter-photo--butt img { object-position: center 52%; }

.material-chapter--whole {
  padding-block: clamp(116px, 12vw, 176px);
  color: var(--cream);
  background: var(--ink);
}

.whole-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, .72fr);
  gap: clamp(58px, 9vw, 138px);
  align-items: center;
}

.whole-photo { height: clamp(700px, 70vw, 980px); }
.whole-photo img { object-position: center 46%; }

.material-chapter--whole .chapter-copy h2 { color: var(--cream); }
.material-chapter--whole .chapter-copy > p:last-of-type { color: rgba(245, 243, 236, .7); }

.materials-cta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 56px;
  margin-top: 44px;
  padding: 0 21px;
  border: 1px solid rgba(245, 243, 236, .4);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.materials-cta span {
  color: var(--copper-light);
  font-size: 17px;
  transition: transform .25s ease;
}

.materials-cta:hover {
  color: var(--copper-light);
  border-color: var(--copper-light);
  transform: translateY(-2px);
}

.materials-cta:hover span { transform: translateX(4px); }
.materials-cta:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 4px; }

.materials-footer-shell { background: var(--ink); }

@media (max-width: 1020px) {
  .materials-introduction {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .materials-opening-copy { max-width: 680px; }

  .material-chapter--blank,
  .material-chapter--handle,
  .material-chapter--reelseat,
  .material-chapter--butt,
  .whole-grid,
  .chapter-dark-grid {
    grid-template-columns: 1fr;
  }

  .material-chapter--blank .chapter-copy,
  .material-chapter--reelseat .chapter-copy,
  .chapter-dark-grid .chapter-copy,
  .whole-grid .chapter-copy {
    justify-self: end;
  }

  .material-chapter--handle .chapter-copy,
  .material-chapter--butt .chapter-copy { order: 2; }
  .material-chapter--handle .chapter-photo,
  .material-chapter--butt .chapter-photo { order: 1; }

  .chapter-copy { max-width: 670px; }
  .chapter-photo--portrait { height: min(980px, 112vw); }
  .chapter-photo--handle,
  .chapter-photo--reelseat { height: min(690px, 70vw); }

  .guides-composition { margin-top: 18px; }
  .whole-photo { height: min(940px, 108vw); }
}

@media (max-width: 820px) {
  .materials-wrap { width: min(100% - 44px, 680px); }
  .materials-masthead { padding-top: 158px; }
  .materials-opening h1 { margin-top: 34px; }
  .materials-introduction { margin-top: 46px; padding-bottom: 74px; }
  .materials-hero-photo { width: 100%; height: 58vw; min-height: 410px; }
  .material-chapter { padding-block: 98px; }
  .material-chapter--reelseat { padding-top: 70px; }
  .material-chapter--wraps { padding-bottom: 142px; }
  .wraps-heading { grid-template-columns: 1fr; gap: 38px; }
  .wraps-composition { margin-top: 62px; }
  .materials-hero-photo figcaption,
  .chapter-photo figcaption { right: 12px; bottom: 12px; }
}

@media (max-width: 620px) {
  .materials-wrap { width: calc(100% - 36px); }
  .materials-masthead { padding-top: 132px; }
  .materials-opening h1 { font-size: clamp(53px, 16vw, 72px); line-height: .84; }
  .materials-subtitle { font-size: 27px; }
  .materials-opening-copy { font-size: 14px; line-height: 1.78; }
  .materials-hero-photo { min-height: 350px; height: 68vw; }
  .materials-hero-photo img { object-position: 42% center; }

  .material-chapter { padding-block: 82px; }
  .material-chapter--blank,
  .material-chapter--handle,
  .material-chapter--reelseat,
  .material-chapter--butt,
  .whole-grid,
  .chapter-dark-grid { gap: 42px; }

  .chapter-copy h2 { margin-top: 22px; font-size: clamp(47px, 14vw, 65px); }
  .chapter-copy > p:last-child,
  .wraps-intro { margin-top: 31px; font-size: 18px; line-height: 1.65; }
  .chapter-photo--portrait { height: 132vw; max-height: 680px; }

  .guides-composition {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guides-main { height: 78vw; min-height: 320px; }
  .guides-detail {
    width: 64%;
    height: 54vw;
    min-height: 220px;
    margin: -34px 0 0 auto;
  }

  .chapter-photo--handle,
  .chapter-photo--reelseat { height: 78vw; min-height: 340px; }
  .material-chapter--reelseat .chapter-copy h2 br { display: none; }
  .material-chapter--wraps { padding-bottom: 116px; }

  .wraps-composition {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 50px;
  }

  .wraps-main { height: 72vw; min-height: 310px; }
  .wraps-detail {
    width: 64%;
    height: 88vw;
    min-height: 390px;
    margin: -30px 0 0 auto;
  }

  .material-chapter--butt { padding-top: 106px; }
  .chapter-photo--butt { height: 106vw; min-height: 450px; }
  .whole-photo { height: 126vw; max-height: 690px; }
  .materials-cta { width: 100%; justify-content: space-between; padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .materials-hero-photo img,
  .chapter-photo img { transition: none; }
}
