/*
 * Britway TV Commercial — Aspect-Locked 1920x1080 Broadcast Styles (New Ad)
 * Every image container matches its source asset's natural aspect ratio or uses
 * clean framed containment so zero cars, faces, screenshots, or logos are cut off.
 */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --gold: #d4af37;
  --gold-light: #f5e7b2;
  --gold-deep: #9e7b16;
  --ink: #050811;
  --ink-panel: rgba(13, 20, 36, 0.84);
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --stage-scale: 1;
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 42%, #182848 0%, #0b1326 55%, #03060f 100%);
  background-color: #050811;
  overflow: hidden;
  overflow: clip;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: fixed;
  inset: 0;
  cursor: default;
}
body.hide-cursor { cursor: none; }

/* ---------- Fixed 1920x1080 responsive 16:9 canvas ---------- */
.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%) scale(var(--stage-scale));
  transform-origin: center center;
  overflow: hidden;
  contain: layout style;
  background: radial-gradient(circle at 72% 38%, #16223b 0%, #090f1d 52%, var(--ink) 100%);
  transition: box-shadow 0.3s ease, border-radius 0.3s ease;
}

/* Portrait Stage Elevation & Bezel */
@media (max-aspect-ratio: 1/1) {
  .stage {
    top: calc(50% - 26px);
    border-radius: calc(18px / var(--stage-scale, 1));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9), 0 0 0 1.5px rgba(212, 175, 55, 0.45);
  }
}

/* Native Mobile App Header (Portrait Only) */
.mobile-app-header {
  display: none;
}
@media (max-aspect-ratio: 1/1) and (max-width: 680px) {
  .mobile-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: 14px;
    right: 14px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(11, 17, 30, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 60;
  }
  .mah-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .mah-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .mah-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .mah-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mah-sub {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mah-fs-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-light);
    display: grid;
    place-items: center;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .mah-fs-btn:active {
    transform: scale(0.92);
  }
}

/* Mobile Quick Action & Orientation Banner (Portrait Only) */
.mobile-rotate-banner {
  display: none;
}
@media (max-aspect-ratio: 1/1) and (max-width: 680px) {
  .mobile-rotate-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: fixed;
    left: 50%;
    top: calc(50% + (1080px * var(--stage-scale, 0.2) / 2) + 16px);
    transform: translateX(-50%);
    width: calc(100vw - 28px);
    max-width: 380px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(14, 22, 38, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 55;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .mobile-rotate-banner:active {
    transform: translateX(-50%) scale(0.97);
  }
  .mrb-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .mrb-icon {
    font-size: 15px;
    flex-shrink: 0;
  }
  .mrb-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
  }
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 82%);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Scene transitions (GPU-safe: no persistent clip-path + 3D clash) ---------- */
.scene {
  position: absolute;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  z-index: 2;
  background: radial-gradient(circle at 74% 42%, #172440 0%, #090f1e 55%, var(--ink) 100%);
}

.scene.is-shown { visibility: visible; }
.scene.is-active { z-index: 4; animation: tr-fade 0.95s var(--ease-out) backwards; }
.scene.is-leaving { z-index: 3; animation: tr-leave 0.95s ease forwards; }

.scene.is-active[data-transition="zoom"] { animation-name: tr-zoom; }
.scene.is-active[data-transition="wipe-left"] { animation-name: tr-slide-left; }
.scene.is-active[data-transition="wipe-up"] { animation-name: tr-slide-up; }

@keyframes tr-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tr-zoom { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes tr-slide-left { from { opacity: 0; transform: translateX(90px); } to { opacity: 1; transform: translateX(0); } }
@keyframes tr-slide-up { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tr-leave { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.975); } }

/* Gold light sweep across the screen on scene entrance — disabled to prevent yellow blur */
.scene.is-active::after {
  display: none;
}

/* ---------- Safe stage inner wrapper ---------- */
.scene-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  padding: 74px 110px 78px;
}

/* ---------- Element entrance animations ---------- */
.anim { opacity: 0; }
.scene.is-shown .anim-rise { animation: a-rise 0.8s var(--ease-out) var(--d, 0s) both; }
.scene.is-shown .anim-fade { animation: a-fade 0.85s ease var(--d, 0s) both; }
.scene.is-shown .anim-pop { animation: a-pop 0.75s var(--ease-spring) var(--d, 0s) both; }
.scene.is-shown .anim-left { animation: a-left 0.8s var(--ease-out) var(--d, 0s) both; }
.scene.is-shown .anim-right { animation: a-right 0.85s var(--ease-out) var(--d, 0s) both; }
.scene.is-shown .anim-line { animation: a-line 0.8s var(--ease-out) var(--d, 0s) both; transform-origin: left center; }
.scene.is-shown .gold-rule.anim-line {
  animation: a-line 0.8s var(--ease-out) var(--d, 0s) both,
             ruleSweep 6.0s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--d, 0s) + 0.3s) infinite;
  transform-origin: left center;
}
.scene.is-shown .gold-rule.is-centered.anim-line {
  transform-origin: center center;
}
.scene.is-shown .anim-word:not(.accent) {
  animation: a-word 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s) both,
             wordSweep 8.0s cubic-bezier(0.35, 0, 0.25, 1) calc(var(--w-idx, 0) * 0.45s + 0.5s) infinite;
}
.scene.is-shown .anim-word.accent {
  animation: a-word 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s) both,
             wordSweep 8.0s cubic-bezier(0.35, 0, 0.25, 1) calc(var(--w-idx, 0) * 0.45s + 0.5s) infinite;
}

