/* ════════════════════════════════════════════════
   BCA NGF Campaign Presentation — Horizontal Deck
   Twilight palette by default · dark mode toggle in header
   ════════════════════════════════════════════════ */

/* ═══════ THEME VARIABLES ═══════ */
:root, [data-theme="light"] {
  --bg: #f6f1e6;
  --bg-2: #ede5d3;
  --bg-card: #ffffff;
  --bg-card-2: #faf6ec;
  --bg-hero: #efe7d4;

  --ink: #1a1a1f;
  --ink-soft: #2c2c33;
  --ink-mute: rgba(26, 26, 31, 0.7);
  --ink-quiet: rgba(26, 26, 31, 0.48);

  --gold: #a8803c;
  --gold-deep: #82612d;
  --gold-soft: rgba(168, 128, 60, 0.5);
  --gold-line: rgba(168, 128, 60, 0.28);
  --gold-glow: rgba(168, 128, 60, 0.16);
  --gold-on-light: #8a6a35;

  --velvet: #8B0E2C;
  --velvet-soft: rgba(139, 14, 44, 0.5);

  --border: rgba(26, 26, 31, 0.12);
  --border-strong: rgba(26, 26, 31, 0.22);

  --shadow-soft: 0 8px 28px rgba(26, 26, 31, 0.07);
  --shadow-mid: 0 16px 48px rgba(26, 26, 31, 0.12);
  --shadow-strong: 0 28px 64px rgba(26, 26, 31, 0.18);

  --serif: 'Fraunces', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --pad-x: clamp(1.5rem, 5vw, 4rem);
  --pad-y: clamp(2rem, 6vh, 4rem);
  --max-w: 1280px;
  --radius: 8px;
  --radius-lg: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 200ms;
  --dur-mid: 420ms;
}

[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-2: #14141a;
  --bg-card: #14141a;
  --bg-card-2: #1c1c24;
  --bg-hero: #0f0f15;

  --ink: #F5F1E8;
  --ink-soft: #ECE6D6;
  --ink-mute: rgba(245, 241, 232, 0.65);
  --ink-quiet: rgba(245, 241, 232, 0.45);

  --gold: #C9A875;
  --gold-deep: #d8b88a;
  --gold-soft: rgba(201, 168, 117, 0.5);
  --gold-line: rgba(201, 168, 117, 0.3);
  --gold-glow: rgba(201, 168, 117, 0.2);
  --gold-on-light: #C9A875;

  --velvet: #d65f7a;
  --velvet-soft: rgba(214, 95, 122, 0.5);

  --border: rgba(245, 241, 232, 0.1);
  --border-strong: rgba(245, 241, 232, 0.22);

  --shadow-soft: 0 8px 28px rgba(0, 0, 0, 0.3);
  --shadow-mid: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 28px 64px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 480ms var(--ease), color 480ms var(--ease);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; color: inherit; border: none; padding: 0; text-align: inherit; }

