:root {
  color-scheme: light;
  --paper: #f4efe5;
  --paper-2: #fffaf0;
  --ink: #17231f;
  --muted: #596862;
  --forest: #163b2e;
  --olive: #60764c;
  --clay: #bf654a;
  --rose: #d9a38f;
  --mint: #d6dfc0;
  --sky: #79aeb8;
  --butter: #e7c875;
  --line: rgba(23, 35, 31, 0.15);
  --shadow: 0 18px 38px rgba(23, 35, 31, 0.12);
  --scroll-progress: 0;
  --viewport-height: 100vh;
  --deck-width: min(100vw, calc(var(--viewport-height) * 1.7778));
  --deck-height: min(var(--viewport-height), 56.25vw);
  --slide-pad-x: clamp(58px, 5.1vw, 82px);
  --slide-pad-y: clamp(42px, 5.1vh, 66px);
  --title-max: 960px;
  --copy-max: 760px;
  --copy-wide: 980px;
  --cluster-gap: clamp(24px, 3.4vh, 38px);
  --card-gap: clamp(16px, 1.8vw, 24px);
  --card-pad: clamp(20px, 2vw, 30px);
  --media-card-min: clamp(240px, 31vh, 360px);
}

* { box-sizing: border-box; }

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(22, 59, 46, 0.045) 0 1px, transparent 1px 38px),
    linear-gradient(45deg, rgba(22, 59, 46, 0.028) 0 1px, transparent 1px 38px),
    var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img { display: block; max-width: 100%; }
button { font: inherit; }

.deck {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.deck::-webkit-scrollbar { display: none; }
.deck:focus { outline: none; }

.slide {
  position: relative;
  display: grid;
  place-items: center;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.72), rgba(244, 239, 229, 0.92)),
    var(--paper);
}

.slide-frame {
  position: relative;
  width: var(--deck-width);
  height: var(--deck-height);
  padding: var(--slide-pad-y) var(--slide-pad-x);
  overflow: hidden;
  isolation: isolate;
}

.slide-frame::before {
  content: "";
  position: absolute;
  inset: clamp(18px, 1.8vw, 30px);
  z-index: -1;
  border: 2px solid rgba(20, 52, 43, 0.1);
  border-radius: clamp(24px, 3.4vw, 48px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 15px 8px;
  border: 2px solid rgba(20, 52, 43, 0.18);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--forest);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  max-width: var(--title-max);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 { font-size: clamp(56px, 8vw, 104px); }
h2 { font-size: clamp(42px, 5.5vw, 76px); }
h3 { font-size: clamp(19px, 2vw, 28px); line-height: 1.05; }

.copy {
  display: grid;
  align-content: start;
  max-width: var(--copy-max);
  gap: 20px;
}

.copy.wide { max-width: var(--copy-wide); }

.copy > p:not(.eyebrow),
.promise,
.prepared,
.contact {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.45;
}

.brand-mark {
  position: absolute;
  z-index: 4;
  top: calc(var(--slide-pad-y) + 2px);
  right: var(--slide-pad-x);
  width: clamp(158px, 15vw, 238px);
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.progress-rail {
  position: fixed;
  z-index: 60;
  right: 22px;
  top: 18vh;
  bottom: 18vh;
  width: 3px;
  background: rgba(20, 33, 42, 0.12);
  pointer-events: none;
}

.progress-rail span {
  display: block;
  width: 100%;
  height: calc(var(--scroll-progress) * 100%);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--forest), var(--olive), var(--sky), var(--clay));
}

body.export-mode .progress-rail,
body.export-mode .slide-jumper { display: none; }

.slide-jumper {
  position: fixed;
  z-index: 80;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34px;
  pointer-events: auto;
}

.slide-jumper-tab {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 128px;
  transform: translateY(-50%);
  border: 1px solid rgba(20, 33, 42, 0.18);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  background: rgba(255, 247, 223, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.slide-jumper-tab span {
  width: 4px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--forest), var(--olive), var(--sky), var(--clay));
}

