/* ============================================================
   Building a Web App Using AI — interactive presentation deck
   ============================================================ */

:root {
  --deck-forest: #17231b;
  --deck-forest-2: #22352a;
  --deck-paper: #f4f0e7;
  --deck-paper-2: #fffdf7;
  --deck-ink: #17231b;
  --deck-ink-soft: #556058;
  --deck-lime: #d9f99d;
  --deck-green: #83b271;
  --deck-sun: #f6cf64;
  --deck-peach: #f2a681;
  --deck-lilac: #c9bcf6;
  --deck-sky: #b9ddeb;
  --deck-coral: #f17251;
  --deck-line: rgba(23, 35, 27, 0.16);
  --deck-mono: "JetBrains Mono", ui-monospace, monospace;
  --deck-sans: "DM Sans", system-ui, sans-serif;
  --deck-serif: "Fraunces", Georgia, serif;
}

.presentation-html,
.presentation-body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body.presentation-body {
  overflow: hidden;
  background: var(--deck-forest);
  color: var(--deck-ink);
  font-family: var(--deck-sans);
  font-optical-sizing: auto;
}

.presentation-body button,
.presentation-body a {
  font: inherit;
}

.deck,
.deck *,
.deck *::before,
.deck *::after {
  box-sizing: border-box;
}

.deck {
  --deck-progress: 11.11%;
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.deck-skip-link {
  position: fixed;
  top: 0.65rem;
  left: 50%;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--deck-lime);
  color: var(--deck-ink);
  font-size: 0.8rem;
  font-weight: 700;
  transform: translate(-50%, -180%);
  transition: transform 180ms ease;
}

.deck-skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- Fixed presentation chrome ---------- */

