/* =============================================================================
   CAPTR Motion - REA Landing Page
   Consolidated stylesheet for default.asp
   
   Composed from the React mockup CSS files in source order:
     1. fonts.css            - REA Pangea web fonts
     2. app.css              - tokens, base, layout, hero, modal, sections
     3. order-details.css    - Step 1 (Details) + tabs + form chrome
     4. order-images.css     - Step 2 (Image picker)
     5. order-scene.css      - Step 3 (Reorder)
     6. order-music.css      - Step 4 (Music)
     7. order-payment.css    - Step 5 (Payment)
     8. order-video-ready.css- Step 6 (Generate / Ready)
   
   Class names match the original React JSX so the existing visual design
   is preserved. Step containers in default.asp use these same class names.
   ============================================================================= */

/* REA Pangea — display / headings */
@font-face {
  font-family: 'REA Pangea';
  src: url('fonts/REAPangea-LightWeb.woff2') format('woff2'),
       url('fonts/REAPangea-LightWeb.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'REA Pangea';
  src: url('fonts/REAPangea-RegularWeb.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'REA Pangea';
  src: url('fonts/REAPangea-MediumWeb.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'REA Pangea';
  src: url('fonts/REAPangea-SemiBoldWeb.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'REA Pangea';
  src: url('fonts/REAPangea-BoldWeb.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* REA Pangea Text — body */
@font-face {
  font-family: 'REA Pangea Text';
  src: url('fonts/REAPangeaText-LightWeb.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'REA Pangea Text';
  src: url('fonts/REAPangeaText-RegularWeb.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'REA Pangea Text';
  src: url('fonts/REAPangeaText-MediumWeb.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'REA Pangea Text';
  src: url('fonts/REAPangeaText-SemiBoldWeb.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'REA Pangea Text';
  src: url('fonts/REAPangeaText-BoldWeb.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --red: #E4002B;
  --red-700: #BB0023;
  --red-900: #8a001c;
  --ink: #141316;
  --ink-soft: #3D3B40;
  --gray-900: #1f1e21;
  --gray-700: #4a4750;
  --gray-500: #6b6872;
  --gray-400: #9e9ba5;
  --gray-300: #BEBAC2;
  --gray-200: #d9d7dc;
  --gray-100: #ececef;
  --gray-50: #F6F5F7;
  --white: #ffffff;
  --cream: #F6EFD8;
  --cream-deep: #E9DFB8;
  --amber: #C9A227;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 19, 22, 0.06);
  --shadow: 0 6px 24px rgba(20, 19, 22, 0.08);
  --shadow-lg: 0 18px 48px rgba(20, 19, 22, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1070px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'REA Pangea Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'REA Pangea', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* =========================================================
   TOP BAR — "ACCESSIBILITY / SUPPORT / LANGUAGE"
========================================================= */
.topbar {
  background: #3D3B40;
  color: #e8e7ea;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.topbar .tb-left { color: rgba(255,255,255,0.9); }
.topbar .tb-left strong { font-weight: 600; color: #fff; }
.topbar .tb-right { display: flex; gap: 28px; }
.topbar a {
  color: #d7d5da;
  transition: color 0.15s var(--ease);
}
.topbar a:hover { color: var(--white); }

/* =========================================================
   HEADER / NAV
========================================================= */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.25s var(--ease);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  font-family: 'REA Pangea', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.brand .mark { color: var(--ink); }
.brand .motion { color: var(--red); font-weight: 500; letter-spacing: 0.04em; }

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: auto;
}
.nav a {
  font-family: 'REA Pangea', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 52px;
  color: var(--ink-soft);
  text-align: center;
  padding: 0;
  position: relative;
  transition: color 0.15s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'REA Pangea Text', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 6px;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: #c80026;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(228, 0, 43, 0.25);
}
.btn-primary:active { transform: translateY(0); }
.btn-lg {
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
}
.btn-white {
  background: var(--white);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
}
.btn-white:hover {
  background: #f4f3f5;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

/* =========================================================
   HERO
========================================================= */
.hero {
  background: var(--red);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% 0%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(900px 400px at 10% 100%, rgba(0,0,0,0.12), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 32px 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  margin-top: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffe3e9;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffd7de;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 20px 0 14px;
}
.hero p.lede {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 420px;
  margin-bottom: 24px;
}

/* Hero media */
.hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.12);
  background: #221;
}
.hero-media .ken {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 16s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2%, -1%); }
}
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* film grain overlay */
.hero-media .grain {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.12), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.18)),
    radial-gradient(1200px 400px at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.18));
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* floating media chips */
.media-chip {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s var(--ease);
}
.media-chip:hover { transform: scale(1.06); }
.media-chip.tl { top: 16px; left: 16px; }
.media-chip.tr { top: 16px; right: 16px; }
.media-chip.br { bottom: 16px; right: 16px; }

.price-tag {
  position: absolute;
  left: 24px;
  bottom: 22px;
  background: rgba(15, 14, 16, 0.78);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-tag .label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.price-tag .price {
  font-family: 'REA Pangea', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.price-tag .per {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* progress bar removed */

/* =========================================================
   SECTION — "Your photos are already great"
========================================================= */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 32px;
}
.section-heading {
  text-align: center;
  font-size: clamp(22px, 2.1vw, 27px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 40px;
}
.section-heading strong { font-weight: 600; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.feature.red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.feature .icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  margin-bottom: 12px;
}
.feature.red .icon { color: var(--white); }
.feature h3 {
  font-family: 'REA Pangea', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.feature.red h3 { color: var(--white); }
.feature p {
  font-family: 'REA Pangea', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: var(--ink-soft);
  letter-spacing: 0;
  margin-top: auto;
}
.feature.red p { color: rgba(255,255,255,0.92); }

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* =========================================================
   STATS / "WHY CAPTRMOTION" BLOCK
========================================================= */
.why {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 32px 72px;
}
.why-heading {
  text-align: center;
  font-family: 'REA Pangea Text', sans-serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.why-heading .brand-inline {
  font-family: 'REA Pangea', sans-serif;
  font-weight: 700;
}
.why-heading .brand-inline .motion-inline { color: var(--red); font-weight: 500; }

.stats-card {
  background: var(--red);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: var(--white);
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
  position: relative;
}
.stats-grid .stat {
  padding: 0 20px;
  position: relative;
}
.stats-grid .stat + .stat::before {
  content: '';
  position: absolute;
  left: -16px; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(255,255,255,0.22);
}
.stat .num {
  font-family: 'REA Pangea', sans-serif;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 34px;
  color: var(--white);
  text-align: center;
}
.stat .label {
  margin-top: 14px;
  font-family: 'REA Pangea', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 34px;
  color: var(--white);
  letter-spacing: 0;
  text-align: center;
}
.trust-pill {
  position: absolute;
  top: -20px;
  right: 24px;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  font-size: 13px;
  font-weight: 500;
}
.trust-pill .avatars {
  display: flex;
}
.trust-pill .avatars > div {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -6px;
}
.trust-pill .avatars > div:first-child { margin-left: 0; }
.trust-pill .stars { color: var(--red); letter-spacing: 1px; }

.cta-card {
  background: var(--ink-soft);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 20px;
  text-align: center;
}
.cta-card h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.cta-card p {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  margin-bottom: 18px;
}

/* =========================================================
   TERMS ACCORDION
========================================================= */
.terms-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 32px 56px;
}
.terms-title {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 20px;
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--gray-200);
}
.accord-item {
  border-bottom: 1px solid var(--gray-200);
}
.accord-head {
  width: 100%;
  text-align: left;
  padding: 16px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s var(--ease);
}
.accord-head:hover { color: var(--red); }
.accord-chev {
  width: 20px; height: 20px;
  transition: transform 0.25s var(--ease);
  color: var(--gray-500);
}
.accord-item.open .accord-chev { transform: rotate(180deg); color: var(--red); }
.accord-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.accord-inner {
  padding: 0 4px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-700);
}
.accord-item.open .accord-body { max-height: 600px; }

.terms-contact {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.7;
}
.terms-contact a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   THIRD PARTY DISCLOSURE
========================================================= */
.lander-disclosure {
  background: var(--cream);
  padding: 44px 0;
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
}
.lander-disclosure-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
}
.lander-disclosure .chip {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'REA Pangea', sans-serif;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}
.lander-disclosure h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a5a12;
  margin-bottom: 8px;
}
.lander-disclosure p {
  font-size: 13px;
  color: #4a3a0f;
  line-height: 1.6;
  max-width: 820px;
}
.lander-disclosure p + p { margin-top: 10px; }

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--white);
  padding: 36px 0 48px;
  border-top: 1px solid var(--gray-100);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand .brand { font-size: 18px; }
.footer-brand small {
  color: var(--gray-500);
  font-size: 13px;
}
.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--gray-700);
}
.footer-links a:hover { color: var(--red); }

.legal {
  max-width: var(--container);
  margin: 16px auto 0;
  padding: 0 32px;
  color: var(--gray-400);
  font-size: 12px;
  line-height: 1.7;
}

/* =========================================================
   UPLOAD MODAL
========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 16, 0.6);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 0;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }

.modal-header {
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.modal-header h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}
.modal-header p {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s var(--ease);
}
.modal-close:hover { background: var(--gray-100); color: var(--ink); }

.modal-body { padding: 20px 28px 24px; }

.dropzone {
  border: 2px dashed var(--gray-300);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  background: var(--gray-50);
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.dropzone:hover, .dropzone.drag {
  border-color: var(--red);
  background: #fff5f6;
}
.dropzone .dz-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.dropzone h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}
.dropzone p {
  font-size: 13px;
  color: var(--gray-500);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--gray-100);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.thumb .rm {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(15,14,16,0.7);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}
.thumb:hover .rm { opacity: 1; }

.modal-steps {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}
.modal-steps .step {
  flex: 1;
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}
.modal-steps .step.active { background: var(--red); }
.modal-steps .step.done { background: var(--red); opacity: 0.5; }

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fcfbfc;
}
.modal-footer .count {
  font-size: 13px;
  color: var(--gray-500);
}
.modal-footer .count strong { color: var(--ink); font-weight: 500; }

/* Style pick chips */
.style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.style-chip {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.15s var(--ease);
  background: var(--white);
  text-align: left;
}
.style-chip:hover { border-color: var(--gray-400); }
.style-chip.on {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228,0,43,0.12);
}
.style-chip .swatch {
  height: 58px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #222, #555);
}
.style-chip .name {
  font-size: 13px;
  font-weight: 500;
}
.style-chip .sub {
  font-size: 11px;
  color: var(--gray-500);
}

/* Generating state */
.generating {
  padding: 40px 0;
  text-align: center;
}
.generating .ring {
  width: 64px; height: 64px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--red);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   TWEAKS PANEL
========================================================= */
.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  padding: 16px;
  z-index: 90;
  font-size: 13px;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease);
}
.tweaks.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.tweaks h5 {
  font-family: 'REA Pangea', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 10px;
  font-weight: 600;
}
.tweak-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.tweak-row + .tweak-row { border-top: 1px solid var(--gray-100); }
.tweak-row label { color: var(--gray-700); }
.tweak-row input[type="range"] { width: 120px; accent-color: var(--red); }
.tweak-row input[type="color"] {
  width: 36px; height: 24px; border: 1px solid var(--gray-200); border-radius: 6px; padding: 0;
  cursor: pointer; background: none;
}
.tweak-row select {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 4px 6px;
  font-family: inherit;
  font-size: 12px;
  background: var(--white);
}
.tweak-row .switch {
  width: 34px; height: 20px;
  background: var(--gray-200);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.tweak-row .switch.on { background: var(--red); }
.tweak-row .switch::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s var(--ease);
}
.tweak-row .switch.on::after { transform: translateX(14px); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .topbar-inner { padding: 8px 20px; gap: 18px; }
  .header-inner { padding: 16px 20px; gap: 16px; }
  .nav { display: none; }
  .hero-inner { padding: 24px 20px 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero p.lede { max-width: none; }
  .section { padding: 64px 20px; }
  .section-heading { margin-bottom: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; padding: 24px; }
  .why { padding: 24px 20px 64px; }
  .stats-card { padding: 28px 22px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .stats-grid .stat + .stat::before { display: none; }
  .stat .num { font-size: 36px; }
  .trust-pill { position: static; margin: 0 auto 18px; width: fit-content; }
  .cta-card { padding: 28px 20px; }
  .terms-section { padding: 56px 20px; }
  .disclosure-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .legal { padding: 0 20px; }
  .tweaks { left: 12px; right: 12px; width: auto; bottom: 12px; }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .btn-lg { font-size: 15px; padding: 12px 22px; }
}

@media (max-width: 480px) {
  .topbar { display: none; }
  .topbar-thin { display: none; }
  .hero h1 { font-size: 36px; }
  .media-chip { width: 32px; height: 32px; }
  .price-tag { padding: 10px 14px; }
  .price-tag .price { font-size: 18px; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: all 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* hide native scrollbar in modal */
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }
/* =========================================================
   CAPTR MOTION — Order Details Page
========================================================= */

:root {
  --red: #E4002B;
  --red-700: #C30025;
  --ink: #141316;
  --ink-2: #333237;
  --text-mute: #959199;
  --gray-line: #BEBAC2;
  --gray-50: #F6F5F7;
  --gray-100: #ECECEF;
  --topbar: #3D3B40;
  --cream-bg: #FDFBEF;
  --cream-border: #E8DEB5;
  --cream-dot: #F8EDC1;
  --cream-icon: #C9A227;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'REA Pangea Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'REA Pangea', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }

/* =========================================================
   TOP BAR (thin dark bar - order flow only)
   NOTE: renamed from .topbar to .topbar-thin. This rule used to override
   the lander's content-bearing .topbar (height:15px won the cascade),
   squashing the "Powered by CAPTR" bar on default.asp and terms.asp.
========================================================= */
.topbar-thin {
  background: var(--topbar);
  height: 15px;
  width: 100%;
}

/* =========================================================
   HEADER (brand + address/menu)
========================================================= */
.header {
  border-bottom: 1px solid var(--gray-50);
  background: #fff;
}
.header-inner {
  max-width: 1310px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: 'REA Pangea', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  color: var(--ink);
  line-height: 1;
}
.brand .mark { color: var(--ink); }
.brand .motion { color: var(--red); font-weight: 500; letter-spacing: 0.04em; }

.header-listing {
  text-align: right;
  line-height: 1.35;
}
.header-listing .line1 {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.header-listing .line2 {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
}

.burger {
  display: none;
  width: 26px;
  height: 18px;
  position: relative;
}
.burger::before,
.burger::after,
.burger span {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.burger::before { top: 0; }
.burger span { top: 50%; transform: translateY(-50%); }
.burger::after { bottom: 0; }

/* =========================================================
   TAB PILLS
========================================================= */
.tabs-wrap {
  border-bottom: 1px solid var(--gray-50);
  background: #fff;
}
.tabs {
  max-width: 1310px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: 1 1 0;
  min-width: 110px;
  height: 34px;
  border-radius: 17px;
  background: var(--gray-50);
  color: var(--text-mute);
  font-family: 'REA Pangea', sans-serif;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 16px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.tab:hover:not(.active) { background: var(--gray-100); color: var(--ink-2); }
.tab.active {
  background: var(--red);
  color: #fff;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */
.main {
  max-width: 1310px;
  margin: 0 auto;
  padding: 40px 32px 72px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

/* LEFT COLUMN */
.hero-title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  max-width: 420px;
}
.hero-body {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 440px;
  margin-bottom: 32px;
}

.disclosure {
  background: var(--cream-bg);
  border: 1px solid var(--cream-border);
  border-radius: 8px;
  padding: 18px 20px 18px 20px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  max-width: 480px;
}
.disclosure .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-dot);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-icon);
  margin-top: 1px;
}
.disclosure .dot svg { width: 14px; height: 14px; }
.disclosure p {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* RIGHT COLUMN */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.listing-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-line);
  border-radius: 15px;
  padding: 24px;
}

.listing-top {
  display: block;
  margin-bottom: 24px;
}
.listing-meta { padding-top: 4px; }
.listing-meta .eyebrow {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.listing-meta h2 {
  font-family: 'REA Pangea', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.listing-meta .addr {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 14px;
  color: var(--ink-2);
}

.field { display: block; min-width: 0; }
.field + .field { margin-top: 14px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.field-row .field + .field { margin-top: 0; }
.field .label {
  display: block;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.input {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px 0 42px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.input:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.12);
}
.input .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.input .ico svg { width: 16px; height: 16px; }
.input input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13px;
  color: var(--ink);
  height: 100%;
}
.input input::placeholder { color: var(--text-mute); }

/* TERMS ACCORDION ROW */
.terms-row {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  overflow: hidden;
}
.terms-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.15s var(--ease);
}
.terms-head:hover { background: #fafafc; }
.terms-chev {
  width: 18px; height: 18px;
  color: var(--ink-2);
  transition: transform 0.25s var(--ease);
}
.terms-row.open .terms-chev { transform: rotate(90deg); color: var(--red); }
.terms-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.terms-row.open .terms-body { max-height: 400px; }
.terms-inner {
  padding: 0 20px 18px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-2);
  border-top: 1px solid var(--gray-50);
  padding-top: 14px;
}

/* Acknowledgement + CTA */
.ack {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  padding: 0 4px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
}
.checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gray-line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.15s var(--ease);
}
.checkbox:hover { border-color: var(--ink-2); }
.checkbox.on {
  background: var(--red);
  border-color: var(--red);
}
.checkbox.on::after {
  content: '';
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.ack a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--ink-2);
}
.ack a:hover { color: var(--red); text-decoration-color: var(--red); }

.cta-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  font-family: 'REA Pangea', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
  letter-spacing: 0;
}
.btn-primary:hover:not(:disabled) {
  background: var(--red-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(228, 0, 43, 0.25);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--gray-50);
  padding: 28px 0 36px;
  border-top: 1px solid var(--gray-100);
}
.footer-main {
  max-width: 1310px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  color: var(--ink-2);
}
.footer-brand .brand { font-size: 16px; }
.footer-links {
  display: flex;
  gap: 32px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  color: var(--ink-2);
}
.footer-links a:hover { color: var(--red); }
.legal {
  max-width: 1310px;
  margin: 20px auto 0;
  padding: 0 32px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-mute);
  text-align: center;
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */
@media (max-width: 820px) {
  .header-inner { padding: 18px 20px; }
  .header-listing { display: none; }
  .burger { display: inline-block; cursor: pointer; }

  .tabs { padding: 16px 20px; gap: 6px; overflow-x: auto; }
  .tab {
    flex: 0 0 auto;
    min-width: 0;
    font-size: 12px;
    padding: 0 14px;
    height: 30px;
  }

  .main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px 56px;
  }

  .hero-title {
    font-size: 30px;
    max-width: none;
    margin-bottom: 12px;
  }
  .hero-body { font-size: 14px; max-width: none; margin-bottom: 18px; }

  .disclosure { max-width: none; padding: 14px 16px; }
  .disclosure p { font-size: 11px; }

  .listing-card { padding: 18px; border-radius: 14px; }
  .listing-top {
    margin-bottom: 18px;
  }
  .listing-meta .eyebrow { font-size: 11px; margin-bottom: 4px; }
  .listing-meta h2 { font-size: 18px; }
  .listing-meta .addr { font-size: 13px; }

  .terms-head { padding: 14px 16px; font-size: 13px; }
  .field-row { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
  .field-row .field + .field { margin-top: 14px; }

  .cta-row { justify-content: stretch; }
  .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    border-radius: 8px;
  }

  .footer { padding: 32px 0 28px; }
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .footer-brand { flex-direction: column; align-items: center; gap: 6px; }
  .footer-links { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .legal { font-size: 10px; padding: 0 20px; }
}
/* =========================================================
   CAPTR MOTION — Order Images page
   Inherits base tokens/components from order-details.css
========================================================= */

/* Layout for Images page: left copy column, right gallery */
.main.images-main {
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
  align-items: start;
}

/* ========== LEFT COLUMN ========== */
.img-hero-title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  max-width: 420px;
}
.img-hero-body {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 420px;
  margin-bottom: 28px;
}

.helper-card {
  background: var(--cream-bg);
  border: 1px solid var(--cream-border);
  border-radius: 8px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  max-width: 480px;
  margin-bottom: 14px;
}
.helper-card .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-dot);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-icon);
  margin-top: 1px;
}
.helper-card .dot svg { width: 14px; height: 14px; }
.helper-card p {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.helper-card p strong { color: var(--ink); font-weight: 600; }

/* Warn variant - shown when imported photos were purged as placeholders */
.helper-card.warn { background: #FDF0F1; border-color: #F3C4CC; }
.helper-card.warn .dot { background: var(--red); color: #fff; font-weight: 700; }
.helper-card.warn p strong { color: var(--red-700); }

.upload-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  padding: 0;
  background: none;
  border: 0;
  transition: color 0.15s var(--ease);
}
.upload-link:hover { color: var(--red-700); }
.upload-link svg { width: 14px; height: 14px; }

/* ========== GALLERY (RIGHT) ========== */
.gallery-wrap {
  display: flex;
  flex-direction: column;
}

.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.selected-count {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.selected-count .mute { color: var(--text-mute); font-weight: 400; }
.sel-actions { display: flex; gap: 8px; }
.pill-btn {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  padding: 6px 12px;
  height: 30px;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.pill-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.pill-btn.danger:hover { border-color: var(--red); color: var(--red); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Thumbnail tile */
.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #d7d4cd;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.tile:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(20, 19, 22, 0.08);
}
.tile.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red) inset;
}
.tile .tile-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.tile svg.tile-img { width: 100%; height: 100%; }

/* Subtle dim when NOT selected */
.tile:not(.selected) .tile-img {
  filter: saturate(0.9) brightness(0.97);
}
.tile.selected .tile-img { filter: none; }

/* Check badge */
.tile-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
  backdrop-filter: blur(4px);
}
.tile.selected .tile-check {
  background: var(--red);
  border-color: #fff;
  color: #fff;
}
.tile-check svg { width: 13px; height: 13px; stroke-width: 3; }

/* Remove button — top-left, opposite the check badge */
.tile-remove {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), background 0.15s var(--ease);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.tile-remove svg { width: 14px; height: 14px; display: block; }
.tile:hover .tile-remove,
.tile:focus-within .tile-remove { opacity: 1; transform: scale(1); }
.tile-remove:hover { background: var(--red); }
@media (hover: none) { .tile-remove { opacity: 1; transform: scale(1); } }

/* Filename / meta under tile — subtle */
.tile-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 10px 8px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 10.5px;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}
.tile:hover .tile-meta { opacity: 1; }

/* The "Add / Upload" tile */
.tile.add-tile {
  border: 1.5px dashed var(--gray-line);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  text-align: center;
  padding: 8px;
  gap: 6px;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}
.tile.add-tile:hover {
  border-color: var(--red);
  color: var(--red);
  background: #fff9fa;
  transform: translateY(-1px);
}
.tile.add-tile svg { width: 22px; height: 22px; }
.tile.add-tile .add-label {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
}
.tile.add-tile .add-sub {
  font-size: 10.5px;
  color: var(--text-mute);
  line-height: 1.3;
}

/* ========== CTA ROW ========== */
.cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 14px;
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--gray-line);
  font-family: 'REA Pangea', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.15s var(--ease);
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--ink-2);
  background: var(--gray-50);
}

