.mat-hero {
  position: relative;
  min-height: min(88vh, 860px);
  margin: 20px 32px 0;
  border-radius: 20px;
  overflow: hidden;
  color: #fbf8f1;
  isolation: isolate;
}

.mat-hero__media {
  position: absolute;
  inset: 0;
}

.mat-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.mat-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 25, 23, 0.18) 0%, rgba(26, 25, 23, 0.28) 38%, rgba(26, 25, 23, 0.78) 100%),
    linear-gradient(90deg, rgba(26, 25, 23, 0.42), transparent 58%);
}

.mat-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(72px, 12vh, 140px) clamp(28px, 5vw, 72px) 56px;
}

.mat-hero h1 {
  color: #fbf8f1;
  margin-top: 18px;
}

.mat-hero .lede {
  color: rgba(251, 248, 241, 0.78);
}

.mat-hero .pill {
  background: rgba(26, 25, 23, 0.28);
  border-color: rgba(251, 248, 241, 0.18);
  color: rgba(251, 248, 241, 0.82);
}

.mat-hero .btn-ghost {
  background: rgba(251, 248, 241, 0.08);
  border-color: rgba(251, 248, 241, 0.22);
  color: #fbf8f1;
}

.mat-hero .btn-ghost:hover {
  border-color: #fbf8f1;
  color: #fbf8f1;
}

.mat-sticky {
  position: sticky;
  top: 73px;
  z-index: 40;
  background: rgba(247, 244, 237, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.mat-sticky__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
}

.mat-sticky a {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--ink2);
  letter-spacing: 0.02em;
}

.mat-sticky a:hover,
.mat-sticky a.is-active {
  color: var(--ink);
}

.mat-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.mat-intro h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.mat-intro p {
  font-size: 17px;
  line-height: 1.66;
  color: var(--ink2);
  margin: 0 0 16px;
}

.duo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.duo .shot {
  aspect-ratio: 3 / 2;
  min-height: 0;
}

.caption {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.gallery--views { grid-template-columns: repeat(4, 1fr); }
.gallery--air { grid-template-columns: repeat(3, 1fr); }
.gallery--book { grid-template-columns: repeat(4, 1fr); }
.gallery--pages { grid-template-columns: repeat(3, 1fr); }

.gallery--pages .shot {
  aspect-ratio: 17 / 12;
  background: #fff;
}

.gallery--pages .shot img { object-fit: contain; }

.shot {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ddd8cc;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  color: inherit;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.shot:hover img { transform: scale(1.05); }

.shot--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.shot--tall { aspect-ratio: 3 / 4; }

.shot-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(26, 25, 23, 0.62);
  color: #fbf8f1;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-extra { display: none; }
.gallery.is-open .gallery-extra { display: block; }

.docs {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.doc {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  color: inherit;
}

.doc:first-child { border-top: none; }

.doc:hover { background: #fbf8f1; color: inherit; }

.doc-icon {
  width: 72px;
  height: 84px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.doc-icon b {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
}

.doc-icon span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}

.doc h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.doc p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink2);
}

.doc-meta {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink2);
  letter-spacing: 0.04em;
}

.packs {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.pack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 26px 24px;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
}

.pack:hover {
  border-color: var(--accent);
  color: inherit;
}

.pack--all {
  background: var(--ink);
  color: #f3efe6;
  border-color: var(--ink);
  grid-row: span 2;
}

.pack--all:hover { border-color: var(--accent); color: #f3efe6; }

.pack--all h3,
.pack--all p { color: inherit; }

.pack--all p { color: rgba(243, 239, 230, 0.7); }

.pack-kicker {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink2);
}

.pack--all .pack-kicker { color: rgba(243, 239, 230, 0.5); }

.pack h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
}

.pack p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink2);
}

.pack-size {
  margin-top: auto;
  font-size: 13px;
  color: var(--ink2);
}

.pack--all .pack-size { color: rgba(243, 239, 230, 0.5); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18, 17, 16, 0.92);
  padding: 28px;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid rgba(251, 248, 241, 0.18);
  background: rgba(26, 25, 23, 0.55);
  color: #fbf8f1;
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 22px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 28px;
  font-family: "Instrument Serif", Georgia, serif;
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  color: rgba(251, 248, 241, 0.7);
  font-size: 13px;
}

.mat-others {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.mat-other {
  display: block;
  padding: 26px 26px 24px;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
}

.mat-other:hover {
  border-color: var(--accent);
  color: inherit;
}

.mat-other .kicker { margin-bottom: 10px; }

.mat-other h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.mat-other p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink2);
}

.packs--one {
  grid-template-columns: 1fr;
}

.packs--one .pack--all { grid-row: auto; }

@media (max-width: 980px) {
  .mat-hero { margin: 12px 20px 0; }
  .mat-intro,
  .duo,
  .packs {
    grid-template-columns: 1fr;
  }

  .gallery,
  .gallery--views,
  .gallery--air,
  .gallery--book,
  .gallery--pages,
  .mat-others {
    grid-template-columns: 1fr 1fr;
  }

  .shot--wide { grid-column: span 2; }
  .pack--all { grid-row: auto; }
}

@media (max-width: 780px) {
  .mat-hero { min-height: 72vh; border-radius: 14px; }
  .mat-hero__copy { padding: 88px 22px 32px; }
  .mat-sticky { top: 69px; }
  .doc { grid-template-columns: 1fr; gap: 14px; }
  .doc .btn { width: 100%; }
  .gallery,
  .gallery--views,
  .gallery--air,
  .gallery--book,
  .gallery--pages,
  .mat-others {
    grid-template-columns: 1fr;
  }
  .shot--wide { grid-column: auto; }
  .lightbox-nav { display: none; }
}
