/* ==========================================================================
   HOPE WORKSHOP — Design System
   Editorial IDE: Fraunces serif + Geist sans + JetBrains Mono
   Dark navy canvas with color-coded accents.
   ========================================================================== */

/* -----  RESET & TOKENS  ----- */

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

html, body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
  /* canvas */
  --bg:        #0a0e1a;
  --bg-elev1:  #131829;
  --bg-elev2:  #1a2138;
  --bg-elev3:  #232b46;

  /* borders & dividers */
  --border:    rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);

  /* text */
  --text:      #e8ecf5;
  --text-soft: #c0c8d8;
  --text-dim:  #8b94a8;
  --text-mute: #5a6478;

  /* accents */
  --accent-blue:  #7b8cf5;
  --accent-green: #a3d977;
  --accent-amber: #f5b97b;
  --accent-coral: #f57b8c;
  --accent-teal:  #6dd5c5;

  /* accent surfaces (subtle tinted backgrounds) */
  --tint-blue:   rgba(123, 140, 245, 0.08);
  --tint-green:  rgba(163, 217, 119, 0.08);
  --tint-amber:  rgba(245, 185, 123, 0.08);
  --tint-coral:  rgba(245, 123, 140, 0.08);

  /* layout */
  --sidebar-w:   276px;
  --content-max: 1080px;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;

  /* type */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans:    "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* motion */
  --ease:   cubic-bezier(.2, .7, .2, 1);
  --ease-bounce: cubic-bezier(.34, 1.36, .64, 1);

  /* shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.2);
  --shadow:    0 6px 24px rgba(0,0,0,.25);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.4);
}

/* light theme override */
html[data-theme="light"] {
  --bg:        #f6f4ee;
  --bg-elev1:  #ffffff;
  --bg-elev2:  #f0ede4;
  --bg-elev3:  #e6e2d6;

  --border:    rgba(20, 20, 30, 0.08);
  --border-strong: rgba(20, 20, 30, 0.16);

  --text:      #18213a;
  --text-soft: #36405c;
  --text-dim:  #6b748a;
  --text-mute: #94a0b3;

  --accent-blue:  #4753c7;
  --accent-green: #4f8a2a;
  --accent-amber: #b76d1a;
  --accent-coral: #c33856;
  --accent-teal:  #1f8a7c;

  --tint-blue:   rgba(71, 83, 199, 0.07);
  --tint-green:  rgba(79, 138, 42, 0.07);
  --tint-amber:  rgba(183, 109, 26, 0.07);
  --tint-coral:  rgba(195, 56, 86, 0.07);

  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --shadow:    0 6px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.12);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* gradient + subtle vignette behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1200px 800px at 80% -10%, var(--tint-blue) 0%, transparent 60%),
    radial-gradient(ellipse 900px 600px at 0% 100%, var(--tint-green) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* grain overlay — barely-there texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-theme="light"] .grain { opacity: 0; }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, var(--accent-blue)) 100%);
  border-right: 1px solid var(--border);
  z-index: 30;
  transition: transform .35s var(--ease);
}

.sidebar-inner {
  height: 100%;
  padding: 28px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, color-mix(in srgb, var(--accent-blue) 75%, var(--accent-teal)) 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 4px 12px color-mix(in srgb, var(--accent-blue) 40%, transparent);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.18);
}
.brand-text {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  font-weight: 500;
  padding-left: 8px;
}
.nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-link {
  appearance: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 9px 10px 9px 14px;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 7px;
  transition: all .2s var(--ease);
  position: relative;
}
.nav-link:hover {
  color: var(--text);
  background: var(--tint-blue);
}
.nav-link.active {
  color: var(--accent-blue);
  font-weight: 500;
}
.nav-link.active::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px; bottom: 11px;
  width: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
}

.sidebar-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dur-line {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}
.theme-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: all .2s var(--ease);
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 25;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.sidebar-backdrop.show { opacity: 1; }

/* ==========================================================================
   TOPBAR (mobile)
   ========================================================================== */

.topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 40;
}
.menu-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 36px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}
.topbar-progress {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   STAGE & SLIDES
   ========================================================================== */

.stage {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.slide {
  display: none;
  min-height: 100vh;
  padding: 80px 64px 100px;
  position: relative;
  animation: slideIn .45s var(--ease);
}
.slide.active { display: block; }

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

/* Kicker / eyebrow label */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.kicker .dot {
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent-blue);
  box-shadow: 0 0 12px var(--accent-blue);
}
.kicker-activity { color: var(--accent-green); }
.kicker-activity .dot { background: var(--accent-green); box-shadow: 0 0 12px var(--accent-green); }

/* Slide H2 — main title style */
.slide-title-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  font-variation-settings: "opsz" 144;
}
.slide-title-h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-soft);
}

.slide-lede {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 0 44px;
}

/* Reveal animation utility — uses --d for stagger */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: revealUp .6s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   TITLE SLIDE (Slide 01)
   ========================================================================== */

.slide-title {
  display: none;
  align-items: center;
  min-height: 100vh;
  padding: 60px 64px;
  overflow: hidden;
}
.slide-title.active {
  display: flex;
}
.slide-title .slide-inner {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 18px 0 22px;
  font-variation-settings: "opsz" 144;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 0.25em;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp .8s var(--ease) forwards;
}
.hero-title .word:nth-child(1) { animation-delay: .15s; }
.hero-title .word:nth-child(2) { animation-delay: .25s; font-style: italic; font-weight: 300; color: var(--text-soft); }
.hero-title .word:nth-child(3) { animation-delay: .35s; color: var(--text-soft); }
.hero-title .word:nth-child(4) {
  animation-delay: .45s;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title em { font-style: italic; font-weight: 300; }

.hero-sub {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--text-soft);
  max-width: 640px;
  line-height: 1.45;
  margin: 0 0 36px;
}