/* ========== EMPTY STATE (no scraped images) ========== */
.empty-state {
  border: 1.5px dashed var(--gray-line);
  border-radius: 14px;
  padding: 48px 32px;
  text-align: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.empty-state .ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.empty-state .ring svg { width: 24px; height: 24px; }
.empty-state h3 {
  font-family: 'REA Pangea', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.empty-state p {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13px;
  color: var(--ink-2);
  max-width: 380px;
  line-height: 1.55;
}
.empty-state .btn-primary { margin-top: 10px; }

/* ========== UPLOAD MODAL (scoped, simple) ========== */
.upload-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 22, 0.45);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.upload-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.upload-dialog {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(20, 19, 22, 0.25);
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.25s var(--ease);
}
.upload-backdrop.open .upload-dialog { transform: none; }

.upload-header {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--gray-50);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.upload-header h3 {
  font-family: 'REA Pangea', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.upload-header p {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 360px;
}
.upload-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.upload-close:hover { background: var(--gray-50); color: var(--ink); }
.upload-close svg { width: 16px; height: 16px; }

.upload-body { padding: 20px 24px 8px; }

.dropzone {
  border: 1.5px dashed var(--gray-line);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.15s var(--ease);
  cursor: pointer;
  background: #fff;
}
.dropzone:hover,
.dropzone.drag {
  border-color: var(--red);
  background: #fff9fa;
}
.dropzone .dz-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.dropzone.drag .dz-icon { background: var(--red); color: #fff; }
.dropzone .dz-icon svg { width: 20px; height: 20px; }
.dropzone h4 {
  font-family: 'REA Pangea', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.dropzone p {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.5;
}
.dropzone .dz-browse {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.upload-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 14px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 2px;
}
.upload-thumbs .u-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: #e8e6e0 center/cover no-repeat;
  overflow: hidden;
}
.upload-thumbs .u-thumb .u-rm {
  position: absolute;
  top: 3px; right: 3px;
  width: 16px; height: 16px;
  background: rgba(20, 19, 22, 0.65);
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  font-family: sans-serif;
}
.upload-thumbs .u-thumb .u-rm:hover { background: var(--red); }

.upload-footer {
  padding: 14px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--gray-50);
  margin-top: 16px;
}
.upload-footer .u-count {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  color: var(--text-mute);
}
.upload-footer .u-count strong { color: var(--ink); font-weight: 600; }
.upload-footer .u-actions { display: flex; gap: 8px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1020px) {
  .main.images-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .img-hero-title { font-size: 34px; max-width: none; }
  .img-hero-body { max-width: none; }
  .helper-card { max-width: none; }
}

@media (max-width: 820px) {
  .main.images-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px 56px;
  }
  .img-hero-title {
    font-size: 30px;
    margin-bottom: 12px;
  }
  .img-hero-body {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  .gallery-head { flex-wrap: wrap; }

  .cta-bar {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px;
  }
  .cta-bar .btn-primary,
  .cta-bar .btn-secondary {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    justify-content: center;
  }

  .upload-thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
/* =========================================================
   CAPTR MOTION — Set the scene order
   Inherits base tokens/components from order-details.css
========================================================= */

/* Tabs: progressed state (done tabs also red) */
.tab.done {
  background: var(--red);
  color: #fff;
}
.tab.done:hover { background: var(--red-700); }

/* ---------- Layout ---------- */
.main.scene-main {
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 40px;
}

/* LEFT column */
.scene-hero-title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 360px;
}
.scene-hero-body {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 360px;
  margin-bottom: 40px;
}

/* Back button sits low in the left column on desktop */
.scene-left-cta {
  margin-top: 180px;
}

/* ---------- RIGHT column (grid area) ---------- */
.scene-right { display: flex; flex-direction: column; }

.scene-helper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12.5px;
  color: var(--ink-2);
}
.scene-helper .ic {
  width: 14px; height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
}
.scene-helper .ic svg { width: 14px; height: 14px; }
.scene-helper .dot-sep { color: var(--text-mute); }

/* Grid */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Scene card */
.scene-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), opacity 0.18s var(--ease);
  box-shadow: 0 1px 2px rgba(20, 19, 22, 0.05);
}
.scene-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 19, 22, 0.14);
}
.scene-card:active { cursor: grabbing; }