@keyframes a-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
@keyframes a-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes a-pop { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: scale(1); } }
@keyframes a-left { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; transform: translateX(0); } }
@keyframes a-right { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: translateX(0); } }
@keyframes a-line { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes a-word { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

@keyframes ruleSweep {
  0% { background-position: 180% 0; }
  45% { background-position: -40% 0; }
  100% { background-position: -40% 0; }
}

@keyframes wordSweep {
  0% { background-position: 180% 0; }
  45% { background-position: -40% 0; }
  100% { background-position: -40% 0; }
}

@keyframes subtle-ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

/* ---------- Shared Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold-rule {
  display: block;
  width: 120px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    #f5c84c 0%,
    #e8b838 30%,
    #ffffff 50%,
    #e8b838 70%,
    #f5c84c 100%
  );
  background-size: 250% 100%;
  box-shadow: none;
  margin: 20px 0 22px;
}

.gold-rule.is-centered { margin-left: auto; margin-right: auto; }

.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 78px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.headline.is-xl { font-size: 92px; }
.headline.is-lg { font-size: 82px; }
.headline.is-md { font-size: 70px; }

.headline .word {
  display: inline-block;
  margin-right: 0.24em;
  padding: 0.04em 0.04em 0.16em;
  margin-top: -0.04em;
  margin-bottom: -0.16em;
}
.headline .word:last-child { margin-right: 0; }

.headline .word:not(.accent) {
  background: linear-gradient(
    112deg,
    #ffffff 0%,
    #ffffff 35%,
    #ffffff 45%,
    #fff7d6 49%,
    #ffffff 50%,
    #fff7d6 51%,
    #ffffff 55%,
    #ffffff 65%,
    #ffffff 100%
  );
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: none;
}

.headline .word.accent,
.headline .accent {
  background: linear-gradient(
    112deg,
    #f5c84c 0%,
    #e8b838 25%,
    #fff4b8 46%,
    #ffffff 50%,
    #fff4b8 54%,
    #e8b838 75%,
    #f5c84c 100%
  );
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: none;
}

.subtitle-text {
  margin-top: 22px;
  font-size: 32px;
  line-height: 1.4;
  color: var(--text-muted);
  max-width: 920px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid rgba(212, 175, 55, 0.65);
  background: rgba(9, 15, 29, 0.78);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
}

.chip::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: none;
}

.chip.chip-google {
  gap: 10px;
  padding: 10px 22px 10px 14px;
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(22, 33, 58, 0.94) 0%, rgba(10, 16, 30, 0.94) 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.chip.chip-google::before {
  display: none;
}

.chip-google-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.chip-google-icon svg {
  width: 22px;
  height: 22px;
}

.chip-google-score {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
}

.chip-google-star {
  color: #fbbc04;
  font-size: 25px;
  line-height: 1;
  margin-left: -4px;
}

.chip-google-text {
  color: #ffffff;
  font-weight: 700;
}

/* ---------- Framed Photo Cards (Aspect-Ratio Locked — Zero Bad Crops!) ---------- */
.photo-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid rgba(212, 175, 55, 0.65);
  background: #0a101f;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.68);
  flex-shrink: 0;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.scene.is-shown .photo-card.allow-gentle-zoom img {
  animation: subtle-ken-burns var(--dur, 7s) linear both;
}

/* Exact 896x1152 (0.778) portrait frame */
.photo-card.portrait-78 {
  width: 600px;
  height: 771px;
}

/* Exact 1599x1113 (1.437) landscape frame */
.photo-card.landscape-144 {
  width: 720px;
  height: 501px;
}

/* Exact 1342x2000 (0.671) portrait frame — edge-to-edge fleet lineup with 0% side crop */
.photo-card.portrait-67-exact {
  width: 552px;
  height: 822px;
}

/* Exact 1333x2000 (0.666) 2:3 collage frame — object-fit: contain guarantees 0% cut off */
.photo-card.portrait-67-contain {
  width: 548px;
  height: 822px;
  background: #0b1120;
}
.photo-card.portrait-67-contain img {
  object-fit: contain;
}

/* ---------- Slide 16: Partner 4-Photo Bento Mosaic ---------- */
.partner-mosaic-wrap {
  width: 552px;
  height: 822px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  flex-shrink: 0;
}

.partner-photo-card {
  position: relative;
  overflow: hidden;
  background: #0b1120;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              z-index 0.4s ease;
  cursor: pointer;
}

.partner-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.partner-photo-card.item-top {
  width: 100%;
  height: 334px;
  border-radius: 22px;
}

.partner-photo-card.item-top img {
  object-position: center 25%;
}

.partner-mosaic-bottom {
  width: 100%;
  height: 476px;
  display: flex;
  gap: 12px;
}

.partner-photo-card.item-left {
  width: 268px;
  height: 100%;
  border-radius: 20px;
}

.partner-photo-card.item-left img {
  object-position: center top;
}

.partner-mosaic-stack {
  width: 272px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-photo-card.item-right-top,
.partner-photo-card.item-right-bottom {
  width: 100%;
  height: 232px;
  border-radius: 18px;
}

.partner-photo-card.item-right-top img,
.partner-photo-card.item-right-bottom img {
  object-position: center center;
}

.photo-badge {
  position: absolute;
  z-index: 4;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(5, 8, 17, 0.86);
  border: 2px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--gold-light);
  backdrop-filter: blur(8px);
}
.photo-badge.is-top { top: 22px; left: 22px; }
.photo-badge.is-bottom { bottom: 22px; left: 22px; right: 22px; text-align: center; }

/* ---------- Layout 1: Cover Split (Slide 1) ---------- */
.cover-split-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  height: 100%;
}

.cover-left { flex: 1; min-width: 0; }
.cover-logo-badge {
  width: 148px;
  height: 148px;
  border-radius: 26px;
  object-fit: contain;
  margin-bottom: 28px;
  border: 2px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

/* ---------- Layout 2: Table of Contents (Slide 2) ---------- */
@property --beam-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes rotateBorderBeam {
  0% { --beam-angle: 0deg; }
  100% { --beam-angle: 360deg; }
}

/* Universal Voice-Synced Spotlight & Orbiting Gold Beam */
.sync-beam-target {
  position: relative;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.38s ease,
              box-shadow 0.38s ease,
              opacity 0.38s ease,
              background 0.38s ease;
  will-change: transform, opacity, box-shadow;
}

.sync-beam-target::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2.5px;
  background: conic-gradient(
    from var(--beam-angle, 0deg),
    transparent 0%,
    transparent 65%,
    rgba(212, 175, 55, 0.45) 78%,
    #ffffff 90%,
    #ffe270 94%,
    rgba(212, 175, 55, 0.55) 98%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: none;
  z-index: 4;
}

.sync-beam-target.is-focused {
  transform: translateY(-4px) scale(1.025);
  border-color: rgba(247, 208, 96, 0.95) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75),
              inset 0 0 0 1px rgba(247, 208, 96, 0.4) !important;
  z-index: 5;
  opacity: 1 !important;
}

.google-review-card.is-focused {
  transform: translateY(-8px) scale(1.08) !important;
  z-index: 10 !important;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.85) !important;
}