.code-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-elev1);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 36px;
}
.code-key {
  color: var(--accent-green);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.code-val {
  color: var(--text-soft);
}

.title-meta {
  display: flex;
  gap: 32px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.title-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.meta-k {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
.meta-v {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.c-blue-t   { color: var(--accent-blue) !important; }
.c-green-t  { color: var(--accent-green) !important; }
.c-amber-t  { color: var(--accent-amber) !important; }
.c-coral-t  { color: var(--accent-coral) !important; }

.scroll-hint {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.scroll-hint svg { animation: nudge 2s ease-in-out infinite; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* Ambient blobs (background lights) */
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}
.blob-a {
  width: 480px; height: 480px;
  background: var(--accent-blue);
  opacity: 0.10;
  top: -120px; right: -80px;
  animation: float 18s ease-in-out infinite;
}
.blob-b {
  width: 320px; height: 320px;
  background: var(--accent-teal);
  opacity: 0.08;
  bottom: -60px; left: 20%;
  animation: float 22s ease-in-out infinite reverse;
}
.blob-c {
  width: 520px; height: 520px;
  background: var(--accent-green);
  opacity: 0.07;
  top: 30%; left: 35%;
  animation: float 24s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.1); }
}

/* ==========================================================================
   COLOR ACCENT CARDS — c-blue / c-green / c-amber / c-coral
   ========================================================================== */

.c-blue   { --c: var(--accent-blue);  --ct: var(--tint-blue); }
.c-green  { --c: var(--accent-green); --ct: var(--tint-green); }
.c-amber  { --c: var(--accent-amber); --ct: var(--tint-amber); }
.c-coral  { --c: var(--accent-coral); --ct: var(--tint-coral); }

/* ==========================================================================
   OBJECTIVES GRID (Slide 02)
   ========================================================================== */

.obj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 12px;
}
.obj-card {
  background: var(--ct);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.obj-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--c);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s var(--ease);
}
.obj-card:hover {
  background: color-mix(in srgb, var(--ct) 80%, var(--bg-elev1));
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.obj-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}
.obj-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.obj-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.obj-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ==========================================================================
   BIG STAT LIST (Slide 03)
   ========================================================================== */

.big-stat-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.big-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--ct);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: all .3s var(--ease);
}
.big-row:hover {
  background: color-mix(in srgb, var(--ct) 75%, var(--bg-elev1));
  transform: translateX(4px);
}
.big-num {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 500;
  color: var(--c);
  line-height: 1;
}
.big-body h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.big-body p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

/* ==========================================================================
   ACTIVITY SLIDES — Q-cards, inputs, etc.
   ========================================================================== */

.slide-activity .slide-inner { max-width: 1180px; }

.q-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.q-card {
  background: var(--bg-elev1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--c);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: all .3s var(--ease);
}
.q-card:hover {
  background: var(--bg-elev2);
  border-color: var(--border-strong);
  border-left-color: var(--c);
}
.q-head { margin-bottom: 10px; }
.q-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c);
  font-weight: 500;
}
.q-question {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  font-variation-settings: "opsz" 36;
}

/* Inputs */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  transition: all .2s var(--ease);
}
textarea { min-height: 80px; }
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: color-mix(in srgb, var(--bg) 92%, var(--accent-blue));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-blue) 18%, transparent);
}
input::placeholder,
textarea::placeholder {
  color: var(--text-mute);
}

.q-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.save-state {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.save-state.show { opacity: 1; }
.save-state::before { content: "● "; color: var(--accent-green); }

/* ==========================================================================
   COMPARE GRID (Slide 05)
   ========================================================================== */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.compare-card {
  background: var(--ct);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: all .3s var(--ease);
}
.compare-card:hover {
  background: color-mix(in srgb, var(--ct) 75%, var(--bg-elev1));
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.compare-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c);
  font-weight: 600;
  margin-bottom: 16px;
}
.compare-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-variation-settings: "opsz" 36;
}
.compare-card p {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.takeaway {
  background: color-mix(in srgb, var(--accent-blue) 10%, var(--bg-elev1));
  border: 1px solid color-mix(in srgb, var(--accent-blue) 22%, transparent);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 12px;
}
.takeaway-bar {
  width: 3px;
  align-self: stretch;
  background: var(--accent-blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.takeaway h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}
.takeaway p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
}

/* ==========================================================================
   GPA GRID — Snyder's Hope Theory (Slide 06)
   ========================================================================== */

.gpa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.gpa-card {
  background: var(--ct);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.gpa-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.gpa-card:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, var(--ct) 70%, var(--bg-elev1));
  box-shadow: var(--shadow);
}
.gpa-card:hover::after { transform: scaleX(1); }
.gpa-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--c);
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144;
}
.gpa-card h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.gpa-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.gpa-body {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ==========================================================================
   MY HOPE MAP (Slide 07)
   ========================================================================== */

.map-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  background: var(--bg-elev1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 14px;
  transition: all .3s var(--ease);
}
.map-step:hover {
  background: var(--bg-elev2);
  border-color: var(--border-strong);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  margin-top: 4px;
}
.step-body h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
}
.step-sub {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 14px;
}
.code-input {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  transition: all .2s var(--ease);
}
.code-input:focus-within {
  border-color: var(--accent-blue);
  background: color-mix(in srgb, var(--bg) 92%, var(--accent-blue));
}
.code-prefix {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-blue);
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.code-input input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text);
}
.code-input input:focus {
  outline: none;
  background: transparent;
  box-shadow: none;
}
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================================
   HABIT GRID (Slide 08)
   ========================================================================== */

