/* Annum8 Chatbots & Video Marketing — purple brand theme (staging) */
@import url("brand-palette.css");

:root {
  --bg: #31025b;
  --bg-elevated: #260147;
  --bg-card: #260147;
  --bg-card-alt: #1a0133;
  --bg-card-lift: #3d1a6e;
  --yellow: #fcd000;
  --yellow-bright: #F4D03F;
  --yellow-hover: #fbe383;
  --red: #e0100c;
  --red-deep: #b80000;
  --pink: #e9659c;
  --pink-alt: #e83e8c;
  --cyan: #00D4FF;
  --cyan-soft: #7097a1;
  --cream: #f3f5f6;
  --silver: #f3f5f6;
  --silver-light: #ffffff;
  --white: #ffffff;
  --muted: rgba(243, 245, 246, 0.72);
  --muted-dim: rgba(243, 245, 246, 0.55);
  --border: rgba(243, 245, 246, 0.14);
  --border-strong: rgba(243, 245, 246, 0.26);
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 1, 51, 0.45);
  --shadow-lg: 0 16px 48px rgba(26, 1, 51, 0.55);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1100px;
  --tap: 48px;
  --brand-dark: #31025b;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font);
  color: var(--cream);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow-bright); text-decoration: none; }
a:hover { color: var(--yellow-hover); }
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Staging banner */
.staging-banner {
  background: var(--bg-elevated);
  color: var(--cream);
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(252, 208, 0, 0.4);
}

.staging-banner strong {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav — deep purple */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 34px;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  white-space: nowrap;
  color: inherit;
}

.logo:hover { color: inherit; }

.logo-header {
  height: 48px;
  width: auto;
  max-width: min(320px, 72vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--red);
  box-shadow: 0 0 0 1px rgba(224, 16, 12, 0.25);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.15rem;
}

.logo-wordmark {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--yellow);
}

.logo-wordmark .eight {
  color: var(--red);
  text-shadow:
    0 0 1px var(--red-deep),
    0 0 8px rgba(224, 16, 12, 0.45),
    1px 0 0 rgba(184, 0, 0, 0.5),
    -1px 0 0 rgba(184, 0, 0, 0.35);
}

.logo-sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
}

.nav-links {
  display: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  background: rgba(252, 208, 0, 0.1);
  color: var(--yellow);
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--bg) !important;
  padding: 0.5rem 1rem !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--yellow-hover) !important;
  color: var(--bg) !important;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
  color: var(--cream);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--bg-card-lift);
  border-color: var(--yellow);
  color: var(--yellow);
}

.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: var(--shadow);
  gap: 0.25rem;
}

.nav-links.open a {
  width: 100%;
  min-height: var(--tap);
  padding: 0.75rem 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.15s;
  text-align: center;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--yellow);
  color: var(--bg);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--yellow-hover);
  color: var(--bg);
  box-shadow: 0 0 24px rgba(252, 208, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--red);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(224, 16, 12, 0.16);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