/* Dragging state */
.scene-card.dragging {
  opacity: 0.35;
  transform: scale(0.98);
  box-shadow: none;
}

/* Drop target indicator (card the cursor is over) */
.scene-card.drop-target::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2.5px solid var(--red);
  border-radius: 10px;
  pointer-events: none;
  box-shadow: 0 0 0 4px rgba(228, 0, 43, 0.12);
}

/* The image layer (gradient placeholder) */
.scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Corner badge (number) */
.scene-num {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: rgba(20, 19, 22, 0.9);
  color: #fff;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

/* Top-left label pill (OPENING / CLOSING) */
.scene-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  font-family: 'REA Pangea', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  text-transform: uppercase;
}

/* ---------- Footer strip below grid ---------- */
.scene-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13px;
  color: var(--ink-2);
}
.scene-strip .count strong { color: var(--ink); font-weight: 600; }
.scene-strip .count span { color: var(--text-mute); font-weight: 400; margin-left: 4px; }

.scene-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
}
.scene-duration .ic { color: var(--text-mute); display: inline-flex; }
.scene-duration .ic svg { width: 14px; height: 14px; }
.scene-duration strong { color: var(--ink); font-weight: 600; }

/* ---------- CTA row (desktop) ---------- */
.scene-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 36px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main.scene-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .scene-hero-title { font-size: 38px; max-width: none; }
  .scene-hero-body { max-width: none; margin-bottom: 20px; }
  .scene-left-cta { display: none; }
}