.flagship-brand-card.is-focused {
  transform: translateY(-6px) scale(1.18) !important;
  z-index: 10 !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75) !important;
}

.fleet-tile.is-focused {
  transform: translateY(-8px) scale(1.04) !important;
  z-index: 8 !important;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.8) !important;
}

.metric-tile.is-focused,
.metric-google-banner.is-focused {
  transform: translateY(-6px) scale(1.05) !important;
  z-index: 8 !important;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8) !important;
}

.google-live-pill.is-focused {
  transform: translateY(-4px) scale(1.06) !important;
  border-color: rgba(247, 208, 96, 1) !important;
  background: linear-gradient(135deg, rgba(26, 38, 66, 0.98) 0%, rgba(15, 24, 44, 0.98) 100%) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(247, 208, 96, 0.7) !important;
  z-index: 10 !important;
  opacity: 1 !important;
}

.partner-photo-card.is-focused {
  transform: translateY(-8px) scale(1.14) !important;
  z-index: 25 !important;
  border-color: rgba(247, 208, 96, 1) !important;
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(247, 208, 96, 0.7) !important;
}

.partner-photo-card.item-top.is-focused {
  transform: translateY(-6px) scale(1.09) !important;
}

.partner-photo-card.is-focused img {
  transform: scale(1.05);
}

/* Slide 18: Compliance & Global Payments Popup Zoom */
.cred-card.is-focused {
  transform: translateY(-6px) scale(1.045) !important;
  z-index: 15 !important;
  border-color: rgba(247, 208, 96, 1) !important;
  background: linear-gradient(135deg, rgba(24, 38, 68, 0.95) 0%, rgba(13, 22, 42, 0.98) 100%) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(247, 208, 96, 0.7) !important;
}

.cred-card.is-focused .cred-seal-box {
  transform: scale(1.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55),
              0 0 0 2.5px rgba(247, 208, 96, 0.9);
}

.invoice-hero-card.is-focused {
  transform: translateY(-6px) scale(1.04) !important;
  z-index: 15 !important;
  border-color: rgba(247, 208, 96, 1) !important;
  background: linear-gradient(135deg, rgba(28, 42, 72, 0.96) 0%, rgba(14, 24, 46, 0.98) 100%) !important;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(247, 208, 96, 0.7) !important;
}

.invoice-hero-card.is-focused .invoice-hero-icon {
  transform: scale(1.14);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5),
              0 0 0 2.5px rgba(247, 208, 96, 0.9);
}

.pay-gateway-card.is-focused {
  transform: translateY(-6px) scale(1.10) !important;
  z-index: 20 !important;
  border-color: rgba(247, 208, 96, 1) !important;
  background: linear-gradient(135deg, rgba(26, 40, 70, 0.96) 0%, rgba(13, 22, 42, 0.98) 100%) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(247, 208, 96, 0.7) !important;
}

.pay-gateway-card.is-focused .pay-brand-pill {
  transform: scale(1.15);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45),
              0 0 0 2.5px rgba(247, 208, 96, 0.9);
}

.sync-beam-target.is-focused::after {
  opacity: 1;
  animation: rotateBorderBeam 3.2s linear infinite;
}

.centered-header { text-align: center; }
.toc-header-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.toc-cards-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.toc-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 44px;
  border-radius: 26px;
  background: var(--ink-panel);
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.38s ease,
              box-shadow 0.38s ease,
              opacity 0.38s ease,
              background 0.38s ease;
  will-change: transform, opacity, box-shadow;
}

