/* ============================================================
   MoxiWorks / RISE Supplier Intelligence — Kerfuffle Style
   Dark navy + Kerfuffle pink (#FE1C6A)
   ============================================================ */

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

:root {
  --navy: #151929;
  --navy-light: #1c2138;
  --navy-card: #1e2645;
  --navy-border: #2a3155;
  --pink: #FE1C6A;
  --pink-dark: #EB165F;
  --cream: #f0ece0;
  --white: #f8f6f0;
  --grey: #a0a4b8;
  --grey-light: #c8cad6;
  --green: #4ade80;
  --green-dim: #22543d;
  --amber: #fbbf24;
  --amber-dim: #78350f;
  --red: #f87171;
  --red-dim: #7f1d1d;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --text-2xl: clamp(2rem, 1.4rem + 2vw, 3rem);
  --text-hero: clamp(2.75rem, 1rem + 5vw, 5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius: 10px;
  --radius-lg: 14px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--white);
  background-color: var(--navy);
  line-height: 1.6;
}

a { color: var(--pink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cream); }

strong { color: var(--cream); font-weight: 600; }

img { display: block; max-width: 100%; height: auto; }

/* === CONTAINER === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: var(--space-6);
}

/* === HERO === */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
  /* Ensure content has side gutters on all viewports */
  padding: var(--space-24) var(--space-6);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(254,28,106,0.15) 0%, rgba(254,28,106,0.05) 40%, transparent 70%);
  pointer-events: none;
}

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

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--grey-light);
  font-weight: 300;
  margin-bottom: var(--space-4);
}

.hero-meta {
  font-size: var(--text-sm);
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* === STICKY NAV === */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 25, 41, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--navy-border);
}

.nav-inner {
  display: flex;
  gap: var(--space-1);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-3) var(--space-6);
  max-width: 1100px;
  margin: 0 auto;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-link {
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--grey);
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  transition: all var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: var(--pink);
}

/* === SECTIONS === */
.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
  border-bottom: 1px solid var(--navy-border);
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  margin-bottom: var(--space-4);
}

.section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: var(--space-8);
}

.section-body {
  font-size: var(--text-base);
  color: var(--grey-light);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

/* === CARD GRID === */
.card-grid {
  display: grid;
  gap: var(--space-4);
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

/* === STAT CARDS === */
.stat-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--pink);
  line-height: 1.1;
}
.stat-number.small {
  font-size: var(--text-lg);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--grey);
  line-height: 1.4;
}

/* === FEATURE CARDS === */
.feature-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.feature-icon {
  margin-bottom: var(--space-4);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-4);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.feature-list li {
  position: relative;
  padding-left: 1.25em;
  font-size: var(--text-sm);
  color: var(--grey-light);
  line-height: 1.5;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.feature-list.negative li::before {
  content: '△';
  color: var(--amber);
}

/* === PERSON CARDS === */
.person-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.person-initials {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.person-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-1);
}

.person-role {
  font-size: var(--text-sm);
  color: var(--pink);
  font-weight: 500;
  display: block;
  margin-bottom: var(--space-2);
}

.person-detail {
  font-size: var(--text-xs);
  color: var(--grey);
}

/* === INFO ROW === */
.info-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (max-width: 640px) {
  .info-row { grid-template-columns: 1fr; }
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.info-key {
  font-size: var(--text-xs);
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.info-val {
  font-size: var(--text-sm);
  color: var(--grey-light);
}

/* === HIGHLIGHT CARD === */
.highlight-card {
  background: linear-gradient(135deg, rgba(254,28,106,0.08) 0%, rgba(254,28,106,0.02) 100%);
  border: 1px solid rgba(254,28,106,0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.highlight-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  margin-bottom: var(--space-4);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 640px) {
  .highlight-grid { grid-template-columns: 1fr; }
}

/* === TABLE === */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

thead th {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  font-weight: 600;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--navy-border);
  white-space: nowrap;
}

tbody td {
  padding: var(--space-3) var(--space-4);
  color: var(--grey-light);
  border-bottom: 1px solid rgba(42, 49, 85, 0.5);
}

tbody tr:hover td {
  background: rgba(254, 28, 106, 0.04);
}

td.pink, .pink-text { color: var(--pink); }
.green-text { color: var(--green); }
.amber-text { color: var(--amber); }

/* === TIMELINE === */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.125rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--navy-border);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-8);
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-date {
  font-size: var(--text-xs);
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-1);
}