@media (max-width: 820px) {
  .main.scene-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px 40px;
  }
  .scene-hero-title {
    font-size: 34px;
    margin-bottom: 14px;
  }
  .scene-hero-body {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .scene-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .scene-num { width: 20px; height: 20px; font-size: 10px; border-radius: 4px; }
  .scene-label { font-size: 8.5px; padding: 3px 7px; }

  .scene-strip {
    margin-top: 14px;
    font-size: 12.5px;
  }

  /* Stack CTAs full-width, Choose Music primary on top */
  .scene-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }
  .scene-cta .btn-primary,
  .scene-cta .btn-secondary {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    justify-content: center;
  }
  /* show stacked back button INSIDE CTA zone on mobile */
  .scene-cta .mobile-back { display: block; }
}

/* Back CTA that only shows at mobile breakpoint */
.scene-cta .mobile-back { display: none; }
/* =========================================================
   CAPTR MOTION — Choose your soundtrack
   Inherits tokens/components from order-details.css
========================================================= */

/* Tabs: done tabs (Details, Images, Order) rendered red */
.tab.done {
  background: var(--red);
  color: #fff;
}
.tab.done:hover { background: var(--red-700); }

/* ---------- Layout ---------- */
.main.music-main {
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 40px;
}

.music-hero-title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 360px;
}
.music-hero-body {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 360px;
  margin-bottom: 40px;
}
.music-left-cta { margin-top: 180px; }