.habit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
.habit-card {
  background: var(--ct);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: all .3s var(--ease);
  position: relative;
}
.habit-card:hover {
  background: color-mix(in srgb, var(--ct) 75%, var(--bg-elev1));
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.habit-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c);
  font-weight: 500;
  margin-bottom: 14px;
}
.habit-card h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.habit-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.inline-code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   REFRAMING (Slide 09)
   ========================================================================== */

.reframe-list { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.reframe-row {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  gap: 14px;
  align-items: stretch;
}
.reframe-cell {
  background: var(--ct);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .3s var(--ease);
}
.reframe-cell:hover {
  background: color-mix(in srgb, var(--ct) 75%, var(--bg-elev1));
}
.cell-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c);
  font-weight: 500;
}
.reframe-cell input {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
  font-variation-settings: "opsz" 24;
  line-height: 1.35;
}
.reframe-cell input:focus {
  outline: none;
  background: transparent;
  box-shadow: none;
}
.reframe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-mute);
}
.reframe-hint {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-mute);
}

/* ==========================================================================
   BREAK SLIDE (Slide 10)
   ========================================================================== */

.slide-break .slide-inner { max-width: 720px; text-align: center; }
.break-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}
.break-circle {
  position: relative;
  width: 200px; height: 200px;
  margin-bottom: 28px;
}
.break-ring {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.break-timer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 500;
  color: var(--accent-blue);
  letter-spacing: -0.02em;
}
#breakRingFill {
  transition: stroke-dashoffset 1s linear;
}
.break-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-variation-settings: "opsz" 144;
}
.break-sub {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 0 32px;
}
.break-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.break-meta {
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  width: 100%;
  justify-content: center;
}
.break-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

/* ==========================================================================
   HOPE LETTERS — H-O-P-E (Slide 11)
   ========================================================================== */

.hope-letters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.hope-letter {
  background: var(--ct);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s var(--ease);
}
.hope-letter:hover {
  background: color-mix(in srgb, var(--ct) 70%, var(--bg-elev1));
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.hl-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--c);
  margin-bottom: 16px;
  font-variation-settings: "opsz" 144;
}
.hope-letter h3 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 4px;
}
.hl-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}
.hope-letter p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* ==========================================================================
   ACTION PLAN (Slide 12)
   ========================================================================== */

.plan-row { display: grid; gap: 14px; margin-bottom: 14px; }
.plan-row.plan-wide { grid-template-columns: 1fr; }
.plan-row.plan-two { grid-template-columns: 1fr 1fr; }
.plan-card {
  background: var(--ct);
  border: 1px solid var(--border);
  border-left: 3px solid var(--c);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: all .3s var(--ease);
}
.plan-card:hover {
  background: color-mix(in srgb, var(--ct) 75%, var(--bg-elev1));
}
.plan-card.plan-emphasis {
  background: color-mix(in srgb, var(--c) 12%, var(--bg-elev1));
}
.plan-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c);
  font-weight: 600;
  margin-bottom: 4px;
}
.plan-hint {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 14px;
}

/* ==========================================================================
   HDPS LAYER GRID (Slide 14)
   ========================================================================== */

.layer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.layer-card {
  background: var(--ct);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: all .3s var(--ease);
}
.layer-card:hover {
  background: color-mix(in srgb, var(--ct) 75%, var(--bg-elev1));
}
.layer-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c);
  font-weight: 600;
  margin-bottom: 12px;
}
.layer-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-variation-settings: "opsz" 36;
}
.layer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.layer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 15px;
}
.bullet {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--c);
}

/* ==========================================================================
   HOPE PERFORMANCE MATRIX (Slide 15)
   ========================================================================== */

.matrix {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.matrix-corner { /* empty */ }
.matrix-col-label,
.matrix-row-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 600;
  display: flex;
  align-items: center;
}
.matrix-row-label { padding-left: 4px; }
.matrix-cell {
  background: var(--ct);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px;
  transition: all .3s var(--ease);
}
.matrix-cell:hover {
  background: color-mix(in srgb, var(--ct) 75%, var(--bg-elev1));
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.matrix-cell h4 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--c);
}
.matrix-cell p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}
.matrix-star {
  background: linear-gradient(135deg, var(--ct) 0%, color-mix(in srgb, var(--c) 18%, var(--bg-elev1)) 100%);
  border-color: color-mix(in srgb, var(--c) 25%, transparent);
}

/* ==========================================================================
   CLOSING SLIDE (Slide 16)
   ========================================================================== */

.slide-close {
  display: none;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.slide-close.active { display: flex; }
.close-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.close-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6.5vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 16px;
  font-variation-settings: "opsz" 144;
}
.close-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-soft);
}
.close-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-soft);
  margin: 0 auto 36px;
  max-width: 560px;
}
.close-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--accent-green);
  background: color-mix(in srgb, var(--accent-green) 8%, var(--bg-elev1));
  border: 1px solid color-mix(in srgb, var(--accent-green) 20%, transparent);
  border-radius: var(--radius);
  padding: 26px 36px;
  margin: 0 auto 44px;
  max-width: 680px;
}
.close-meta {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  margin: 0 auto 36px;
  max-width: 600px;
  flex-wrap: wrap;
}
.meta-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 500;
  margin-top: 8px;
}
.close-cta p {
  color: var(--text-soft);
  margin: 0 0 16px;
  font-size: 15px;
}