.deck-bar {
  position: fixed;
  z-index: 40;
  top: max(0.9rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  left: max(1rem, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  max-width: 92rem;
  margin-inline: auto;
  padding: 0.45rem 0.55rem 0.45rem 0.8rem;
  border: 1px solid rgba(23, 35, 27, 0.13);
  border-radius: 1rem;
  background: rgba(255, 253, 247, 0.88);
  color: var(--deck-ink);
  box-shadow: 0 12px 35px rgba(12, 22, 16, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.deck-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.deck-brand-mark {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border: 2px solid var(--deck-ink);
  border-radius: 50%;
  transition: transform 320ms ease;
}

.deck-brand:hover .deck-brand-mark {
  transform: rotate(90deg);
}

.deck-brand-mark span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--deck-coral);
}

.deck-brand-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.deck-brand-divider {
  width: 1px;
  height: 1.25rem;
  background: var(--deck-line);
}

.deck-brand-series {
  color: var(--deck-ink-soft);
  font-family: var(--deck-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.deck-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.deck-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-right: 0.25rem;
  color: #7e877f;
  font-family: var(--deck-mono);
  font-size: 0.68rem;
}

.deck-count strong {
  color: var(--deck-ink);
  font-size: 0.82rem;
}

.deck-bar-button {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.55rem;
  padding: 0.6rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--deck-ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.deck-bar-button:hover {
  border-color: var(--deck-line);
  background: rgba(23, 35, 27, 0.055);
  color: var(--deck-ink);
}

.deck-bar-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.deck-stage {
  position: absolute;
  inset: 0;
}

.deck-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  overflow: hidden auto;
  padding:
    clamp(6rem, 10vh, 7.4rem)
    clamp(1.4rem, 4.7vw, 5rem)
    clamp(6.7rem, 12vh, 8.2rem);
  scrollbar-width: thin;
}

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

.deck-slide.is-active .slide-inner {
  animation: deck-slide-enter 520ms cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

@keyframes deck-slide-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 82rem);
  margin-inline: auto;
}

.slide-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  color: var(--deck-ink);
  font-family: var(--deck-mono);
  font-size: clamp(0.65rem, 0.8vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.slide-kicker--lime {
  color: var(--deck-lime);
}

.kicker-line {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.stage-number {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  letter-spacing: 0;
}

.slide-heading {
  position: relative;
  margin-bottom: clamp(2rem, 4vh, 3.4rem);
}

.slide-heading h2 {
  max-width: 69rem;
  margin: 0;
  color: var(--deck-ink);
  font-size: clamp(2.65rem, 5.25vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.067em;
  line-height: 0.95;
}

.slide-heading h2 em {
  font-family: var(--deck-serif);
  font-weight: 600;
}

.slide-heading > p:last-child {
  max-width: 46rem;
  margin: 1.2rem 0 0;
  color: var(--deck-ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.5;
}

.slide-heading--compact {
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.slide-heading--inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.slide-heading--inline > p {
  flex: 0 1 28rem;
  margin: 0 0 0.2rem;
}

.slide-heading--light h2,
.slide-heading--light > p:last-child {
  color: var(--deck-paper);
}

.slide-heading--light > p:last-child {
  color: rgba(244, 240, 231, 0.65);
}

.panel-label {
  margin: 0;
  font-family: var(--deck-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

/* ---------- Slide 1: cover ---------- */

.deck-slide--cover {
  background:
    radial-gradient(circle at 8% 92%, rgba(217, 249, 157, 0.12), transparent 28%),
    radial-gradient(circle at 95% 10%, rgba(241, 114, 81, 0.12), transparent 31%),
    var(--deck-forest);
  color: var(--deck-paper);
}

.cover-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 240, 231, 0.17) 0.8px, transparent 0.8px);
  background-size: 17px 17px;
  opacity: 0.12;
  pointer-events: none;
}

.cover-orbit {
  position: absolute;
  border: 1px solid rgba(217, 249, 157, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.cover-orbit--one {
  top: -22vw;
  right: -14vw;
  width: 58vw;
  height: 58vw;
}

.cover-orbit--two {
  right: -2vw;
  bottom: -35vw;
  width: 72vw;
  height: 72vw;
}

.cover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(26rem, 0.9fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: center;
}

.cover-copy {
  position: relative;
  z-index: 2;
}

.cover-title {
  margin: 0;
  color: var(--deck-paper);
  font-size: clamp(3.9rem, 7vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.cover-title span {
  color: var(--deck-lime);
}

.cover-title em {
  display: inline-block;
  color: var(--deck-paper);
  font-family: var(--deck-serif);
  font-weight: 600;
  transform: translateX(0.08em);
}

.cover-intro {
  max-width: 36rem;
  margin: 1.7rem 0 0;
  color: rgba(244, 240, 231, 0.72);
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  line-height: 1.5;
}

.cover-intro strong {
  color: var(--deck-paper);
  font-weight: 650;
}

.cover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.cover-tags span {
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(244, 240, 231, 0.2);
  border-radius: 999px;
  color: rgba(244, 240, 231, 0.75);
  font-family: var(--deck-mono);
  font-size: 0.61rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.cover-hint {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 2rem 0 0;
  color: rgba(244, 240, 231, 0.43);
  font-size: 0.73rem;
}

.hint-key {
  display: inline-grid;
  width: 1.9rem;
  height: 1.65rem;
  place-items: center;
  border: 1px solid rgba(244, 240, 231, 0.18);
  border-radius: 0.4rem;
  color: var(--deck-lime);
}

.cover-art {
  position: relative;
  display: grid;
  width: min(100%, 36rem);
  justify-self: end;
  place-items: center;
}

.cover-note {
  position: absolute;
  z-index: 3;
  top: -1.45rem;
  left: -1.65rem;
  padding: 0.62rem 0.82rem;
  background: var(--deck-sun);
  color: var(--deck-ink);
  font-family: var(--deck-serif);
  font-size: 0.95rem;
  transform: rotate(-7deg);
  box-shadow: 0 8px 18px rgba(7, 17, 11, 0.2);
}

.cover-note::after {
  position: absolute;
  top: 100%;
  left: 54%;
  width: 2.2rem;
  height: 1.1rem;
  border-left: 2px solid var(--deck-sun);
  border-bottom: 2px solid var(--deck-sun);
  border-radius: 0 0 0 100%;
  content: "";
  transform: skewX(-24deg);
}

.club-browser {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 231, 0.23);
  border-radius: 1.25rem;
  background: #fbf7e9;
  box-shadow:
    0 30px 75px rgba(0, 0, 0, 0.32),
    0 0 0 0.55rem rgba(244, 240, 231, 0.06);
  transform: rotate(1.5deg);
}

.browser-chrome {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 2.6rem;
  padding: 0 0.8rem;
  border-bottom: 1px solid rgba(23, 35, 27, 0.12);
  background: #fffdf8;
  color: #687069;
  font-family: var(--deck-mono);
  font-size: 0.48rem;
}

.browser-dots {
  display: flex;
  gap: 0.28rem;
}

.browser-dots i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #d4d4ce;
}

.browser-dots i:first-child {
  background: var(--deck-coral);
}

.browser-dots i:nth-child(2) {
  background: var(--deck-sun);
}

.browser-dots i:last-child {
  background: var(--deck-green);
}

.browser-lock {
  position: relative;
  justify-self: end;
  width: 0.5rem;
  height: 0.43rem;
  border-radius: 0.1rem;
  background: #869088;
}

.browser-lock::before {
  position: absolute;
  right: 0.09rem;
  bottom: 80%;
  left: 0.09rem;
  height: 0.35rem;
  border: 1px solid #869088;
  border-bottom: 0;
  border-radius: 0.3rem 0.3rem 0 0;
  content: "";
}

.club-page {
  position: relative;
  min-height: clamp(25rem, 38vw, 33rem);
  overflow: hidden;
  padding: 1.35rem 1.55rem 1.5rem;
  background:
    radial-gradient(circle at 84% 27%, rgba(131, 178, 113, 0.26), transparent 25%),
    #f7f0d9;
  color: var(--deck-ink);
}

.club-mini-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.club-mini-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  font-weight: 700;
}

.club-mini-logo i {
  position: relative;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-radius: 50% 0 50% 50%;
  transform: rotate(-25deg);
}

.club-mini-logo i::after {
  position: absolute;
  right: -0.25rem;
  bottom: -0.22rem;
  width: 0.6rem;
  height: 1px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left;
}

.club-mini-link {
  padding: 0.46rem 0.7rem;
  border-radius: 999px;
  background: var(--deck-ink);
  color: var(--deck-paper);
  font-size: 0.57rem;
  font-weight: 600;
}

.club-mini-hero {
  position: relative;
  z-index: 2;
  max-width: 77%;
  padding: clamp(3.4rem, 5vw, 5.2rem) 0 3.2rem;
}

.club-mini-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--deck-mono);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.club-mini-hero strong {
  display: block;
  font-size: clamp(2rem, 3.7vw, 3.55rem);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.club-mini-hero p {
  margin: 0.85rem 0 1rem;
  color: #566158;
  font-size: clamp(0.65rem, 1vw, 0.85rem);
}

.club-mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem 0.65rem 0.9rem;
  border: 1px solid var(--deck-ink);
  border-radius: 999px;
  font-size: clamp(0.52rem, 0.8vw, 0.68rem);
  font-weight: 650;
}

.club-mini-cta b {
  display: inline-grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--deck-lime);
}

.club-mini-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.club-mini-cards span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.55rem;
  border-top: 1px solid rgba(23, 35, 27, 0.2);
  font-size: clamp(0.55rem, 0.9vw, 0.72rem);
  font-weight: 650;
}

.club-mini-cards i {
  color: #7d887e;
  font-family: var(--deck-mono);
  font-size: 0.43rem;
  font-style: normal;
}

.club-sprout {
  position: absolute;
  right: 4%;
  bottom: 13%;
  width: 6.8rem;
  height: 9.5rem;
  border-right: 2px solid var(--deck-ink);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.club-sprout i,
.club-sprout b {
  position: absolute;
  width: 4.3rem;
  height: 2.8rem;
  border: 2px solid var(--deck-ink);
  border-radius: 100% 0 100% 0;
  background: var(--deck-lime);
}

.club-sprout i {
  top: 21%;
  right: -0.1rem;
  transform: translateX(100%) rotate(14deg);
}

.club-sprout b {
  top: 50%;
  right: -0.1rem;
  transform: rotate(72deg);
  transform-origin: right;
}

.club-sprout--two {
  right: -8%;
  bottom: -5%;
  opacity: 0.55;
  transform: rotate(13deg) scale(1.55);
}

.cover-tool-stamp {
  position: absolute;
  right: -2.6rem;
  bottom: -2.2rem;
  display: grid;
  width: 8.5rem;
  height: 8.5rem;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--deck-forest);
  border-radius: 50%;
  background: var(--deck-coral);
  color: var(--deck-ink);
  text-align: center;
  transform: rotate(9deg);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.cover-tool-stamp::before,
.cover-tool-stamp::after {
  position: absolute;
  inset: 0.45rem;
  border: 1px dashed rgba(23, 35, 27, 0.55);
  border-radius: inherit;
  content: "";
}

.cover-tool-stamp span,
.cover-tool-stamp small {
  position: absolute;
  font-family: var(--deck-mono);
  font-size: 0.42rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cover-tool-stamp span {
  top: 1.55rem;
}

.cover-tool-stamp small {
  bottom: 1.45rem;
}

.cover-tool-stamp strong {
  position: relative;
  z-index: 2;
  font-family: var(--deck-serif);
  font-size: 1rem;
  line-height: 0.95;
}

/* ---------- Slide 2: outcome ---------- */

.deck-slide--paper {
  background: var(--deck-paper);
}

.paper-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 35, 27, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 27, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to right, black, transparent 85%);
}

.paper-grid--fade {
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.outcome-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

#slide-2 .slide-heading h2 {
  letter-spacing: -0.052em;
}

#slide-2 .slide-heading h2 em {
  display: inline-block;
  margin-left: 0.12em;
}

.outcome-statement {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 16rem;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  border: 2px solid var(--deck-ink);
  background: var(--deck-lime);
  box-shadow: 0.65rem 0.65rem 0 var(--deck-ink);
}

.outcome-statement > p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.outcome-statement > strong {
  display: block;
  margin-top: 0.18rem;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.outcome-statement > small {
  max-width: 27rem;
  margin-top: 1.3rem;
  color: #48534b;
  font-size: 0.87rem;
  line-height: 1.5;
}

.outcome-arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: var(--deck-serif);
  font-size: 2rem;
}

.outcome-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--deck-line);
  border-bottom: 1px solid var(--deck-line);
}

.outcome-metrics article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.2rem, 2.3vw, 2.2rem);
  border-left: 1px solid var(--deck-line);
}