/* ---------- RIGHT column ---------- */
.music-right { display: flex; flex-direction: column; }

.music-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Track row ---------- */
.track {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 180px 50px;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.track:hover {
  border-color: var(--gray-line);
  background: #fafafa;
}
.track.selected {
  background: #FFF5F7;
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

/* Play button */
.track-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease), color 0.15s var(--ease);
  flex-shrink: 0;
}
.track-play svg { width: 14px; height: 14px; }
.track:hover .track-play {
  background: #ECECEF;
}
.track.selected .track-play {
  background: var(--red);
  color: #fff;
}
.track.selected .track-play:hover {
  background: var(--red-700);
}
.track.playing .track-play {
  background: var(--red);
  color: #fff;
}

/* Text block */
.track-text { min-width: 0; }
.track-title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-meta {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-meta .dot {
  display: inline-block;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--text-mute);
  vertical-align: middle;
  margin: 0 6px 2px;
}

/* Waveform */
.wave {
  height: 28px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}
.wave-bar {
  flex: 1 1 0;
  background: var(--gray-line);
  border-radius: 1px;
  transition: background 0.12s var(--ease);
  min-height: 3px;
}
.track.selected .wave-bar.active,
.track.playing .wave-bar.active {
  background: var(--red);
}
.track.playing .wave-bar.progressed {
  background: var(--red);
}
.track.selected .wave-bar.progressed:not(.active) {
  background: #F8B4C1;
}