.toc-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2.5px;
  background: conic-gradient(
    from var(--beam-angle, 0deg),
    transparent 0%,
    transparent 65%,
    rgba(212, 175, 55, 0.45) 78%,
    #ffffff 90%,
    #ffe270 94%,
    rgba(212, 175, 55, 0.55) 98%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: none;
  z-index: 3;
}

.toc-card.is-focused::after {
  opacity: 1;
  animation: rotateBorderBeam 3.2s linear infinite;
}

.toc-card.is-focused {
  transform: translateY(-4px) scale(1.025);
  border-color: rgba(247, 208, 96, 0.95);
  background: linear-gradient(135deg, rgba(22, 32, 54, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7),
              inset 0 0 0 1px rgba(247, 208, 96, 0.4);
  z-index: 2;
  opacity: 1;
}

.toc-card.is-focused .toc-num {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transform: scale(1.06);
}

.toc-card.is-focused .toc-title {
  color: #fff;
  text-shadow: none;
}

.toc-card.is-focused .toc-desc {
  color: #e2e8f0;
}

.toc-num {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s ease;
}

.toc-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  color: #fff;
}

.toc-desc {
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.35;
  color: var(--text-muted);
}

.toc-header-logo.is-six {
  width: 78px;
  height: 78px;
  margin-bottom: 6px;
}

.toc-cards-grid.is-six {
  margin-top: 26px;
  gap: 20px 26px;
}

.toc-cards-grid.is-six .toc-card {
  gap: 26px;
  padding: 26px 34px;
  border-radius: 22px;
}

.toc-cards-grid.is-six .toc-num {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  font-size: 38px;
}

.toc-cards-grid.is-six .toc-title {
  font-size: 32px;
  line-height: 1.18;
}

.toc-cards-grid.is-six .toc-desc {
  margin-top: 6px;
  font-size: 21px;
  line-height: 1.34;
}

/* ---------- Layout 3: Bullets + Aspect-Matched Photo (Slides 3, 4, 12) ---------- */
.bullets-photo-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  height: 100%;
}

.bullets-col { flex: 1; min-width: 0; }

.clean-bullet-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.clean-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 22px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(212, 175, 55, 0.28);
  font-size: 28px;
  line-height: 1.35;
  color: var(--text-main);
}

.clean-bullet-list.is-compact li {
  padding: 13px 20px;
  font-size: 27px;
}

.bullet-check {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 22px;
}

/* ---------- Layout 4: Fleet 6-Photo Bento Showcase (Slide 5 — Extracted from BRITWAY.pdf) ---------- */
.fleet-showcase-grid {
  display: grid;
  grid-template-columns: 710px 940px;
  gap: 50px;
  align-items: center;
  height: 100%;
}

.fleet-bento-six {
  height: 874px;
  display: grid;
  grid-template-rows: 294px 278px 266px;
  gap: 18px;
}

.fleet-bento-row-1 {
  display: grid;
  grid-template-columns: 540px 382px;
  gap: 18px;
}

.fleet-bento-row-2 {
  display: grid;
  grid-template-columns: 488px 434px;
  gap: 18px;
}

.fleet-bento-row-3 {
  display: grid;
  grid-template-columns: 488px 434px;
  gap: 18px;
}

.fleet-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2.5px solid rgba(212, 175, 55, 0.62);
  background: #0a101f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.58);
}

.fleet-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene.is-shown .fleet-tile img {
  animation: subtle-ken-burns var(--dur, 8s) linear both;
}

.fleet-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 18px 12px;
  background: linear-gradient(0deg, rgba(5, 8, 17, 0.92) 0%, rgba(5, 8, 17, 0.42) 68%, transparent 100%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--gold-light);
}

/* ---------- Layout 5 & 7: Browser Showcase — Booking Video (Slide 6) & Tracking (Slide 8) ---------- */
.screen-showcase-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.browser-showcase {
  margin-top: 26px;
  width: 1420px;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid rgba(212, 175, 55, 0.65);
  background: #0d1322;
  box-shadow: 0 36px 95px rgba(0, 0, 0, 0.75);
}

