/* Explicit image fallbacks for cards without a playable video source. */
.hero-visual {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .hero-art {
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(7, 30, 26, .98) 0%, rgba(7, 30, 26, .88) 35%, rgba(7, 30, 26, .25) 70%, rgba(7, 30, 26, .02) 100%);
}

.video-frame .video-poster {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .5s var(--ease), filter .5s var(--ease);
}

/* Preserve the HTML5 element for interaction semantics without allowing an empty
   media renderer to mask the explicit fallback image. */
.video-frame video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.video-frame:hover .video-poster,
.video-frame:focus .video-poster {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.visual-index {
  padding-top: clamp(72px, 9vw, 130px);
  padding-bottom: clamp(72px, 9vw, 130px);
}

.visual-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.visual-card {
  overflow: hidden;
  background: var(--mist);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s var(--ease);
}

.visual-card:hover img {
  transform: scale(1.045);
}

.visual-card > div {
  min-height: 196px;
  padding: 21px;
}

.visual-card p {
  margin: 0 0 12px;
  color: var(--jade);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.visual-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.48;
}

.visual-card span {
  color: #647a71;
  font-size: 11px;
  line-height: 1.7;
}

.observation-layout {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: clamp(36px, 10vw, 140px);
  align-items: center;
}

.observation-layout article h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.38;
  letter-spacing: -.05em;
}

.observation-layout article > p:not(.eyebrow) {
  color: #506a60;
  font-size: 15px;
}

.observation-notes {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 14px;
  padding: 30px;
  color: var(--cream);
  background: var(--ink);
}

.observation-notes span {
  grid-column: 1;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 23px;
}

.observation-notes h3 {
  grid-column: 2;
  margin: 5px 0 4px;
  font-size: 18px;
}

.observation-notes p {
  grid-column: 2;
  margin: 0 0 24px;
  color: #c6d7ce;
  font-size: 13px;
  line-height: 1.75;
}

.learning-section {
  padding-bottom: clamp(72px, 9vw, 130px);
}

.learning-grid,
.expanded-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.learning-grid article {
  min-height: 242px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.learning-grid span,
.expanded-grid span {
  display: block;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.learning-grid h3,
.expanded-grid h3 {
  margin: 35px 0 9px;
  font-size: 21px;
  line-height: 1.45;
}

.learning-grid p,
.expanded-grid p {
  margin: 0 0 19px;
  color: #5b7269;
  font-size: 13px;
  line-height: 1.8;
}

.learning-grid a {
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.archive-guide {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
}

.archive-guide h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(33px, 3.9vw, 51px);
  line-height: 1.38;
  letter-spacing: -.05em;
}

.archive-guide > div > p:not(.eyebrow) {
  color: #587067;
  font-size: 14px;
}

.guide-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.guide-table article {
  min-height: 190px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-table article:nth-child(odd) {
  border-left: 1px solid var(--line);
}

.guide-table b {
  color: var(--coral);
  font-size: 11px;
  letter-spacing: .08em;
}

.guide-table h3 {
  margin: 18px 0 7px;
  font-size: 18px;
}

.guide-table p {
  margin: 0;
  color: #5d736a;
  font-size: 12px;
  line-height: 1.75;
}

.archive-expanded {
  padding-top: clamp(72px, 9vw, 130px);
}

.expanded-grid a {
  overflow: hidden;
  padding-bottom: 22px;
  background: var(--mist);
}

.expanded-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.expanded-grid a:hover img {
  transform: scale(1.045);
}

.expanded-grid span,
.expanded-grid h3,
.expanded-grid p {
  margin-left: 20px;
  margin-right: 20px;
}

.expanded-grid span {
  margin-top: 18px;
}

@media (max-width: 1040px) {
  .visual-card-grid { grid-template-columns: 1fr 1fr; }
  .visual-card > div { min-height: 165px; }
}

@media (max-width: 780px) {
  .observation-layout,
  .archive-guide { grid-template-columns: 1fr; gap: 32px; }
  .learning-grid,
  .expanded-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .visual-card-grid,
  .guide-table { grid-template-columns: 1fr; }
  .guide-table article:nth-child(n) { border-left: 1px solid var(--line); }
  .observation-notes { padding: 24px; }
}