/* Duration */
.track-duration {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  color: var(--text-mute);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.track.selected .track-duration {
  color: var(--ink-2);
}

/* ---------- Strip + CTA ---------- */
.music-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13px;
  color: var(--ink-2);
}
.music-strip .now-playing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
}
.music-strip .now-playing .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  background: #FFF5F7;
  border: 1px solid #F5CED6;
  color: var(--red);
  font-family: 'REA Pangea', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.music-strip .now-playing .badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s ease-in-out infinite;
}
.music-strip .now-playing strong { color: var(--ink); font-weight: 600; }

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

.music-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  gap: 16px;
}
.music-cta .spacer { flex: 1; }
.music-cta .btn-primary,
.music-cta .btn-secondary { flex: 0 0 auto; }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  font-family: 'REA Pangea', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.btn-secondary:hover { background: var(--gray-50); border-color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main.music-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .music-hero-title { font-size: 38px; max-width: none; }
  .music-hero-body { max-width: none; margin-bottom: 20px; }
  .music-left-cta { display: none; }
}

@media (max-width: 820px) {
  .main.music-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px 40px;
  }
  .music-hero-title {
    font-size: 34px;
    margin-bottom: 14px;
  }
  .music-hero-body {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .track {
    grid-template-columns: 36px 1fr 90px 36px;
    gap: 12px;
    padding: 12px 14px;
  }
  .track-play { width: 36px; height: 36px; }
  .track-play svg { width: 12px; height: 12px; }
  .track-title { font-size: 13.5px; }
  .track-meta { font-size: 11px; }
  .wave { height: 22px; gap: 1.5px; }
  .track-duration { font-size: 11px; }

  .music-strip {
    margin-top: 14px;
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .music-cta {
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 24px;
  }
  .music-cta .spacer { display: none; }
  .music-cta .btn-primary,
  .music-cta .btn-secondary {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    justify-content: center;
    text-align: center;
  }
}
/* =========================================================
   CAPTR MOTION — Complete payment
   Inherits tokens/components from order-details.css
========================================================= */

/* Done tabs (Details, Images, Order, Music) */
.tab.done {
  background: var(--red);
  color: #fff;
}
.tab.done:hover { background: var(--red-700); }

/* ---------- Layout ---------- */
.main.payment-main {
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 40px;
}

.pay-hero-title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 360px;
}
.pay-hero-body {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 360px;
  margin-bottom: 28px;
}