.timeline-content h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-2);
}

.timeline-content p {
  font-size: var(--text-sm);
  color: var(--grey-light);
  line-height: 1.6;
  max-width: 600px;
}

/* === REVIEW CARDS === */
.review-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.review-platform {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--cream);
}

.review-rating {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--pink);
}

.review-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--navy-border);
}

@media (max-width: 480px) {
  .review-stats { grid-template-columns: 1fr; }
}

.review-themes h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-2);
  margin-top: var(--space-4);
}
.review-themes h4:first-child { margin-top: 0; }

/* === SWOT === */
.swot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .swot-grid { grid-template-columns: 1fr; }
}

.swot-card {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.swot-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.swot-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.swot-card li {
  font-size: var(--text-sm);
  line-height: 1.5;
  padding-left: 1.25em;
  position: relative;
}

.swot-card li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.swot-card.strengths {
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.swot-card.strengths h3 { color: var(--green); }
.swot-card.strengths li { color: var(--grey-light); }
.swot-card.strengths li::before { content: '+'; color: var(--green); }

.swot-card.weaknesses {
  background: rgba(248, 113, 113, 0.06);
  border: 1px solid rgba(248, 113, 113, 0.2);
}
.swot-card.weaknesses h3 { color: var(--red); }
.swot-card.weaknesses li { color: var(--grey-light); }
.swot-card.weaknesses li::before { content: '–'; color: var(--red); }

.swot-card.opportunities {
  background: rgba(254, 28, 106, 0.06);
  border: 1px solid rgba(254, 28, 106, 0.2);
}
.swot-card.opportunities h3 { color: var(--pink); }
.swot-card.opportunities li { color: var(--grey-light); }
.swot-card.opportunities li::before { content: '→'; color: var(--pink); }

.swot-card.threats {
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.2);
}
.swot-card.threats h3 { color: var(--amber); }
.swot-card.threats li { color: var(--grey-light); }
.swot-card.threats li::before { content: '!'; color: var(--amber); }

/* === AUDIT CARDS === */
.audit-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
}

.audit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audit-category {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cream);
}

.audit-score {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--pink);
}

/* === SCORE DISPLAY === */
.score-display {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  justify-content: center;
}

.score-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 4vw, 6rem);
  color: var(--pink);
  line-height: 1;
}

.score-out-of {
  font-size: var(--text-xl);
  color: var(--grey);
  font-weight: 300;
}

/* === AWARD CARDS === */
.award-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.award-year {
  font-size: var(--text-xs);
  color: var(--pink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.award-name {
  font-size: var(--text-base);
  color: var(--cream);
  font-weight: 600;
}

.award-detail {
  font-size: var(--text-sm);
  color: var(--grey);
}

/* === FOOTER === */
.footer {
  padding-top: var(--space-12);
  border-top: 1px solid var(--navy-border);
  background: var(--navy-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
}

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

.footer-left h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-4);
}

.footer-left p {
  font-size: var(--text-sm);
  color: var(--grey);
  line-height: 1.7;
  max-width: 500px;
}

.footer-right .footer-label {
  font-size: var(--text-xs);
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.footer-right a {
  display: block;
  font-size: var(--text-sm);
  color: var(--grey-light);
  margin-bottom: var(--space-2);
}
.footer-right a:hover { color: var(--pink); }

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--navy-border);
}

.footer-bar span {
  font-size: var(--text-xs);
  color: var(--grey);
}

/* === SCROLL ANIMATIONS === */
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  @keyframes reveal-fade {
    to { opacity: 1; }
  }
}

/* Fallback: always visible */
.fade-in { opacity: 1; }

/* === BOARD TABLE === */
.board-table {
  margin-top: var(--space-8);
}

/* === RECOMMENDATION BANNER === */
.rec-banner {
  background: linear-gradient(135deg, #FE1C6A 0%, #c4104f 60%, #8b0a37 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-12) 0;
}

.rec-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 50%, rgba(0,0,0,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.rec-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.rec-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-4);
}

.rec-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  max-width: 820px;
}