.browser-topbar {
  height: 46px;
  padding: 0 20px;
  background: #182134;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dot { width: 14px; height: 14px; border-radius: 50%; }
.browser-dot.is-red { background: #ef4444; }
.browser-dot.is-amber { background: #f59e0b; }
.browser-dot.is-green { background: #22c55e; }

.browser-url {
  margin-left: 16px;
  padding: 5px 18px;
  border-radius: 999px;
  background: rgba(5, 8, 17, 0.65);
  font-size: 18px;
  color: var(--text-muted);
}

.video-crop-box {
  width: 1420px;
  height: 700px;
  overflow: hidden;
  position: relative;
  background: #050811;
}

.video-crop-box video {
  display: block;
  width: 100%;
  height: 100%;
  margin-top: 0;
  object-fit: contain;
}

.wide-screen-box {
  width: 1460px;
  height: 668px;
  background: #ffffff;
  display: grid;
  place-items: center;
  padding: 10px;
}

.wide-screen-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Layout 6: Four-Stage Process Cards (Slides 7 & 9) ---------- */
.four-stages-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.stages-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stage-card {
  position: relative;
  padding: 38px 32px;
  border-radius: 26px;
  background: var(--ink-panel);
  border: 2px solid rgba(212, 175, 55, 0.48);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stage-step-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.55);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.stage-icon-box {
  width: 108px;
  height: 108px;
  margin: 26px 0 24px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.25), rgba(15, 23, 42, 0.92));
  border: 2px solid rgba(212, 175, 55, 0.65);
}

.stage-icon-box img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.stage-icon-box svg {
  width: 58px;
  height: 58px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 35px;
  line-height: 1.18;
  color: #fff;
}

.stage-desc {
  margin-top: 16px;
  font-size: 25px;
  line-height: 1.42;
  color: var(--text-muted);
}

/* ---------- Metrics Right Grid (Slide 3) ---------- */
.metrics-side-grid {
  width: 620px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.metric-tile {
  padding: 36px 24px;
  border-radius: 24px;
  background: var(--ink-panel);
  border: 2px solid rgba(212, 175, 55, 0.52);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.metric-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 60px;
  line-height: 1;
  color: var(--gold);
}

.metric-label {
  margin-top: 12px;
  font-size: 23px;
  line-height: 1.32;
  color: var(--text-muted);
}

.metric-google-banner {
  grid-column: 1 / -1;
  padding: 28px 32px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(20, 30, 54, 0.95) 0%, rgba(10, 16, 30, 0.95) 100%);
  border: 2.5px solid var(--gold);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  gap: 26px;
}

.google-g-badge {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.google-g-badge svg {
  width: 48px;
  height: 48px;
}

.google-banner-body {
  flex: 1;
  text-align: left;
}

.google-banner-top {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.google-banner-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 50px;
  line-height: 1;
  color: var(--gold);
}

.google-banner-stars {
  font-size: 32px;
  letter-spacing: 4px;
  color: #fbbc04;
}

.google-banner-sub {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.google-banner-sub strong {
  color: var(--gold-light);
}

/* ---------- Layout 8: Customer Reviews Mosaic (Slide 12 — All PPTX Images Uncropped) ---------- */
[data-scene-id="slide-12-customer-reviews"] .scene-inner,
.scene[data-scene-id="slide-12-customer-reviews"] .scene-inner {
  padding-top: 116px;
}

.reviews-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-right: 190px;
}

.google-live-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(18, 26, 44, 0.92) 0%, rgba(12, 18, 32, 0.96) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.4s ease,
              background 0.4s ease,
              box-shadow 0.4s ease;
}

.google-live-pill .google-g-mini {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  display: grid;
  place-items: center;
}

.google-live-pill .google-g-mini svg {
  width: 32px;
  height: 32px;
}

.google-live-pill-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  color: var(--gold);
}

.google-live-pill-stars {
  color: #fbbc04;
  margin-left: 8px;
  letter-spacing: 2px;
}

.google-live-pill-sub {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.reviews-mosaic-grid {
  margin-top: 24px;
  height: 676px;
  display: grid;
  grid-template-columns: 1060px 610px;
  gap: 30px;
  min-height: 0;
}

.reviews-mosaic-grid.is-quad-layout {
  grid-template-columns: 1136px 536px;
  gap: 28px;
}

.reviews-google-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
  height: 100%;
  min-height: 0;
}

.google-review-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 26px;
  border: 2.5px solid rgba(212, 175, 55, 0.72);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.52);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  color: #0f172a;
}

.google-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.google-review-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.google-review-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: #ffffff;
}

.google-review-author {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.2;
  color: #0f172a;
}

.google-review-date {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
}

.google-review-g {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.google-review-g svg {
  width: 100%;
  height: 100%;
}

.google-review-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.google-review-stars {
  font-size: 23px;
  line-height: 1;
  letter-spacing: 2px;
  color: #fbbc04;
}

.google-verified-tick {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.google-review-body {
  font-size: 18px;
  line-height: 1.44;
  font-weight: 500;
  color: #1e293b;
}

.reviews-portrait-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: 22px;
  height: 100%;
  min-height: 0;
}

.reviews-landscape-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  height: 100%;
  min-height: 0;
}

.review-img-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 6px 10px;
  border: 2.5px solid rgba(212, 175, 55, 0.72);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.review-img-card img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- Layout 9: 6-Card Executive Bento (Slides 11 & 13) ---------- */
.bento-six-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.bento-subtitle {
  margin: 14px auto 0;
  max-width: 1380px;
  font-size: 28px;
  line-height: 1.38;
  color: var(--text-muted);
}

.bento-six-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
}

.bento-six-card {
  padding: 30px 32px;
  border-radius: 24px;
  background: var(--ink-panel);
  border: 2px solid rgba(212, 175, 55, 0.48);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-six-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bento-six-num {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
}

.bento-six-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.18;
  color: var(--gold-light);
}

.bento-six-text {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-main);
}

/* ---------- Layout 9B: UK Licensing, VAT Compliance & Global Payments (Slide 13) ---------- */
.compliance-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.compliance-payments-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 830px 830px;
  gap: 40px;
  align-items: stretch;
}

.compliance-col,
.payments-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cp-col-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  padding-left: 4px;
}

.cred-stack {
  height: 648px;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cred-card {
  padding: 20px 24px;
  border-radius: 22px;
  background: rgba(13, 20, 36, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  position: relative;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.4s ease,
              background 0.4s ease,
              box-shadow 0.4s ease;
}

.cred-seal-box {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  padding: 6px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

.cred-seal-box img,
.cred-seal-box svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cred-body {
  flex: 1;
  min-width: 0;
}

.cred-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 25px;
  line-height: 1.2;
  color: #ffffff;
}

.cred-code-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  border: 1.5px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--gold-light);
}