/* Trust list */
.pay-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 360px;
}
.pay-trust .row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}
.pay-trust .row .ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFF5F7;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.pay-trust .row .ico svg { width: 12px; height: 12px; }
.pay-trust .row strong {
  color: var(--ink);
  font-weight: 600;
}

.pay-left-cta { margin-top: 40px; }

/* ---------- RIGHT column ---------- */
.pay-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =========================================================
   VIDEO SUMMARY CARD (dark)
========================================================= */
.summary-card {
  background: #1A191C;
  border-radius: 14px;
  padding: 24px 24px 22px;
  color: #fff;
}

.summary-eyebrow {
  font-family: 'REA Pangea', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86848B;
  margin-bottom: 16px;
}

.summary-listing {
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid #2A292D;
}
.summary-listing .title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.summary-listing .sub {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  color: #86848B;
}

/* Images row */
.summary-section {
  padding: 16px 0;
  border-bottom: 1px solid #2A292D;
}
.summary-section:last-of-type { border-bottom: none; }

.summary-section-label {
  font-family: 'REA Pangea', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86848B;
  margin-bottom: 10px;
}

.summary-swatches {
  display: flex;
  gap: 6px;
}
.summary-swatches .sw {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  background: #2A292D;
  flex-shrink: 0;
}
.summary-swatches .sw svg { display: block; width: 100%; height: 100%; }
.summary-swatches .more {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #2A292D;
  color: #C8C6CC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Music row */
.summary-music {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
}
.summary-music .ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2A292D;
  color: #C8C6CC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.summary-music .ico svg { width: 14px; height: 14px; }
.summary-music .title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.summary-music .meta {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 11.5px;
  color: #86848B;
  margin-top: 1px;
}
.summary-music .meta .dot {
  display: inline-block;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #86848B;
  vertical-align: middle;
  margin: 0 6px 2px;
}

/* Line items */
.summary-lines {
  padding-top: 6px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13px;
  color: #C8C6CC;
  padding: 6px 0;
}
.summary-line .val {
  font-variant-numeric: tabular-nums;
  color: #C8C6CC;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid #2A292D;
}
.summary-total .lbl {
  font-family: 'REA Pangea', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.005em;
}
.summary-total .val {
  font-family: 'REA Pangea', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   PAYMENT FORM
========================================================= */
.pay-form {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 24px;
}

.pay-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.pay-form-head .title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pay-form-head .secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'REA Pangea', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.pay-form-head .secure svg { width: 12px; height: 12px; }

.pay-field { display: block; min-width: 0; }
.pay-field + .pay-field { margin-top: 14px; }
.pay-field .label {
  display: block;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.pay-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.pay-field-row .pay-field + .pay-field { margin-top: 0; }

.pay-input {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.pay-input:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.12);
}
.pay-input input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  height: 100%;
  min-width: 0;
}
.pay-input input::placeholder { color: var(--text-mute); }
.pay-input input.cc {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Card-number field: input + brand marks on the right */
.pay-card-brands {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
  flex-shrink: 0;
}
.brand-chip {
  height: 22px;
  width: 32px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'REA Pangea', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  user-select: none;
}
.brand-chip.visa { background: #1A1F71; }
.brand-chip.mc   { background: #111; position: relative; }
.brand-chip.mc::before,
.brand-chip.mc::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.brand-chip.mc::before { background: #EB001B; left: 6px; }
.brand-chip.mc::after  { background: #F79E1B; right: 6px; mix-blend-mode: screen; }
.brand-chip.amex { background: #2E77BC; }

/* Pay button */
.pay-cta {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-cta .btn-pay {
  background: var(--red);
  color: #fff;
  font-family: 'REA Pangea', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.pay-cta .btn-pay:hover:not(:disabled) {
  background: var(--red-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(228, 0, 43, 0.25);
}
.pay-cta .btn-pay:active:not(:disabled) { transform: translateY(0); }
.pay-cta .btn-pay:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.pay-cta .btn-pay svg { width: 14px; height: 14px; }

.pay-footnote {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 11.5px;
  color: var(--text-mute);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pay-footnote svg { width: 11px; height: 11px; }

/* Back button row (under form) */
.pay-back-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  font-family: 'REA Pangea', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.btn-secondary:hover { background: var(--gray-50); border-color: var(--ink-2); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1020px) {
  .main.payment-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pay-hero-title { font-size: 38px; max-width: none; }
  .pay-hero-body { max-width: none; margin-bottom: 18px; }
  .pay-trust { max-width: none; }
  .pay-left-cta { display: none; }
}

@media (max-width: 820px) {
  .main.payment-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px 40px;
  }
  .pay-hero-title {
    font-size: 34px;
    margin-bottom: 14px;
  }
  .pay-hero-body {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .pay-trust { gap: 10px; margin-bottom: 4px; }
  .pay-trust .row { font-size: 12.5px; }

  .summary-card { padding: 20px; border-radius: 12px; }
  .summary-listing .title { font-size: 14px; }
  .summary-listing .sub { font-size: 11.5px; }

  .summary-swatches .sw,
  .summary-swatches .more { width: 30px; height: 30px; }

  .summary-total .val { font-size: 20px; }

  .pay-form { padding: 20px; border-radius: 12px; }
  .pay-form-head .title { font-size: 15px; }
  .pay-field-row { grid-template-columns: 1fr 1fr; gap: 10px; }

  .pay-cta .btn-pay {
    padding: 15px;
    font-size: 14px;
  }
}
/* =========================================================
   CAPTR MOTION — Your video is ready
   Inherits tokens from order-details.css / order-payment.css
========================================================= */

/* All tabs shown as done (completed flow) */
.tab.done {
  background: var(--red);
  color: #fff;
}
.tab.done:hover { background: var(--red-700); }

/* Layout: left hero text, right video card with actions */
.main.ready-main {
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 56px;
}

.ready-title {
  font-family: 'REA Pangea', sans-serif;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 440px;
}
.ready-body {
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 440px;
}
.ready-body .duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 500;
}

/* Right column — video card + CTAs */
.ready-right {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* VIDEO PLAYER */
.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0E0D10;
  cursor: pointer;
  isolation: isolate;
}
.video-player .vp-bg {
  position: absolute;
  inset: 0;
  display: block;
}
.video-player .vp-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.video-player .vp-grain {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.08), transparent 55%),
    radial-gradient(ellipse at 80% 75%, rgba(0,0,0,0.35), transparent 60%);
  pointer-events: none;
}

/* Play button */
.vp-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}
.video-player:hover .vp-play {
  background: rgba(255, 255, 255, 0.32);
  transform: translate(-50%, -50%) scale(1.06);
}
.vp-play svg { width: 26px; height: 26px; margin-left: 3px; }

/* Bottom chip (address label) */
.vp-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: rgba(20, 19, 22, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.vp-label .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37C26A;
  box-shadow: 0 0 0 3px rgba(55, 194, 106, 0.22);
}

/* Timecode chip (top-right) */
.vp-timecode {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(20, 19, 22, 0.68);
  color: #fff;
  font-family: 'REA Pangea', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* Scrubber (bottom) */
.vp-scrub {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 46px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  pointer-events: none;
}
.vp-scrub .fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 999px;
}

/* =========================================================
   ACTION BUTTONS
========================================================= */
.ready-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.btn-approve,
.btn-request,
.btn-another {
  width: 100%;
  height: 56px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'REA Pangea', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease),
              transform 0.15s var(--ease), box-shadow 0.15s var(--ease), color 0.15s var(--ease);
}

.btn-approve {
  background: var(--red);
  color: #fff;
}
.btn-approve:hover {
  background: var(--red-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(228, 0, 43, 0.25);
}
.btn-approve:active { transform: translateY(0); }

.btn-request {
  background: #1F1E22;
  color: #fff;
}
.btn-request:hover {
  background: #2B2A2F;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20, 19, 22, 0.18);
}
.btn-request:active { transform: translateY(0); }

.btn-another {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--gray-line);
}
.btn-another:hover {
  background: var(--gray-50);
  border-color: var(--ink-2);
}

.btn-approve svg,
.btn-request svg,
.btn-another svg { width: 16px; height: 16px; }

/* =========================================================
   AFTER-APPROVE STATE (inline success)
========================================================= */
.approved-note {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #F1FBF5;
  border: 1px solid #C7EBD3;
  color: #1B6A3E;
  font-family: 'REA Pangea Text', sans-serif;
  font-size: 13px;
  line-height: 1.4;
}
.approved-note.on { display: flex; }
.approved-note .tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1B9A54;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.approved-note .tick svg { width: 12px; height: 12px; }
.approved-note strong { color: #144E2D; font-weight: 600; }

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */
@media (max-width: 1020px) {
  .main.ready-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ready-title { font-size: 40px; max-width: none; }
  .ready-body { max-width: none; }
}

@media (max-width: 820px) {
  .main.ready-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px 48px;
  }
  .ready-title {
    font-size: 38px;
    line-height: 1.05;
    margin-bottom: 14px;
  }
  .ready-body { font-size: 14px; }

  .ready-right { padding: 14px; border-radius: 12px; }

  .vp-play { width: 58px; height: 58px; }
  .vp-play svg { width: 22px; height: 22px; }

  .btn-approve,
  .btn-request,
  .btn-another {
    height: 50px;
    font-size: 14px;
    border-radius: 10px;
  }
}