.outcome-metrics article:last-child {
  border-right: 1px solid var(--deck-line);
}

.outcome-metrics article > span {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  color: var(--deck-ink);
  font-size: clamp(2.9rem, 5vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.outcome-metrics article > span small {
  margin: 0 0 0.2em;
  font-family: var(--deck-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.outcome-metrics article p {
  margin: 1.15rem 0 0;
  color: var(--deck-ink-soft);
  font-size: clamp(0.78rem, 1.05vw, 0.95rem);
  line-height: 1.42;
}

.outcome-ribbon {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 1.3rem;
  margin-top: clamp(2rem, 4vh, 3.2rem);
  color: var(--deck-ink-soft);
  font-family: var(--deck-mono);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.outcome-ribbon i {
  height: 1px;
  background: var(--deck-line);
}

.outcome-ribbon strong {
  color: var(--deck-ink);
  font-size: 0.75rem;
}

/* ---------- Slide 3: requirements ---------- */

.deck-slide--sun {
  background: var(--deck-sun);
}

.sun-arc {
  position: absolute;
  top: -32rem;
  right: -26rem;
  width: 67rem;
  height: 67rem;
  border: 1px solid rgba(23, 35, 27, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 8rem rgba(255, 255, 255, 0.06),
    0 0 0 16rem rgba(255, 255, 255, 0.04);
}

.requirements-layout {
  display: grid;
  grid-template-columns: 1fr 0.93fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.requirements-questions {
  border-top: 2px solid var(--deck-ink);
}

.requirements-questions > .panel-label {
  padding: 1rem 0 0.75rem;
}

.requirements-questions article {
  display: grid;
  grid-template-columns: 3.8rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: clamp(0.9rem, 1.8vh, 1.35rem) 0;
  border-top: 1px solid rgba(23, 35, 27, 0.25);
}

.requirements-questions article > span {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--deck-ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  font-family: var(--deck-serif);
  font-size: 0.9rem;
  font-style: italic;
}

.requirements-questions article strong {
  display: block;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  letter-spacing: -0.03em;
}

.requirements-questions article p {
  margin: 0.25rem 0 0;
  color: rgba(23, 35, 27, 0.7);
  font-size: 0.82rem;
}

.requirements-definition {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid rgba(23, 35, 27, 0.15);
  background: var(--deck-paper-2);
  box-shadow: 0 18px 40px rgba(100, 75, 20, 0.14);
  transform: rotate(0.7deg);
}

.deck-slide--sun .requirements-definition {
  padding: clamp(1.35rem, 2.2vw, 1.9rem);
}

.requirements-definition .tape {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  width: 6rem;
  height: 1.55rem;
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(-50%) rotate(-2deg);
}

.requirements-definition h3 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  letter-spacing: -0.05em;
}

.deck-slide--sun .requirements-definition h3 {
  margin: 0.55rem 0 0.7rem;
}

.requirements-definition ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements-definition li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.63rem 0;
  border-top: 1px solid var(--deck-line);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
}

.deck-slide--sun .requirements-definition li {
  padding-block: 0.48rem;
}

.requirements-definition li i {
  color: #46733e;
  font-style: normal;
  font-weight: 700;
}

.requirements-first-question {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--deck-lime);
  font-family: var(--deck-serif);
  font-size: clamp(0.9rem, 1.2vw, 1.08rem);
  font-style: italic;
  line-height: 1.35;
}

.deck-slide--sun .requirements-first-question {
  margin-top: 0.7rem;
  padding: 0.7rem 0.8rem;
}

.requirements-first-question span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--deck-mono);
  font-size: 0.48rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prompt-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  margin-top: clamp(1.2rem, 2.5vh, 2rem);
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(23, 35, 27, 0.35);
  background: var(--deck-ink);
  color: var(--deck-paper);
}

.deck-slide--sun .prompt-strip {
  margin-top: clamp(0.75rem, 1.5vh, 1.1rem);
}

.prompt-cursor {
  color: var(--deck-lime);
  font-family: var(--deck-mono);
  font-size: 1.2rem;
}

.prompt-strip code {
  overflow: hidden;
  color: rgba(244, 240, 231, 0.85);
  font-family: var(--deck-mono);
  font-size: clamp(0.58rem, 0.78vw, 0.72rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-owner {
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  background: var(--deck-lime);
  color: var(--deck-ink);
  font-family: var(--deck-mono);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Slide 4: design ---------- */

.deck-slide--lilac {
  background: #ded6f7;
}

.lilac-shape {
  position: absolute;
  border: 1px solid rgba(23, 35, 27, 0.12);
  border-radius: 50%;
}

.lilac-shape--one {
  top: -20rem;
  left: -19rem;
  width: 48rem;
  height: 48rem;
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, 0.08);
}

.lilac-shape--two {
  right: -10rem;
  bottom: -20rem;
  width: 40rem;
  height: 40rem;
  background: rgba(255, 255, 255, 0.1);
}

.design-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.8rem, 4vw, 4.2rem);
  align-items: center;
}

.wireframe-board {
  position: relative;
  padding: clamp(1rem, 1.8vw, 1.5rem);
  border: 2px solid var(--deck-ink);
  background: rgba(255, 253, 247, 0.35);
  box-shadow: 0.65rem 0.65rem 0 rgba(23, 35, 27, 0.9);
  transform: rotate(-0.6deg);
}

.wireframe-page {
  min-height: 23rem;
  padding: 1.2rem;
  border: 1px solid rgba(23, 35, 27, 0.22);
  background: var(--deck-paper-2);
}

.wireframe-nav {
  display: grid;
  grid-template-columns: 1.4rem 4rem 1fr;
  gap: 0.45rem;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--deck-line);
}

.wireframe-nav i {
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid var(--deck-ink);
  border-radius: 50%;
}

.wireframe-nav span,
.wireframe-nav b {
  display: block;
  height: 0.4rem;
  background: rgba(23, 35, 27, 0.2);
}

.wireframe-nav b {
  justify-self: end;
  width: 3.4rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(23, 35, 27, 0.82);
}

.wireframe-hub {
  display: grid;
  grid-template-columns: 5.8rem 1fr;
  min-height: 18.2rem;
}

.wireframe-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.2rem 0.8rem;
  border-right: 1px solid var(--deck-line);
  background: rgba(23, 35, 27, 0.035);
}

.wireframe-sidebar b,
.wireframe-sidebar span {
  display: block;
  height: 0.35rem;
  background: rgba(23, 35, 27, 0.15);
}

.wireframe-sidebar b {
  width: 75%;
  height: 0.55rem;
  margin-bottom: 0.45rem;
  background: var(--deck-ink);
}

.wireframe-sidebar span:nth-of-type(2) {
  width: 72%;
}

.wireframe-sidebar span:nth-of-type(3) {
  width: 88%;
}

.wireframe-sidebar span:nth-of-type(4) {
  width: 62%;
}

.wireframe-hub-main {
  padding: 1.25rem;
}

.wireframe-hub-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 1.1rem;
}

.wireframe-hub-heading small,
.wireframe-hub-heading strong,
.wireframe-hub-heading p {
  display: block;
  margin: 0;
  background: rgba(23, 35, 27, 0.18);
}

.wireframe-hub-heading small {
  width: 20%;
  height: 0.3rem;
  margin-bottom: 0.65rem;
}