.cred-desc {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-muted);
}

.payments-stack {
  height: 648px;
  display: grid;
  grid-template-rows: 204px 1fr;
  gap: 18px;
}

.invoice-hero-card {
  padding: 20px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(20, 30, 52, 0.85) 0%, rgba(10, 16, 30, 0.92) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.4s ease,
              background 0.4s ease,
              box-shadow 0.4s ease;
}

.invoice-hero-icon {
  flex-shrink: 0;
  width: 82px;
  height: 82px;
  border-radius: 20px;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease;
}

.invoice-hero-icon svg {
  width: 46px;
  height: 46px;
}

.invoice-hero-body {
  flex: 1;
  min-width: 0;
}

.invoice-hero-tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.invoice-hero-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 27px;
  line-height: 1.18;
  color: #ffffff;
}

.invoice-hero-desc {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.36;
  color: var(--text-muted);
}

.pay-gateways-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 0;
}

.pay-gateway-card {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(13, 20, 36, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.4s ease,
              background 0.4s ease,
              box-shadow 0.4s ease;
}

.pay-brand-pill {
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease;
}

.stripe-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: #635bff;
  line-height: 1;
}

.apple-mark {
  width: 26px;
  height: 26px;
}

.gpay-g {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
}

.gpay-g svg {
  width: 24px;
  height: 24px;
}

.wallet-pay-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: #0f172a;
  line-height: 1;
}

.paypal-wordmark {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.02em;
}

.paypal-p1,
.paypal-p2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 27px;
  line-height: 1;
}
.paypal-p1 { color: #003087; }
.paypal-p2 { color: #0079c1; }

.paypal-later-tag {
  margin-left: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  font-size: 16px;
  font-weight: 800;
  color: #1d4ed8;
  line-height: 1;
}

.pay-gateway-sub {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.2;
  color: var(--gold-light);
}

.pay-gateway-desc {
  font-size: 17px;
  line-height: 1.35;
  color: var(--text-muted);
}

/* ---------- Layout 9C: DMC & Travel Industry Partnerships (Slide 14) ---------- */
.dmc-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.dmc-tagline-pill {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 24px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  border: 1.5px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.dmc-main-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 810px 850px;
  gap: 40px;
  align-items: stretch;
}

.dmc-left-col,
.dmc-right-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dmc-left-stack {
  height: 604px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dmc-overview-card {
  flex: 1;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--ink-panel);
  border: 2px solid rgba(212, 175, 55, 0.52);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.dmc-overview-text {
  font-size: 19px;
  line-height: 1.38;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.dmc-service-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.dmc-service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(212, 175, 55, 0.28);
  font-size: 18px;
  line-height: 1.3;
  color: var(--text-main);
}

.dmc-service-item strong {
  color: var(--gold-light);
  font-weight: 800;
}

.dmc-service-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
}

.dmc-promise-card {
  padding: 18px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(28, 40, 68, 0.96) 0%, rgba(12, 19, 36, 0.96) 100%);
  border: 2.5px solid var(--gold);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.65);
}

.dmc-promise-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.dmc-promise-text {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.35;
  color: #ffffff;
}

.dmc-model-grid {
  height: 604px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dmc-model-card {
  padding: 20px 24px;
  border-radius: 22px;
  background: var(--ink-panel);
  border: 2px solid rgba(212, 175, 55, 0.52);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.dmc-model-label {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.65);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.dmc-model-highlight {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 25px;
  line-height: 1.18;
  color: #ffffff;
}

.dmc-model-desc {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
  color: var(--text-muted);
}

/* ---------- Layout 9D: Coming Soon — Expanding Our Services (Slide 16) ---------- */
.expansion-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.expansion-subtitle {
  margin: 14px auto 0;
  max-width: 1480px;
  font-size: 24px;
  line-height: 1.38;
  color: var(--text-muted);
}

.expansion-dual-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  height: 590px;
}

.expansion-card {
  padding: 34px 38px;
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(22, 33, 58, 0.96) 0%, rgba(9, 15, 29, 0.96) 100%);
  border: 2.5px solid var(--gold);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.expansion-card-top {
  display: flex;
  align-items: center;
  gap: 24px;
}

.expansion-icon-badge {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(140deg, var(--gold-light), var(--gold) 65%, var(--gold-deep));
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.expansion-icon-badge svg {
  width: 48px;
  height: 48px;
}

.expansion-soon-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  border: 1.5px solid var(--gold);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.expansion-card-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.15;
  color: #ffffff;
}

.expansion-card-desc {
  margin-top: 18px;
  font-size: 21px;
  line-height: 1.44;
  color: var(--text-muted);
}

.expansion-bullet-list {
  list-style: none;
  margin-top: auto;
  display: grid;
  gap: 14px;
}

.expansion-bullet {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.34);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
}

.expansion-bullet-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
}

/* ---------- Layout 9E: Tier-1 Executive Value & Individual Agent Comparison ---------- */
.value-compare-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-bottom: 14px;
}

.vc-subtitle {
  margin: 10px auto 0;
  max-width: 1520px;
  font-size: 24px;
  line-height: 1.35;
  color: var(--text-muted);
}

.vc-table {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vc-head-row {
  display: grid;
  grid-template-columns: 350px 520px 1fr;
  gap: 20px;
  align-items: center;
  padding: 0 8px 2px;
}

.vc-head-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 16px;
}