.rec-heading em {
  font-style: normal;
  color: rgba(255,255,255,0.85);
}

.rec-price {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-6);
  margin-bottom: var(--space-6);
}

.rec-price-main {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  color: #fff;
  line-height: 1;
}

.rec-price-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.rec-includes {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 700px;
}

.rec-includes strong {
  color: #fff;
  font-weight: 600;
}

.rec-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
  list-style: none;
}

.rec-bullets li {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  padding-left: 1.5em;
  position: relative;
  line-height: 1.5;
}

.rec-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
}

/* === UK PRESENCE FLAGS === */
.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
}

.flag-badge.warn {
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.3);
  color: var(--amber);
}

.flag-badge.ok {
  background: rgba(74,222,128,0.10);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--green);
}

.flag-badge.neutral {
  background: rgba(160,164,184,0.10);
  border: 1px solid rgba(160,164,184,0.25);
  color: var(--grey-light);
}

/* === SCORE BAR === */
.score-bar-wrap {
  margin-bottom: var(--space-4);
}

.score-bar-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-1);
}

.score-bar-category {
  font-size: var(--text-sm);
  color: var(--cream);
  font-weight: 500;
}

.score-bar-value {
  font-size: var(--text-sm);
  color: var(--pink);
  font-weight: 600;
}

.score-bar-track {
  height: 6px;
  background: var(--navy-border);
  border-radius: 999px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: var(--pink);
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.16,1,0.3,1);
}

/* === PRODUCT BADGE === */
.product-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(254,28,106,0.12);
  border: 1px solid rgba(254,28,106,0.25);
  color: var(--pink);
  margin-right: var(--space-1);
  margin-bottom: var(--space-1);
}

.product-badge.sold {
  background: rgba(248,113,113,0.10);
  border-color: rgba(248,113,113,0.2);
  color: var(--red);
  text-decoration: line-through;
  opacity: 0.7;
}

.product-badge.new {
  background: rgba(74,222,128,0.10);
  border-color: rgba(74,222,128,0.25);
  color: var(--green);
}

/* === MEMBERSHIP TIERS TABLE === */
.tiers-table {
  margin-top: var(--space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tiers-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.tiers-table thead tr {
  border-bottom: 2px solid var(--navy-border);
}

.tiers-table th {
  padding: var(--space-4) var(--space-3);
  text-align: center;
  vertical-align: bottom;
  font-weight: 400;
  color: var(--grey);
}

.tiers-table th.tier-feature-col {
  text-align: left;
  width: 36%;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
}

.tiers-table th.tier-col {
  width: 21.3%;
}

.tiers-table th.tier-highlight {
  background: rgba(254, 28, 106, 0.06);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  position: relative;
}

.tier-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--cream);
  margin-bottom: var(--space-1);
}

.tier-price {
  display: block;
  font-size: var(--text-xs);
  color: var(--grey);
}

.tier-badge {
  display: inline-block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  border: 1px solid rgba(254, 28, 106, 0.4);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: var(--space-2);
}

.tiers-table td {
  padding: var(--space-2) var(--space-3);
  text-align: center;
  color: var(--grey-light);
  border-bottom: 1px solid rgba(42, 49, 85, 0.5);
  font-size: var(--text-sm);
}

.tiers-table td:first-child {
  text-align: left;
  color: var(--grey-light);
}

.tiers-table .tier-highlight-cell {
  background: rgba(254, 28, 106, 0.04);
  color: var(--cream);
  font-weight: 500;
}

.tiers-table .tier-group-header td {
  padding-top: var(--space-4);
  padding-bottom: var(--space-2);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink);
  font-weight: 600;
  border-bottom: 1px solid rgba(254, 28, 106, 0.15);
  text-align: left;
}

.tiers-table .tier-summary-row td {
  padding-top: var(--space-4);
  border-top: 2px solid var(--navy-border);
  border-bottom: none;
  font-size: var(--text-sm);
  color: var(--grey);
}

.tiers-table .tier-summary-row td:last-child {
  color: var(--pink);
  font-weight: 600;
}