.slide-jumper-panel {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 18px;
  width: min(330px, calc(100vw - 52px));
  padding: 18px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-108%) scale(0.98);
  border: 1px solid rgba(20, 33, 42, 0.14);
  border-radius: 24px;
  background: rgba(255, 247, 223, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-jumper:hover .slide-jumper-panel,
.slide-jumper:focus-within .slide-jumper-panel {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.slide-jumper-title {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.slide-jumper-list {
  display: grid;
  gap: 10px;
  height: calc(100% - 28px);
  overflow-y: auto;
  padding-right: 6px;
}

.slide-jumper-button {
  display: grid;
  grid-template-columns: 104px 1fr;
  grid-template-rows: auto 1fr;
  min-height: 72px;
  gap: 3px 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(20, 33, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 247, 223, 0.68);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.slide-jumper-button:hover,
.slide-jumper-button:focus-visible,
.slide-jumper-button.is-current {
  outline: none;
  border-color: var(--clay);
  background: var(--paper-2);
}

.slide-jumper-preview {
  position: relative;
  grid-row: 1 / span 2;
  width: 104px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mint), var(--sky), var(--rose));
  background-size: cover;
  background-position: center;
}

.slide-jumper-preview i {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 5px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--paper-2);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.slide-jumper-meta {
  color: var(--clay);
  font-size: 10px;
  font-weight: 900;
}

.slide-jumper-button strong {
  display: -webkit-box;
  max-height: 36px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.05;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rotate-lock {
  display: none;
}

.cover-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.92fr);
  gap: clamp(34px, 4vw, 58px);
  align-items: center;
}

.cover-frame::after,
.journey-frame::after,
.close-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(150px, 18vw, 260px);
  aspect-ratio: 1;
  right: clamp(46px, 7vw, 100px);
  bottom: clamp(40px, 6vh, 78px);
  border: 2px solid rgba(20, 52, 43, 0.11);
  border-radius: 18px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 250, 240, 0.42) 0 8px,
    rgba(255, 250, 240, 0) 8px 18px
  ), rgba(214, 223, 192, 0.72);
  transform: rotate(-3deg);
}

.cover-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  max-width: 650px;
}

.cover-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.42;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row span {
  padding: 10px 15px;
  border-radius: 999px;
  border: 2px solid rgba(20, 52, 43, 0.14);
  color: var(--ink);
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 850;
}

.pill-row span:nth-child(1) { background: var(--rose); }
.pill-row span:nth-child(2) { background: var(--mint); }
.pill-row span:nth-child(3) { background: var(--sky); }

.hero-photo,
.full-photo,
.photo-card-frame figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(20, 52, 43, 0.16);
  border-radius: clamp(22px, 3.8vw, 52px);
  box-shadow: var(--shadow);
}

.hero-photo figcaption,
.full-photo figcaption,
.photo-card-frame figure figcaption,
.cinematic-bg figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: 999px;
  background: rgba(23, 35, 31, 0.56);
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(9px, 0.75vw, 12px);
  font-weight: 750;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.hero-photo {
  height: min(72vh, 620px);
  min-height: 390px;
}

.hero-photo::after,
.full-photo::after,
.photo-card-frame figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 7px solid rgba(255, 250, 240, 0.72);
  border-radius: inherit;
  pointer-events: none;
}

.hero-photo img,
.full-photo img,
.photo-card-frame figure img,
.cinematic-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinematic-slide {
  background: #101612;
}

.cinematic-frame,
.cover-frame.cinematic-frame,
.split-frame.cinematic-frame,
.image-frame.cinematic-frame,
.image-frame.reverse.cinematic-frame,
.journey-frame.cinematic-frame,
.card-frame.cinematic-frame,
.ops-frame.cinematic-frame,
.photo-card-frame.cinematic-frame,
.close-frame.cinematic-frame {
  display: block;
  padding: 0;
  background: #101612;
}

.cinematic-frame::before,
.cinematic-frame::after {
  display: none;
}