.vc-head-trad {
  text-align: center;
  padding: 10px 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1.5px solid rgba(148, 163, 184, 0.32);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: #cbd5e1;
  letter-spacing: 0.03em;
}

.vc-head-britway {
  text-align: center;
  padding: 10px 24px;
  border-radius: 16px;
  background: rgba(14, 22, 38, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.4s ease,
              background 0.4s ease,
              box-shadow 0.4s ease;
}

.vc-head-britway.is-focused {
  transform: translateY(-3px) scale(1.03) !important;
  border-color: rgba(247, 208, 96, 1) !important;
  background: linear-gradient(135deg, rgba(28, 42, 70, 0.95) 0%, rgba(14, 23, 44, 0.98) 100%) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(247, 208, 96, 0.6) !important;
  z-index: 8 !important;
}

.vc-row {
  display: grid;
  grid-template-columns: 350px 520px 1fr;
  gap: 20px;
  align-items: stretch;
}

.vc-crit-cell {
  padding: 14px 22px;
  border-radius: 20px;
  background: rgba(13, 20, 36, 0.9);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  gap: 16px;
}

.vc-crit-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.16);
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  display: grid;
  place-items: center;
}

.vc-crit-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.22;
  color: #ffffff;
}

.vc-trad-cell {
  padding: 14px 24px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.54);
  border: 1.5px solid rgba(148, 163, 184, 0.22);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #94a3b8;
}

.vc-trad-dot {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
}

.vc-trad-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  color: #e2e8f0;
  margin-bottom: 3px;
}

.vc-trad-text span {
  font-size: 18px;
  line-height: 1.3;
  color: #94a3b8;
}

.vc-brit-cell {
  position: relative;
  padding: 14px 26px;
  border-radius: 20px;
  background: rgba(10, 16, 29, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.4s ease,
              background 0.4s ease,
              box-shadow 0.4s ease;
}

.vc-brit-cell::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2.5px;
  background: conic-gradient(
    from var(--beam-angle, 0deg),
    transparent 0%,
    transparent 65%,
    rgba(212, 175, 55, 0.45) 78%,
    #ffffff 90%,
    #ffe270 94%,
    rgba(212, 175, 55, 0.55) 98%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: none;
  z-index: 4;
}

.vc-row.is-focused .vc-brit-cell {
  border-color: rgba(247, 208, 96, 0.95) !important;
  background: linear-gradient(135deg, rgba(26, 40, 72, 0.96) 0%, rgba(13, 22, 42, 0.98) 100%) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(247, 208, 96, 0.5) !important;
  transform: translateY(-3px) scale(1.025);
  z-index: 6;
}

.vc-row.is-focused .vc-brit-cell::after {
  opacity: 1;
  animation: rotateBorderBeam 3.2s linear infinite;
}

.vc-row.is-focused .vc-brit-cell .vc-brit-check {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.vc-row.sync-beam-target {
  border: none !important;
  box-shadow: none !important;
}

.vc-row.sync-beam-target::after {
  display: none !important;
}

.vc-row.sync-beam-target.is-focused {
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.vc-brit-check {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: var(--ink);
  font-weight: 800;
  font-size: 21px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vc-brit-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: var(--gold-light);
  margin-bottom: 3px;
}

.vc-brit-text span {
  font-size: 19px;
  line-height: 1.3;
  color: #f8fafc;
}

.vc-agent-banner {
  margin-top: 14px;
  padding: 16px 32px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.14) 0%, rgba(14, 22, 40, 0.9) 38%, rgba(212, 175, 55, 0.1) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.4s ease,
              background 0.4s ease,
              box-shadow 0.4s ease;
}

.vc-agent-banner.is-focused {
  border-color: rgba(247, 208, 96, 1) !important;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.24) 0%, rgba(20, 32, 58, 0.96) 38%, rgba(212, 175, 55, 0.2) 100%) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85),
              0 0 0 1px rgba(247, 208, 96, 0.6) !important;
  transform: translateY(-4px) scale(1.02) !important;
  z-index: 8 !important;
}

.vc-agent-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.vc-agent-icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: var(--ink);
  display: grid;
  place-items: center;
}

.vc-agent-icon svg {
  width: 34px;
  height: 34px;
  stroke: #050811;
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vc-agent-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: #ffffff;
}

.vc-agent-sub {
  margin-top: 4px;
  font-size: 19px;
  color: var(--gold-light);
}