.wireframe-hub-heading strong {
  width: 52%;
  height: 1.05rem;
  background: var(--deck-ink);
}

.wireframe-hub-heading p {
  width: 68%;
  height: 0.32rem;
  margin-top: 0.55rem;
}

.wireframe-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.wireframe-cards span {
  height: 3.2rem;
  border: 1px solid rgba(23, 35, 27, 0.22);
  background:
    linear-gradient(rgba(23, 35, 27, 0.2), rgba(23, 35, 27, 0.2)) 0.55rem 0.65rem / 42% 0.35rem no-repeat,
    linear-gradient(rgba(23, 35, 27, 0.1), rgba(23, 35, 27, 0.1)) 0.55rem 1.35rem / 70% 0.25rem no-repeat;
}

.wireframe-cards span:first-child {
  background-color: rgba(217, 249, 157, 0.55);
}

.wireframe-resource-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.wireframe-resource-list i {
  display: block;
  height: 1.65rem;
  border: 1px solid rgba(23, 35, 27, 0.18);
  background:
    radial-gradient(circle, rgba(23, 35, 27, 0.3) 0 0.25rem, transparent 0.28rem) 0.55rem center / 0.55rem 0.55rem no-repeat,
    linear-gradient(rgba(23, 35, 27, 0.15), rgba(23, 35, 27, 0.15)) 1.55rem center / 42% 0.28rem no-repeat;
}

.wireframe-note {
  position: absolute;
  z-index: 3;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--deck-ink);
  background: var(--deck-sun);
  font-family: var(--deck-serif);
  font-size: 0.75rem;
  font-style: italic;
  box-shadow: 3px 3px 0 var(--deck-ink);
}

.wireframe-note::after {
  position: absolute;
  width: 2rem;
  height: 1.5rem;
  border-bottom: 1px solid var(--deck-ink);
  content: "";
}

.wireframe-note--one {
  top: 25%;
  left: -2.6rem;
  transform: rotate(-8deg);
}

.wireframe-note--one::after {
  top: 70%;
  left: 100%;
  border-radius: 0 0 100% 0;
  transform: rotate(18deg);
}

.wireframe-note--two {
  right: -2.2rem;
  bottom: 14%;
  transform: rotate(7deg);
}

.wireframe-note--two::after {
  right: 100%;
  bottom: 45%;
  border-radius: 0 0 0 100%;
  transform: rotate(-14deg);
}

.design-decisions {
  align-self: stretch;
  padding-top: 0.5rem;
}

.journey-list {
  margin: 1rem 0 1.4rem;
  padding: 0;
  border-top: 2px solid var(--deck-ink);
  list-style: none;
}

.journey-list li {
  display: grid;
  grid-template-columns: 2.25rem minmax(5.5rem, 0.7fr) 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: clamp(0.68rem, 1.5vh, 1rem) 0;
  border-bottom: 1px solid rgba(23, 35, 27, 0.22);
}

.journey-list li > span {
  font-family: var(--deck-mono);
  font-size: 0.58rem;
}

.journey-list li > strong {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
}

.journey-list li > small {
  color: rgba(23, 35, 27, 0.64);
  font-family: var(--deck-serif);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-style: italic;
}

.design-tool-role {
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.55rem;
  padding: 0.65rem;
  border: 1px solid rgba(23, 35, 27, 0.18);
  background: rgba(255, 253, 247, 0.35);
}

.design-tool-role p {
  margin: 0;
  color: rgba(23, 35, 27, 0.72);
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  line-height: 1.35;
}

.design-tool-role p strong {
  color: var(--deck-ink);
}

.tool-avatar {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  font-family: var(--deck-mono);
  font-size: 0.55rem;
  font-weight: 700;
}

.tool-avatar--claude {
  background: var(--deck-coral);
}

.tool-avatar--human {
  background: var(--deck-lime);
}

/* ---------- Slide 5: build ---------- */

.deck-slide--workbench {
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 249, 157, 0.09), transparent 29%),
    #17211c;
  color: var(--deck-paper);
}

.workbench-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 249, 157, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 249, 157, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

.build-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
}

.code-workspace {
  position: relative;
  padding-bottom: 1.35rem;
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(244, 240, 231, 0.2);
  border-radius: 0.75rem;
  background: #0d1510;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}

.code-tabs {
  display: flex;
  align-items: center;
  min-height: 2.65rem;
  border-bottom: 1px solid rgba(244, 240, 231, 0.1);
  color: rgba(244, 240, 231, 0.4);
  font-family: var(--deck-mono);
  font-size: 0.55rem;
}

.code-tabs span {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  border-right: 1px solid rgba(244, 240, 231, 0.08);
}

.code-tabs span.is-selected {
  border-top: 2px solid var(--deck-lime);
  background: rgba(244, 240, 231, 0.035);
  color: var(--deck-paper);
}

.code-tabs i {
  margin-left: auto;
  padding-right: 1rem;
  font-style: normal;
  letter-spacing: 0.15em;
}

.code-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 17rem;
}

.code-lines {
  margin: 0;
  padding: clamp(1.4rem, 2.4vw, 2.2rem) 1rem clamp(1.4rem, 2.4vw, 2.2rem) 3.2rem;
  border-right: 1px solid rgba(244, 240, 231, 0.1);
  color: rgba(244, 240, 231, 0.25);
  font-family: var(--deck-mono);
  font-size: clamp(0.58rem, 0.8vw, 0.72rem);
  line-height: 1.9;
}

.code-lines li {
  padding-left: 0.45rem;
}

.code-lines li::marker {
  color: rgba(244, 240, 231, 0.18);
}

.code-lines span {
  color: rgba(244, 240, 231, 0.72);
}

.code-lines b {
  color: #f2a681;
  font-weight: 500;
}

.code-lines em {
  color: var(--deck-lime);
  font-style: normal;
}

.code-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.3rem, 2.3vw, 2rem);
  background:
    radial-gradient(circle at 90% 20%, rgba(131, 178, 113, 0.3), transparent 35%),
    #f5eed8;
  color: var(--deck-ink);
}

.code-preview small {
  margin-bottom: 0.75rem;
  font-family: var(--deck-mono);
  font-size: 0.43rem;
  letter-spacing: 0.1em;
}

.code-preview strong {
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.code-preview span {
  align-self: flex-start;
  margin-top: 1.2rem;
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  background: var(--deck-ink);
  color: var(--deck-paper);
  font-size: 0.55rem;
  font-weight: 650;
}

.build-status {
  position: absolute;
  right: 1rem;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(217, 249, 157, 0.32);
  border-radius: 999px;
  background: #223129;
  color: rgba(244, 240, 231, 0.75);
  font-family: var(--deck-mono);
  font-size: 0.48rem;
}

.build-status i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--deck-lime);
  box-shadow: 0 0 0 0.2rem rgba(217, 249, 157, 0.12);
}

.build-loop {
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border: 1px solid rgba(244, 240, 231, 0.15);
  background: rgba(244, 240, 231, 0.035);
}

.build-loop .panel-label {
  color: var(--deck-lime);
}

.build-loop ol {
  display: grid;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.build-loop li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  padding: clamp(0.65rem, 1.2vh, 0.9rem) 0;
  border-top: 1px solid rgba(244, 240, 231, 0.12);
}