/* ==========================================================================
   SUBMIT FORM (Slide 17)
   ========================================================================== */

.submit-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 820px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 500;
}
.opt {
  color: var(--text-mute);
  text-transform: none;
  font-size: 10.5px;
  letter-spacing: 0;
  margin-left: 4px;
}

.rating-block {
  background: var(--bg-elev1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.rating-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  font-variation-settings: "opsz" 36;
}
.rating-block h3 em { font-style: italic; font-weight: 300; color: var(--text-soft); }
.rating-hint {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 14px;
}
.rating-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.rating-row label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rating-name {
  font-size: 14.5px;
  color: var(--text-soft);
}
.rating-val {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-blue);
  font-weight: 600;
  background: var(--tint-blue);
  padding: 2px 10px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
}

/* Range slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-elev3);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-blue);
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent-blue), 0 2px 8px color-mix(in srgb, var(--accent-blue) 50%, transparent);
  transition: transform .15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-blue);
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent-blue);
}

/* HKI display */
.hki-display {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hki-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  font-weight: 500;
}
.hki-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.1;
  color: var(--accent-blue);
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
  margin: 4px 0 14px;
}
.hki-bar {
  height: 8px;
  background: var(--bg-elev3);
  border-radius: 4px;
  overflow: hidden;
}
.hki-bar-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--accent-coral) 0%, var(--accent-amber) 50%, var(--accent-green) 100%);
  border-radius: 4px;
  transition: width .4s var(--ease);
}

.feedback-block { display: flex; flex-direction: column; gap: 8px; }
.feedback-block label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 500;
}

/* Custom consent checkbox */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}
.consent input { display: none; }
.consent-box {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all .2s var(--ease);
}
.consent input:checked + .consent-box {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}
.consent input:checked + .consent-box::after {
  content: "";
  position: absolute;
  inset: 3px 4px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  width: 4px;
  height: 8px;
}

.submit-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.btn-primary, .btn-ghost {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s var(--ease);
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--accent-blue);
  color: white;
  border: 1px solid var(--accent-blue);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-blue) 90%, white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-blue) 35%, transparent);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn-primary.loading .btn-spinner { display: block; }
.btn-primary.loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-elev1);
  color: var(--text);
  border-color: var(--border-strong);
}

.submit-status {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 14px 16px;
  border-radius: 8px;
  display: none;
}
.submit-status.show { display: block; }
.submit-status.success {
  background: color-mix(in srgb, var(--accent-green) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-green) 30%, transparent);
  color: var(--accent-green);
}
.submit-status.error {
  background: color-mix(in srgb, var(--accent-coral) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-coral) 30%, transparent);
  color: var(--accent-coral);
}

/* ==========================================================================
   SLIDE FOOTER & NAV CONTROLS
   ========================================================================== */

.slide-foot {
  position: fixed;
  bottom: 18px;
  left: calc(var(--sidebar-w) + 64px);
  right: 64px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  pointer-events: none;
  z-index: 5;
}

.nav-controls {
  position: fixed;
  right: 24px;
  bottom: 50%;
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
}
.ctrl-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-elev1);
  border: 1px solid var(--border);
  color: var(--text-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s var(--ease);
  backdrop-filter: blur(8px);
}
.ctrl-btn:hover {
  background: var(--bg-elev2);
  color: var(--text);
  border-color: var(--border-strong);
  transform: scale(1.05);
}
.ctrl-btn:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }

.progress-bar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 40;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-teal) 100%);
  width: 0;
  transition: width .4s var(--ease);
}

/* ==========================================================================
   TOAST
   ========================================================================== */

