.guide-heading h2 {
  font-size: clamp(40px, 4.1vw, 62px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.guide-heading .section-kicker {
  margin-bottom: 20px;
}

/* Video guide: original portrait video alongside a four-topic index. */
.video-guide {
  padding-block: 28px 95px;
}
.guide-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 40px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.guide-heading > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.guide-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
  background: var(--soft-green);
  border: 1px solid #c7d8cc;
  border-radius: 18px;
  padding: clamp(30px, 4vw, 58px);
}
.guide-feature {
  width: min(100%, 326px);
  justify-self: center;
  min-width: 0;
}
.guide-screen {
  position: relative;
  isolation: isolate;
  aspect-ratio: 9 / 16;
  background: #15261e;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 20px 38px -24px #14362665;
}
.guide-posters,
.guide-poster,
#guide-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.guide-posters {
  z-index: 2;
  pointer-events: none;
  transition: opacity 180ms;
}
.guide-poster {
  object-fit: cover;
  opacity: 0;
  transition: opacity 230ms ease;
}
.guide-poster.is-visible {
  opacity: 1;
}
#guide-player {
  display: block;
  object-fit: contain;
  background: #15261e;
  z-index: 1;
}
.guide-screen.is-playing .guide-posters {
  opacity: 0;
}
.guide-play {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 14px;
  padding: 30px 20px;
  background: linear-gradient(transparent 60%, #13291dbd);
  color: #fff;
}
.guide-play-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f5f7f3;
  color: #193e31;
  transition:
    transform 200ms,
    background 200ms;
}
.guide-play-icon svg {
  width: 24px;
  height: 24px;
  margin-left: -3px;
  fill: currentColor;
  stroke: none;
}
.guide-play:hover .guide-play-icon {
  transform: scale(1.06);
  background: #fff;
}
.guide-play:focus-visible {
  outline: 3px solid white;
  outline-offset: -6px;
}
.guide-play-label {
  font-size: 13px;
  font-weight: 500;
}
.guide-loading {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  padding: 8px 12px;
  color: white;
  background: #17392ee8;
  font-size: 12px;
  white-space: nowrap;
}
.guide-feature figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 17px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--on-green);
}
#guide-video-number {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.guide-library {
  min-width: 0;
}
.guide-library-label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  color: var(--on-green);
  margin-bottom: 22px;
}
.guide-library-label > span {
  font-size: 11px;
}
.guide-topics {
  border-top: 1px solid #a1b7a8;
}
.guide-topic {
  display: block;
  width: 100%;
  padding: 23px 0;
  border-bottom: 1px solid #a1b7a8;
  text-align: left;
  background: transparent;
  color: var(--on-green);
}
.guide-topic-top {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  gap: 15px;
  align-items: baseline;
}
.guide-topic-number {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.guide-topic-name {
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  transition: color 180ms;
}
.guide-topic-arrow {
  font-size: 22px;
  line-height: 1;
  transition: transform 220ms;
}
.guide-topic[aria-pressed='true'] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.guide-topic[aria-pressed='true'] .guide-topic-name {
  font-weight: 500;
}
.guide-topic[aria-pressed='true'] .guide-topic-arrow {
  transform: rotate(45deg);
}
.guide-topic:hover .guide-topic-name {
  color: #123c2a;
}
.guide-topic-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 280ms ease,
    opacity 200ms ease;
}
.guide-topic[aria-pressed='true'] .guide-topic-detail {
  grid-template-rows: 1fr;
  opacity: 1;
}
.guide-topic-detail-inner {
  display: flex;
  gap: 18px;
  min-height: 0;
  overflow: hidden;
  margin-left: 39px;
}
.guide-topic-copy {
  padding-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--on-green);
}
.guide-topic-time {
  display: block;
  margin-top: 16px;
  font-size: 11px;
}
.guide-topic-detail img {
  width: 62px;
  height: 88px;
  object-fit: cover;
  border-radius: 3px;
  margin-top: 20px;
  flex-shrink: 0;
}
.guide-library-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--on-green);
}
.guide-library-footer a {
  border-bottom: 1px solid #8aa493;
  padding-bottom: 2px;
}
.guide-library-footer a > span {
  margin-left: 10px;
}
.guide-error {
  margin-top: 18px;
  color: #6f312b;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 1050px) {
  .guide-layout {
    gap: 32px;
    padding: 30px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .guide-topic-name {
    font-size: 21px;
  }
  .guide-topic-detail img {
    display: none;
  }
  .guide-topic-copy {
    font-size: 13px;
  }
}
@media (max-width: 700px) {
  .guide-heading h2 {
    font-size: clamp(36px, 9vw, 48px);
  }
  .video-guide {
    padding-block: 20px 50px;
  }
  .guide-heading {
    display: block;
    padding-top: 28px;
    margin-bottom: 28px;
  }
  .guide-heading > p {
    margin-top: 22px;
    font-size: 14px;
  }
  .guide-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 24px;
    border-radius: 12px;
  }
  .guide-library {
    display: contents;
  }
  .guide-library-label {
    order: 0;
  }
  .guide-topics {
    order: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .guide-feature {
    order: 2;
    align-self: center;
    max-width: 290px;
  }
  .guide-topic {
    min-height: 80px;
    padding-block: 14px;
  }
  .guide-topic-top {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .guide-topic-name {
    font-size: 14px;
    line-height: 1.5;
  }
  .guide-topic-arrow,
  .guide-topic-detail {
    display: none;
  }
  .guide-topic-detail-inner {
    margin-left: 28px;
  }
  .guide-library-label {
    margin-bottom: 0;
    font-size: 12px;
  }
  .guide-library-footer {
    order: 3;
    margin-top: 0;
    gap: 10px 20px;
  }
  .guide-error {
    order: 4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .guide-posters,
  .guide-poster,
  .guide-play-icon,
  .guide-topic-name,
  .guide-topic-arrow,
  .guide-topic-detail {
    transition: none;
    transform: none;
  }
}
