/* Feature list: stacked cards, photo band per section */

html.feat-list-root {
  scroll-snap-type: y proximity;
  scroll-padding-top: 4.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html.feat-list-root {
    scroll-snap-type: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.feat-list-root {
    scroll-behavior: smooth;
  }
}

.feat-list-masthead {
  max-width: var(--site-content-max);
  margin: 0 auto;
  padding: clamp(2rem, 3vw + 1.25rem, 3.25rem) var(--site-gutter-x) clamp(1rem, 2vw, 1.5rem);
  scroll-snap-align: start;
  /* Match panels: sticky site-nav (~3.5rem) would cover snap targets without this */
  scroll-margin-top: 4.25rem;
}

.feat-list-masthead__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.65rem, 3vw + 0.85rem, 2.35rem);
  line-height: 1.12;
  color: var(--paper-ink);
  letter-spacing: 0.02em;
}

.feat-list-masthead__deck {
  margin: 0.65rem 0 0;
  font-size: clamp(0.95rem, 1.5vw + 0.55rem, 1.1rem);
  color: var(--muted, #7a7067);
  max-width: 56ch;
  line-height: 1.55;
}

.feat-list__layout {
  max-width: var(--site-content-max);
  margin: 0 auto;
  padding: 0 var(--site-gutter-x) clamp(2.5rem, 5vw, 4rem);
}

.feat-list__primary {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
  min-width: 0;
}

/* Promo block uses the same panel + media band pattern as feature sections */
.feat-list__panel--promo {
  margin-bottom: 0;
}

.feat-list__media--promo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #1c1917;
}

.feat-list__media--promo img,
.feat-list__media--promo video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feat-list__media--promo video {
  background: #1c1917;
}

.feat-list__deck--promo {
  margin-bottom: 0;
}

.feat-list__panels {
  min-width: 0;
}

.feat-list__panel {
  scroll-snap-align: start;
  scroll-margin-top: 4.25rem;
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  background: var(--white);
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.feat-list__panel:last-child {
  margin-bottom: 0;
}

.feat-list__media {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(40vh, 20rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(42, 69, 57, 0.12) 0%, transparent 50%),
    linear-gradient(205deg, rgba(184, 174, 160, 0.35) 0%, var(--paper) 55%);
}

.feat-list__media picture {
  display: contents;
}

.feat-list__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feat-list__copy {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
}

.feat-list__panel--has-body .feat-list__copy {
  justify-content: flex-start;
}

.feat-list__deck {
  margin: 0 0 1.35rem;
  max-width: 42rem;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  color: var(--paper-muted);
}

.feat-list__detail-nav {
  margin: 0;
}

.feat-list__link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.feat-list__link-list li {
  margin: 0;
}

.feat-list__ordinal {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--red);
}

.feat-list__title {
  margin: 0;
  max-width: 22rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.1vw + 0.82rem, 1.2rem);
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.feat-list__title .feat-list__badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
  line-height: 1.2;
  background: rgba(42, 69, 57, 0.14);
  color: #2a4539;
}