.build-loop li > span {
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid rgba(244, 240, 231, 0.28);
  border-radius: 50%;
  color: var(--deck-lime);
  font-family: var(--deck-mono);
  font-size: 0.55rem;
}

.build-loop li p {
  margin: 0;
  color: rgba(244, 240, 231, 0.48);
  font-size: clamp(0.65rem, 0.85vw, 0.76rem);
  line-height: 1.35;
}

.build-loop li strong {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--deck-paper);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
}

.tool-bench {
  display: grid;
  grid-template-columns: 0.7fr 0.8fr 1.55fr;
  gap: 0.7rem;
  margin-top: clamp(1.1rem, 2.5vh, 1.8rem);
}

.tool-bench article {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.8rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(244, 240, 231, 0.14);
}

.tool-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.55rem;
  color: var(--deck-ink);
  font-family: var(--deck-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.tool-mark--codex {
  background: var(--deck-lime);
}

.tool-mark--claude {
  background: var(--deck-peach);
}

.tool-bench p {
  margin: 0;
  font-size: 0.78rem;
}

.tool-bench p strong {
  display: block;
  color: var(--deck-paper);
}

.tool-bench p small {
  display: block;
  margin-top: 0.12rem;
  color: rgba(244, 240, 231, 0.46);
  font-size: 0.55rem;
  line-height: 1.25;
}

.tool-bench article.tool-bench-rule {
  justify-content: center;
  color: rgba(244, 240, 231, 0.6);
  font-family: var(--deck-mono);
  font-size: clamp(0.48rem, 0.7vw, 0.61rem);
  letter-spacing: 0.05em;
  text-align: center;
}

.tool-bench-rule i {
  color: var(--deck-lime);
  font-style: normal;
}

/* ---------- Slide 6: testing ---------- */

.deck-slide--sky {
  background: var(--deck-sky);
}

.sky-rings {
  position: absolute;
  top: -18rem;
  right: -12rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(23, 35, 27, 0.1);
  border-radius: 50%;
}

.sky-rings i {
  position: absolute;
  border: 1px solid rgba(23, 35, 27, 0.1);
  border-radius: 50%;
}

.sky-rings i:first-child {
  inset: 4rem;
}

.sky-rings i:nth-child(2) {
  inset: 9rem;
}

.sky-rings i:last-child {
  inset: 14rem;
  background: rgba(217, 249, 157, 0.7);
}

.testing-layout {
  display: grid;
  grid-template-columns: 1.38fr 0.62fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
}

.test-lab {
  overflow: hidden;
  border: 2px solid var(--deck-ink);
  background: var(--deck-paper-2);
  box-shadow: 0.55rem 0.55rem 0 var(--deck-ink);
}

.test-lab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-bottom: 2px solid var(--deck-ink);
  background: var(--deck-ink);
  color: var(--deck-paper);
}

.test-lab-header p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--deck-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.test-lab-header p i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--deck-lime);
  box-shadow: 0 0 0 0.22rem rgba(217, 249, 157, 0.15);
}

.test-lab-header > span {
  color: rgba(244, 240, 231, 0.5);
  font-family: var(--deck-mono);
  font-size: 0.52rem;
}

.test-table {
  display: grid;
}

.test-row {
  display: grid;
  grid-template-columns: 1.08fr 1fr 0.55fr;
  gap: 1rem;
  align-items: center;
  min-height: clamp(2.65rem, 5vh, 3.7rem);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--deck-line);
  color: var(--deck-ink-soft);
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
}

.test-row:last-child {
  border-bottom: 0;
}

.test-row--head {
  min-height: 2.15rem;
  background: rgba(23, 35, 27, 0.045);
  color: rgba(23, 35, 27, 0.5);
  font-family: var(--deck-mono);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.test-row strong {
  color: var(--deck-ink);
  font-weight: 650;
}

.test-row strong i {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  margin-right: 0.35rem;
  place-items: center;
  border: 1px solid var(--deck-line);
  border-radius: 50%;
  color: #728078;
  font-family: var(--deck-mono);
  font-size: 0.44rem;
  font-style: normal;
}

.test-row b {
  justify-self: start;
  padding: 0.35rem 0.48rem;
  border: 1px solid var(--deck-line);
  border-radius: 999px;
  color: var(--deck-ink);
  font-family: var(--deck-mono);
  font-size: clamp(0.43rem, 0.6vw, 0.52rem);
  font-weight: 600;
  white-space: nowrap;
}

.break-it-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 23rem;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 2px solid var(--deck-ink);
  background: var(--deck-sun);
  transform: rotate(0.7deg);
}

.break-it-card h3 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.8rem, 3.3vw, 3.2rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.break-it-card > p:not(.panel-label) {
  margin: 1rem 0 1.4rem;
  color: rgba(23, 35, 27, 0.72);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  line-height: 1.5;
}

.break-it-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(23, 35, 27, 0.28);
  font-family: var(--deck-mono);
  font-size: 0.51rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.break-it-card > div i {
  font-style: normal;
}

.break-it-burst {
  position: absolute;
  top: -1.65rem;
  right: -1.2rem;
  display: grid;
  width: 5.3rem;
  height: 5.3rem;
  place-items: center;
  background: var(--deck-coral);
  color: var(--deck-ink);
  clip-path: polygon(50% 0%, 60% 17%, 78% 7%, 80% 27%, 100% 28%, 86% 44%, 100% 57%, 80% 63%, 83% 83%, 63% 78%, 52% 100%, 42% 80%, 23% 92%, 22% 70%, 0 68%, 15% 50%, 0 34%, 21% 31%, 17% 11%, 39% 19%);
  font-family: var(--deck-mono);
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transform: rotate(8deg);
}

/* ---------- Slide 7: deploy ---------- */

.deck-slide--peach {
  background: #efad88;
}

.peach-sun {
  position: absolute;
  top: -15rem;
  right: -9rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(23, 35, 27, 0.1);
  border-radius: 50%;
  background: rgba(246, 207, 100, 0.48);
  box-shadow: 0 0 0 6rem rgba(246, 207, 100, 0.1);
}

.deploy-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: clamp(0.5rem, 1.5vw, 1.2rem);
  align-items: center;
}

.deploy-pipeline > article {
  position: relative;
  display: grid;
  min-height: 11rem;
  place-items: center;
  padding: 1.2rem;
  border: 2px solid var(--deck-ink);
  background: var(--deck-paper-2);
  text-align: center;
}

.deploy-pipeline > article > span {
  position: absolute;
  top: 0.65rem;
  left: 0.75rem;
  font-family: var(--deck-mono);
  font-size: 0.5rem;
}

.deploy-pipeline > article strong {
  margin-top: 0.45rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.deploy-pipeline > article small {
  color: var(--deck-ink-soft);
  font-size: 0.7rem;
}

.deploy-pipeline > article.is-live {
  background: var(--deck-lime);
  box-shadow: 0.45rem 0.45rem 0 var(--deck-ink);
  transform: rotate(1deg);
}

.deploy-pipeline > b {
  font-size: clamp(1rem, 2vw, 1.8rem);
  font-weight: 500;
}

.pipeline-icon {
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  place-items: center;
  border: 1px solid var(--deck-ink);
  border-radius: 50%;
  font-family: var(--deck-mono);
  font-size: 0.85rem;
  font-style: normal;
}

.pipeline-icon--code {
  background: var(--deck-lilac);
}

.pipeline-icon--git {
  background: var(--deck-sun);
  font-size: 1.6rem;
}

.pipeline-icon--cloud {
  background: var(--deck-sky);
  font-size: 1.3rem;
}

.pipeline-icon--live {
  background: var(--deck-ink);
  color: var(--deck-lime);
  font-size: 1.25rem;
}

.deploy-bottom {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(1.5rem, 3vh, 2.4rem);
}

.release-gate {
  padding-top: 0.85rem;
  border-top: 2px solid var(--deck-ink);
}

.release-gate ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.release-gate li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem 0.45rem 0;
  border-top: 1px solid rgba(23, 35, 27, 0.2);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
}