.cinematic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto !important;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
}

.cinematic-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 18, 15, 0.84) 0%, rgba(12, 18, 15, 0.48) 44%, rgba(12, 18, 15, 0.1) 76%),
    linear-gradient(0deg, rgba(12, 18, 15, 0.78) 0%, rgba(12, 18, 15, 0.08) 48%, rgba(12, 18, 15, 0.24) 100%);
  pointer-events: none;
}

.cinematic-bg::after {
  content: "";
  position: absolute;
  inset: clamp(20px, 2vw, 34px);
  z-index: 1;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: clamp(18px, 2.6vw, 34px);
  pointer-events: none;
}

.cinematic-bg figcaption {
  z-index: 3;
}

.cinematic-copy {
  position: absolute;
  z-index: 2;
  left: var(--slide-pad-x);
  top: clamp(86px, 19vh, 170px);
  max-width: min(780px, calc(var(--deck-width) * 0.58));
  color: var(--paper-2);
}

.cinematic-copy h1,
.cinematic-copy h2 {
  color: var(--paper-2);
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.34);
}

.cinematic-copy p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.78);
}

.cinematic-copy .eyebrow {
  border-color: rgba(255, 250, 240, 0.3);
  background: rgba(255, 250, 240, 0.14);
  color: var(--paper-2);
  backdrop-filter: blur(10px);
}

.cinematic-frame .brand-mark {
  top: var(--slide-pad-y);
  right: var(--slide-pad-x);
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.24));
}

.cinematic-frame .prepared,
.cinematic-frame .contact {
  z-index: 3;
  color: rgba(255, 250, 240, 0.82);
}

.cinematic-frame .pill-row span,
.cinematic-strip article,
.cinematic-chip-grid article,
.cinematic-list article {
  border-color: rgba(255, 250, 240, 0.22);
  background: rgba(255, 250, 240, 0.14);
  color: var(--paper-2);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.cinematic-frame .pill-row span {
  color: var(--paper-2);
}

.cinematic-strip,
.cinematic-chip-grid,
.cinematic-list {
  position: absolute;
  z-index: 2;
  left: var(--slide-pad-x);
  right: var(--slide-pad-x);
  bottom: var(--slide-pad-y);
}

.cinematic-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-gap);
}

.journey-line.cinematic-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cinematic-strip article {
  min-height: 0;
  padding: clamp(14px, 1.5vw, 22px);
  transform: none !important;
}

.cinematic-strip strong,
.cinematic-chip-grid strong,
.cinematic-list strong {
  color: var(--paper-2);
}

.cinematic-strip p,
.cinematic-chip-grid small,
.cinematic-list span,
.cinematic-list strong,
.cinematic-frame .bullet-list p {
  color: rgba(255, 250, 240, 0.76);
}

.cinematic-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-gap);
}

.cinematic-chip-grid article {
  min-height: 0;
  padding: clamp(16px, 1.5vw, 22px);
}

.cinematic-chip-grid small {
  margin-bottom: 10px;
}

.cinematic-chip-grid strong {
  font-size: clamp(19px, 1.7vw, 28px);
}

.cinematic-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--card-gap);
}

.cinematic-list article {
  display: block;
  min-height: 0;
  padding: clamp(14px, 1.35vw, 20px);
}

.cinematic-list span {
  display: block;
  margin-bottom: 8px;
}

.cinematic-list strong {
  display: block;
  max-height: 3.6em;
  overflow: hidden;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.2;
}

.prepared {
  position: absolute;
  left: var(--slide-pad-x);
  bottom: calc(var(--slide-pad-y) - 6px);
  font-size: clamp(12px, 1vw, 15px);
}

.two-col-frame,
.split-frame,
.ops-frame,
.photo-card-frame,
.proof-frame,
.close-frame,
.intent-frame,
.matrix-frame,
.role-frame,
.coverage-frame,
.package-detail-frame,
.stakeholder-frame,
.enablement-frame,
.onboarding-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: var(--cluster-gap);
  align-items: center;
}