.tiers-table .tier-summary-row em {
  font-style: normal;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  background: var(--pink);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(254, 28, 106, 0.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 1000;
  cursor: pointer;
  white-space: nowrap;
}

.floating-cta:hover {
  background: var(--pink-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(254, 28, 106, 0.5);
}

@media (max-width: 640px) {
  .floating-cta {
    font-size: var(--text-xs);
    right: var(--space-3);
    bottom: var(--space-3);
    padding: var(--space-2) var(--space-4);
  }
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
  .tiers-table { font-size: var(--text-xs); }
  .tiers-table th, .tiers-table td { padding: var(--space-1) var(--space-2); }
  .tier-name { font-size: var(--text-base); }
}

/* ===== VIDEO SHOWCASE — Variable bridges for compatibility ===== */
:root {
  --surface-2: var(--navy-card);
  --border: var(--navy-border);
  --font-sans: var(--font-body);
  --font-serif: var(--font-display);
  --space-5: 1.25rem;
  --space-10: 2.5rem;
}

/* ===== HERO VIDEO BACKGROUND ===== */

.hero--video {
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 30, 0.6) 0%,
    rgba(10, 12, 30, 0.85) 60%,
    var(--surface-1) 100%
  );
  z-index: 1;
}

.hero--video .hero-glow {
  z-index: 2;
}

.hero--video .hero-content {
  position: relative;
  z-index: 3;
}

/* ===== VIDEO SHOWCASE ===== */

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--surface-2);
  border-radius: 12px;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Featured video — side-by-side layout */
.video-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: start;
  margin-bottom: var(--space-10);
}

.video-meta {
  padding-top: var(--space-2);
}

.video-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FE1C6A;
  background: rgba(254, 28, 106, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: 4px;
  margin-bottom: var(--space-3);
}

.video-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--white);
  line-height: 1.3;
  margin: 0 0 var(--space-3) 0;
}

.video-desc {
  font-size: var(--text-sm);
  color: var(--grey-light);
  line-height: 1.7;
  margin: 0 0 var(--space-4) 0;
}

.video-source {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--grey);
  letter-spacing: 0.02em;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.video-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.video-card:hover {
  border-color: rgba(254, 28, 106, 0.3);
}

.video-card .video-embed {
  border-radius: 12px 12px 0 0;
}

.video-card .video-embed iframe {
  border-radius: 12px 12px 0 0;
}

.video-card-meta {
  padding: var(--space-5) var(--space-6);
}

.video-card-meta h4 {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  color: var(--white);
  line-height: 1.4;
  margin: 0 0 var(--space-2) 0;
}

.video-card-meta p {
  font-size: var(--text-sm);
  color: var(--grey-light);
  line-height: 1.6;
  margin: 0 0 var(--space-3) 0;
}

/* Instagram Reel Strip */
.reel-strip {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.reel-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.reel-card {
  display: block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--space-5);
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.reel-card:hover {
  border-color: rgba(254, 28, 106, 0.4);
  transform: translateY(-2px);
}

.reel-icon {
  margin-bottom: var(--space-3);
}

.reel-card h4 {
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  color: var(--white);
  line-height: 1.4;
  margin: 0 0 var(--space-2) 0;
}

.reel-card p {
  font-size: var(--text-xs);
  color: var(--grey-light);
  line-height: 1.5;
  margin: 0 0 var(--space-3) 0;
}

.reel-date {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .video-featured {
    grid-template-columns: 1fr;
  }
  .reel-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reel-cards {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MOBILE OPTIMISATION — 390px / iPhone 14 target
   Added 2026-05 by Computer (mobile audit fix)
   ============================================================ */

@media (max-width: 480px) {
  .hero {
    padding: var(--space-20) var(--space-4) var(--space-12);
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    letter-spacing: -0.01em;
  }
  .hero-subtitle {
    font-size: var(--text-base);
  }

  .container { padding-inline: var(--space-4); }

  .floating-cta {
    min-height: 44px;
    display: flex;
    align-items: center;
    bottom: var(--space-3);
    right: var(--space-3);
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-4);
  }

  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .tiers-table th, .tiers-table td {
    padding: var(--space-1) var(--space-2);
  }
  .tiers-table { font-size: var(--text-xs); }
  .tiers-table th.tier-feature-col { min-width: 100px; }

  .section { padding-block: var(--space-10); }

  .footer-bar {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
    padding-inline: var(--space-4);
  }
}