.release-gate li:nth-child(odd) {
  margin-right: 1rem;
}

.release-gate li i {
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border: 1px solid var(--deck-ink);
  border-radius: 50%;
  font-family: var(--deck-mono);
  font-size: 0.45rem;
  font-style: normal;
}

.ship-callout {
  position: relative;
  display: grid;
  align-content: center;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(23, 35, 27, 0.2);
  background: rgba(255, 253, 247, 0.33);
}

.ship-callout p {
  margin: 0 0 0.8rem;
  padding-right: 4rem;
  font-size: clamp(0.88rem, 1.3vw, 1.1rem);
}

.ship-callout p em {
  font-family: var(--deck-serif);
  font-weight: 600;
}

.ship-callout > div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(23, 35, 27, 0.2);
  background: var(--deck-paper-2);
  font-family: var(--deck-mono);
  font-size: 0.55rem;
}

.ship-callout > div i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #4d9f51;
  box-shadow: 0 0 0 0.18rem rgba(77, 159, 81, 0.15);
}

.ship-sticker {
  position: absolute;
  top: -1rem;
  right: 1rem;
  display: grid;
  width: 4.8rem;
  height: 4.8rem;
  place-items: center;
  border: 2px solid var(--deck-ink);
  border-radius: 50%;
  background: var(--deck-lime);
  font-family: var(--deck-mono);
  font-size: 0.55rem;
  font-weight: 700;
  transform: rotate(10deg);
}

/* ---------- Slide 8: working together ---------- */

.collaboration-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: clamp(1.5rem, 3vh, 2.6rem) 0 0;
  padding: 0;
  list-style: none;
}

.collaboration-path::before {
  position: absolute;
  top: 4.45rem;
  right: 8%;
  left: 8%;
  height: 2px;
  background: var(--deck-ink);
  content: "";
}

.collaboration-path li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.7rem;
  text-align: center;
}

.collaboration-path li > span {
  align-self: stretch;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--deck-line);
  font-family: var(--deck-mono);
  font-size: 0.5rem;
  text-align: left;
}

.collaboration-path li > i {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(3.8rem, 7vw, 5.5rem);
  height: clamp(3.8rem, 7vw, 5.5rem);
  margin: 0.9rem 0;
  place-items: center;
  border: 2px solid var(--deck-ink);
  border-radius: 50%;
  background: var(--deck-paper);
  font-family: var(--deck-mono);
  font-size: clamp(0.8rem, 1.4vw, 1.1rem);
  font-style: normal;
}

.collaboration-path li:nth-child(2) > i {
  background: var(--deck-lilac);
}

.collaboration-path li:nth-child(3) > i {
  background: var(--deck-sun);
}

.collaboration-path li:nth-child(4) > i {
  background: var(--deck-sky);
}

.collaboration-path li:nth-child(5) > i {
  background: var(--deck-lime);
  box-shadow: 0.35rem 0.35rem 0 var(--deck-ink);
}

.collaboration-path li > strong {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.collaboration-path li > p {
  max-width: 9rem;
  margin: 0.3rem 0 0;
  color: var(--deck-ink-soft);
  font-size: clamp(0.63rem, 0.85vw, 0.75rem);
  line-height: 1.35;
}

.collaboration-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(1.7rem, 3.5vh, 3rem);
  border: 2px solid var(--deck-ink);
}

.collaboration-roles article {
  min-height: 8.5rem;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-right: 1px solid var(--deck-ink);
}

.collaboration-roles article:last-child {
  border-right: 0;
}

.collaboration-roles article.is-emphasis {
  background: var(--deck-ink);
  color: var(--deck-paper);
}

.collaboration-roles article > strong {
  display: block;
  margin-top: 0.7rem;
  font-size: clamp(1.2rem, 2.1vw, 1.85rem);
  letter-spacing: -0.045em;
}

.collaboration-roles article > span {
  display: block;
  margin-top: 0.35rem;
  color: var(--deck-ink-soft);
  font-size: clamp(0.66rem, 0.9vw, 0.78rem);
}

.collaboration-roles .is-emphasis > span {
  color: rgba(244, 240, 231, 0.58);
}

/* ---------- Slide 9: close ---------- */

.deck-slide--final {
  background:
    radial-gradient(circle at 50% 100%, rgba(217, 249, 157, 0.11), transparent 35%),
    var(--deck-forest);
  color: var(--deck-paper);
}

.final-lines {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 240, 231, 0.12) 0.8px, transparent 0.8px);
  background-size: 19px 19px;
  opacity: 0.18;
}

.final-leaf {
  position: absolute;
  width: 29rem;
  height: 18rem;
  border: 1px solid rgba(217, 249, 157, 0.25);
  border-radius: 100% 0 100% 0;
}

.final-leaf--one {
  top: -7rem;
  right: -9rem;
  background: rgba(217, 249, 157, 0.05);
  transform: rotate(15deg);
}

.final-leaf--two {
  bottom: -9rem;
  left: -12rem;
  background: rgba(241, 114, 81, 0.05);
  transform: rotate(190deg);
}