.criteria-stack,
.ops-list {
  display: grid;
  gap: var(--card-gap);
}

.criteria-stack article,
.tension-grid article,
.package-grid article,
.ops-list article,
.proof-grid article,
.timeline-grid article,
.steps article,
.pillar-grid article,
.matrix-grid article,
.role-map article,
.coverage-grid article,
.offer-table article,
.stakeholder-map article,
.enablement-grid article {
  border: 2px solid var(--line);
  border-radius: clamp(14px, 1.8vw, 24px);
  background: rgba(255, 247, 223, 0.82);
  box-shadow: 0 12px 28px rgba(23, 73, 53, 0.09);
}

.criteria-stack article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  padding: var(--card-pad);
}

.criteria-stack span,
.journey-line span,
.package-grid span,
.timeline-grid span,
.steps span {
  color: var(--clay);
  font-weight: 900;
}

.criteria-stack strong {
  font-size: clamp(21px, 2vw, 30px);
}

.criteria-stack p,
.package-grid p,
.steps p,
.bullet-list p,
.ops-list strong,
.proof-grid span {
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.35;
}

.criteria-stack p {
  grid-column: 2;
}

.tension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
}

.tension-grid article {
  min-height: 150px;
  padding: var(--card-pad);
}

.tension-grid small {
  display: block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 900;
}

.tension-grid strong {
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 820;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.03;
}

.image-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: var(--cluster-gap);
  align-items: center;
}

.image-frame.reverse {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
}

.image-frame.reverse .full-photo {
  order: 2;
}

.full-photo {
  height: clamp(360px, calc(var(--deck-height) * 0.72), 650px);
}

.image-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: clamp(330px, calc(var(--deck-height) * 0.62), 560px);
  padding: clamp(30px, 4vw, 58px);
  border: 2px solid rgba(255, 247, 223, 0.22);
  border-radius: clamp(22px, 3.8vw, 52px);
  background:
    linear-gradient(135deg, rgba(121, 174, 184, 0.14), transparent 38%),
    var(--forest);
  color: var(--paper-2);
  box-shadow: var(--shadow);
}

.image-copy h2 {
  font-size: clamp(40px, 5vw, 70px);
}

.image-copy p:not(.eyebrow) {
  color: rgba(255, 248, 236, 0.76);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.44;
}

.image-copy .eyebrow {
  background: var(--sky);
}

.journey-frame,
.card-frame {
  display: grid;
  align-content: center;
  gap: var(--cluster-gap);
}

.journey-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--card-gap);
  align-items: stretch;
}

.journey-line article {
  position: relative;
  min-height: 240px;
  padding: var(--card-pad);
  border: 2px solid var(--line);
  border-radius: clamp(18px, 2.5vw, 32px);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.journey-line article:nth-child(even) {
  transform: translateY(26px);
  background: var(--mint);
}

.journey-line strong {
  display: block;
  margin: 24px 0 12px;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1;
}

.journey-line p {
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.35;
}

.package-grid,
.proof-grid,
.timeline-grid,
.steps {
  display: grid;
  gap: var(--card-gap);
}

.package-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.package-grid article {
  min-height: 250px;
  padding: var(--card-pad);
}

.package-grid article:nth-child(1) { background: var(--mint); }
.package-grid article:nth-child(2) { background: var(--sky); }
.package-grid article:nth-child(3) { background: var(--rose); }
.package-grid article:nth-child(4) { background: var(--paper-2); }

.package-grid h3 {
  margin: 24px 0 16px;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
}

.ops-list article {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 18px;
  padding: clamp(18px, 1.8vw, 24px);
}

.ops-list span {
  color: var(--clay);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 900;
}

.photo-card-frame {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 0.95fr);
}

.photo-card-frame figure {
  height: clamp(350px, calc(var(--deck-height) * 0.72), 640px);
}

.bullet-list {
  display: grid;
  gap: 18px;
}