/* ═══════ DECK NAV ═══════ */
.deck-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem var(--pad-x);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color 480ms var(--ease), border-color 480ms var(--ease);
}
.deck-nav__brand {
  display: flex; align-items: baseline;
  gap: 0.6rem; min-width: 0;
}
.deck-nav__wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.deck-nav__divider { color: var(--gold); }
.deck-nav__client {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.deck-nav__center {
  display: flex; align-items: center;
  gap: 1rem;
  justify-self: center;
}
.deck-nav__progress {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  min-width: 3.5em;
  text-align: center;
}
.deck-nav__dots {
  display: flex; gap: 0.45rem;
}
.deck-nav__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.deck-nav__dot:hover { background: var(--ink-mute); transform: scale(1.2); }
.deck-nav__dot.is-active {
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  transform: scale(1.15);
}

.deck-nav__right {
  display: flex; align-items: center; gap: 0.7rem;
  justify-self: end;
}
.deck-nav__alt-wrap { position: relative; }
.deck-nav__alt {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.deck-nav__alt:hover { color: var(--gold); border-color: var(--gold-line); }
.deck-nav__alt-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-mid);
  display: flex; flex-direction: column;
  gap: 0.15rem;
  z-index: 60;
}
.deck-nav__alt-pop[hidden] { display: none; }
.deck-nav__alt-pop a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  padding: 0.6rem 0.85rem;
  border-radius: 4px;
  transition: background var(--dur-fast) var(--ease);
}
.deck-nav__alt-pop a:hover {
  background: var(--gold-glow);
  color: var(--gold);
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: var(--gold-glow);
  color: var(--gold);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.theme-toggle:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.theme-toggle__icon { font-size: 0.95rem; line-height: 1; }
[data-theme="light"] [data-icon-dark] { display: none; }
[data-theme="dark"] [data-icon-light] { display: none; }

/* ═══════ ARROWS ═══════ */
.deck-arrow {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow-mid);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  color: var(--ink);
}
.deck-arrow:hover {
  background: var(--gold);
  color: var(--bg-card);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.05);
}
.deck-arrow--prev { left: clamp(0.85rem, 2vw, 1.75rem); }
.deck-arrow--next { right: clamp(0.85rem, 2vw, 1.75rem); }
.deck-arrow__glyph {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.deck-arrow:disabled,
.deck-arrow.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ═══════ DECK + SLIDES (horizontal scroll-snap) ═══════ */
.deck {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.deck::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100vh;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(70px + clamp(1rem, 2.5vh, 2rem)) var(--pad-x) clamp(1.25rem, 3vh, 2.25rem);
  overflow-y: auto;
  position: relative;
}

.slide__inner {
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vh, 1.5rem);
}
.slide__inner--center {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 70px - 6rem);
  margin: auto;
}

.slide__head {
  display: flex; flex-direction: column; gap: 0.85rem;
  max-width: 700px;
}
.slide__id {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  background: var(--gold-glow);
  align-self: flex-start;
}
.slide__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
}
.slide__title em {
  font-style: italic;
  color: var(--gold);
}
.slide__lede {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
  max-width: 60ch;
}
.slide__lede strong {
  color: var(--ink);
  font-weight: 500;
}

.slide__theme {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-mute);
  margin-top: 0.25rem;
}

.slide__foot {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
.slide__foot-hint {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

/* ═══════ CTA BUTTONS ═══════ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: -0.005em;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  box-shadow: 0 8px 24px var(--gold-glow);
  white-space: nowrap;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--gold-glow);
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.cta:active { transform: translateY(0); }
.cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--gold-glow);
}
.cta__arrow {
  font-family: var(--sans);
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5em; height: 1.5em;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  font-size: 0.95em;
  transition: transform var(--dur-fast) var(--ease);
}
[data-theme="dark"] .cta__arrow { background: rgba(0,0,0,0.18); }
.cta:hover .cta__arrow { transform: translateX(3px); }

.cta--big {
  padding: 1.15rem 1.95rem;
  font-size: clamp(1.05rem, 1.85vw, 1.35rem);
}
.cta--sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}
.cta--primary { /* default */ }
.cta--ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  box-shadow: none;
}
.cta--ghost:hover {
  background: var(--bg-card);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--shadow-soft);
}

/* ═══════ SLIDE 01 — TITLE CARD ═══════ */
.slide--title {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, var(--gold-glow) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-hero), var(--bg) 50%);
}
.title-card {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 1.25rem;
  max-width: 760px;
  padding: 2rem;
}
.title-card__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.title-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0.4rem 0 0.8rem;
}
.title-card__title em {
  font-style: italic;
  color: var(--gold);
}
.title-card__lede {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
  max-width: 56ch;
}
.title-card__lede strong {
  color: var(--ink);
  font-weight: 500;
}
.title-card__sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-quiet);
  max-width: 50ch;
  margin: -0.5rem 0 0.5rem;
}
.title-card__meta {
  display: flex; gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 1rem 0 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.meta-item {
  display: flex; flex-direction: column;
  gap: 0.3rem;
}
.meta-item__num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1;
  color: var(--ink);
  font-feature-settings: 'tnum';
}
.meta-item__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.title-card__hint {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-top: 0.6rem;
}