.vc-savings-badge {
  flex-shrink: 0;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

/* ---------- Layout 10: Industry Leaders Banner (Slide 15) ---------- */
.leaders-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.leaders-paragraph {
  margin-top: 18px;
  max-width: 1560px;
  font-size: 28px;
  line-height: 1.46;
  color: var(--text-muted);
}

.leaders-wrap.has-flagships .leaders-paragraph {
  margin-top: 10px;
  max-width: 1620px;
  font-size: 23px;
  line-height: 1.38;
}

.flagship-brands-grid {
  margin-top: 20px;
  width: 1640px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.flagship-brand-card {
  height: 112px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 3px solid var(--gold);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flagship-brand-card img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.leaders-banner-card {
  margin-top: 28px;
  width: 1460px;
  height: 510px;
  padding: 24px 36px;
  border-radius: 28px;
  background: #ffffff;
  border: 4px solid var(--gold);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.leaders-banner-card.has-flagships {
  margin-top: 18px;
  width: 1640px;
  height: 356px;
  padding: 12px 20px;
  border-radius: 24px;
  border-width: 2.5px;
  border-color: rgba(212, 175, 55, 0.68);
}

.leaders-banner-card img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- Layout 11: Thank You + QR + Car Split (Slide 15) ---------- */
.thank-you-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  height: 100%;
}

.thank-you-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.qr-card-frame {
  margin-top: 28px;
  width: 380px;
  height: 380px;
  padding: 18px;
  border-radius: 28px;
  background: #ffffff;
  border: 5px solid var(--gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.68);
  display: grid;
  place-items: center;
}

.qr-card-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Layout 12: Closing Any Questions (Slide 16) ---------- */
.closing-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.closing-logo-ring {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
}

.closing-logo-ring img {
  width: 196px;
  height: 196px;
  border-radius: 28px;
  object-fit: contain;
  border: 3px solid rgba(212, 175, 55, 0.65);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.7);
}

.closing-contacts-row {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1560px;
}

/* ---------- Persistent Watermark, Timeline & Controls ---------- */
.watermark {
  position: absolute;
  z-index: 40;
  top: 26px;
  right: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 10px;
  border-radius: 999px;
  background: rgba(5, 8, 17, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.watermark::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -130%;
  width: 60%;
  height: 220%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 235, 170, 0.35) 48%,
    rgba(255, 255, 255, 0.70) 50%,
    rgba(255, 235, 170, 0.35) 52%,
    rgba(255, 255, 255, 0.05) 80%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: watermarkReflection 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes watermarkReflection {
  0% { transform: translateX(0) rotate(25deg); }
  35% { transform: translateX(480%) rotate(25deg); }
  100% { transform: translateX(480%) rotate(25deg); }
}

.watermark img { width: 44px; height: 44px; object-fit: contain; }
.watermark span { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.16em; color: var(--gold-light); }
.stage.hide-watermark .watermark { opacity: 0; }

.progress-segments {
  position: absolute;
  z-index: 40;
  left: 54px;
  right: 54px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.progress-segment {
  flex: 1;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.progress-segment:hover,
.progress-segment:focus-visible {
  transform: scaleY(1.65);
  background: rgba(255, 255, 255, 0.38);
  outline: none;
}

.progress-segment i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.progress-segment.is-done i { width: 100%; }
.progress-segment.is-current i { animation: seg-fill var(--dur, 6s) linear both; }
@keyframes seg-fill { from { width: 0; } to { width: 100%; } }

.control-bar {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: calc(100vw - 24px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 14, 24, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
}

body.show-controls .control-bar { opacity: 1; pointer-events: auto; }

.control-bar button {
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 48px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.control-bar button:hover,
.control-bar button:focus-visible {
  background: var(--gold);
  color: var(--ink);
  outline: none;
}

.control-bar .scene-readout {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 8px;
  min-width: 72px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ---------- Responsive Mobile & Compact Viewports (<680px or short screens) ---------- */
@media (max-width: 680px), (max-height: 520px) {
  .control-bar {
    width: calc(100vw - 20px) !important;
    max-width: 420px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 6px 8px !important;
    gap: 4px !important;
    justify-content: space-around !important;
    border-radius: 999px !important;
    background: rgba(10, 16, 28, 0.94) !important;
    border: 1px solid rgba(212, 175, 55, 0.6) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75) !important;
    overflow-x: hidden !important;
  }

  .control-bar .btn-label {
    display: none !important;
  }

  .control-bar button {
    flex: 0 0 auto !important;
    min-width: 38px !important;
    min-height: 38px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
  }

  .control-bar .scene-readout {
    flex: 0 0 auto !important;
    min-width: 46px !important;
    padding: 0 2px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }
}

/* Landscape on Mobile Phones: Low-profile Sleek Floating Remote */
@media (orientation: landscape) and (max-height: 520px) {
  .control-bar {
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    padding: 4px 6px !important;
    max-width: 370px !important;
    background: rgba(8, 12, 22, 0.82) !important;
  }
  .control-bar button {
    min-width: 34px !important;
    min-height: 34px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 14px !important;
  }
}

body.is-paused .stage *,
body.is-paused .stage *::before,
body.is-paused .stage *::after,
body.is-paused .stage .scene {
  animation-play-state: paused !important;
}

/* ---------- Cold-Autoplay Sound Unlock Overlay (Responsive & iOS Safe >=16px) ---------- */
.sound-unlock-overlay[hidden] {
  display: none !important;
}

.sound-unlock-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100%;
  height: 100%;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  border: 0;
  background: radial-gradient(circle at 50% 50%, rgba(5, 8, 17, 0.38) 0%, rgba(5, 8, 17, 0.68) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
}

.sound-unlock-pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  max-width: min(560px, 92vw);
  padding: 18px 30px 18px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 20, 38, 0.96) 0%, rgba(7, 11, 22, 0.96) 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85);
  text-align: left;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.sound-unlock-overlay:hover .sound-unlock-pill,
.sound-unlock-overlay:focus-visible .sound-unlock-pill {
  transform: scale(1.03);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.95);
}

.sound-unlock-overlay:focus-visible {
  outline: none;
}

.sound-unlock-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 22px;
  padding-left: 3px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.sound-unlock-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sound-unlock-copy strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.sound-unlock-copy span {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gold-light);
}

@media (prefers-reduced-motion: reduce) {
  .photo-card img,
  .fleet-tile img,
  .scene.is-active::after { animation: none !important; }
  .scene.is-active { animation-duration: 0.35s !important; }
}