.bullet-list p {
  position: relative;
  display: block;
  padding-left: 26px;
  max-width: 620px;
}

.bullet-list span {
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
}

.bullet-list strong {
  color: var(--ink);
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid article {
  min-height: 220px;
  padding: var(--card-pad);
  background:
    linear-gradient(135deg, rgba(121, 174, 184, 0.14), transparent 38%),
    var(--forest);
  color: var(--paper-2);
}

.proof-grid strong {
  display: block;
  margin-bottom: 18px;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1;
}

.proof-grid span {
  color: rgba(255, 248, 236, 0.74);
}

.intent-frame,
.role-frame,
.package-detail-frame,
.enablement-frame {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.12fr);
}

.matrix-frame,
.coverage-frame,
.stakeholder-frame,
.onboarding-frame {
  align-content: center;
  grid-template-columns: 1fr;
  gap: var(--cluster-gap);
}

.pillar-grid {
  display: grid;
  gap: var(--card-gap);
}

.pillar-grid article {
  min-height: 156px;
  padding: var(--card-pad);
  background: var(--paper-2);
}

.pillar-grid span,
.role-map span,
.offer-table span,
.stakeholder-map span {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 900;
  text-transform: uppercase;
}

.pillar-grid strong,
.role-map strong,
.coverage-grid strong,
.offer-table strong,
.stakeholder-map strong,
.enablement-grid strong {
  display: block;
  color: var(--ink);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.08;
}

.pillar-grid p,
.matrix-grid p,
.role-map p,
.coverage-grid p,
.stakeholder-map p,
.enablement-grid p,
.timeline-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(13px, 1.08vw, 16px);
  line-height: 1.32;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.matrix-grid article {
  min-height: 166px;
  padding: clamp(16px, 1.6vw, 22px);
}

.matrix-grid small {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-weight: 900;
}

.matrix-grid strong {
  display: block;
  color: var(--ink);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.08;
}

.role-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--card-gap);
}

.role-map article {
  min-height: 260px;
  padding: clamp(16px, 1.55vw, 22px);
  background: var(--paper-2);
}

.role-map article:nth-child(even) {
  transform: translateY(24px);
  background: var(--mint);
}

.coverage-grid,
.enablement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.coverage-grid article,
.enablement-grid article {
  min-height: 142px;
  padding: clamp(16px, 1.6vw, 22px);
}

.coverage-grid article:nth-child(1),
.coverage-grid article:nth-child(6),
.enablement-grid article:nth-child(2),
.enablement-grid article:nth-child(5) {
  background: var(--mint);
}

.coverage-grid article:nth-child(2),
.coverage-grid article:nth-child(5),
.enablement-grid article:nth-child(3) {
  background: var(--sky);
}

.offer-table {
  display: grid;
  gap: 12px;
}

.offer-table article {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 18px;
  padding: clamp(15px, 1.35vw, 20px);
}

.offer-table span {
  margin: 0;
}

.stakeholder-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--card-gap);
}

.stakeholder-map article {
  min-height: 210px;
  padding: var(--card-pad);
  background:
    linear-gradient(135deg, rgba(121, 174, 184, 0.14), transparent 38%),
    var(--forest);
}

.stakeholder-map strong,
.stakeholder-map span {
  color: var(--paper-2);
}

.stakeholder-map p {
  color: rgba(255, 248, 236, 0.74);
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-grid article {
  min-height: 190px;
  padding: var(--card-pad);
}

.timeline-grid strong {
  display: block;
  margin-top: 20px;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.12;
}

.promise {
  color: var(--forest);
  font-weight: 800;
}

.close-frame {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
}

.steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps article {
  min-height: 180px;
  padding: var(--card-pad);
}

.steps strong {
  display: block;
  margin: 16px 0 10px;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.04;
}

.contact {
  position: absolute;
  left: var(--slide-pad-x);
  bottom: calc(var(--slide-pad-y) - 6px);
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--paper-2);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 850;
}