/* ═══════ SLIDE 02 — MISSION BRIEF ═══════ */
.slide--brief {
  background: var(--bg);
}
.brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.brief-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex; flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-soft);
  transition: all var(--dur-fast) var(--ease);
}
.brief-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-mid);
  border-color: var(--gold-line);
}
.brief-card--full { grid-column: 1 / -1; }
.brief-card__label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.brief-card__big {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}
.brief-card__med {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.brief-card__med em,
.brief-card__small em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.brief-card__small {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 0;
}

/* ═══════ SLIDE 03 — STYLES OVERVIEW ═══════ */
.slide--styles {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--gold-glow) 0%, transparent 60%),
    var(--bg);
}
.styles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.tile {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-mid);
}
.tile.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow), var(--shadow-mid);
}
.tile__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
}
.tile__media--boost {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-2));
  border-bottom: 1px dashed var(--gold-line);
  flex-direction: column; gap: 0.6rem;
}
.tile__bigtype {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--bg-card);
  text-align: center;
  padding: 0.85rem;
  text-shadow: 0 2px 22px rgba(0,0,0,0.5);
}
[data-theme="light"] .tile__bigtype {
  color: #f6f1e6;
}
.tile__bigtype em {
  font-style: italic;
  color: var(--gold);
}
.boost-mark {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.4rem;
  color: var(--gold);
}
.boost-glyph {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
}
.boost-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  font-weight: 500;
}
.tile__placeholder {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  text-align: center;
  padding: 0 0.85rem;
}
.tile__caption {
  display: flex; flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.tile__id {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 500;
}
.tile__name {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tile__theme {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-mute);
}

/* ═══════ SLIDE 04 — DETAIL ═══════ */
.slide--detail {
  background:
    radial-gradient(ellipse 70% 50% at 0% 50%, var(--gold-glow) 0%, transparent 60%),
    var(--bg);
}
.slide__head--detail {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: none;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.detail-title-block {
  display: flex; flex-direction: column;
  gap: 0.4rem;
}
.slide__title--detail {
  font-size: clamp(1.85rem, 4vw, 2.8rem);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(1rem, 2.5vw, 1.85rem);
  align-items: start;
}
.detail-main {
  display: flex; justify-content: center;
  min-height: 280px;
}
.main-card {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-strong);
  animation: cardPop 380ms var(--ease);
}
@keyframes cardPop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.main-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
}
.main-card__bigtype {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #f6f1e6;
  text-align: center;
  padding: 1.5rem;
  text-shadow: 0 4px 32px rgba(0,0,0,0.6);
}
.main-card__bigtype em {
  font-style: italic;
  color: var(--gold);
}
.main-card__tag {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f6f1e6;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  border: 1px solid var(--gold-line);
}
.main-card__caption {
  padding: 1.25rem 1.5rem 0.75rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.main-card__name {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.main-card__note {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.main-card__actions {
  display: flex; gap: 0.6rem;
  padding: 0.85rem 1.5rem 1.5rem;
  background: var(--bg-card);
}
.main-card__btn {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  min-height: 44px;
  border: 2px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
}
.main-card__btn--approve {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}
.main-card__btn--approve:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.main-card__btn--changes:hover {
  border-color: var(--velvet);
  color: var(--velvet);
}
.main-card[data-status="approved"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow), var(--shadow-strong);
}
.main-card[data-status="changes"] {
  border-color: var(--velvet-soft);
}

/* Boost main card variant */
.main-card--boost .main-card__media {
  aspect-ratio: auto;
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-2));
  border-left: 4px solid var(--gold);
  padding: 2.5rem 2rem;
  display: flex; align-items: center;
}
.main-card--boost .main-card__bigtype {
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.4;
  text-align: left;
  padding: 0;
  color: var(--ink);
  text-shadow: none;
}
.main-card--boost .main-card__bigtype em {
  color: var(--gold);
}