.toast-stack {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 50;
  pointer-events: none;
}
.toast {
  background: var(--bg-elev2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s var(--ease-bounce), toastOut .3s var(--ease) 2.7s forwards;
}
.toast.success { border-color: color-mix(in srgb, var(--accent-green) 40%, transparent); }
.toast.error   { border-color: color-mix(in srgb, var(--accent-coral) 40%, transparent); }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(8px); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .slide { padding: 70px 44px 90px; }
  .slide-title { padding: 60px 44px; }
  .obj-grid, .compare-grid, .habit-grid, .layer-grid { grid-template-columns: 1fr 1fr; }
  .gpa-grid { grid-template-columns: 1fr 1fr; }
  .hope-letters { grid-template-columns: 1fr 1fr; }
  .slide-foot { left: calc(var(--sidebar-w) + 44px); right: 44px; }
  .nav-controls { right: 16px; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }

  body { padding-top: 56px; }
  .topbar { display: flex; }

  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    --sidebar-w: 280px;
    top: 56px;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop.show { display: block; }

  .stage { margin-left: 0; }
  .slide { padding: 36px 22px 80px; min-height: calc(100vh - 56px); }
  .slide-title { padding: 36px 22px; min-height: calc(100vh - 56px); }

  .hero-title { font-size: clamp(54px, 16vw, 96px); }
  .slide-title-h2 { font-size: clamp(32px, 8vw, 52px); }

  .obj-grid,
  .compare-grid,
  .habit-grid,
  .layer-grid,
  .gpa-grid,
  .hope-letters,
  .path-grid,
  .form-row,
  .plan-row.plan-two {
    grid-template-columns: 1fr;
  }

  .big-row {
    grid-template-columns: 80px 1fr;
    gap: 18px;
    padding: 22px 20px;
  }
  .big-num { font-size: 36px; }
  .big-body h3 { font-size: 18px; }

  .reframe-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .reframe-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .matrix {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .matrix-corner, .matrix-col-label { display: none; }
  .matrix-row-label {
    border-top: 1px solid var(--border);
    padding-top: 16px;
  }
  .matrix-row-label:first-of-type { border-top: 0; padding-top: 0; }

  .map-step { padding: 18px 18px; grid-template-columns: 36px 1fr; gap: 14px; }
  .step-num { width: 32px; height: 32px; font-size: 13px; }

  .close-meta { gap: 28px; flex-direction: column; align-items: center; }
  .close-quote { padding: 22px 22px; }

  .slide-foot { left: 22px; right: 22px; bottom: 12px; font-size: 10px; }
  .nav-controls {
    flex-direction: row;
    right: 16px;
    bottom: 12px;
    transform: none;
  }
  .ctrl-btn { width: 38px; height: 38px; }

  .progress-bar { left: 0; top: 56px; }

  .title-meta { gap: 22px; }
  .scroll-hint { margin-top: 36px; font-size: 11px; }

  .break-circle { width: 160px; height: 160px; }
  .break-timer { font-size: 30px; }
}

@media (max-width: 420px) {
  .slide-title-h2 { font-size: clamp(28px, 9vw, 44px); }
  .hero-title { font-size: clamp(44px, 16vw, 80px); }
  .code-pill { font-size: 11px; padding: 10px 14px; gap: 10px; }
  .gpa-letter, .hl-big { font-size: 44px; }
  .compare-card { padding: 24px 22px; }
  .compare-card h3 { font-size: 24px; }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible { outline-offset: 4px; }

/* Print friendliness for action plan export */
@media print {
  .sidebar, .topbar, .nav-controls, .progress-bar, .slide-foot, .grain, body::before { display: none !important; }
  body { background: white; color: #111; }
  .stage { margin-left: 0; }
  .slide { display: block !important; min-height: auto; padding: 24px; page-break-after: always; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================================
   PASSWORD GATE
   ============================================================================ */
.password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 30% 20%, #131a2c 0%, #0a0e1a 50%, #060912 100%);
  padding: 24px;
  overflow: hidden;
  animation: pwFadeIn 0.5s ease;
}
.password-gate.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
@keyframes pwFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pw-ambient {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  animation: pwFloat 12s ease-in-out infinite alternate;
}
.pw-ambient-a {
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, #7b8cf5 0%, transparent 70%);
}
.pw-ambient-b {
  bottom: -200px;
  right: -120px;
  background: radial-gradient(circle, #6dd5c5 0%, transparent 70%);
  animation-delay: -6s;
}
@keyframes pwFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 40px) scale(1.08); }
}

.password-card {
  position: relative;
  z-index: 2;
  max-width: 460px;
  width: 100%;
  background: rgba(20, 26, 44, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 44px 36px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.03);
  animation: pwCardRise 0.6s cubic-bezier(.16,.84,.44,1) 0.1s both;
}
@keyframes pwCardRise {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pw-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7b8cf5 0%, #6dd5c5 100%);
  margin-bottom: 18px;
  position: relative;
  box-shadow: 0 6px 24px rgba(123, 140, 245, 0.35);
}
.pw-brand-mark::after {
  content: "H";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 26px;
  color: white;
}

.pw-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pw-kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5b97b;
  box-shadow: 0 0 12px #f5b97b;
}

.pw-title {
  font-family: "Fraunces", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.pw-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
}

.pw-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.pw-form { display: block; }

.pw-label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.pw-input-wrap {
  position: relative;
  margin-bottom: 18px;
}
.pw-input-wrap input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-family: inherit;
  padding: 14px 48px 14px 16px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pw-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
.pw-input-wrap input:focus {
  border-color: rgba(123, 140, 245, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(123, 140, 245, 0.15);
}

.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
}
.pw-toggle:hover { color: white; background: rgba(255,255,255,0.05); }

.pw-submit {
  width: 100%;
  justify-content: center;
}

.pw-error {
  color: #f57b8c;
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px;
  opacity: 0;
  transition: opacity .2s;
}
.pw-error.show { opacity: 1; }

.pw-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.pw-foot a {
  color: #7b8cf5;
  text-decoration: none;
  border-bottom: 1px solid rgba(123, 140, 245, 0.3);
  transition: color .15s, border-color .15s;
}
.pw-foot a:hover { color: #a3d977; border-color: #a3d977; }

.password-shake {
  animation: pwShake 0.45s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes pwShake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}

@media (max-width: 480px) {
  .password-card { padding: 32px 24px 24px; border-radius: 20px; }
  .pw-title { font-size: 30px; }
}

/* ============================================================================
   CERTIFICATE SLIDE
   ============================================================================ */
.kicker-cert .dot { background: var(--accent-amber, #f5b97b); box-shadow: 0 0 12px #f5b97b; }

.cert-inner { max-width: 1180px; }

.cert-preview-wrap {
  margin: 32px 0 28px;
  display: flex;
  justify-content: center;
}

.cert-preview {
  width: 100%;
  max-width: 980px;
  aspect-ratio: 1600 / 1131;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  background: #faf6ee;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cert-preview svg { display: block; width: 100%; height: 100%; }

.cert-preview.empty::before {
  content: "Your certificate will appear here after you submit.";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(10, 14, 26, 0.5);
  text-align: center;
  padding: 24px;
}

.cert-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cert-actions .btn-primary,
.cert-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cert-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cert-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.cert-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cert-meta .meta-k {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.cert-meta .meta-v {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.cert-meta .meta-v a {
  color: var(--accent-blue, #7b8cf5);
  text-decoration: none;
}
.cert-meta .meta-v a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .cert-meta { grid-template-columns: 1fr; }
}

[data-theme="light"] .cert-preview.empty::before { color: rgba(10, 14, 26, 0.5); }
[data-theme="light"] .cert-meta { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .cert-meta .meta-k { color: rgba(10,14,26,0.5); }
[data-theme="light"] .cert-meta .meta-v { color: rgba(10,14,26,0.85); }

/* Print: just the certificate */
@media print {
  body > *:not(main) { display: none !important; }
  main > *:not(.slide-certificate) { display: none !important; }
  .slide-certificate { display: block !important; padding: 0 !important; }
  .cert-actions, .cert-meta, .slide-lede, .kicker, .slide-title-h2 { display: none !important; }
  .cert-preview { box-shadow: none; max-width: 100%; }
}

/* ============================================================================
   WORKSHOP SURVEY (slide 18)
   ============================================================================ */
.kicker-survey .dot { background: var(--accent-coral, #f57b8c); box-shadow: 0 0 12px #f57b8c; }

.survey-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 820px;
  margin: 32px 0 0;
}

.survey-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--c, #7b8cf5);
  border-radius: 14px;
  padding: 22px 24px;
  transition: border-color .15s, background .15s;
}
.survey-card:focus-within {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  border-left-color: var(--c, #7b8cf5);
}

.survey-q-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.survey-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c, #7b8cf5);
  background: var(--ct, rgba(123, 140, 245, 0.12));
  padding: 4px 10px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.survey-q-head h3 {
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.survey-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.4;
}

/* Slider row */
.survey-slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 4px 2px;
}
.survey-slider-row input[type="range"] {
  flex: 1;
  margin: 0;
}
.survey-bound {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  min-width: 18px;
  text-align: center;
}
.survey-val {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--c, #7b8cf5);
  min-width: 48px;
  text-align: center;
  background: var(--ct, rgba(123, 140, 245, 0.1));
  border-radius: 10px;
  padding: 4px 10px;
}

/* Textareas inside survey cards */
.survey-card textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  outline: none;
  transition: border-color .15s, background .15s;
}
.survey-card textarea:focus {
  border-color: var(--c, #7b8cf5);
  background: rgba(0, 0, 0, 0.25);
}
.survey-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Multi-select chips */
.survey-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.survey-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all .15s ease;
}
.survey-chip span {
  font-size: 13px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
.survey-chip input[type="checkbox"] {
  display: none;
}
.survey-chip:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
.survey-chip.checked {
  background: rgba(123, 140, 245, 0.15);
  border-color: rgba(123, 140, 245, 0.5);
  box-shadow: 0 0 0 1px rgba(123, 140, 245, 0.2) inset;
}
.survey-chip.checked span {
  color: #ffffff;
}

.survey-other {
  width: 100%;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.survey-other:focus {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
}
.survey-other::placeholder { color: rgba(255, 255, 255, 0.3); }

/* Light theme adjustments */
[data-theme="light"] .survey-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .survey-q-head h3 { color: rgba(10, 14, 26, 0.95); }
[data-theme="light"] .survey-hint { color: rgba(10, 14, 26, 0.55); }
[data-theme="light"] .survey-card textarea,
[data-theme="light"] .survey-other {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(10, 14, 26, 0.95);
}
[data-theme="light"] .survey-chip { background: rgba(0, 0, 0, 0.03); border-color: rgba(0, 0, 0, 0.08); }
[data-theme="light"] .survey-chip span { color: rgba(10, 14, 26, 0.75); }
[data-theme="light"] .survey-chip.checked span { color: rgba(10, 14, 26, 0.95); }

@media (max-width: 720px) {
  .survey-card { padding: 18px 18px; }
  .survey-q-head { gap: 12px; }
  .survey-q-head h3 { font-size: 17px; }
  .survey-val { font-size: 22px; min-width: 40px; }
}

/* ============================================================================
   REQUIRED FIELD MARKERS + ERROR STATES
   ============================================================================ */
.req-badge {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f57b8c;
  background: rgba(245, 123, 140, 0.1);
  border: 1px solid rgba(245, 123, 140, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: 3px;
  white-space: nowrap;
}

.slide-lede .req-badge {
  margin: 0 2px;
  vertical-align: 1px;
}

.survey-card.has-error {
  border-color: rgba(245, 123, 140, 0.4);
  border-left-color: #f57b8c;
  background: rgba(245, 123, 140, 0.04);
  animation: cardShake 0.4s cubic-bezier(.36,.07,.19,.97);
}
@keyframes cardShake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.survey-card.has-error textarea,
.survey-card.has-error .survey-other {
  border-color: rgba(245, 123, 140, 0.35);
}

.survey-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  font-size: 13px;
  color: #f57b8c;
  background: rgba(245, 123, 140, 0.08);
  border-left: 2px solid #f57b8c;
  border-radius: 6px;
  line-height: 1.45;
  animation: errorFadeIn 0.2s ease;
}
.survey-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #f57b8c;
  color: white;
  border-radius: 50%;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
@keyframes errorFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

[data-theme="light"] .req-badge {
  color: #d44a60;
  background: rgba(212, 74, 96, 0.08);
  border-color: rgba(212, 74, 96, 0.25);
}
[data-theme="light"] .survey-card.has-error {
  background: rgba(212, 74, 96, 0.04);
}
[data-theme="light"] .survey-error {
  color: #d44a60;
  background: rgba(212, 74, 96, 0.08);
  border-left-color: #d44a60;
}
[data-theme="light"] .survey-error::before { background: #d44a60; }

/* ============================================================================
   FORM FIELD ERROR STATES (Name, Mobile, Email validation on slide 17)
   ============================================================================ */
.form-field.has-error label {
  color: #f57b8c;
}
.form-field.has-error input {
  border-color: rgba(245, 123, 140, 0.5) !important;
  background: rgba(245, 123, 140, 0.04) !important;
  animation: cardShake 0.4s cubic-bezier(.36,.07,.19,.97);
}
.form-field.has-error input:focus {
  border-color: #f57b8c !important;
  box-shadow: 0 0 0 3px rgba(245, 123, 140, 0.12) !important;
}
.form-field .survey-error {
  margin-top: 6px;
  padding: 7px 10px;
  font-size: 12.5px;
}

[data-theme="light"] .form-field.has-error label { color: #d44a60; }
[data-theme="light"] .form-field.has-error input {
  border-color: rgba(212, 74, 96, 0.5) !important;
  background: rgba(212, 74, 96, 0.04) !important;
}

/* ============================================================================
   ENHANCED HOVER STATES — Slides 2, 3, 5, 6, 8, 9, 11, 14, 15
   ----------------------------------------------------------------------------
   Innovative, attention-grabbing card interactions for live workshop
   presentation. Each card type gets a distinctive premium hover effect.
   Wrapped in @media (hover: hover) so touch devices don't get stuck
   hover states after taps.
   ============================================================================ */
@media (hover: hover) {

  /* Shared: smoother transitions on every interactive card type */
  .obj-card, .big-row, .compare-card, .gpa-card, .habit-card,
  .reframe-cell, .hope-letter, .layer-card, .matrix-cell {
    transition:
      transform .4s cubic-bezier(.16, .84, .44, 1),
      box-shadow .4s cubic-bezier(.16, .84, .44, 1),
      background-color .3s ease,
      border-color .3s ease;
    will-change: transform, box-shadow;
  }
  /* Inner elements also animate smoothly */
  .obj-num, .big-num, .compare-label, .gpa-letter, .habit-label,
  .reframe-arrow, .hl-big, .hl-tag,
  .layer-list li, .layer-list .bullet, .matrix-cell h4 {
    transition: transform .4s cubic-bezier(.16, .84, .44, 1),
                color .3s ease, background-color .3s ease,
                text-shadow .3s ease, box-shadow .3s ease,
                letter-spacing .3s ease;
  }

  /* ───────────────────────────────── SLIDE 2 — Objectives */
  .obj-card:hover {
    transform: translateY(-8px) scale(1.018);
    background: color-mix(in srgb, var(--c) 14%, var(--bg-elev1));
    border-color: color-mix(in srgb, var(--c) 50%, transparent);
    box-shadow:
      0 22px 44px rgba(0, 0, 0, 0.4),
      0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent),
      0 0 50px -10px var(--c);
  }
  .obj-card:hover .obj-num {
    transform: scale(1.18) rotate(-6deg);
    background: var(--c);
    color: #fff;
    box-shadow: 0 0 22px var(--c), 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent);
  }
  .obj-card:hover h3 { color: var(--c); }

  /* ───────────────────────────────── SLIDE 3 — Why Hope Matters */
  .big-row:hover {
    transform: translateX(10px);
    background: color-mix(in srgb, var(--c) 12%, var(--bg-elev1));
    box-shadow:
      -6px 0 0 0 var(--c),
      0 14px 30px rgba(0, 0, 0, 0.25),
      0 0 40px -15px var(--c);
  }
  .big-row:hover .big-num {
    transform: scale(1.12);
    color: var(--c);
    text-shadow: 0 0 30px var(--c), 0 0 60px color-mix(in srgb, var(--c) 50%, transparent);
  }
  .big-row:hover h3 { color: var(--c); }

  /* ───────────────────────────────── SLIDE 5 — Optimism vs Hope */
  .compare-card:hover {
    transform: translateY(-10px) scale(1.022);
    background: color-mix(in srgb, var(--c) 14%, var(--bg-elev1));
    border-color: color-mix(in srgb, var(--c) 60%, transparent);
    box-shadow:
      0 28px 56px rgba(0, 0, 0, 0.4),
      0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent),
      0 0 70px -20px var(--c);
  }
  .compare-card:hover .compare-label {
    color: var(--c);
    letter-spacing: 0.28em;
    text-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent);
  }
  .compare-card:hover .tag { background: color-mix(in srgb, var(--c) 22%, var(--bg-elev1)); }

  /* ───────────────────────────────── SLIDE 6 — Snyder's G·P·A */
  .gpa-card:hover {
    transform: translateY(-10px) scale(1.025);
    background: color-mix(in srgb, var(--c) 14%, var(--bg-elev1));
    border-color: color-mix(in srgb, var(--c) 60%, transparent);
    box-shadow:
      0 26px 54px rgba(0, 0, 0, 0.42),
      0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent),
      0 0 80px -20px var(--c);
  }
  .gpa-card:hover .gpa-letter {
    transform: scale(1.18);
    text-shadow:
      0 0 32px var(--c),
      0 0 70px color-mix(in srgb, var(--c) 60%, transparent);
  }
  .gpa-card:hover .gpa-tag { color: var(--c); }

  /* ───────────────────────────────── SLIDE 8 — Four Habits (with shine sweep) */
  .habit-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .habit-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      120deg,
      transparent 30%,
      color-mix(in srgb, var(--c) 14%, transparent) 50%,
      transparent 70%
    );
    transform: translateX(-110%) skewX(-12deg);
    transition: transform 0.85s cubic-bezier(.16, .84, .44, 1);
    pointer-events: none;
    z-index: 0;
  }
  .habit-card > * { position: relative; z-index: 1; }
  .habit-card:hover::after { transform: translateX(110%) skewX(-12deg); }
  .habit-card:hover {
    transform: translateY(-8px) scale(1.018);
    background: color-mix(in srgb, var(--c) 12%, var(--bg-elev1));
    border-color: color-mix(in srgb, var(--c) 50%, transparent);
    box-shadow:
      0 20px 42px rgba(0, 0, 0, 0.35),
      0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent),
      0 0 60px -15px var(--c);
  }
  .habit-card:hover .habit-label {
    background: var(--c);
    color: #fff;
    box-shadow: 0 0 16px color-mix(in srgb, var(--c) 50%, transparent);
  }
  .habit-card:hover h3 { color: var(--c); }

  /* ───────────────────────────────── SLIDE 9 — Reframing (dramatize the shift) */
  .reframe-cell { transition: transform .4s cubic-bezier(.16, .84, .44, 1),
                              background-color .3s ease, box-shadow .3s ease; }
  .reframe-row:hover .reframe-cell.c-coral {
    transform: translateX(-6px);
    background: color-mix(in srgb, var(--accent-coral) 14%, var(--bg-elev1));
    box-shadow: -4px 0 0 0 var(--accent-coral);
  }
  .reframe-row:hover .reframe-cell.c-green {
    transform: translateX(6px);
    background: color-mix(in srgb, var(--accent-green) 14%, var(--bg-elev1));
    box-shadow:
      4px 0 0 0 var(--accent-green),
      0 0 40px -10px var(--accent-green);
  }
  .reframe-row:hover .reframe-arrow {
    transform: scale(1.35);
    color: var(--accent-green);
    text-shadow:
      0 0 22px var(--accent-green),
      0 0 50px color-mix(in srgb, var(--accent-green) 50%, transparent);
  }
  .reframe-arrow { transition: transform .45s cubic-bezier(.16, .84, .44, 1),
                                color .3s ease, text-shadow .3s ease; }

  /* ───────────────────────────────── SLIDE 11 — H-O-P-E letters */
  .hope-letter:hover {
    transform: translateY(-12px) scale(1.03);
    background: color-mix(in srgb, var(--c) 16%, var(--bg-elev1));
    border-color: color-mix(in srgb, var(--c) 65%, transparent);
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.45),
      0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent),
      0 0 80px -18px var(--c);
  }
  .hope-letter:hover .hl-big {
    transform: scale(1.22);
    text-shadow:
      0 0 36px var(--c),
      0 0 80px color-mix(in srgb, var(--c) 60%, transparent);
  }
  .hope-letter:hover .hl-tag {
    color: var(--c);
    letter-spacing: 0.18em;
  }

  /* ───────────────────────────────── SLIDE 14 — HDPS Layers */
  .layer-card:hover {
    transform: translateY(-6px);
    background: color-mix(in srgb, var(--c) 12%, var(--bg-elev1));
    border-color: color-mix(in srgb, var(--c) 55%, transparent);
    box-shadow:
      0 20px 44px rgba(0, 0, 0, 0.34),
      0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent),
      0 0 55px -15px var(--c);
  }
  .layer-card:hover h3 { color: var(--c); }
  /* Cascading list-item highlight */
  .layer-card:hover .layer-list li {
    transform: translateX(6px);
    color: var(--text);
  }
  .layer-card:hover .layer-list li .bullet {
    background: var(--c);
    box-shadow: 0 0 14px var(--c);
    transform: scale(1.3);
  }
  .layer-card:hover .layer-list li:nth-child(1) { transition-delay: .03s; }
  .layer-card:hover .layer-list li:nth-child(2) { transition-delay: .08s; }
  .layer-card:hover .layer-list li:nth-child(3) { transition-delay: .13s; }
  .layer-card:hover .layer-list li:nth-child(4) { transition-delay: .18s; }

  /* ───────────────────────────────── SLIDE 15 — Performance Matrix */
  .matrix-cell {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .matrix-cell:hover {
    transform: translateY(-4px) scale(1.025);
    background: color-mix(in srgb, var(--c) 18%, var(--bg-elev1));
    border-color: color-mix(in srgb, var(--c) 65%, transparent);
    box-shadow:
      0 22px 48px rgba(0, 0, 0, 0.42),
      0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent),
      0 0 60px -15px var(--c);
    z-index: 2;
  }
  .matrix-cell:hover h4 {
    color: var(--c);
    letter-spacing: 0.01em;
  }
  /* Star performer gets extra emphasis */
  .matrix-cell.matrix-star:hover {
    transform: translateY(-6px) scale(1.035);
    box-shadow:
      0 26px 56px rgba(0, 0, 0, 0.5),
      0 0 0 2px var(--c),
      0 0 90px -10px var(--c);
  }
  /* Add a subtle glow halo behind matrix-cell on hover */
  .matrix-cell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--c) 18%, transparent) 0%,
      transparent 65%
    );
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    z-index: 0;
  }
  .matrix-cell > * { position: relative; z-index: 1; }
  .matrix-cell:hover::before { opacity: 1; }
}