.btn-outline-cyan:hover {
  background: rgba(112, 151, 161, 0.12);
  color: var(--cyan);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover { background: #1ebe57; color: var(--white); }

.btn-amber {
  background: var(--yellow);
  color: var(--bg);
  font-weight: 700;
}

.btn-amber:hover { background: var(--yellow-hover); color: var(--bg); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 85% 40%, rgba(224, 16, 12, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(233, 101, 156, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 35% at 50% 0%, rgba(252, 208, 0, 0.08), transparent 50%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-elevated) 55%, var(--bg-card-alt) 100%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.hero-copy { position: relative; z-index: 1; }

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: min(100%, 420px);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(252, 208, 0, 0.25),
    0 0 40px rgba(224, 16, 12, 0.2),
    var(--shadow-lg);
  background: var(--bg-card-lift);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--cream);
  max-width: 38ch;
  margin-bottom: 0.5rem;
}

.hero-meta {
  font-size: 0.9375rem;
  color: var(--muted-dim);
  margin-top: 0.75rem;
}

/* Sections — purple base */
.section {
  padding: 4rem 0;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-elevated);
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section-intro {
  color: var(--cream);
  max-width: 54ch;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.card:hover {
  background: var(--bg-card-lift);
  border-color: rgba(252, 208, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(252, 208, 0, 0.12), var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(252, 208, 0, 0.12);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.card p, .card li {
  color: var(--cream);
  font-size: 0.975rem;
}

.card ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card li {
  padding-left: 1.25rem;
  position: relative;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.price-tag {
  margin-top: auto;
  padding-top: 1.25rem;
  font-weight: 700;
  color: var(--yellow);
  font-size: 1.05rem;
}

.price-tag small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0.2rem;
}

/* Feature list (Why) */
.why-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.why-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card-alt);
  color: var(--yellow);
  border: 1px solid rgba(252, 208, 0, 0.35);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: 0.9375rem;
  color: var(--cream);
}

/* Pricing snapshot */
.pricing-table {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .pricing-table { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: var(--bg-card-lift);
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px rgba(252, 208, 0, 0.25), var(--shadow-lg);
  position: relative;
}

.pricing-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -0.7rem;
  left: 1.25rem;
  background: var(--yellow);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.pricing-card li {
  font-size: 0.9375rem;
  color: var(--cream);
  padding-left: 1.4rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.pricing-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-dim);
  text-align: center;
}

/* Contact */
.contact-wrap {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .contact-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contact-panel {
  background: var(--bg-card-alt);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-panel h2 { color: var(--white); }

.contact-panel .section-intro { color: var(--cream); }

.contact-panel .section-label { color: var(--pink); }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-list a, .contact-list span {
  color: var(--cream);
  font-size: 1.0625rem;
  display: block;
  min-height: var(--tap);
  padding: 0.5rem 0;
}

.contact-list a:hover { color: var(--yellow); }

.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-dim);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-card-side {
  background: var(--bg-card-lift);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.contact-card-side h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.contact-card-side p {
  color: var(--cream);
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.contact-card-side ol {
  list-style: decimal;
  padding-left: 1.25rem;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.975rem;
}

/* Footer */
.site-footer {
  background: var(--bg-card-alt);
  color: var(--cream);
  padding: 3rem 0 2rem;
  font-size: 0.9375rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .logo { margin-bottom: 0.75rem; display: inline-flex; }

.footer-brand p { max-width: 36ch; line-height: 1.6; color: var(--cream); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--cream);
  display: block;
  padding: 0.35rem 0;
  min-height: 40px;
}

.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-dim);
}

.footer-bottom a { color: var(--cream); }
.footer-bottom a:hover { color: var(--yellow); }

.footer-sister {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-dim);
}

.footer-sister a { color: var(--pink); }
.footer-sister a:hover { color: var(--yellow); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--cream);
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.footer-social a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
  background: rgba(252, 208, 0, 0.08);
}

/* Legal stubs */
.legal-page {
  padding: 3rem 0 4rem;
  max-width: 720px;
}

.legal-page h1 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.legal-page .updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.125rem;
  color: var(--yellow);
  margin: 1.75rem 0 0.5rem;
}

.legal-page p, .legal-page li {
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-size: 0.975rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-page a { color: var(--yellow-bright); }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}


/* Showreel CTA */
.btn-showreel {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}
.btn-showreel:hover {
  background: rgba(252, 208, 0, 0.12);
  color: var(--yellow-hover);
  border-color: var(--yellow-hover);
  box-shadow: 0 0 20px rgba(252, 208, 0, 0.2);
}
.btn-play-icon {
  flex-shrink: 0;
}
.hero-showreel-hint {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted-dim);
}

/* Video showcase — thumbnail grids */
.video-showcase {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.video-showcase-head {
  margin-bottom: 1.75rem;
}
.video-showcase-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.video-showcase-intro {
  color: var(--cream);
  font-size: 1rem;
  max-width: 48ch;
}
.video-cat {
  margin-bottom: 2rem;
}
.video-cat-heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.video-thumb-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .video-thumb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .video-thumb-grid { grid-template-columns: repeat(3, 1fr); }
}
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card-alt);
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.video-thumb:hover,
.video-thumb:focus-visible {
  border-color: rgba(252, 208, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(252, 208, 0, 0.18), var(--shadow);
  outline: none;
}
.video-thumb:active { transform: scale(0.99); }
.video-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-card-alt);
}
.video-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(49, 2, 91, 0.82);
  border: 2px solid var(--yellow);
  box-shadow: 0 4px 16px rgba(26, 1, 51, 0.5);
  pointer-events: none;
}
.video-thumb-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--yellow);
}
.video-thumb:hover .video-thumb-play {
  background: rgba(49, 2, 91, 0.95);
  border-color: var(--yellow-hover);
}
.video-thumb-label {
  display: block;
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.35;
  min-height: 3.1rem;
}
.video-more {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Video modal player */
.video-modal[hidden] { display: none !important; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 1, 51, 0.82);
  backdrop-filter: blur(4px);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 880px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.video-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.video-modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}
.video-modal-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.video-modal-close:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(252, 208, 0, 0.08);
}
.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .video-thumb { transition: none; }
}