/* DETAIL SIDE — controls + carousel + wrap CTA */
.detail-side {
  display: flex; flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
.detail-side__group {
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.detail-side__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.detail-side__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 0.4rem;
  background: var(--bg-card-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.strip-thumb {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  text-align: left;
}
.strip-thumb:hover {
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}
.strip-thumb.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow);
}
.strip-thumb__media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
}
.strip-thumb__bigtype {
  font-family: var(--serif);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #f6f1e6;
  text-align: center;
  padding: 0.4rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.strip-thumb__bigtype em {
  font-style: italic;
  color: var(--gold);
}
.strip-thumb__tag {
  position: absolute;
  top: 0.3rem; right: 0.3rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f6f1e6;
  background: rgba(0,0,0,0.55);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
}
.strip-thumb__bottom {
  padding: 0.4rem 0.5rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  border-top: 1px solid var(--border);
}
.strip-thumb.is-active .strip-thumb__bottom {
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}
.strip-thumb--boost .strip-thumb__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-2));
  border-left: 2px solid var(--gold);
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem 0.6rem;
}
.strip-thumb--boost .strip-thumb__bigtype {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-align: left;
  padding: 0;
  color: var(--ink);
  text-shadow: none;
}

.detail-side__nav {
  display: flex; gap: 0.5rem;
  margin-top: 0.5rem;
}
.detail-side__nav .cta {
  flex: 1;
}
.detail-side__hint {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  text-align: center;
  margin-top: 0.5rem;
}

.slide__foot--detail {
  margin-top: 2rem;
}