.slide .copy,
.slide figure,
.slide article,
.slide .image-copy,
.slide .promise,
.slide .brand-mark,
.slide .prepared,
.slide .contact {
  opacity: 0.001;
  transform: translateY(18px);
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.is-active .copy,
.slide.is-active figure,
.slide.is-active article,
.slide.is-active .image-copy,
.slide.is-active .promise,
.slide.is-active .brand-mark,
.slide.is-active .prepared,
.slide.is-active .contact,
body.export-mode .slide .copy,
body.export-mode .slide figure,
body.export-mode .slide article,
body.export-mode .slide .image-copy,
body.export-mode .slide .promise,
body.export-mode .slide .brand-mark,
body.export-mode .slide .prepared,
body.export-mode .slide .contact {
  opacity: 1;
  transform: none;
}

.slide .cinematic-bg,
.slide.is-active .cinematic-bg,
body.export-mode .slide .cinematic-bg {
  opacity: 1;
  transform: none;
}

@media (orientation: portrait) and (pointer: coarse) {
  .deck {
    overflow: hidden;
  }

  .rotate-lock {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 32px;
    background: var(--paper);
    color: var(--ink);
    text-align: center;
  }

  .rotate-lock > div {
    display: grid;
    justify-items: center;
    gap: 16px;
    max-width: 360px;
  }

  .rotate-lock img {
    width: 170px;
  }

  .rotate-lock h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1;
  }
}

@media (orientation: landscape) and (pointer: coarse) {
  :root {
    --viewport-height: 100svh;
    --slide-pad-x: clamp(34px, 5vw, 58px);
    --slide-pad-y: clamp(26px, 5vh, 46px);
  }

  .slide-frame {
    width: min(100vw, calc(100svh * 1.7778));
    height: min(100svh, 56.25vw);
  }

  .progress-rail,
  .slide-jumper {
    display: none;
  }
}

@media (orientation: landscape) and (pointer: fine) and (max-height: 760px) {
  :root {
    --slide-pad-x: clamp(44px, 4.4vw, 66px);
    --slide-pad-y: clamp(28px, 4.2vh, 44px);
    --cluster-gap: clamp(16px, 2.4vh, 26px);
    --card-gap: clamp(12px, 1.25vw, 18px);
    --card-pad: clamp(16px, 1.6vw, 22px);
  }

  .eyebrow {
    margin-bottom: 10px;
    padding: 6px 11px;
    font-size: 10px;
  }

  h1 { font-size: clamp(44px, 6.6vw, 72px); }
  h2 { font-size: clamp(32px, 4.7vw, 56px); }

  .copy { gap: 12px; }
  .copy > p:not(.eyebrow),
  .promise,
  .prepared,
  .contact {
    font-size: clamp(13px, 1.3vw, 17px);
    line-height: 1.32;
  }

  .brand-mark { width: 146px; }
  .hero-photo { min-height: 260px; height: calc(var(--deck-height) * 0.74); }
  .full-photo,
  .photo-card-frame figure { height: calc(var(--deck-height) * 0.68); }
  .image-copy { min-height: calc(var(--deck-height) * 0.58); padding: 26px; }
  .journey-line article { min-height: 160px; }
  .journey-line strong { margin: 12px 0 8px; }
  .package-grid article { min-height: 170px; }
  .tension-grid article { min-height: 112px; }
  .proof-grid article { min-height: 150px; }
  .timeline-grid article { min-height: 130px; }
  .steps article { min-height: 124px; }
  .pillar-grid article,
  .coverage-grid article,
  .enablement-grid article {
    min-height: 112px;
  }
  .matrix-grid article {
    min-height: 126px;
  }
  .role-map article {
    min-height: 178px;
    padding: 14px;
  }
  .role-map article:nth-child(even) {
    transform: translateY(14px);
  }
  .offer-table {
    gap: 8px;
  }
  .offer-table article {
    grid-template-columns: 112px 1fr;
    padding: 12px 14px;
  }
  .stakeholder-map article {
    min-height: 142px;
  }
}