.final-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.final-layout h2 {
  margin: 0;
  color: var(--deck-paper);
  font-size: clamp(4rem, 8vw, 8.8rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.final-layout h2 em {
  color: var(--deck-lime);
  font-family: var(--deck-serif);
  font-weight: 600;
}

.final-intro {
  margin: 1.6rem 0 0;
  color: rgba(244, 240, 231, 0.6);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.first-question-card {
  position: relative;
  padding: clamp(1.8rem, 3.8vw, 3.2rem);
  border: 2px solid var(--deck-paper);
  background: var(--deck-lime);
  color: var(--deck-ink);
  box-shadow: 0.75rem 0.75rem 0 var(--deck-coral);
  transform: rotate(1deg);
}

.first-question-card > span {
  font-family: var(--deck-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.first-question-card > p {
  margin: 1.15rem 0;
  font-family: var(--deck-serif);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.first-question-card > small {
  display: block;
  margin-top: 1rem;
  color: rgba(23, 35, 27, 0.62);
  font-size: 0.7rem;
}

.answer-line {
  display: grid;
  gap: 0.55rem;
}

.answer-line i {
  height: 1px;
  background: rgba(23, 35, 27, 0.35);
}

.final-signoff {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: clamp(1rem, 3vh, 2.5rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 240, 231, 0.18);
  color: rgba(244, 240, 231, 0.48);
  font-family: var(--deck-mono);
  font-size: clamp(0.5rem, 0.8vw, 0.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-signoff i {
  color: rgba(217, 249, 157, 0.45);
  font-style: normal;
}

.final-signoff strong {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  background: var(--deck-lime);
  color: var(--deck-ink);
}

/* ---------- Bottom controls ---------- */

.deck-controls {
  position: fixed;
  z-index: 40;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(0.9rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(6.5rem, auto) minmax(12rem, 32rem) minmax(6.5rem, auto);
  gap: 0.7rem;
  align-items: center;
  width: min(calc(100% - 2rem), 52rem);
  min-height: 3.5rem;
  margin-inline: auto;
  padding: 0.45rem;
  border: 1px solid rgba(23, 35, 27, 0.13);
  border-radius: 1rem;
  background: rgba(255, 253, 247, 0.9);
  color: var(--deck-ink);
  box-shadow: 0 14px 40px rgba(12, 22, 16, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.deck-controls::before {
  position: absolute;
  top: -1px;
  left: 0.5rem;
  width: calc(var(--deck-progress) - 1rem);
  max-width: calc(100% - 1rem);
  height: 2px;
  border-radius: 2px;
  background: var(--deck-coral);
  content: "";
  transition: width 320ms ease;
}

.deck-control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  height: 2.55rem;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 0.72rem;
  background: transparent;
  color: var(--deck-ink);
  font-size: 0.72rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 160ms ease, opacity 160ms ease;
}

.deck-control-button:hover:not(:disabled) {
  background: rgba(23, 35, 27, 0.065);
}

.deck-control-button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.deck-control-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.deck-control-button--previous {
  justify-self: start;
}

.deck-control-button--next {
  justify-self: end;
  min-width: 5.6rem;
  background: var(--deck-ink);
  color: var(--deck-paper);
}

.deck-control-button--next:hover {
  background: #2b3c31 !important;
}

.deck-progress {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.3rem;
  align-items: center;
}

.deck-progress-dot {
  position: relative;
  display: grid;
  height: 2rem;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b847d;
  cursor: pointer;
}

.deck-progress-dot::before {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(23, 35, 27, 0.14);
  content: "";
  transition: height 160ms ease, background 160ms ease;
}

.deck-progress-dot:hover::before {
  height: 4px;
  background: rgba(23, 35, 27, 0.35);
}

.deck-progress-dot.is-active::before {
  height: 4px;
  background: var(--deck-coral);
}

.deck-progress-dot span {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  padding: 0.15rem 0.25rem;
  border-radius: 0.2rem;
  background: var(--deck-ink);
  color: var(--deck-paper);
  font-family: var(--deck-mono);
  font-size: 0.42rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.deck-progress-dot:hover span,
.deck-progress-dot:focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.deck button:focus-visible,
.deck a:focus-visible {
  outline: 3px solid var(--deck-coral);
  outline-offset: 3px;
}

/* ---------- Slide overview dialog ---------- */

.deck-overview {
  width: min(74rem, calc(100% - 2rem));
  max-height: min(50rem, calc(100svh - 2rem));
  margin: auto;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  overflow: auto;
  border: 1px solid rgba(244, 240, 231, 0.16);
  border-radius: 1.3rem;
  background: #1b2820;
  color: var(--deck-paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.deck-overview::backdrop {
  background: rgba(9, 15, 11, 0.74);
  backdrop-filter: blur(6px);
}

.overview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(244, 240, 231, 0.14);
}

.overview-heading p {
  margin: 0 0 0.35rem;
  color: var(--deck-lime);
  font-family: var(--deck-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.overview-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.045em;
}

.overview-heading button {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(244, 240, 231, 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--deck-paper);
  cursor: pointer;
}

.overview-heading button:hover {
  background: rgba(244, 240, 231, 0.08);
}

.overview-heading svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.overview-card {
  position: relative;
  display: flex;
  min-height: 9.5rem;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 231, 0.2);
  background: var(--deck-paper);
  color: var(--deck-ink);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.overview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.overview-card::after {
  position: absolute;
  right: -2rem;
  bottom: -2.5rem;
  width: 7rem;
  height: 7rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.14;
}

.overview-card > span {
  font-family: var(--deck-mono);
  font-size: 0.48rem;
}

.overview-card > small {
  margin-top: auto;
  font-family: var(--deck-mono);
  font-size: 0.48rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.overview-card > strong {
  max-width: 90%;
  margin-top: 0.3rem;
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.overview-card > i {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-style: normal;
}

.overview-card--dark {
  background: #27362c;
  color: var(--deck-paper);
}

.overview-card--sun {
  background: var(--deck-sun);
}

.overview-card--lilac {
  background: var(--deck-lilac);
}

.overview-card--sky {
  background: var(--deck-sky);
}

.overview-card--peach {
  background: var(--deck-peach);
}

.overview-card--lime {
  background: var(--deck-lime);
}

/* ---------- Responsive adjustments ---------- */

@media (max-width: 1100px) {
  .deck-slide {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .cover-layout {
    grid-template-columns: 1fr minmax(23rem, 0.8fr);
    gap: 2.5rem;
  }

  .cover-tool-stamp {
    right: -0.5rem;
  }

  .slide-heading--inline {
    align-items: start;
  }

  .test-row {
    grid-template-columns: 1.05fr 0.95fr 0.52fr;
  }
}

@media (max-width: 850px) {
  .deck-bar {
    right: 0.7rem;
    left: 0.7rem;
  }

  .deck-brand-series,
  .deck-brand-divider,
  .deck-fullscreen-button span,
  .deck-bar-button > span {
    display: none;
  }

  .deck-bar-button {
    padding-inline: 0.65rem;
  }

  .deck-slide {
    display: block;
    padding: 6.1rem 1.2rem 7rem;
  }

  .slide-heading--inline {
    display: block;
  }

  .slide-heading--inline > p {
    margin-top: 1rem;
  }

  .cover-layout,
  .outcome-layout,
  .requirements-layout,
  .design-layout,
  .build-layout,
  .testing-layout,
  .deploy-bottom,
  .final-layout {
    grid-template-columns: 1fr;
  }

  .cover-layout {
    gap: 2rem;
  }

  .cover-art {
    width: min(90%, 32rem);
    justify-self: center;
    margin: 0 auto 1rem;
  }

  .club-page {
    min-height: 27rem;
  }

  .cover-hint {
    display: none;
  }

  .outcome-metrics {
    min-height: 12rem;
  }

  .requirements-definition {
    transform: none;
  }

  .wireframe-board {
    width: calc(100% - 1rem);
    margin-inline: auto;
  }

  .design-decisions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
  }

  .design-decisions > .panel-label,
  .journey-list {
    grid-column: 1 / -1;
  }

  .tool-bench {
    grid-template-columns: 1fr 1fr;
  }

  .tool-bench article.tool-bench-rule {
    grid-column: 1 / -1;
  }

  .break-it-card {
    min-height: 18rem;
  }

  .deploy-pipeline > article {
    min-height: 9rem;
    padding: 0.8rem;
  }

  .collaboration-path li {
    padding-inline: 0.25rem;
  }

  .collaboration-roles article {
    min-height: 7.5rem;
  }

  .final-layout {
    gap: 2.5rem;
  }

  .first-question-card {
    max-width: 38rem;
  }

  .deck-controls {
    right: 0.7rem;
    bottom: max(0.7rem, env(safe-area-inset-bottom));
    left: 0.7rem;
    width: calc(100% - 1.4rem);
  }
}

@media (max-width: 620px) {
  .deck-brand-name {
    font-size: 0.78rem;
  }

  .deck-count {
    margin-right: 0;
  }

  .deck-slide {
    padding: 5.8rem 1rem 6.4rem;
  }

  .slide-heading h2 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .cover-title {
    font-size: clamp(3.5rem, 17vw, 5.6rem);
  }

  .cover-intro {
    font-size: 1rem;
  }

  .cover-tags {
    gap: 0.35rem;
    margin-top: 1.2rem;
  }

  .cover-tags span {
    padding: 0.35rem 0.5rem;
    font-size: 0.5rem;
  }

  .cover-art {
    width: calc(100% - 1rem);
  }

  .cover-note {
    left: -0.3rem;
  }

  .cover-tool-stamp {
    right: -0.1rem;
    bottom: -1rem;
    width: 6.8rem;
    height: 6.8rem;
  }

  .cover-tool-stamp span {
    top: 1.15rem;
  }

  .cover-tool-stamp small {
    bottom: 1rem;
  }

  .club-page {
    min-height: 23rem;
    padding: 1rem;
  }

  .club-mini-hero {
    max-width: 82%;
    padding: 3rem 0 2rem;
  }

  .club-mini-hero strong {
    font-size: 2.1rem;
  }

  .club-sprout {
    transform: rotate(-14deg) scale(0.8);
    transform-origin: bottom right;
  }

  .outcome-metrics {
    grid-template-columns: 1fr;
    border: 0;
  }

  .outcome-metrics article {
    display: grid;
    grid-template-columns: 6rem 1fr;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--deck-line);
    border-bottom: 0;
  }

  .outcome-metrics article:last-child {
    border-bottom: 1px solid var(--deck-line);
  }

  .outcome-metrics article > span {
    font-size: 2.8rem;
  }

  .outcome-metrics article p {
    margin: 0;
  }

  .outcome-ribbon {
    grid-template-columns: auto 1fr auto;
    gap: 0.6rem;
  }

  .outcome-ribbon i:nth-of-type(2),
  .outcome-ribbon span:last-child {
    display: none;
  }

  .prompt-strip {
    grid-template-columns: auto 1fr;
  }

  .prompt-owner {
    display: none;
  }

  .wireframe-page {
    min-height: 19rem;
    padding: 0.8rem;
  }

  .wireframe-hub {
    grid-template-columns: 4rem 1fr;
    min-height: 14rem;
  }

  .wireframe-note {
    display: none;
  }

  .design-decisions {
    display: block;
  }

  .design-tool-role {
    margin-top: 0.55rem;
  }

  .code-body {
    grid-template-columns: 1fr;
  }

  .code-lines {
    display: none;
  }

  .code-preview {
    min-height: 13rem;
  }

  .tool-bench {
    grid-template-columns: 1fr;
  }

  .tool-bench article.tool-bench-rule {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .test-row {
    grid-template-columns: 1fr 0.62fr;
    gap: 0.6rem;
  }

  .test-row > *:nth-child(2) {
    display: none;
  }

  .test-row--head > *:nth-child(2) {
    display: none;
  }

  .deploy-pipeline {
    grid-template-columns: 1fr;
  }

  .deploy-pipeline > b {
    justify-self: center;
    line-height: 0.5;
    transform: rotate(90deg);
  }

  .deploy-pipeline > article {
    grid-template-columns: auto auto 1fr;
    gap: 0.8rem;
    min-height: 5.3rem;
    text-align: left;
  }

  .deploy-pipeline > article > span {
    position: static;
  }

  .deploy-pipeline > article strong {
    margin: 0;
  }

  .deploy-pipeline > article small {
    grid-column: 3;
    margin-top: -1.3rem;
  }

  .pipeline-icon {
    grid-row: 1 / 3;
    grid-column: 2;
    width: 3rem;
    height: 3rem;
  }

  .release-gate ul {
    grid-template-columns: 1fr;
  }

  .release-gate li:nth-child(odd) {
    margin-right: 0;
  }

  .collaboration-path {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .collaboration-path::before {
    top: 2rem;
    right: auto;
    bottom: 2rem;
    left: 2rem;
    width: 2px;
    height: auto;
  }

  .collaboration-path li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    align-items: center;
    padding: 0.35rem 0;
    text-align: left;
  }

  .collaboration-path li > span {
    display: none;
  }

  .collaboration-path li > i {
    grid-row: 1 / 3;
    width: 4rem;
    height: 4rem;
    margin: 0;
  }

  .collaboration-path li > p {
    max-width: none;
    margin-top: 0.1rem;
  }

  .collaboration-roles {
    grid-template-columns: 1fr;
  }

  .collaboration-roles article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--deck-ink);
  }

  .collaboration-roles article:last-child {
    border-bottom: 0;
  }

  .final-layout h2 {
    font-size: clamp(3.9rem, 18vw, 6rem);
  }

  .final-signoff {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .deck-controls {
    grid-template-columns: 2.7rem 1fr 5.4rem;
  }

  .deck-control-button--previous {
    width: 2.55rem;
    padding: 0;
  }

  .deck-control-button--previous span {
    display: none;
  }

  .deck-progress {
    gap: 0.18rem;
  }

  .deck-progress-dot span {
    display: none;
  }

  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-height: 760px) and (min-width: 851px) {
  .deck-slide {
    padding-top: 5.2rem;
    padding-bottom: 5.9rem;
  }

  .slide-heading {
    margin-bottom: 1.35rem;
  }

  .slide-heading h2 {
    font-size: clamp(2.5rem, 4.7vw, 4.4rem);
  }

  .slide-heading > p:last-child {
    margin-top: 0.7rem;
    font-size: 0.95rem;
  }

  .cover-title {
    font-size: clamp(3.8rem, 6.3vw, 6.2rem);
  }

  .cover-intro {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .cover-tags {
    margin-top: 1rem;
  }

  .cover-hint {
    margin-top: 1.1rem;
  }

  .club-page {
    min-height: 24rem;
  }

  .outcome-statement {
    min-height: 13rem;
  }

  .requirements-definition {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .wireframe-page {
    min-height: 19rem;
  }

  .wireframe-hub {
    min-height: 14rem;
  }

  .code-body {
    min-height: 14rem;
  }

  .break-it-card {
    min-height: 19rem;
  }

  .deploy-pipeline > article {
    min-height: 8.5rem;
  }

  .pipeline-icon {
    width: 3rem;
    height: 3rem;
  }

  .collaboration-path li > i {
    width: 4rem;
    height: 4rem;
    margin-block: 0.65rem;
  }

  .collaboration-path::before {
    top: 3.75rem;
  }

  .collaboration-roles {
    margin-top: 1.4rem;
  }

  .collaboration-roles article {
    min-height: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deck *,
  .deck *::before,
  .deck *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    size: landscape;
    margin: 0;
  }

  .presentation-html,
  .presentation-body,
  .deck {
    width: auto;
    height: auto;
    overflow: visible;
  }

  .deck-bar,
  .deck-controls,
  .deck-overview,
  .deck-skip-link {
    display: none !important;
  }

  .deck-stage {
    position: static;
  }

  .deck-slide,
  .deck-slide[hidden] {
    position: relative;
    display: grid !important;
    width: 100vw;
    height: 100vh;
    padding: 5vh 5vw;
    overflow: hidden;
    break-after: page;
    page-break-after: always;
  }
}