/* ═══════ TEXT SET (Primary Text + Headline options paired with the creative) ═══════ */
.detail-textset {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
/* Simplified — one font, one size for option content; mono only for tiny meta */
.textset__head {
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.85rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.textset__id {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  background: var(--gold-glow);
  flex: 0 0 auto;
}
.textset__title-block { flex: 1; min-width: 0; }
.textset__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 0.1rem;
}
.textset__theme {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.textset__hint {
  padding: 0.7rem 1.25rem;
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
.textset__hint strong { color: var(--ink); font-weight: 600; }

/* Group = a section of options (Primary Text or Headline) */
.textset__group { border-bottom: 1px solid var(--border); }
.textset__group:last-child { border-bottom: none; }
.textset__group-head {
  padding: 0.8rem 1.25rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--border);
}

.textset__list { display: flex; flex-direction: column; }

.textopt {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background var(--dur-fast) var(--ease);
}
.textopt:last-child { border-bottom: none; }
.textopt:hover { background: var(--bg-card-2); }
.textopt[data-status="approved"] {
  background: var(--gold-glow);
  border-left: 3px solid var(--gold);
  padding-left: calc(1.25rem - 3px);
}
.textopt[data-status="changes"] {
  background: rgba(214, 95, 122, 0.08);
  border-left: 3px solid var(--velvet);
  padding-left: calc(1.25rem - 3px);
}
.textopt__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  flex: 0 0 auto;
}
.textopt[data-status="approved"] .textopt__num {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.textopt[data-status="changes"] .textopt__num {
  background: var(--velvet);
  color: var(--bg);
  border-color: var(--velvet);
}
/* SINGLE consistent type style for ALL option content */
.textopt__content {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}
.textopt__content em {
  /* keep brand italic emphasis but in same color — readability first */
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}
.textopt__actions {
  display: flex; gap: 0.35rem;
  flex: 0 0 auto;
}
.textopt__btn {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  min-height: 34px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink-mute);
  white-space: nowrap;
}
.textopt__btn--approve {
  border-color: var(--gold-soft);
  color: var(--gold);
}
.textopt__btn--approve:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.textopt__btn--changes:hover {
  border-color: var(--velvet);
  color: var(--velvet);
}

/* ═══════ FACEBOOK FEED PREVIEW MOCKUP ═══════ */
.fb-preview {
  width: 100%;
  max-width: 320px;
  display: flex; flex-direction: column;
  gap: 0;
  background: #f0f2f5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-mid);
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
[data-theme="dark"] .fb-preview {
  background: #18191a;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.7);
}
.fb-preview__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.45rem 0.85rem;
  background: #ffffff;
  border-bottom: 1px solid #e4e6eb;
  font-size: 0.72rem;
  font-weight: 600;
  color: #050505;
}
[data-theme="dark"] .fb-preview__bar {
  background: #242526;
  border-bottom-color: #3a3b3c;
  color: #e4e6eb;
}
.fb-preview__bar-icon {
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.fb-preview__bar-fb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  font-family: -apple-system, sans-serif;
}
.fb-preview__bar-dots {
  color: #65676b;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.fb-card {
  background: #ffffff;
  margin: 8px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
[data-theme="dark"] .fb-card { background: #242526; }

.fb-card__header {
  display: flex; align-items: flex-start; gap: 0.55rem;
  padding: 0.6rem 0.7rem 0.5rem;
}
.fb-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4f9d, #1a0a14);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  flex: 0 0 auto;
}
.fb-meta { flex: 1; min-width: 0; }
.fb-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #050505;
  display: inline-flex; align-items: center; gap: 0.3rem;
  line-height: 1.2;
}
[data-theme="dark"] .fb-name { color: #e4e6eb; }
.fb-check {
  color: #fff;
  background: #1877f2;
  width: 14px; height: 14px;
  border-radius: 50%;
  font-size: 0.55rem;
  font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}
.fb-sub {
  font-size: 0.74rem;
  color: #65676b;
  margin-top: 0.1rem;
}
.fb-card__close {
  font-size: 1.2rem;
  color: #65676b;
  background: none; border: none; cursor: pointer;
  padding: 0 0.25rem;
  flex: 0 0 auto;
}

.fb-primary {
  padding: 0 0.7rem 0.55rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #050505;
  margin: 0;
  white-space: pre-wrap;
}
[data-theme="dark"] .fb-primary { color: #e4e6eb; }
.fb-primary em {
  font-style: italic;
  color: #050505;
  font-weight: 500;
}
[data-theme="dark"] .fb-primary em { color: #e4e6eb; }

.fb-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border-top: 1px solid #e4e6eb;
  border-bottom: 1px solid #e4e6eb;
  overflow: hidden;
}
[data-theme="dark"] .fb-media { border-color: #3a3b3c; }
.fb-media__bigtype {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
  padding: 1.2rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.fb-media__bigtype em {
  font-style: italic;
  color: var(--gold);
}
.fb-media__tag {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.fb-media__playicon {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  pointer-events: none;
}
.fb-media__progress {
  position: absolute;
  bottom: 0.5rem; left: 0.5rem; right: 0.5rem;
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.65rem;
  color: #fff;
}
.fb-media__progress-bar {
  flex: 1; height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}
.fb-media__progress-fill {
  display: block; height: 100%; width: 8%;
  background: #fff;
  border-radius: 2px;
}

.fb-card__cta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.7rem;
  background: #f0f2f5;
}
[data-theme="dark"] .fb-card__cta-row { background: #3a3b3c; }
.fb-cta-meta { min-width: 0; }
.fb-domain {
  display: block;
  font-size: 0.7rem;
  color: #65676b;
  text-transform: lowercase;
  letter-spacing: 0;
  margin-bottom: 0.05rem;
}
.fb-headline {
  font-weight: 600;
  font-size: 0.9rem;
  color: #050505;
  line-height: 1.25;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="dark"] .fb-headline { color: #e4e6eb; }
.fb-subhead {
  font-size: 0.78rem;
  color: #65676b;
  display: block;
  margin-top: 0.1rem;
}
.fb-cta-btn {
  background: #e4e6eb;
  color: #050505;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 0.95rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
[data-theme="dark"] .fb-cta-btn { background: #4e4f50; color: #e4e6eb; }
.fb-cta-btn:hover { background: #d8dadf; }
[data-theme="dark"] .fb-cta-btn:hover { background: #5a5b5c; }

.fb-actions {
  display: flex;
  border-top: 1px solid #e4e6eb;
}
[data-theme="dark"] .fb-actions { border-top-color: #3a3b3c; }
.fb-actions button {
  flex: 1;
  padding: 0.5rem 0.4rem;
  background: none; border: none;
  font-size: 0.72rem;
  color: #65676b;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.3rem;
  font-weight: 600;
}
.fb-actions button:hover {
  background: #f0f2f5;
}
[data-theme="dark"] .fb-actions button:hover { background: #3a3b3c; }

/* ═══════ ROTATION CONTROLS (above/below FB preview) ═══════ */
.preview-shell {
  width: 100%;
  display: flex; flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  animation: cardPop 380ms var(--ease);
}
.fb-preview__caption {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0;
}

.rot-bar {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.55rem;
  display: flex; flex-direction: column;
  gap: 0.45rem;
  box-shadow: var(--shadow-soft);
}

/* Angle row: 5 small chips + heading */
.rot-tabs {
  display: flex;
  gap: 0.3rem;
  width: 100%;
  align-items: center;
}
.rot-tabs__label {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  flex: 0 0 auto;
  margin-right: 0.2rem;
}
.rot-tab {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.05rem;
  padding: 0.4rem 0.25rem;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  min-height: 38px;
  min-width: 0;
}
.rot-tab:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
}
.rot-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.rot-tab__code {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
  line-height: 1;
}
.rot-tab.is-active .rot-tab__code { color: var(--bg); opacity: 0.75; }
.rot-tab__name {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-align: center;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.rot-tab.is-active .rot-tab__name { color: var(--bg); }

/* Single inline option rotator */
.rot-stage {
  display: flex; align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  background: var(--bg-card-2);
  border-radius: 5px;
  border: 1px solid var(--border);
}
.rot-stage__center {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-width: 0;
}
.rot-stage__angle {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  text-align: center;
}
.rot-stage__count {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
  flex: 0 0 auto;
}
.rot-arrow--big {
  width: 32px; height: 32px;
  font-size: 0.95rem;
  flex: 0 0 auto;
}
.rot-row {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}
.rot-row:last-child { border-bottom: none; }
.rot-row__label {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex: 0 0 auto;
  min-width: 6em;
}
.rot-row__nav {
  display: flex; align-items: center; gap: 0.45rem;
  margin-left: auto;
}
.rot-row__count {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink);
  min-width: 3.6em;
  text-align: center;
}
.rot-set-pills {
  display: flex; gap: 0.35rem; flex-wrap: wrap;
  margin-left: auto;
}
.rot-pill {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink-mute);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.rot-pill:hover { border-color: var(--gold); color: var(--gold); }
.rot-pill.is-active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.rot-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.rot-arrow:hover {
  background: var(--gold); color: var(--bg); border-color: var(--gold);
}

/* ═══════ CREATIVE ACTIONS (approve / changes for the version itself) ═══════ */
.creative-actions {
  width: 100%;
  max-width: 460px;
  display: flex; gap: 0.5rem;
}
.cta--wrap {
  margin-top: 0.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  width: 100%;
  box-shadow: 0 8px 22px var(--gold-glow);
}
.creative-actions__btn {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  min-height: 38px;
  border: 2px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--ink);
}
.creative-actions__btn--approve {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}
.creative-actions__btn--approve:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.creative-actions__btn--changes:hover {
  border-color: var(--velvet);
  color: var(--velvet);
}
.creative-actions[data-status="approved"] .creative-actions__btn--approve {
  background: var(--gold-deep);
}
.creative-actions[data-status="changes"] .creative-actions__btn--changes {
  background: var(--velvet);
  color: var(--bg);
  border-color: var(--velvet);
}

/* ═══════ MEGA WRAP-UP CTA (final step) ═══════ */
.wrap-cta {
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
  padding: clamp(1.25rem, 3vh, 2rem);
  background: linear-gradient(135deg, var(--gold-glow) 0%, transparent 100%);
  border: 2px solid var(--gold-line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.85rem;
  text-align: center;
}
.cta--mega {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  padding: 1.3rem 2.5rem;
  border-radius: 999px;
  letter-spacing: -0.005em;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 14px 36px var(--gold-glow), 0 4px 12px rgba(168, 128, 60, 0.15);
}
.cta--mega:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px var(--gold-glow), 0 6px 16px rgba(168, 128, 60, 0.2);
}
.cta--mega .cta__arrow {
  width: 1.8em; height: 1.8em;
  font-size: 0.95em;
}
.wrap-cta__hint {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-mute);
  max-width: 50ch;
  font-style: italic;
}

/* ═══════ SLIDE 05 — SUMMARY ═══════ */
.slide--summary {
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, var(--gold-glow) 0%, transparent 60%),
    var(--bg);
}
.summary-card {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 1.25rem;
  max-width: 720px;
  background: var(--bg-card);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}
.summary-card__eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.summary-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
}
.summary-card__title em {
  font-style: italic;
  color: var(--gold);
}
.summary-card__lede {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
  max-width: 50ch;
}
.summary-stats {
  display: flex; gap: clamp(1.5rem, 4vw, 3rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%; justify-content: center;
}
.sstat {
  display: flex; flex-direction: column; gap: 0.3rem;
}
.sstat__num {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--ink);
  font-feature-settings: 'tnum';
}
.sstat--gold .sstat__num { color: var(--gold); }
.sstat--velvet .sstat__num { color: var(--velvet); }
.sstat__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.summary-card__field {
  width: 100%;
  display: flex; flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
.summary-card__label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.summary-card__textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.85rem 1rem;
  background: var(--bg-card-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  resize: vertical;
  transition: border-color var(--dur-fast) var(--ease);
}
.summary-card__textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.summary-card__actions {
  display: flex; gap: 0.85rem; flex-wrap: wrap;
  width: 100%; justify-content: center;
}
.summary-card__note {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  border-top: 1px dashed var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
  width: 100%;
}

/* ═══════ MOBILE / iPad ═══════ */
@media (max-width: 1080px) {
  .styles-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .detail-side { position: static; }
  .detail-side__strip { grid-template-columns: repeat(4, 1fr); }
  .textopt {
    grid-template-columns: 26px 1fr;
    gap: 0.5rem 0.65rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
  }
  .textopt__actions {
    grid-column: 2;
    flex-direction: row;
    margin-top: 0.5rem;
    width: 100%;
  }
  .textopt__btn { flex: 1; }
  .textset__group-head { padding: 0.7rem 1rem 0.55rem; }
}

@media (max-width: 880px) {
  .deck-arrow {
    width: 44px; height: 44px;
  }
  .deck-arrow--prev { left: 0.5rem; }
  .deck-arrow--next { right: 0.5rem; }
  .deck-nav {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    padding: 0.7rem var(--pad-x);
  }
  .deck-nav__center {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
  .deck-nav__alt-wrap { display: none; }
  .deck-nav__client { display: none; }
  .deck-nav__divider { display: none; }
  .slide {
    padding-top: 110px;
  }

  .brief-grid { grid-template-columns: 1fr; }
  .styles-grid { grid-template-columns: repeat(3, 1fr); }
  .title-card__meta { gap: 1.5rem; }
  .summary-stats { flex-wrap: wrap; gap: 1.25rem; }
  .summary-card__actions { flex-direction: column; width: 100%; }
  .summary-card__actions .cta { width: 100%; }
  .slide__foot { gap: 0.75rem; }
  .slide__foot .cta { flex: 1; }
}

@media (max-width: 600px) {
  .deck-nav__progress { font-size: 0.62rem; }
  .deck-nav__dot { width: 8px; height: 8px; }
  .styles-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .tile__bigtype { font-size: clamp(1rem, 4.5vw, 1.4rem); }
  .tile__caption { padding: 0.6rem 0.75rem 0.75rem; }
  .tile__name { font-size: 0.85rem; }
  .tile__theme { font-size: 0.7rem; }
  .detail-side__strip { grid-template-columns: repeat(2, 1fr); gap: 0.45rem; }
  .main-card__actions { flex-direction: column; }
  .main-card__btn { width: 100%; }
  .summary-card { padding: 1.5rem; }
  .deck-arrow { width: 40px; height: 40px; }
  .deck-arrow__glyph { font-size: 1.15rem; }
}

/* Touch devices — no hover transforms, bigger tap targets */
@media (hover: none) and (pointer: coarse) {
  .tile:hover { transform: none; }
  .brief-card:hover { transform: none; }
  .strip-thumb:hover { transform: none; }
}

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