@media (orientation: landscape) and (pointer: fine) and (max-height: 430px) {
  :root {
    --slide-pad-x: 28px;
    --slide-pad-y: 18px;
    --cluster-gap: 12px;
    --card-gap: 8px;
    --card-pad: 10px;
  }

  .slide-frame::before {
    inset: 8px;
    border-radius: 22px;
  }

  h1 { font-size: 39px; line-height: 0.9; }
  h2 { font-size: 29px; line-height: 0.92; }
  h3 { font-size: 15px; line-height: 1; }

  .copy { gap: 8px; }

  .copy > p:not(.eyebrow),
  .image-copy p:not(.eyebrow),
  .cover-copy p:not(.eyebrow) {
    display: none;
  }

  .eyebrow {
    margin-bottom: 6px;
    padding: 5px 9px;
    font-size: 8.5px;
  }

  .brand-mark {
    top: 18px;
    right: 28px;
    width: 102px;
  }

  .cover-frame {
    grid-template-columns: 0.9fr 0.78fr;
    gap: 14px;
  }

  .cover-copy { gap: 8px; }
  .pill-row { gap: 5px; }
  .pill-row span {
    padding: 5px 8px;
    font-size: 8.5px;
  }

  .hero-photo {
    min-height: 0;
    height: 200px;
    border-radius: 24px;
  }

  .hero-photo figcaption,
  .full-photo figcaption,
  .photo-card-frame figure figcaption {
    right: 9px;
    bottom: 9px;
    padding: 4px 6px;
    font-size: 7px;
  }

  .prepared,
  .contact {
    bottom: 16px;
    font-size: 8.5px;
  }

  .two-col-frame,
  .split-frame,
  .ops-frame,
  .photo-card-frame,
  .proof-frame,
  .close-frame,
  .image-frame,
  .image-frame.reverse,
  .intent-frame,
  .matrix-frame,
  .role-frame,
  .coverage-frame,
  .package-detail-frame,
  .stakeholder-frame,
  .enablement-frame,
  .onboarding-frame {
    grid-template-columns: 0.86fr 1fr;
    gap: 12px;
  }

  .matrix-frame,
  .coverage-frame,
  .stakeholder-frame,
  .onboarding-frame {
    grid-template-columns: 1fr;
  }

  .criteria-stack,
  .ops-list,
  .tension-grid,
  .steps,
  .package-grid,
  .proof-grid,
  .timeline-grid,
  .pillar-grid,
  .matrix-grid,
  .role-map,
  .coverage-grid,
  .offer-table,
  .stakeholder-map,
  .enablement-grid {
    gap: 8px;
  }

  .criteria-stack article,
  .ops-list article,
  .pillar-grid article,
  .matrix-grid article,
  .role-map article,
  .coverage-grid article,
  .offer-table article,
  .stakeholder-map article,
  .enablement-grid article {
    padding: 8px 10px;
  }

  .criteria-stack strong,
  .ops-list strong,
  .package-grid p,
  .criteria-stack p,
  .steps p,
  .proof-grid span,
  .pillar-grid p,
  .matrix-grid p,
  .role-map p,
  .coverage-grid p,
  .stakeholder-map p,
  .enablement-grid p,
  .timeline-grid p {
    font-size: 8.8px;
    line-height: 1.15;
  }

  .criteria-stack article {
    grid-template-columns: 22px 1fr;
    gap: 3px 8px;
  }

  .criteria-stack p {
    display: none;
  }

  .criteria-stack strong {
    font-size: 12px;
  }

  .tension-grid article {
    min-height: 74px;
    padding: 10px;
  }

  .tension-grid small {
    margin-bottom: 7px;
    font-size: 8px;
  }

  .tension-grid strong {
    font-size: 15px;
  }

  .image-copy {
    min-height: 190px;
    padding: 18px;
    border-radius: 26px;
  }

  .image-copy h2 {
    font-size: 27px;
  }

  .full-photo,
  .photo-card-frame figure {
    height: 210px;
    border-radius: 26px;
  }

  .journey-line {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .journey-line article {
    min-height: 82px;
    padding: 9px;
    border-radius: 18px;
    transform: none !important;
  }

  .journey-line strong {
    margin: 6px 0 0;
    font-size: 15px;
  }

  .journey-line p {
    display: none;
  }

  .package-grid article,
  .proof-grid article,
  .timeline-grid article,
  .steps article {
    padding: 10px;
    min-height: 74px;
    border-radius: 18px;
  }

  .package-grid h3,
  .steps strong,
  .timeline-grid strong {
    margin: 6px 0 0;
    font-size: 14px;
  }

  .package-grid p,
  .steps p,
  .proof-grid span,
  .pillar-grid p,
  .matrix-grid p,
  .role-map p,
  .coverage-grid p,
  .stakeholder-map p,
  .enablement-grid p,
  .timeline-grid p {
    display: none;
  }

  .pillar-grid {
    align-self: center;
  }

  .pillar-grid article {
    min-height: 64px;
    border-radius: 16px;
  }

  .pillar-grid span,
  .role-map span,
  .offer-table span,
  .stakeholder-map span,
  .matrix-grid small {
    margin-bottom: 4px;
    font-size: 7px;
  }

  .pillar-grid strong,
  .matrix-grid strong,
  .role-map strong,
  .coverage-grid strong,
  .offer-table strong,
  .stakeholder-map strong,
  .enablement-grid strong {
    font-size: 10px;
    line-height: 1.05;
  }

  .matrix-grid,
  .coverage-grid,
  .enablement-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .matrix-grid article,
  .coverage-grid article,
  .enablement-grid article {
    min-height: 54px;
    border-radius: 16px;
  }

  .role-map {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .role-map article {
    min-height: 74px;
    border-radius: 16px;
  }

  .role-map article:nth-child(even) {
    transform: none;
  }

  .offer-table article {
    grid-template-columns: 74px 1fr;
    min-height: 33px;
    padding: 6px 8px;
    border-radius: 12px;
  }

  .stakeholder-map {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stakeholder-map article {
    min-height: 66px;
    border-radius: 16px;
  }

  .ops-list article {
    grid-template-columns: 80px 1fr;
    min-height: 34px;
  }

  .ops-list span {
    font-size: 8.5px;
  }

  .photo-card-frame {
    grid-template-columns: 0.76fr 1fr;
  }

  .bullet-list {
    gap: 8px;
  }

  .bullet-list p {
    padding-left: 18px;
    font-size: 10px;
    line-height: 1.18;
  }

  .bullet-list span {
    top: 5px;
    width: 7px;
    height: 7px;
  }

  .proof-grid strong {
    margin-bottom: 0;
    font-size: 16px;
  }

  .timeline-grid strong {
    font-size: 13px;
  }

  .promise {
    font-size: 10px;
  }

  .contact {
    padding: 8px 11px;
  }

  .cinematic-copy {
    top: 18px;
    max-width: 560px;
  }

  .cinematic-copy h1 {
    font-size: 39px;
  }

  .cinematic-copy h2,
  .image-copy.cinematic-copy h2 {
    font-size: 29px;
  }

  .cinematic-strip,
  .cinematic-chip-grid,
  .cinematic-list {
    left: 28px;
    right: 28px;
    bottom: 18px;
    gap: 6px;
  }

  .cinematic-strip article,
  .cinematic-chip-grid article,
  .cinematic-list article {
    min-height: 0;
    padding: 8px;
    border-radius: 14px;
  }

  .cinematic-strip strong,
  .cinematic-chip-grid strong,
  .cinematic-list strong {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.05;
  }

  .cinematic-strip p,
  .cinematic-list strong {
    display: none;
  }

  .cinematic-list span,
  .cinematic-chip-grid small {
    margin-bottom: 0;
    font-size: 7px;
  }

  .cinematic-bg::after {
    inset: 8px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
