.deck-tour {
  --deck-tour-rule: #cfc9ba;
  --deck-tour-cream: #f4f1e8;
  --deck-tour-pine: #324d3d;
  background: var(--deck-tour-cream);
  color: var(--ink);
}

.deck-tour [hidden] { display: none; }

.deck-tour-intro {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, .8fr);
  gap: 18px clamp(30px, 6vw, 90px);
  align-items: end;
  padding-block: clamp(32px, 4.5vw, 68px) clamp(21px, 3vw, 42px);
}

.deck-tour-intro h1 {
  font-size: clamp(3.1rem, 5.7vw, 5.45rem);
  text-wrap: balance;
}

.deck-tour-intro > p {
  max-width: 36ch;
  padding-bottom: .17em;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.deck-tour-label {
  margin-bottom: .65rem;
  color: var(--deck-tour-pine);
  font-size: .87rem;
  font-weight: 700;
}

.deck-tour-options {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.deck-tour-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 73px;
  padding: 9px 12px 10px;
  border: 1px solid #a7ad9c;
  background: #fbf8ef;
  color: var(--deck-tour-pine);
  text-align: left;
  font-size: clamp(.82rem, 1.14vw, 1rem);
  font-weight: 650;
  line-height: 1.18;
  cursor: pointer;
}

.deck-tour-option:hover { background: #eceee3; border-color: var(--deck-tour-pine); }
.deck-tour-option[aria-pressed="true"] {
  background: var(--pine-light);
  border-color: var(--deck-tour-pine);
  box-shadow: inset 0 -3px #a96542;
  color: var(--pine-dark);
}

.deck-tour-option[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 9px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}

.deck-tour-option:focus-visible { z-index: 1; outline-offset: 2px; }
.deck-tour-option svg { flex: none; }

.deck-tour-stage {
  margin-top: clamp(12px, 2vw, 26px);
  background: radial-gradient(ellipse at 42% 43%, #e5e9dc 0, #eeeee4 40%, var(--deck-tour-cream) 75%);
}

.deck-tour-stage-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(255px, 23vw, 372px);
  column-gap: clamp(12px, 2vw, 30px);
  width: min(100%, 1680px);
  padding-inline: clamp(18px, 4vw, 64px);
  margin-inline: auto;
}

.deck-tour-viewport {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: clamp(435px, 43vw, 660px);
  overflow: hidden;
}

.deck-tour-canvas { display: block; width: 100%; height: 100%; }

.deck-tour-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-block: 12px;
}

.deck-tour-poster a { display: block; width: 100%; height: 100%; min-height: 0; }
.deck-tour-poster img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.deck-tour-poster a:focus-visible { outline-offset: -3px; }

.deck-tour-benefits { align-self: center; min-width: 0; }
.deck-tour-detail {
  padding: clamp(19px, 2.1vw, 31px);
  border-top: 2px solid #ad7759;
  background: #fbf8ef;
}

.deck-tour-detail .eyebrow { margin-bottom: 12px; }
.deck-tour-detail h2 { max-width: 20ch; font-size: clamp(1.8rem, 3.05vw, 3.15rem); text-wrap: balance; }
.deck-tour-detail-lede { max-width: 50ch; margin-top: clamp(11px, 1.7vw, 19px); color: var(--muted); }

.deck-tour-proof {
  margin-top: clamp(18px, 3vw, 35px);
  padding-block: clamp(20px, 3vw, 35px) clamp(34px, 6vw, 78px);
  border-top: 1px solid var(--deck-tour-rule);
}

.deck-tour-reference-set { display: flex; flex-wrap: wrap; gap: 12px; }
.deck-tour-reference { flex: 0 1 270px; min-width: 0; }
.deck-tour-reference a { display: block; }
.deck-tour-reference img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.deck-tour-proof-item[data-tour-reference="finished"] .deck-tour-reference img { aspect-ratio: 16 / 9; }
.deck-tour-reference figcaption { margin-top: .55rem; color: var(--muted); font-size: .8rem; }

@media (max-width: 940px) {
  .deck-tour-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .deck-tour-option:first-child { grid-column: span 2; }
  .deck-tour-stage-inner { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .deck-tour-benefits { width: var(--shell); margin-inline: auto; }
}

@media (max-width: 660px) {
  .deck-tour-intro { grid-template-columns: minmax(0, 1fr); }
  .deck-tour-intro h1 { font-size: clamp(2.8rem, 11vw, 4.4rem); }
  .deck-tour-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck-tour-option { flex-direction: row; justify-content: flex-start; align-items: center; min-height: 44px; padding-inline: 8px 24px; }
  .deck-tour-option svg { width: 19px; height: 19px; }
  .deck-tour-option[aria-pressed="true"]::after { top: calc(50% - 4px); right: 9px; }
  .deck-tour-viewport { height: clamp(320px, 86vw, 460px); }
  .deck-tour-poster { padding-inline: 18px; }
  .deck-tour-reference { flex-basis: calc((100% - 12px) / 2); }
  .deck-tour-reference:only-child { flex-basis: min(100%, 270px); }
}
