/* ============================================================
   LawDigits — Global Stylesheet
   Colors: #F65B6A (coral) · #36498E (navy) · #1c2454 (navy-deeper)
   Fonts: Syne · Instrument Serif · Plus Jakarta Sans · Space Grotesk
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral:        #F65B6A;
  --coral-lt:     #F65B6A;
  --coral-pale:   #fce8ea;
  --navy:         #36498E;
  --navy-dk:      #36498E;
  --navy-dp:      #253e98;
  --gold:         #c9a84c;
  --gold-dk:      #7a5f1a;
  --gold-lt:      #f5e9c8;
  --green:        #16a34a;
  --green-lt:     #dcfce7;
  --amber:        #d97706;
  --peach:        #F4AA96;      /* training bg tint */
  --team-bg:      #dde1f0;      /* team section base */
  --white:        #ffffff;
  --off-white:    #f6f7fb;
  --warm-gray:    #edeef5;
  --text:         #1a1a2e;
  --text-mid:     #4a4a6a;
  --text-light:   #8888a8;
  --border:       rgba(56,70,138,.12);
  --radius:       14px;
  --shadow:       0 8px 32px rgba(56,70,138,.14);
  --transition:   .28s cubic-bezier(.4,0,.2,1);
  --font-serif:   'Poppins', system-ui, sans-serif;
  --font-accent:  'Poppins', Georgia, serif;
  --font-mono:    'Open Sauce', system-ui, sans-serif;
  --font:         'Plus Jakarta Sans', system-ui, sans-serif;

  /* Fluid spacing scale */
  --sp-xs:  clamp(2rem,   4vw,  3rem);
  --sp-sm:  clamp(3rem,   6vw,  5rem);
  --sp-md:  clamp(4rem,   8vw,  6.25rem);
  --sp-lg:  clamp(5rem,  10vw,  8rem);

  /* Nav height — used for scroll-padding */
  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Default body text is left-aligned; paragraphs justify individually below */
  text-align: left;
}

/* ── Justified body paragraphs — apply only where it helps ─────────────── */
.about-text p,
.service-card p,
.training-card p,
.pillar-content p,
.team-bio,
.quote-text,
.csr-text > p,
.contact-form-wrap p,
.section-sub,
.upload-left > p,
.ut-text p,
.csr-pillar-text p,
.pce-desc,
.article-excerpt,
.modal-desc,
.exec-desc {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

/* ── Everything that must stay left-aligned ────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.section-title,
.tag, .badge-tier, .badge-duration,
.nav-links a, .btn, .enrol-btn, .ev-register-btn,
.pce-link, .service-link,
.footer-col ul,
.check-list, .cc-modules,
.topbar, .logo-text, .site-title,
.exec-label, .csr-eyebrow, .events-eyebrow,
.impact-lbl-ev, .pf-date-ev, .uc-venue-ev,
.pc-date-ev, .psc-date-ev, .psc-loc-ev,
table, th, td,
.stat-label,
.form-group label,
input, select, textarea,
.carousel-dot, .cat-btn,
.filter-bar, .fpill,
.footer-bottom,
.contact-item h4,
.contact-item a,
.contact-item p,
.team-name, .team-role,
.tpl-name, .tpl-desc,
.hero-eyebrow-text { text-align: left; }

/* ── Centred elements ───────────────────────────────────────────────────── */
.stat-item        { text-align: center; }
.stat-num         { text-align: center; }
.quote-inner      { text-align: center; }
.quote-text       { text-align: center; hyphens: none; }

/* Scroll-lock when mobile nav is open */
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* Prevent heading text from breaking out of its container on any screen */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Suppress iOS callout / tap highlight on interactive elements */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Fluid container — 90% up to 1160px with generous side padding */
.container {
  width: min(1160px, 100%);
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  margin-inline: auto;
}

/* Focus ring for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .875rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
  min-height: 48px; /* touch target */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(232,141,151,.35);
}
.btn-primary:hover { background: var(--coral-lt); box-shadow: 0 8px 30px rgba(241,167,175,.4); }

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.88);
  background: transparent;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.07); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dk); box-shadow: 0 6px 20px rgba(56,70,138,.3); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; min-height: 54px; }

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.tag-navy  { background: var(--navy-dp); color: var(--coral-pale); }
.tag-coral { background: var(--coral-pale); color: var(--navy-dk); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--navy-dp);
  letter-spacing: -.03em;
}
.section-title em { color: var(--coral); font-family: var(--font-accent); font-style: italic; font-weight: 400; }

.section-sub {
  font-size: clamp(.94rem, 1.5vw, 1.06rem);
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.75;
  margin-top: 1rem;
}

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header.center { text-align: center; }
.section-header.center .section-title,
.section-header.center .section-sub { text-align: center; margin-inline: auto; }
.section-header.center .tag { display: inline-flex; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy-dp);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: .625rem 1rem;
  font-size: .75rem;
  letter-spacing: .02em;
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.5;
}
.topbar a {
  color: var(--coral-lt);
  font-weight: 700;
}
.topbar a:hover { text-decoration: underline; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(56,70,138,.1); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 71px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img-footer {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: .875rem;
  background: rgba(255,255,255,.94);
  border-radius: .5rem;
  padding: .3rem .7rem;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  padding-block: .25rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--coral); font-weight: 600; }
/* Mobile menu CTA — keep button text white despite .nav-links a color */
.nav-links .mobile-cta a.btn,
.nav-links .mobile-cta a.btn:hover { color: var(--white); }

/* CTA button */
.btn-nav {
  background: var(--navy);
  color: var(--white);
  padding: .625rem 1.25rem;
  font-size: .85rem;
  font-family: var(--font);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  min-height: 44px;
  flex-shrink: 0;
}
.btn-nav:hover { background: var(--navy-dk); transform: translateY(-1px); }

/* Mobile-only CTA item — hidden on desktop, shown inside mobile drawer */
.nav-links li.mobile-cta { display: none; }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 6px;
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--off-white); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

/* Animated X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy-dp);
  min-height: 92vh;       /* fallback for browsers without svh support */
  min-height: 92svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 { width: clamp(240px,40vw,500px); height: clamp(240px,40vw,500px); background: rgba(241,167,175,.18); top: -80px; right: -80px; }
.hero-orb-2 { width: clamp(160px,25vw,300px); height: clamp(160px,25vw,300px); background: rgba(56,70,138,.5);   bottom: -40px; left: -40px; }

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  /* left text takes 55%, right column is spacer for the abs-positioned image */
  grid-template-columns: 55% 45%;
  align-items: center;
  padding-block: var(--sp-md);
  width: 100%;
}


.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-line { width: 32px; height: 2px; background: var(--coral); flex-shrink: 0; }
.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral-lt);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -.03em;
}
.hero h1 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--coral-lt); }

.hero-desc {
  font-size: clamp(.95rem, 1.5vw, 1.06rem);
  line-height: 1.75;
  color: rgba(255,255,255,.65);
  margin-bottom: 2.5rem;
  max-width: 480px;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero photo — full-height cutout, absolutely fills right side */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  pointer-events: none;
  z-index: 3;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

/* <img> fills the right column — PNG transparency shows through on navy bg */
.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Floating badge */
.hero-badge {
  position: absolute;
  bottom: 40px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: .875rem 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 4;
}
.hero-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--coral-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.hero-badge-num {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1;
}
.hero-badge-text { font-size: .72rem; color: var(--text-mid); font-weight: 500; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--coral); padding: clamp(1.5rem, 3vw, 2rem) 0; }

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

.stat-item {
  text-align: center;
  padding: .5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.25);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-num sup { font-size: .5em; }
.stat-lbl { font-size: clamp(.68rem, 1.2vw, .78rem); color: rgba(255,255,255,.8); margin-top: .3rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--sp-md) 0;
  background:
    radial-gradient(ellipse 65% 55% at 95% 5%,  rgba(246,91,106,.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 0%  92%,  rgba(255,255,255,.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 55% 45%,  rgba(255,255,255,.03) 0%, transparent 60%),
    var(--navy);
  position: relative;
  overflow: hidden;
}

/* Abstract dot-grid layer */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: 0;
}

/* Floating geometric ring — top-right corner */
.services::after {
  content: '';
  position: absolute;
  top: -130px;
  right: -90px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 72px solid rgba(255,255,255,.045);
  pointer-events: none;
  z-index: 0;
}

/* Lift container above pseudo-element layers */
.services > .container { position: relative; z-index: 1; }

/* Text colours on dark section bg */
.services .section-title { color: var(--white); }
.services .section-sub   { color: rgba(255,255,255,.72); }
.services .tag-navy {
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.18);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(56,70,138,.11); }
.service-card:hover::before { transform: scaleX(1); }
.service-card p,
.service-card .service-link { text-align: left; }

.service-icon {
  width: 56px; height: 56px;
  background: var(--coral-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--navy-dp);
  margin-bottom: .75rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-align: center;
}
.service-card p {
  font-size: .91rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: .81rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  transition: color var(--transition), gap var(--transition);
}
.service-link:hover { color: var(--coral); gap: .6rem; }

/* ============================================================
   BRAND PILLARS
   ============================================================ */
.pillars { padding: var(--sp-md) 0; background: var(--white); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.pillar {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--navy-dp); }
.pillar:hover .pillar-icon { background: rgba(241,167,175,.15); color: var(--coral-lt); }
.pillar:hover h3 { color: var(--white); }
.pillar:hover p  { color: rgba(255,255,255,.6); }

.pillar-icon {
  width: 48px; height: 48px;
  background: var(--coral-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  transition: background var(--transition), color var(--transition);
}
/* Centre icon + heading within each pillar */
.pillar-content { text-align: center; }
.pillar-content p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy-dp);
  margin-bottom: .5rem;
  transition: color var(--transition);
}
.pillar p {
  font-size: .84rem;
  color: var(--text-mid);
  line-height: 1.7;
  transition: color var(--transition);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: var(--sp-md) 0; background: var(--off-white); overflow: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: stretch;
}

/* Image column stretches to match text column height */
.about-imgs {
  position: relative;
  min-height: clamp(480px, 60vw, 720px);
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-photo-1 {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background-image: var(--img);
  background-size: cover;
  background-position: center top;
  box-shadow: none;
  border: none;
}

.about-photo-2 {
  width: 56%;
  position: absolute;
  bottom: 0; right: 0;
  border-radius: 16px;
  background-image: var(--img);
  background-size: cover;
  background-position: center top;
  box-shadow: 0 20px 40px rgba(56,70,138,.15);
  border: 4px solid var(--white);
  height: 56%;
}

.about-accent {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px; height: 72px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.625rem;
  font-family: var(--font-serif);
  box-shadow: 0 8px 30px rgba(241,167,175,.5);
  z-index: 2;
}

.about-text p {
  font-size: clamp(.94rem, 1.4vw, 1rem);
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.check-list {
  margin: 1.75rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .94rem;
  color: var(--text-mid);
}
.check-list li i { color: var(--coral); margin-top: 3px; font-size: .875rem; flex-shrink: 0; }

/* ============================================================
   GALLERY / EVENTS
   ============================================================ */
.gallery { padding: var(--sp-md) 0; background: var(--navy-dp); position: relative; z-index: 1; }
.gallery .section-title { color: var(--white); }
.gallery .section-sub   { color: rgba(255,255,255,.5); }

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 1rem;
  margin-top: 3rem;
  overflow: visible;
}

.gallery-item {
  border-radius: 12px;
  overflow: visible;
  position: relative;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,0,.2,1), box-shadow .35s cubic-bezier(.2,0,.2,1), z-index 0s;
  z-index: 1;
}
.gallery-item:hover {
  transform: scale(1.07);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  z-index: 10;
  border-radius: 14px;
}
.gallery-item.tall  { grid-row: span 2; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   PULL QUOTE
   ============================================================ */
.quote-section { background: var(--warm-gray); padding: var(--sp-sm) 0; }

.quote-inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 10vw, 7.5rem);
  color: var(--coral);
  line-height: .55;
  display: block;
  margin-bottom: 1rem;
}

.quote-text {
  font-family: var(--font-accent);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  color: var(--navy-dp);
  line-height: 1.55;
  margin-bottom: 2rem;
  font-style: italic;
}

.quote-attr {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================================
   TRAINING
   ============================================================ */
.training {
  padding: var(--sp-md) 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}
.training > .container { position: relative; z-index: 1; }

/* Training background wrap — covers intro + carousels + exec band + schedule */
.training-bg-wrap {
  position: relative;
}
.training-bg-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--peach);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.training-bg-wrap > * { position: relative; z-index: 1; }

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.training-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.training-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(56,70,138,.1); }

.training-icon {
  width: 52px; height: 52px;
  background: rgba(56,70,138,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.375rem;
  margin-bottom: 1.5rem;
}

.training-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy-dp);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.training-card p { font-size: .91rem; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   TRAINING — APPROACH CARDS
   ============================================================ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.approach-card {
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}
.approach-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}
.approach-card:nth-child(1)::after { background: var(--coral); }
.approach-card:nth-child(2)::after { background: var(--navy); }
.approach-card:nth-child(3)::after { background: var(--gold); }
.approach-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ac-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1.25rem;   /* centred */
}
.ac-coral { background: var(--coral-pale); color: var(--coral); }
.ac-navy  { background: rgba(54,73,142,.1); color: var(--navy); }
.ac-gold  { background: var(--gold-lt); color: var(--gold-dk); }
.approach-card p { font-size: .9rem; color: var(--text-mid); line-height: 1.7; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.approach-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: var(--navy-dp);
  margin-bottom: .65rem;
  line-height: 1.25;
  text-align: center;
}

/* ============================================================
   TRAINING — CATEGORY TOGGLE
   ============================================================ */
.cat-toggle {
  display: flex;
  background: var(--warm-gray);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  width: fit-content;
}
.cat-btn {
  padding: 9px 22px;
  border-radius: 7px;
  border: none;
  background: transparent;
  font-size: .875rem;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text-mid);
  cursor: pointer;
  transition: all .22s;
}
.cat-btn.active {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(54,73,142,.12);
}

/* ============================================================
   TRAINING — CAROUSEL SECTIONS
   ============================================================ */
.carousel-section { background: var(--off-white); padding: var(--sp-md) 0; position: relative; z-index: 1; }
.carousel-section-dark {
  background: var(--navy-dp);
  position: relative;
  overflow: hidden;
}
.carousel-section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.carousel-section-dark > .container { position: relative; z-index: 1; }
.carousel-section-dark .section-title { color: var(--white); }
.carousel-section-dark .section-sub   { color: rgba(255,255,255,.6); }
.carousel-section-dark .tag-navy {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.18);
}
.carousel-section-dark .cat-toggle { background: rgba(255,255,255,.07); }
.carousel-section-dark .cat-btn     { color: rgba(255,255,255,.6); }
.carousel-section-dark .cat-btn.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

.carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}
/* Centre the tag + title inside the carousel header text block */
.carousel-header > div:first-child { text-align: center; flex: 1; }
.carousel-header > div:first-child .section-title { text-align: center; }
.carousel-header > div:first-child .section-sub   { text-align: center; margin-inline: auto; }
.carousel-controls { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.carousel-nav { display: flex; gap: .625rem; }
.carousel-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.carousel-nav-btn:hover {
  background: var(--navy); border-color: var(--navy); color: var(--white);
}
.carousel-section-dark .carousel-nav-btn {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.65);
}
.carousel-section-dark .carousel-nav-btn:hover {
  background: var(--coral); border-color: var(--coral); color: var(--white);
}

/* Carousel track */
.carousel-wrap  { overflow: hidden; position: relative; }
.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Dots */
.carousel-dots { display: flex; gap: 6px; margin-top: 1.5rem; justify-content: center; }
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all .2s;
  border: none;
  padding: 0;
}
.carousel-dot.active { width: 22px; border-radius: 4px; background: var(--coral); }
.carousel-section-dark .carousel-dot { background: rgba(255,255,255,.2); }
.carousel-section-dark .carousel-dot.active { background: var(--coral); }

/* ============================================================
   TRAINING — COURSE CARD
   ============================================================ */
.course-card {
  min-width: 310px;
  max-width: 310px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  flex-shrink: 0;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(54,73,142,.13); }
.cc-header { padding: 1.75rem 1.75rem 1.25rem; position: relative; }
.cc-banner {
  background-image: var(--img);
  background-size: cover;
  background-position: right center;
  height: 150px;
  margin: -1.75rem -1.75rem 1.25rem;
}
.cc-banner-placeholder { background-image: linear-gradient(135deg, var(--navy-dp) 0%, var(--navy) 65%, var(--coral) 100%); }
.cc-badges { display: flex; gap: .5rem; margin-bottom: .875rem; flex-wrap: wrap; }
.badge-tier {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
}
.badge-general { background: var(--coral-pale); color: var(--coral); }
.badge-exec    { background: var(--gold-lt); color: var(--gold-dk); }
.badge-duration {
  background: rgba(54,73,142,.08);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.cc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.course-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dp);
  line-height: 1.25;
  margin-bottom: .5rem;
}
.cc-desc { font-size: .84rem; color: var(--text-mid); line-height: 1.65; }
.cc-body {
  padding: 0 1.75rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cc-modules {
  list-style: none;
  margin: 1rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.cc-modules li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.cc-modules li i { color: var(--coral); margin-top: 3px; font-size: .7rem; flex-shrink: 0; }
.cc-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cc-price { display: flex; flex-direction: column; }
.price-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.price-amount {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--navy-dp);
  line-height: 1;
  font-weight: 700;
}
.price-amount.exec-price { color: var(--gold-dk); }
.price-note { font-size: .7rem; color: var(--text-light); margin-top: 2px; }
.enrol-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .6rem 1.1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font);
}
.enrol-btn:hover { background: var(--navy-dk); transform: translateX(2px); }
.enrol-btn.exec {
  background: linear-gradient(135deg, var(--gold), #a8872e);
  box-shadow: 0 4px 14px rgba(201,168,76,.35);
}
.enrol-btn.exec:hover { box-shadow: 0 6px 20px rgba(201,168,76,.45); }

/* ============================================================
   TRAINING — EXECUTIVE HIGHLIGHT BAND
   ============================================================ */
.exec-band {
  background: linear-gradient(135deg, var(--navy-dp) 0%, var(--navy) 100%);
  padding: clamp(4rem, 8vw, 5rem) 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.exec-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.exec-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.exec-label {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.exec-band h2 { color: var(--white); margin-bottom: 1rem; }
.exec-band h2 em { color: var(--gold); font-family: var(--font-accent); font-style: italic; }
.exec-band p { color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.8; margin-bottom: 1.75rem; }
.exec-features { display: flex; flex-direction: column; gap: .875rem; }
.exec-feat { display: flex; align-items: flex-start; gap: .875rem; }
.exec-feat-icon {
  width: 36px; height: 36px;
  background: rgba(201,168,76,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.exec-feat-text h4 { font-size: .875rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.exec-feat-text p  { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.55; }
.exec-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.875rem;
  background: linear-gradient(135deg, var(--gold), #a8872e);
  color: var(--white);
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(201,168,76,.35);
  transition: all .25s;
  margin-top: 2.25rem;
  font-family: var(--font);
}
.exec-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,.45); }
.exec-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.exec-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.exec-stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--white);
  line-height: 1;
  font-weight: 700;
}
.exec-stat-num em { color: var(--gold); font-style: normal; }
.exec-stat-lbl { font-size: .82rem; color: rgba(255,255,255,.45); margin-top: .375rem; }

/* ============================================================
   TRAINING — CERTIFICATION PATHWAY
   ============================================================ */
.cert-track { background: var(--white); padding: var(--sp-md) 0; position: relative; z-index: 1; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.25rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--coral-pale), var(--navy), var(--coral-pale));
  z-index: 0;
}
.step { text-align: center; padding: 0 .75rem; position: relative; z-index: 1; }
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.125rem;
  border: 3px solid;
  background: var(--white);
}
.step:nth-child(1) .step-num { color: var(--coral);   border-color: var(--coral); }
.step:nth-child(2) .step-num { color: var(--navy);    border-color: var(--navy); }
.step:nth-child(3) .step-num { color: var(--coral);   border-color: var(--coral); }
.step:nth-child(4) .step-num { color: var(--gold);    border-color: var(--gold); }
.step h4 { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--navy-dp); margin-bottom: .5rem; }
.step p  { font-size: .84rem; color: var(--text-mid); line-height: 1.6; }

/* ============================================================
   TRAINING — UPCOMING SCHEDULE
   ============================================================ */
.upcoming-section { background: var(--off-white); padding: var(--sp-md) 0; position: relative; z-index: 1; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(54,73,142,.07);
}
.schedule-table thead { background: var(--navy-dp); }
.schedule-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 400;
}
.schedule-table td {
  padding: 1rem 1.25rem;
  font-size: .875rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--off-white); }
.sched-course-name { font-weight: 600; color: var(--navy-dp); }
.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 600;
  font-family: var(--font-mono);
}
.tier-g { background: var(--coral-pale); color: var(--coral); }
.tier-e { background: var(--gold-lt); color: var(--gold-dk); }
.status-open { color: var(--green); font-weight: 600; font-size: .82rem; }
.status-soon { color: var(--amber); font-weight: 600; font-size: .82rem; }
.reg-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: .4rem .875rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  font-family: var(--font);
}
.reg-btn:hover { background: var(--navy-dk); }
.reg-btn.exec  { background: linear-gradient(135deg, var(--gold), #a8872e); }

/* ============================================================
   TEAM
   ============================================================ */
.team {
  padding: var(--sp-md) 0;
  /* Office-feel background — richly layered so it shows through frosted cards */
  background-color: var(--team-bg);
  background-image:
    radial-gradient(ellipse 80% 55% at 15% 10%, rgba(56,70,138,.18) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 88% 88%, rgba(246,91,106,.13) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255,255,255,.12) 0%, transparent 60%),
    linear-gradient(150deg, #d8dcee 0%, #ece8e2 50%, #d6dbed 100%);
  position: relative;
  overflow: hidden;
}

/* Dot-grid overlay — office/boardroom texture */
.team::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(56,70,138,.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
/* Subtle line grid on top */
.team::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,70,138,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,70,138,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}
.team > .container { position: relative; z-index: 1; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
/* Center lone card when it wraps to its own row in a 3-col grid */
.team-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.team-card {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow:
    0 4px 16px rgba(56,70,138,.08),
    0 12px 40px rgba(56,70,138,.1),
    inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 8px 24px rgba(56,70,138,.12),
    0 32px 72px rgba(56,70,138,.2),
    inset 0 1px 0 rgba(255,255,255,.7);
  border-color: var(--coral-lt);
}

/* Photo wrapper — office blur frame */
.team-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

/* Blurred office background behind each portrait */
.team-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  background-image: var(--img);
  background-size: cover;
  background-position: center top;
  filter: blur(14px) brightness(.6) saturate(.5);
  transform: scale(1.08);
  z-index: 0;
}

/* Vignette to frame the portrait */
.team-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 85% at 50% 40%, transparent 55%, rgba(28,36,84,.45) 100%);
  z-index: 1;
  pointer-events: none;
}

.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: var(--img);
  background-size: cover;
  background-position: center top;
  z-index: 2;
  /* Slight drop-shadow so photo lifts off the blurred bg */
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.28));
  transition: transform .4s cubic-bezier(.2,0,.2,1);
}
.team-card:hover .team-photo { transform: scale(1.03); }

/* Office label strip at bottom of photo */
.team-photo-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: .875rem 1.125rem .625rem;
  background: linear-gradient(to top, rgba(28,36,84,.88) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  gap: .5rem;
}
.team-photo-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
  margin-bottom: 3px;
  box-shadow: 0 0 6px var(--coral);
}
.team-photo-label-text {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

.team-info { padding: 1.375rem 1.5rem 1.5rem; }

.team-name {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy-dp);
  margin-bottom: .3rem;
  line-height: 1.15;
}

.team-role {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.team-role-coral { background: var(--coral-pale); color: var(--coral); }
.team-role-navy  { background: rgba(56,70,138,.08); color: var(--navy); }

.team-bio {
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.team-certs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.team-cert {
  font-size: .68rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.cert-coral { background: rgba(232,141,151,.1); color: var(--coral); border: 1px solid rgba(232,141,151,.25); }
.cert-navy  { background: rgba(56,70,138,.08);  color: var(--navy); border: 1px solid rgba(56,70,138,.2); }

/* ============================================================
   CONTACT FORM (inside .cta-band)
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  text-align: left;
  max-width: 1000px;
  margin-inline: auto;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 1.25rem 1.25rem;
}

.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--coral-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--coral);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: .72rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .25rem; }
.contact-item a,
.contact-item p { font-size: .94rem; color: rgba(255,255,255,.88); margin: 0; line-height: 1.6; }
.contact-item a:hover { color: var(--coral-lt); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy-dp);
  margin-bottom: .5rem;
}
.contact-form-wrap p { font-size: .88rem; color: var(--text-mid); margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.form-group { margin-bottom: .875rem; }
.form-group label { display: block; font-size: .72rem; font-weight: 600; color: var(--navy-dp); margin-bottom: .35rem; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: .94rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,141,151,.15);
  background: var(--white);
}
.form-group textarea { min-height: 110px; resize: vertical; }

.form-submit { width: 100%; margin-top: .25rem; }

/* ============================================================
   RESOURCES SECTION
   ============================================================ */
.resources { padding: var(--sp-md) 0; background: var(--off-white); }

/* Stats strip */
.resource-stats-bar { background: var(--coral); padding: 1.5rem 0; }
.rstat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.rstat {
  text-align: center;
  padding: .375rem 1.25rem;
  border-right: 1px solid rgba(255,255,255,.25);
}
.rstat:last-child { border-right: none; }
.rstat-num {
  font-family: var(--font-serif);
  font-size: 2.125rem;
  color: var(--white);
  line-height: 1;
  font-weight: 700;
}
.rstat-lbl { font-size: .78rem; color: rgba(255,255,255,.8); margin-top: .25rem; }

/* Sticky filter bar */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.search-box {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex: 1;
  min-width: 180px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 1rem;
  height: 40px;
}
.search-box input {
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: .875rem;
  color: var(--text);
  outline: none;
  flex: 1;
  min-width: 0;
}
.search-box i { color: var(--text-light); font-size: .875rem; }
.filter-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.fpill {
  padding: .5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.fpill:hover { border-color: var(--navy); color: var(--navy); }
.fpill.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.res-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5625rem 1.125rem;
  background: var(--coral);
  color: var(--white);
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition: all .2s;
  white-space: nowrap;
}
.res-submit-btn:hover { filter: brightness(1.1); }

/* Section header row */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.view-all {
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  white-space: nowrap;
}
.view-all:hover { color: var(--coral); }

/* Article cards */
.articles-section { background: var(--off-white); padding: var(--sp-sm) 0; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.375rem;
}
.article-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  cursor: pointer;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--navy-dp), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.article-thumb.coral  { background: linear-gradient(135deg, #c23c4a, var(--coral)); }
.article-thumb.gold   { background: linear-gradient(135deg, #a8872e, var(--gold)); }
.article-thumb.green  { background: linear-gradient(135deg, #27500a, #3b6d11); }
.article-thumb.brown  { background: linear-gradient(135deg, #412402, #633806); }
.article-thumb-icon {
  font-size: 2.625rem;
  opacity: .18;
  position: absolute;
  right: 1.25rem;
  bottom: .625rem;
}
.article-thumb-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.article-thumb-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.3;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
  max-width: 85%;
  font-weight: 700;
}
.ac-meta { padding: 1.125rem 1.25rem; display: flex; flex-direction: column; gap: .625rem; flex: 1; }
.ac-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.ac-tag {
  font-size: .65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ac-tag-dp    { background: var(--coral-pale); color: var(--coral); }
.ac-tag-ai    { background: rgba(54,73,142,.1); color: var(--navy); }
.ac-tag-cyber { background: var(--green-lt); color: var(--green); }
.ac-tag-policy{ background: var(--gold-lt); color: var(--gold-dk); }
.ac-excerpt { font-size: .84rem; color: var(--text-mid); line-height: 1.65; flex: 1; }
.ac-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.ac-date { font-size: .72rem; color: var(--text-light); font-family: var(--font-mono); }
.ac-read {
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ac-read:hover { color: var(--coral); }

/* Templates section */
.templates-section { background: var(--white); padding: var(--sp-sm) 0; }
.tier-group { margin-bottom: 3.75rem; }
.tier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--border);
}
.tier-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.tier-icon-coral { background: var(--coral-pale); color: var(--coral); }
.tier-icon-gold  { background: var(--gold-lt);   color: var(--gold-dk); }
.tier-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--navy-dp);
  font-weight: 700;
}
.tier-tier-badge {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  margin-left: .625rem;
}
.tier-desc { font-size: .84rem; color: var(--text-mid); margin-top: 3px; }
.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}
.tpl-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.375rem 1.375rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.tpl-card:hover {
  background: var(--white);
  border-color: rgba(54,73,142,.22);
  box-shadow: 0 8px 24px rgba(54,73,142,.09);
  transform: translateY(-3px);
}
.tpl-card.premium { background: var(--white); border-color: rgba(201,168,76,.28); }
.tpl-card.premium:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(201,168,76,.15); }
.tpl-premium-badge {
  position: absolute;
  top: .875rem; right: .875rem;
  background: linear-gradient(135deg, var(--gold), #a8872e);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.tpl-icon {
  width: 40px; height: 40px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.tpl-icon-coral { background: var(--coral-pale); color: var(--coral); }
.tpl-icon-gold  { background: var(--gold-lt);    color: var(--gold-dk); }
.tpl-top { display: flex; align-items: flex-start; gap: .75rem; }
.tpl-info { flex: 1; min-width: 0; }
.tpl-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy-dp);
  line-height: 1.25;
  margin-bottom: 4px;
  font-weight: 700;
}
.tpl-desc { font-size: .78rem; color: var(--text-mid); line-height: 1.6; }
.tpl-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.tpl-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.tpl-tag {
  font-size: .62rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tpl-tag-word  { background: rgba(54,73,142,.09); color: var(--navy); }
.tpl-tag-pdf   { background: var(--coral-pale); color: var(--coral); }
.tpl-tag-excel { background: var(--green-lt); color: var(--green); }
.tpl-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.tpl-price { display: flex; flex-direction: column; }
.tpl-price-label {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.tpl-price-amount {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--navy-dp);
  line-height: 1.1;
  font-weight: 700;
}
.tpl-price-amount.free      { color: var(--green); font-size: 1.1rem; }
.tpl-price-amount.premium-p { color: var(--gold-dk); }
.tpl-price-note { font-size: .65rem; color: var(--text-light); margin-top: 1px; }
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: .5625rem 1rem;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition: all .2s;
}
.dl-btn-free    { background: var(--navy); color: var(--white); }
.dl-btn-free:hover { background: var(--navy-dk); }
.dl-btn-premium {
  background: linear-gradient(135deg, var(--gold), #a8872e);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(201,168,76,.3);
}
.dl-btn-premium:hover { box-shadow: 0 6px 20px rgba(201,168,76,.4); transform: translateY(-1px); }

/* Upload section */
.upload-section {
  background: var(--navy-dp);
  padding: var(--sp-sm) 0;
  position: relative;
  overflow: hidden;
}
.upload-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 3.75rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.upload-left h2 { color: var(--white); margin-bottom: .875rem; }
.upload-left h2 em { color: var(--coral); font-family: var(--font-accent); font-style: italic; }
.upload-left > p { color: rgba(255,255,255,.55); font-size: 1rem; line-height: 1.8; margin-bottom: 1.75rem; }
.upload-types { display: flex; flex-direction: column; gap: .75rem; }
.upload-type { display: flex; align-items: flex-start; gap: .75rem; }
.ut-icon {
  width: 36px; height: 36px;
  background: rgba(246,91,106,.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--coral);
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.ut-text h4 { font-size: .875rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.ut-text p  { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.55; }
.upload-panel {
  background: rgba(255,255,255,.04);
  border: 1.5px dashed rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 2.25rem;
}
.upload-panel.drag-active { border-color: var(--coral); background: rgba(246,91,106,.07); }
.upload-dropzone { text-align: center; margin-bottom: 1.75rem; cursor: pointer; }
.upload-dropzone input[type=file] { display: none; }
.drop-icon {
  width: 64px; height: 64px;
  background: rgba(246,91,106,.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  color: var(--coral);
}
.drop-title { font-family: var(--font-serif); font-size: 1.25rem; color: var(--white); margin-bottom: .5rem; font-weight: 700; }
.drop-sub { font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.drop-sub span { color: var(--coral); cursor: pointer; font-weight: 600; }
.upload-form { display: flex; flex-direction: column; gap: 1rem; }
.upload-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; }
.upload-form .form-group { display: flex; flex-direction: column; gap: .4rem; }
.upload-form .form-group label {
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.upload-form .form-group input,
.upload-form .form-group select,
.upload-form .form-group textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: .6875rem .875rem;
  font-family: var(--font);
  font-size: .875rem;
  color: var(--white);
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.upload-form .form-group input::placeholder,
.upload-form .form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.upload-form .form-group input:focus,
.upload-form .form-group select:focus,
.upload-form .form-group textarea:focus { border-color: var(--coral); }
.upload-form .form-group select option { background: var(--navy-dp); color: var(--white); }
.upload-form .form-group textarea { resize: vertical; min-height: 80px; }
.price-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.ptoggle {
  padding: .75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: transparent;
  color: rgba(255,255,255,.5);
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.ptoggle:hover { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.8); }
.ptoggle.selected-free { background: rgba(22,163,74,.15); border-color: var(--green); color: #86efac; }
.ptoggle.selected-paid { background: rgba(201,168,76,.12); border-color: var(--gold);  color: #fde68a; }
.upload-submit {
  width: 100%;
  padding: .875rem;
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: 9px;
  font-family: var(--font);
  font-size: .94rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  margin-top: .25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
}
.upload-submit:hover { filter: brightness(1.1); }
.file-preview {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .75rem 1rem;
  display: none;
  align-items: center;
  gap: .75rem;
  margin-bottom: .25rem;
}
.file-preview.visible { display: flex; }
.file-preview i { color: var(--coral); font-size: 1.125rem; }
.file-preview-name { font-size: .82rem; color: var(--white); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-preview-size { font-size: .75rem; color: rgba(255,255,255,.35); font-family: var(--font-mono); }
.file-remove { color: rgba(255,255,255,.35); cursor: pointer; font-size: .875rem; transition: color .2s; }
.file-remove:hover { color: var(--coral); }

/* Template & upload modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,.72);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform .3s;
  box-shadow: 0 20px 60px rgba(26,26,46,.2);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-header {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  transition: all .2s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--off-white); }
.modal-body { padding: 1.5rem 1.75rem 1.75rem; }
.modal-tpl-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}
.modal-box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy-dp);
  margin-bottom: .5rem;
  font-weight: 700;
}
.modal-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.125rem; }
.modal-desc { font-size: .94rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1.25rem; }
.modal-includes {
  background: var(--off-white);
  border-radius: 10px;
  padding: 1.125rem 1.25rem;
  margin-bottom: 1.5rem;
}
.modal-includes h4 {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .75rem;
}
.modal-includes ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.modal-includes li {
  display: flex;
  align-items: flex-start;
  gap: .5625rem;
  font-size: .875rem;
  color: var(--text-mid);
}
.modal-includes li i { color: var(--coral); margin-top: 3px; font-size: .75rem; flex-shrink: 0; }
.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.modal-price {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--navy-dp);
  font-weight: 700;
}
.modal-price.gold   { color: var(--gold-dk); }
.modal-price.free-c { color: var(--green); }
.modal-actions { display: flex; gap: .625rem; flex-wrap: wrap; }
.btn-modal-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8125rem 1.625rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-dl  { background: var(--navy); color: var(--white); }
.btn-dl:hover { background: var(--navy-dk); }
.btn-buy {
  background: linear-gradient(135deg, var(--gold), #a8872e);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,168,76,.35);
}
.btn-buy:hover { box-shadow: 0 6px 24px rgba(201,168,76,.45); transform: translateY(-1px); }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy-dp);
  color: var(--white);
  padding: .875rem 1.5rem;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .625rem;
  z-index: 3000;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 20px 60px rgba(26,26,46,.2);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast i { color: var(--coral); }

/* ============================================================
   EVENTS & OUTREACH
   ============================================================ */

/* Events background wrapper */
.events-bg-wrap {
  position: relative;
  background-image: url('images/background-events.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.events-bg-wrap > * { position: relative; z-index: 1; }

/* Make child section backgrounds semi-transparent so the events image shows through */
.events-bg-wrap .events-impact-bar {
  background: rgba(232,141,151,.85);
}
.events-bg-wrap .csr-section {
  background: rgba(246,247,251,.82);
}
.events-bg-wrap .events-upcoming-section {
  background: rgba(28,36,84,.82);
}
.events-bg-wrap .past-events-section {
  background: rgba(255,255,255,.82);
}
.events-bg-wrap .gallery {
  background: rgba(28,36,84,.85);
}
.events-bg-wrap .partner-section-ev {
  background: rgba(246,247,251,.82);
}

/* Impact bar */
.events-impact-bar {
  background: var(--coral);
  padding: 2.5rem 0;
}
.impact-grid-ev {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.impact-stat-ev { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.impact-num-ev {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.impact-lbl-ev {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
}

/* CSR Mission */
.csr-section {
  padding: var(--sp-md) 0;
  background: var(--off-white);
}
.csr-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.csr-img-wrap {
  position: relative;
  height: 480px;
}
.csr-img-main {
  position: absolute;
  inset: 0 80px 60px 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center top;
  border-radius: 1rem;
}
.csr-img-sm {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  aspect-ratio: 4/3;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  border-radius: .875rem;
  border: 4px solid var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.csr-accent-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  padding: .35rem .75rem;
  border-radius: 999px;
  z-index: 2;
}
.csr-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}
.csr-eyebrow-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  flex-shrink: 0;
}
.csr-text > p { color: var(--text-mid); line-height: 1.75; margin-bottom: 1rem; }
.csr-pillars { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.csr-pillar { display: flex; align-items: flex-start; gap: 1rem; }
.csr-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: .625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pi-coral { background: var(--coral-pale); color: var(--coral); }
.pi-navy  { background: rgba(56,70,138,.12); color: var(--navy); }
.pi-gold  { background: var(--gold-lt); color: var(--gold-dk); }
.csr-pillar-text h4 { font-size: .95rem; color: var(--navy); margin-bottom: .3rem; }
.csr-pillar-text p  { font-size: .875rem; color: var(--text-mid); margin: 0; line-height: 1.65; }

/* Upcoming events */
.events-upcoming-section {
  background: var(--navy-dp);
  padding: var(--sp-md) 0;
}
.events-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}
.events-eyebrow.white { color: var(--coral); }
.events-eyebrow-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  flex-shrink: 0;
}
.upcoming-grid-ev {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.upcoming-card-ev {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 1rem;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2,0,.2,1), box-shadow .35s cubic-bezier(.2,0,.2,1);
  z-index: 1;
}
.upcoming-card-ev:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 28px 64px rgba(0,0,0,.4);
  z-index: 10;
  border-radius: 1rem;
}
/* clip inner content (thumb) to card corners */
.upcoming-card-ev > .uc-thumb-ev {
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}
.uc-thumb-ev {
  position: relative;
  height: 200px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition: background-size .35s ease;
}
.upcoming-card-ev:hover .uc-thumb-ev {
  background-size: 110%;
}
.uc-thumb-ev::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(28,36,84,.7));
}
.uc-date-chip-ev {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  background: var(--coral);
  border-radius: .5rem;
  padding: .4rem .6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.uc-day { font-family: var(--font-serif); font-size: 1.3rem; color: var(--white); }
.uc-mon { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .05em; color: rgba(255,255,255,.85); text-transform: uppercase; }
.uc-type-badge-ev {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 999px;
}
.badge-upcoming-ev { background: rgba(255,255,255,.15); color: var(--white); border: 1px solid rgba(255,255,255,.25); }
.uc-body-ev { padding: 1.25rem 1.25rem .875rem; flex: 1; }
.uc-venue-ev {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .625rem;
}
.uc-title-ev {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: .625rem;
}
.uc-desc-ev { font-size: .845rem; color: rgba(255,255,255,.6); line-height: 1.65; }
.uc-footer-ev {
  padding: .875rem 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.uc-attendees-ev {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .05em;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: .4rem;
  text-transform: uppercase;
}
.ev-register-btn {
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: .5rem;
  padding: .55rem 1rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: filter .2s, transform .2s;
}
.ev-register-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Past events */
.past-events-section {
  background: var(--white);
  padding: var(--sp-md) 0;
}
.past-featured-ev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.past-featured-img-ev {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 320px;
}
.past-feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,36,84,.85) 0%, transparent 55%);
}
.past-feat-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}
.past-feat-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .5rem;
}
.past-feat-meta p { font-size: .845rem; color: rgba(255,255,255,.72); line-height: 1.6; margin-bottom: .625rem; }
.pf-date-ev { font-family: var(--font-mono); font-size: .68rem; color: var(--coral); letter-spacing: .05em; }
.pf-tag-ev {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.pf-tag-coral-ev { background: var(--coral); color: var(--white); }
.past-featured-side-ev { display: flex; flex-direction: column; gap: 1rem; }
.past-side-card-ev {
  display: flex;
  gap: .875rem;
  background: var(--off-white);
  border-radius: .875rem;
  overflow: hidden;
  flex: 1;
}
.psc-img-ev {
  width: 100px;
  flex-shrink: 0;
  min-height: 90px;
}
.psc-body-ev { padding: .875rem .875rem .875rem 0; display: flex; flex-direction: column; justify-content: center; gap: .3rem; }
.psc-tag-ev {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 999px;
  margin-bottom: .2rem;
}
.psc-title-ev { font-size: .875rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.psc-loc-ev   { font-size: .75rem; color: var(--text-mid); display: flex; align-items: center; gap: .3rem; }
.psc-date-ev  { font-family: var(--font-mono); font-size: .65rem; color: var(--coral); letter-spacing: .04em; }

/* Past events grid */
.past-grid-ev {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: .25rem;
}
.past-card-ev {
  border-radius: .875rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  transition: transform .25s, box-shadow .25s;
}
.past-card-ev:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.09);
}
.pc-img-ev { width: 100%; aspect-ratio: 3/2; }
.pc-body-ev { padding: 1rem; }
.pc-tag-ev {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 999px;
  margin-bottom: .5rem;
}
.pc-title-ev { font-size: .875rem; font-weight: 600; color: var(--navy); line-height: 1.35; margin-bottom: .4rem; }
.pc-loc-ev   { font-size: .75rem; color: var(--text-mid); display: flex; align-items: center; gap: .3rem; margin-bottom: .25rem; }
.pc-date-ev  { font-family: var(--font-mono); font-size: .65rem; color: var(--coral); letter-spacing: .04em; }

/* Get involved / partner section */
.partner-section-ev {
  background: var(--off-white);
  padding: var(--sp-md) 0;
}
.partner-grid-ev {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.partner-card-ev {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--warm-gray);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.partner-card-ev:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
}
.pce-icon {
  width: 52px;
  height: 52px;
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.pci-coral { background: var(--coral-pale); color: var(--coral); }
.pci-navy  { background: rgba(56,70,138,.12); color: var(--navy); }
.pci-gold  { background: var(--gold-lt); color: var(--gold-dk); }
.partner-card-ev h3 { font-size: 1.05rem; color: var(--navy); margin: 0; }
.partner-card-ev p  { font-size: .875rem; color: var(--text-mid); line-height: 1.7; margin: 0; flex: 1; }
.pce-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  padding: .55rem 1.1rem;
  border-radius: .5rem;
  transition: filter .2s, transform .2s;
  align-self: flex-start;
}
.pce-link:hover { filter: brightness(1.1); transform: translateX(2px); }
.pce-coral { background: var(--coral-pale); color: var(--coral); }
.pce-navy  { background: rgba(56,70,138,.12); color: var(--navy); }
.pce-gold  { background: var(--gold-lt); color: var(--gold-dk); }

/* Event modal type badge */
.modal-event-type-ev {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: .5rem;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: var(--sp-md) 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.cta-band .section-title { color: var(--white); position: relative; z-index: 1; margin-bottom: 1rem; }

.cta-band p {
  color: rgba(255,255,255,.6);
  font-size: clamp(.94rem, 1.5vw, 1.06rem);
  margin: 0 auto 2.5rem;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

/* The white form card sits inside .cta-band — restore dark text there */
.cta-band .contact-form-wrap p {
  color: var(--text-mid);
  font-size: .88rem;
  margin: 0 0 1.5rem;
  max-width: none;
}

.cta-band .btn { position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-dp); padding: var(--sp-sm) 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.75rem);
  padding-bottom: 3.75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-law { color: var(--white); }

.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  margin-top: .75rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .625rem; }
.footer-col ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
  display: block;
  padding-block: .15rem;
}
.footer-col ul a:hover { color: var(--coral-lt); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: .5rem;
}

.social-links { display: flex; gap: .875rem; margin-top: 1.5rem; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: .875rem;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-links a:hover {
  border-color: var(--coral-lt);
  color: var(--coral-lt);
  background: rgba(241,167,175,.08);
}

/* WhatsApp community links */
.footer-communities {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.footer-community-label {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: .25rem;
}
.footer-community-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.22);
  color: rgba(37,211,102,.9);
  border-radius: 8px;
  padding: .5rem .875rem;
  font-size: .8rem;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.footer-community-link i { font-size: 1rem; }
.footer-community-link:hover {
  background: rgba(37,211,102,.2);
  border-color: rgba(37,211,102,.4);
  color: #25d366;
}

/* ============================================================
   RESPONSIVE — Large tablet  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Grids */
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .training-grid  { grid-template-columns: repeat(2, 1fr); }
  .approach-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .steps-grid::before { display: none; }
  .articles-grid  { grid-template-columns: repeat(2, 1fr); }
  .templates-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid      { grid-template-columns: repeat(2, 1fr); }
  .team-card:last-child:nth-child(3n + 1) { grid-column: auto; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }

  /* Exec band */
  .exec-inner     { grid-template-columns: 1fr; }
  .exec-stats     { grid-template-columns: repeat(4, 1fr); }

  /* Upload / resources */
  .upload-grid    { grid-template-columns: 1fr; }
  .rstat-grid     { grid-template-columns: repeat(2, 1fr); }
  .rstat          { border-bottom: 1px solid rgba(255,255,255,.14); border-right: none; }
  .rstat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.25); }

  /* Pillars */
  .pillars-grid         { grid-template-columns: repeat(2, 1fr); }
  .pillar               { border-bottom: 1px solid var(--border); }
  .pillar:nth-child(2)  { border-right: none; }
  .pillar:nth-child(3)  { border-bottom: none; }
  .pillar:nth-child(4)  { border-right: none; border-bottom: none; }

  /* Events */
  .impact-grid-ev        { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .csr-inner             { gap: 2rem; }
  .upcoming-grid-ev      { grid-template-columns: repeat(2, 1fr); }
  .past-featured-ev      { grid-template-columns: 1fr; }
  .past-featured-img-ev  { min-height: 380px; }
  .past-featured-side-ev { flex-direction: row; }
  .past-side-card-ev     { flex: 1; }
  .past-grid-ev          { grid-template-columns: repeat(2, 1fr); }
  .partner-grid-ev       { gap: 1.25rem; }
}

/* ============================================================
   RESPONSIVE — Tablet  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Spacing */
  :root {
    --nav-h: 64px;
    --sp-sm: clamp(2.25rem, 5vw, 3.5rem);
    --sp-md: clamp(3rem,    7vw, 5rem);
    --sp-lg: clamp(3.75rem, 9vw, 6rem);
  }

  /* Nav — hamburger */
  .nav-toggle   { display: flex; }
  .nav-cta-wrap { display: none; }
  .logo-img     { height: 52px; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--coral);
    box-shadow: 0 16px 40px rgba(0,0,0,.1);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .38s cubic-bezier(.4,0,.2,1),
                opacity .28s cubic-bezier(.4,0,.2,1);
  }
  .nav-links.open {
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li      { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a       { padding: 1rem 1.5rem; font-size: .95rem; min-height: 52px; width: 100%; }
  .nav-links li.mobile-cta { display: block; border-bottom: none; padding: 1rem 1.5rem; }

  /* Hero — stack image above text on tablet/mobile */
  .hero         { min-height: auto; padding-block: 0; flex-direction: column; align-items: stretch; }
  .hero-content { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-content > [aria-hidden="true"] { display: none; }
  .hero-left    { min-width: 0; max-width: 100%; }
  .hero h1      { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-desc    { margin-inline: auto; max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-eyebrow      { justify-content: center; flex-wrap: wrap; }
  .hero-eyebrow-text { flex: 1; min-width: 0; overflow-wrap: break-word; }
  .hero-visual  { position: static; width: 100%; height: 340px; margin-bottom: 0; z-index: 1; order: -1; overflow: hidden; }
  .hero-photo-wrap { width: 100%; height: 100%; }
  .hero-photo-img  { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .hero-badge   { display: none; }

  /* Stats */
  .stats-bar    { padding: 1.5rem 0; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .stat-item    { border-bottom: 1px solid rgba(255,255,255,.18); border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.25); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4)   { border-bottom: none; }

  /* About */
  .about-grid    { grid-template-columns: minmax(0, 1fr); align-items: flex-start; }
  .about-imgs    { min-height: 340px; height: 340px; position: relative; min-width: 0; }
  .about-photo-1 { position: absolute; inset: 0; border-radius: 12px; }
  .about-text    { justify-content: flex-start; min-width: 0; }
  .about-accent  { display: none; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }
  .gallery-item.tall { grid-row: span 2; }

  /* Training */
  .training-grid   { grid-template-columns: 1fr 1fr; }
  .approach-grid   { grid-template-columns: 1fr; }
  .carousel-header { flex-direction: column; align-items: flex-start; }
  .course-card     { min-width: 280px; max-width: 280px; }
  .exec-stats      { grid-template-columns: repeat(2, 1fr); }

  /* Grids */
  .articles-grid  { grid-template-columns: 1fr; }
  .templates-grid { grid-template-columns: 1fr; }
  .filter-inner   { flex-direction: column; align-items: stretch; }
  .upload-form .form-row { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-info-block, .contact-form-wrap { min-width: 0; }
  .form-row       { grid-template-columns: 1fr; }

  /* Resources */
  .rstat-num { font-size: 1.75rem; }

  /* Section */
  .section-header { margin-bottom: clamp(2rem, 4vw, 3rem); }

  /* Modal */
  .modal-box    { border-radius: 14px; }
  .modal-header { padding: 1.25rem 1.25rem 1rem; }
  .modal-body   { padding: 1.125rem 1.25rem 1.5rem; }

  /* Upload */
  .upload-panel { padding: 1.5rem; }

  /* Toast */
  .toast { white-space: normal; max-width: calc(100vw - 2rem); text-align: center; }

  /* Cookie / privacy modals */
  .cookie-banner-inner   { gap: 1rem; }
  .cookie-banner-actions { width: 100%; justify-content: flex-end; }
  .cookie-prefs-footer   { justify-content: flex-end; }
  .pp-body   { max-height: 60vh; padding: 1.375rem; }
  .pp-header { padding: 1.375rem; }

  /* Events */
  .impact-grid-ev        { grid-template-columns: repeat(2, 1fr); }
  .csr-inner             { grid-template-columns: 1fr; }
  .csr-img-wrap          { height: 340px; }
  .upcoming-grid-ev      { grid-template-columns: 1fr; }
  .past-featured-side-ev { flex-direction: column; }
  .partner-grid-ev       { grid-template-columns: 1fr; }
  .uc-footer-ev          { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — Mobile  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  /* Spacing */
  :root {
    --nav-h: 60px;
    --sp-xs: 1.75rem;
    --sp-sm: 2.25rem;
    --sp-md: 2.75rem;
    --sp-lg: 3.5rem;
  }

  /* Topbar */
  .topbar { font-size: .65rem; padding: .5rem 1rem; }

  /* Nav */
  .logo-img         { height: 44px; }
  .nav-links.open   { max-height: 520px; }
  .nav-links a      { font-size: .9rem; padding: .875rem 1.25rem; min-height: 48px; }

  /* Hero */
  .hero h1           { font-size: clamp(1.75rem, 8vw, 2.5rem); letter-spacing: -.02em; }
  .hero-desc         { font-size: .9rem; margin-bottom: 1.75rem; }
  .hero-visual       { height: 220px; }
  .hero-badge        { display: none; }
  .hero-eyebrow-text { font-size: .65rem; }
  .hero-actions      { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Page hero — smaller heading on mobile so long titles don't overflow */
  .page-hero h1      { font-size: clamp(1.6rem, 6.5vw, 1.9rem); }

  /* Stats */
  .stats-bar  { padding: 1.25rem 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item  { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.18); padding: .75rem 1rem; }
  .stat-item:last-child { border-bottom: none; }

  /* Section */
  .section-header { margin-bottom: 1.75rem; }
  .section-title  { letter-spacing: -.02em; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card  { padding: 1.25rem; border-radius: 12px; }
  .service-icon  { width: 44px; height: 44px; margin-bottom: 1rem; font-size: 1.125rem; }

  /* Pillars */
  .pillars-grid      { grid-template-columns: 1fr; border-radius: 12px; }
  .pillar            { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.125rem; border-right: none !important; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
  .pillar-icon       { margin-bottom: 0; flex-shrink: 0; }
  .pillar-content    { flex: 1; }

  /* About */
  .about-imgs    { height: 220px; min-height: 220px; }
  .about-photo-2 { display: none; }

  /* Gallery */
  .gallery-grid      { grid-template-columns: 1fr; grid-template-rows: auto; gap: .625rem; }
  .gallery-item      { height: 170px; }
  .gallery-item.tall { grid-row: span 1; height: 220px; }

  /* Quote */
  .quote-mark { font-size: 4rem; }
  .quote-text { font-size: 1.125rem; }

  /* Training */
  .training-grid  { grid-template-columns: 1fr; }
  .approach-grid  { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr 1fr; }
  .exec-stats     { grid-template-columns: 1fr 1fr; }
  .course-card    { min-width: 240px; max-width: 240px; }
  .schedule-table { font-size: .78rem; }
  .schedule-table th, .schedule-table td { padding: .75rem; }

  /* Resources */
  .rstat-num      { font-size: 1.5rem; }
  .rstat          { padding: .375rem .75rem; }
  .fpill          { font-size: .7rem; padding: .45rem .8rem; }
  .templates-grid { gap: .75rem; }
  .tpl-card       { padding: 1.125rem 1.125rem .875rem; }
  .team-grid      { grid-template-columns: 1fr; }

  /* Upload */
  .upload-panel { padding: 1.25rem; }
  .drop-icon    { width: 52px; height: 52px; font-size: 1.375rem; }
  .drop-title   { font-size: 1.05rem; }

  /* Contact */
  .cta-band           { padding-block: var(--sp-sm); }
  .cta-band .btn      { width: min(100%, 320px); }
  .contact-item       { padding: 1rem; }
  .contact-item-icon  { width: 38px; height: 38px; font-size: .95rem; }
  .contact-form-wrap  { padding: 1.25rem; border-radius: 12px; }

  /* Footer */
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-tagline { max-width: 100%; }
  .footer-col h4  { margin-bottom: .75rem; }
  .footer-bottom  { flex-direction: column; gap: .5rem; text-align: center; }
  .footer-legal-links { justify-content: center; }

  /* Toast */
  .toast { white-space: normal; max-width: calc(100vw - 2rem); bottom: 1rem; text-align: left; padding: .75rem 1.125rem; font-size: .82rem; }

  /* Modal */
  .modal-overlay  { padding: .75rem; align-items: flex-end; }
  .modal-box      { border-radius: 16px 16px 12px 12px; max-height: 92vh; }
  .modal-header   { padding: 1.125rem 1.125rem .875rem; }
  .modal-body     { padding: 1rem 1.125rem 1.375rem; }
  .modal-box h3   { font-size: 1.25rem; }
  .modal-price    { font-size: 1.5rem; }
  .modal-actions  { flex-direction: column; }
  .modal-actions .btn-modal-primary { width: 100%; justify-content: center; }

  /* Cookie / privacy modals */
  .cookie-banner-actions  { justify-content: stretch; }
  .cookie-btn             { flex: 1; justify-content: center; text-align: center; }
  .cookie-prefs-box       { border-radius: 14px; padding: 1.25rem; max-height: 92vh; overflow-y: auto; }
  .pp-box    { border-radius: 14px 14px 0 0; max-height: 92vh; }
  .pp-header { padding: 1.125rem; }
  .pp-body   { padding: 1.125rem; max-height: 62vh; }

  /* Buttons */
  .btn    { padding: .75rem 1.25rem; font-size: .875rem; }
  .btn-lg { padding: .875rem 1.5rem; font-size: .9rem; }
}

/* ============================================================
   RESPONSIVE — Very small phones  (≤ 360px)
   ============================================================ */
@media (max-width: 360px) {
  :root {
    --nav-h: 56px;
    --sp-sm: 2rem;
    --sp-md: 2.5rem;
    --sp-lg: 3rem;
  }

  .topbar        { display: none; }
  .logo-sub      { display: none; }
  .logo-img      { height: 38px; }
  .hero h1       { font-size: 1.5rem; }
  .hero-desc     { font-size: .85rem; }
  .hero-visual   { height: 170px; }
  .page-hero h1  { font-size: 1.35rem; }
  .stat-num      { font-size: 1.5rem; }
  .section-title { font-size: 1.5rem; }
  .service-card h3   { font-size: .95rem; }
  .training-card h3  { font-size: .95rem; }
  .contact-form-wrap { padding: 1rem; }
  .gallery-item      { height: 150px; }
  .gallery-item.tall { height: 190px; }
  .quote-text        { font-size: 1rem; }
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy-dp);
  border-top: 3px solid var(--coral);
  z-index: 4000;
  padding: 1.125rem 0;
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.2, 0, .2, 1);
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  width: min(1160px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cookie-banner-icon {
  font-size: 1.75rem;
  color: var(--coral);
  flex-shrink: 0;
}

.cookie-banner-text {
  flex: 1;
  min-width: 220px;
}
.cookie-banner-text strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  font-family: var(--font);
  font-weight: 600;
  margin-bottom: .2rem;
}
.cookie-banner-text p {
  font-size: .83rem;
  color: rgba(255, 255, 255, .7);
  margin: 0;
  line-height: 1.55;
}
.cookie-text-link {
  background: none;
  border: none;
  color: var(--coral-lt);
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-text-link:hover { color: #fff; }

.cookie-banner-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Shared cookie button base */
.cookie-btn {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .03em;
  border-radius: 8px;
  padding: .5625rem 1rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn:active { transform: translateY(0); }

.cookie-btn-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
.cookie-btn-primary:hover { background: var(--coral-lt); border-color: var(--coral-lt); }

.cookie-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, .75);
  border-color: rgba(255, 255, 255, .3);
}
.cookie-btn-ghost:hover { border-color: rgba(255, 255, 255, .7); color: #fff; }

.cookie-btn-outline {
  background: transparent;
  color: var(--coral-lt);
  border-color: var(--coral);
}
.cookie-btn-outline:hover { background: var(--coral); color: #fff; }

/* variants for the light modal footer */
.cookie-btn-ghost-dark {
  background: transparent;
  color: #888;
  border-color: #ccc;
}
.cookie-btn-ghost-dark:hover { border-color: #888; color: #333; }

.cookie-btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.cookie-btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* ── Cookie Preferences Modal ───────────────────────────── */
.cookie-prefs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 40, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 4500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cookie-prefs-overlay.open { opacity: 1; pointer-events: all; }

.cookie-prefs-box {
  background: #fff;
  border-radius: 20px;
  width: min(520px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .35);
  transform: translateY(24px) scale(.98);
  transition: transform .28s cubic-bezier(.2, 0, .2, 1);
}
.cookie-prefs-overlay.open .cookie-prefs-box { transform: translateY(0) scale(1); }

.cookie-prefs-header {
  background: var(--navy-dp);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cookie-prefs-header h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.cookie-prefs-header h3 i { color: var(--coral); }

.cookie-prefs-body {
  padding: 1.375rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.cookie-prefs-intro {
  font-size: .83rem;
  color: #666;
  margin-bottom: 1.125rem;
  line-height: 1.65;
}

.cookie-cat {
  border: 1.5px solid #e8e8f0;
  border-radius: 12px;
  padding: 1rem 1.125rem;
  margin-bottom: .75rem;
}
.cookie-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-cat-head strong {
  display: block;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: .2rem;
}
.cookie-cat-desc {
  font-size: .79rem;
  color: #777;
  display: block;
  line-height: 1.5;
}
.cookie-always-on {
  font-family: var(--font-mono);
  font-size: .68rem;
  background: var(--coral-pale);
  color: var(--coral);
  padding: .25rem .7rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 600;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-track {
  width: 44px;
  height: 24px;
  background: #d0d0db;
  border-radius: 12px;
  transition: background .2s;
  position: relative;
}
.toggle-switch input:checked ~ .toggle-track { background: var(--coral); }
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
}
.toggle-switch input:checked ~ .toggle-track .toggle-thumb { left: 23px; }
.toggle-switch:focus-within .toggle-track {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.cookie-prefs-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .625rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Privacy Policy Modal ───────────────────────────────── */
.pp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 40, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
  overflow-y: auto;
}
.pp-overlay.open { opacity: 1; pointer-events: all; }

.pp-box {
  background: #fff;
  border-radius: 20px;
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
  transform: translateY(28px) scale(.98);
  transition: transform .3s cubic-bezier(.2, 0, .2, 1);
  margin: auto;
}
.pp-overlay.open .pp-box { transform: translateY(0) scale(1); }

.pp-header {
  background: var(--navy-dp);
  padding: 1.875rem 2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}
.pp-header h2 {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: .375rem 0 .375rem;
  font-family: var(--font-serif);
}

.pp-body {
  padding: 2rem;
  overflow-y: auto;
  max-height: 72vh;
  line-height: 1.75;
}
.pp-body h3 {
  color: var(--navy);
  font-size: 1rem;
  font-family: var(--font);
  font-weight: 600;
  margin: 1.75rem 0 .5rem;
  padding-bottom: .375rem;
  border-bottom: 2px solid var(--coral-pale);
}
.pp-body h3:first-child { margin-top: 0; }
.pp-body p { color: #444; font-size: .875rem; margin-bottom: .875rem; }
.pp-body ul { color: #444; font-size: .875rem; padding-left: 1.375rem; margin-bottom: .875rem; }
.pp-body ul li { margin-bottom: .35rem; }
.pp-body strong { color: var(--navy-dk); }
.pp-body a { color: var(--coral); text-underline-offset: 2px; }
.pp-body a:hover { color: var(--coral-lt); }

.pp-cookie-prefs-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .625rem 1.25rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  cursor: pointer;
  margin-top: .5rem;
  transition: background .2s, transform .15s;
}
.pp-cookie-prefs-btn:hover { background: var(--coral-lt); transform: translateY(-1px); }

/* ── Footer legal links ─────────────────────────────────── */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.footer-text-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .55);
  cursor: pointer;
  padding: 0;
  font-size: .8rem;
  font-family: var(--font-mono);
  transition: color .2s;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: transparent;
}
.footer-text-btn:hover { color: var(--coral-lt); text-decoration-color: var(--coral-lt); }
.footer-legal-links span[aria-hidden] { color: rgba(255, 255, 255, .3); font-size: .75rem; }

/* ══════════════════════════════════════════════════════════
   PAGE HERO  (sub-pages: about, training, resources, etc.)
══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy-dp);
  padding: 7rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,141,151,.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.75rem;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.page-hero-breadcrumb a:hover { color: var(--coral-lt); }
.page-hero-breadcrumb .sep { color: rgba(255,255,255,.2); }
.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.page-hero-eyebrow-line { display: inline-block; width: 2rem; height: 2px; background: var(--coral); }
.page-hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--coral-lt);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; margin-bottom: 1.25rem; }
.page-hero h1 em { color: var(--coral-lt); font-style: italic; }
.page-hero-desc { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 600px; line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.page-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   COMPLIANCE CHECKER  (homepage section)
══════════════════════════════════════════════════════════ */
.compliance-section {
  background: var(--off-white);
  padding: 5rem 0;
}
.compliance-toggle-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--white);
  border: 2px solid var(--coral-pale);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
  text-align: left;
  margin-top: 2rem;
}
.compliance-toggle-trigger:hover { border-color: var(--coral); box-shadow: 0 6px 24px rgba(232,141,151,.2); }
.compliance-toggle-trigger.open { border-color: var(--coral); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.ctt-left { display: flex; align-items: center; gap: 1.25rem; }
.ctt-icon { width: 52px; height: 52px; background: var(--coral-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--coral); font-size: 1.3rem; flex-shrink: 0; }
.ctt-text h3 { font-size: 1.15rem; color: var(--navy-dp); margin-bottom: .25rem; }
.ctt-text p { font-size: .88rem; color: var(--text-mid); margin: 0; }
.ctt-chevron { font-size: .9rem; color: var(--coral); transition: transform .3s; flex-shrink: 0; }
.compliance-toggle-trigger.open .ctt-chevron { transform: rotate(180deg); }
.compliance-quiz-wrap {
  background: var(--white);
  border: 2px solid var(--coral);
  border-top: none;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  padding: 2rem 2rem 1.75rem;
  display: none;
}
.compliance-quiz-wrap.open { display: block; }
.cq-intro { font-size: .9rem; color: var(--text-mid); margin-bottom: 1.5rem; }
.cq-questions { display: flex; flex-direction: column; gap: .875rem; margin-bottom: 1.75rem; }
.cq-question { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .875rem 1rem; background: var(--off-white); border-radius: 10px; }
.cq-q-text { font-size: .9rem; color: var(--navy-dp); font-weight: 500; flex: 1; }
.cq-options { display: flex; gap: .5rem; flex-shrink: 0; }
.cq-btn { padding: .35rem .875rem; border: 2px solid transparent; border-radius: 6px; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; cursor: pointer; transition: all .2s; background: var(--white); color: var(--text-mid); }
.cq-btn.yes.selected { background: #dcfce7; border-color: #16a34a; color: #15803d; }
.cq-btn.no.selected  { background: var(--coral-pale); border-color: var(--coral); color: var(--coral); }
.cq-btn:hover:not(.selected) { background: var(--coral-pale); border-color: var(--coral-lt); }
.cq-submit { background: var(--coral); color: #fff; border: none; border-radius: 10px; padding: .875rem 2rem; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .2s, transform .15s; display: flex; align-items: center; gap: .5rem; }
.cq-submit:hover { background: var(--coral-lt); transform: translateY(-1px); }
.cq-result {
  display: none;
  background: var(--navy-dp);
  color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.25rem;
}
.cq-result.show { display: block; }
.cq-result-score { font-size: 2.5rem; font-family: var(--font-serif); color: var(--coral-lt); margin-bottom: .5rem; }
.cq-result-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .75rem; }
.cq-result-msg { font-size: .9rem; color: rgba(255,255,255,.75); line-height: 1.65; margin-bottom: 1.25rem; }
.cq-result-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.cq-result-btn { padding: .625rem 1.25rem; border-radius: 8px; font-size: .82rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; transition: all .2s; }
.cq-result-btn.primary { background: var(--coral); color: #fff; border: none; }
.cq-result-btn.primary:hover { background: var(--coral-lt); }
.cq-result-btn.ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.3); }
.cq-result-btn.ghost:hover { border-color: var(--coral-lt); color: var(--coral-lt); }

/* ══════════════════════════════════════════════════════════
   HOMEPAGE SUMMARY CARDS  (links to sub-pages)
══════════════════════════════════════════════════════════ */
.homepage-sections { padding: 5rem 0; background: var(--white); }
.hs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.75rem; margin-top: 3rem; }
.hs-card { grid-column: span 2; }
/* Center the 2-card last row (5 cards in a 3-col rhythm) */
.hs-card:nth-child(4) { grid-column: 2 / span 2; }
.hs-card {
  border: 2px solid var(--coral-pale);
  border-radius: 18px;
  padding: 2rem;
  text-decoration: none;
  display: block;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hs-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.hs-card:hover { border-color: var(--coral); box-shadow: 0 8px 32px rgba(232,141,151,.18); transform: translateY(-4px); }
.hs-card:hover::after { transform: scaleX(1); }
.hs-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.25rem; }
.hs-icon-coral { background: var(--coral-pale); color: var(--coral); }
.hs-icon-navy { background: rgba(56,70,138,.1); color: var(--navy); }
.hs-icon-gold { background: var(--gold-lt, #f5e9c8); color: #7a5f1a; }
.hs-card h3 { font-size: 1.15rem; color: var(--navy-dp); margin-bottom: .625rem; }
.hs-card p { font-size: .875rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 1.25rem; }
.hs-link { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); display: flex; align-items: center; gap: .4rem; transition: gap .2s; }
.hs-card:hover .hs-link { gap: .7rem; }
@media (max-width: 1024px) {
  .hs-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-card, .hs-card:nth-child(4) { grid-column: auto; }
  .hs-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 640px)  {
  .hs-grid { grid-template-columns: 1fr; }
  .hs-card, .hs-card:nth-child(4), .hs-card:nth-child(5) { grid-column: auto; }
}

/* ══════════════════════════════════════════════════════════
   PRIVACY POLICY DESIGNER  (resources page)
══════════════════════════════════════════════════════════ */
.pp-designer-section {
  background: var(--navy-dp);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.pp-designer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(232,141,151,.1) 0%, transparent 55%);
  pointer-events: none;
}
.ppd-inner { position: relative; z-index: 1; }
.ppd-header { text-align: center; margin-bottom: 3rem; }
.ppd-header .tag { margin-bottom: 1rem; display: inline-flex; }
.ppd-header h2 { color: var(--white); }
.ppd-header h2 em { color: var(--coral-lt); }
.ppd-header p { color: rgba(255,255,255,.6); max-width: 580px; margin: .875rem auto 0; }
.ppd-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.ppd-step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ppd-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--font-mono); font-size: .9rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ppd-step-text h4 { color: var(--white); font-size: .95rem; margin-bottom: .35rem; }
.ppd-step-text p { color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.6; margin: 0; }
.ppd-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}
.ppd-card-header {
  background: var(--navy);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ppd-card-header h3 { color: var(--white); margin: 0; font-size: 1.15rem; }
.ppd-price-badge { background: var(--coral); color: #fff; border-radius: 8px; padding: .375rem .875rem; font-family: var(--font-mono); font-size: .8rem; font-weight: 700; }
.ppd-form { padding: 2rem; overflow: hidden; }
@media (max-width: 480px) { .ppd-form { padding: 1.25rem; } }
.ppd-progress { display: flex; gap: .5rem; margin-bottom: 2rem; }
.ppd-prog-step { flex: 1; height: 4px; border-radius: 2px; background: var(--coral-pale); transition: background .3s; }
.ppd-prog-step.done { background: var(--coral); }
.ppd-prog-step.active { background: var(--coral-lt); }
.ppd-step-panel { display: none; }
.ppd-step-panel.active { display: block; }
.ppd-step-panel h4 { font-size: 1rem; color: var(--navy-dp); margin-bottom: 1.25rem; }
.ppd-step-panel .form-group { margin-bottom: 1rem; }
.ppd-step-panel label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.ppd-step-panel input,
.ppd-step-panel select,
.ppd-step-panel textarea { width: 100%; padding: .75rem 1rem; border: 2px solid var(--coral-pale); border-radius: 10px; font-size: .9rem; font-family: var(--font); color: var(--navy-dp); background: var(--white); transition: border-color .2s; outline: none; }
.ppd-step-panel input:focus,
.ppd-step-panel select:focus,
.ppd-step-panel textarea:focus { border-color: var(--coral); }
.ppd-step-panel textarea { resize: vertical; min-height: 80px; }
.ppd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ppd-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--coral-pale); }
.ppd-btn { padding: .75rem 1.75rem; border-radius: 10px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: .4rem; }
.ppd-btn-back { background: var(--off-white); color: var(--text-mid); border: 2px solid var(--coral-pale); }
.ppd-btn-back:hover { border-color: var(--coral); color: var(--navy); }
.ppd-btn-next { background: var(--coral); color: #fff; border: none; }
.ppd-btn-next:hover { background: var(--coral-lt); transform: translateY(-1px); }
.ppd-btn-pay { background: var(--navy); color: #fff; border: none; font-size: 1rem; padding: .875rem 2.5rem; }
.ppd-btn-pay:hover { background: var(--navy-dk); transform: translateY(-1px); }
.ppd-summary { background: var(--off-white); border-radius: 12px; padding: 1.25rem; margin-bottom: 1.25rem; }
.ppd-summary-row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .875rem; border-bottom: 1px solid var(--coral-pale); }
.ppd-summary-row:last-child { border-bottom: none; }
.ppd-summary-row span:first-child { color: var(--text-mid); }
.ppd-summary-row span:last-child { font-weight: 600; color: var(--navy-dp); }
.ppd-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.ppd-total-label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); }
.ppd-total-amount { font-size: 1.75rem; font-family: var(--font-serif); color: var(--navy-dp); }

/* Checkbox grid for data types */
.ppd-datatypes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .5rem .75rem; margin-top: .625rem; }
.ppd-datatypes-grid label { display: flex; align-items: center; gap: .5rem; font-weight: 400; text-transform: none; font-size: .88rem; letter-spacing: 0; color: var(--navy-dp); line-height: 1.45; cursor: pointer; padding: .375rem .5rem; border-radius: 6px; border: 1.5px solid var(--coral-pale); transition: border-color .2s, background .2s; }
.ppd-datatypes-grid label:hover { border-color: var(--coral-lt); background: rgba(232,141,151,.06); }
.ppd-datatypes-grid input[type="checkbox"] { accent-color: var(--coral); flex-shrink: 0; width: 15px; height: 15px; }

/* FCMB Bank transfer box */
.ppd-bank-box { background: var(--navy-dp); border-radius: 12px; padding: 1.375rem 1.5rem; margin-bottom: 1.25rem; }
.ppd-bank-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--coral-lt); margin-bottom: .875rem; display: flex; align-items: center; gap: .5rem; }
.ppd-bank-row { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .875rem; flex-wrap: wrap; gap: .25rem; }
.ppd-bank-row:last-child { border-bottom: none; }
.ppd-bank-row span { color: rgba(255,255,255,.55); }
.ppd-bank-row strong { color: #fff; font-weight: 600; text-align: right; }
.ppd-acct-num { font-family: var(--font-mono); font-size: 1.15rem; letter-spacing: .12em; color: var(--coral) !important; }
.ppd-bank-note { background: rgba(232,141,151,.12); border: 1.5px solid rgba(232,141,151,.3); border-radius: 10px; padding: .875rem 1rem; margin-bottom: 1.25rem; font-size: .83rem; color: var(--text-mid); line-height: 1.7; }
.ppd-bank-note i { color: var(--coral); margin-right: .35rem; }

/* Confirmation panel */
.ppd-confirm-panel { display: none; text-align: center; padding: 2rem 1rem; }
.ppd-confirm-panel.show { display: block; }
.ppd-confirm-icon { width: 64px; height: 64px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.75rem; color: #16a34a; }
.ppd-confirm-title { font-family: var(--font-serif); font-size: 1.35rem; color: var(--navy-dp); margin-bottom: .625rem; }
.ppd-confirm-msg { font-size: .9rem; color: var(--text-mid); line-height: 1.75; max-width: 420px; margin: 0 auto 1rem; }
.ppd-confirm-ref { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--coral); background: var(--coral-pale); border-radius: 6px; padding: .35rem .75rem; display: inline-block; }

@media (max-width: 900px) {
  .ppd-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ppd-steps { grid-template-columns: 1fr; }
  .ppd-row { grid-template-columns: 1fr; }
  .ppd-card-header { flex-direction: column; align-items: flex-start; }
  .ppd-datatypes-grid { grid-template-columns: 1fr 1fr; }
  .ppd-bank-row { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .ppd-bank-row strong { text-align: left; }
  .ppd-btn-pay { font-size: .88rem; padding: .75rem 1.25rem; }
}

/* ============================================================
   PAGE-HERO RESPONSIVE — must come AFTER the base page-hero
   rules (~line 3836) so mobile overrides actually win
   ============================================================ */
@media (max-width: 768px) {
  .page-hero { padding: 5rem 0 2.5rem; }
  .page-hero h1 { font-size: clamp(1.85rem, 5vw, 2.5rem); }
  .page-hero-desc { font-size: .97rem; }
}

@media (max-width: 480px) {
  .page-hero { padding: 4.5rem 0 2rem; }
  .page-hero h1 { font-size: clamp(1.55rem, 6vw, 1.85rem); line-height: 1.18; }
  .page-hero-desc { font-size: .92rem; max-width: 100%; }
  .page-hero-actions { flex-direction: column; }
  .page-hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 360px) {
  .page-hero { padding: 4rem 0 1.75rem; }
  .page-hero h1 { font-size: 1.35rem; }
  .page-hero-desc { font-size: .875rem; }
}


/* ============================================================
   SITE EXPERIENCE LAYER
   Animated Privacy Policy + Welcome Tour  (see ld-experience.js)
   All markup for this section is injected at runtime.
   ============================================================ */

:root {
  --ldx-ink:      #0d1230;
  --ldx-ink-soft: rgba(13, 18, 48, .62);
  --ldx-line:     rgba(54, 73, 142, .16);
  --ldx-scrim:    rgba(9, 13, 38, .74);
  --ldx-ease:     cubic-bezier(.2, .8, .25, 1);
  --ldx-z-invite: 5800;
  --ldx-z-tour:   6000;
  --ldx-z-pp:     6400;
}

body.ldx-locked { overflow: hidden; }

/* Animated conic accent on the active chapter marker. @property
   makes the angle interpolatable; browsers without it just get
   the static gradient. */
@property --ldx-ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ────────────────────────────────────────────────────────────
   1. PRIVACY POLICY — shell
   ──────────────────────────────────────────────────────────── */

.ldx-pp {
  position: fixed;
  inset: 0;
  z-index: var(--ldx-z-pp);
  display: grid;
  place-items: center;
  padding: clamp(.5rem, 3vw, 2rem);
}
.ldx-pp[hidden] { display: none; }

.ldx-pp-scrim {
  position: absolute;
  inset: 0;
  background: var(--ldx-scrim);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .3s var(--ldx-ease);
}
.ldx-pp.is-open .ldx-pp-scrim { opacity: 1; }

.ldx-pp-shell {
  position: relative;
  width: min(1080px, 100%);
  height: min(88vh, 780px);
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 44px 110px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .34s var(--ldx-ease), transform .34s var(--ldx-ease);
}
.ldx-pp.is-open .ldx-pp-shell { opacity: 1; transform: none; }

/* ── Title bar ── */
.ldx-pp-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem clamp(1rem, 3vw, 1.875rem);
  background: var(--navy-dp);
  color: var(--white);
  flex-shrink: 0;
}
.ldx-pp-id { flex: 1; min-width: 0; }
.ldx-pp-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(246, 91, 106, .14);
  border-radius: 999px;
  padding: .18rem .6rem;
}
.ldx-pp-bar h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  line-height: 1.2;
  margin: .3rem 0 .18rem;
  color: var(--white);
}
.ldx-pp-dates {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
  margin: 0;
}

.ldx-pp-modes {
  display: flex;
  gap: .25rem;
  padding: .25rem;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  flex-shrink: 0;
}
.ldx-mode {
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .68);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .03em;
  padding: .46rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s, color .22s;
}
.ldx-mode:hover { color: var(--white); }
.ldx-mode.is-on { background: var(--coral); color: var(--white); }

.ldx-pp-x {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.ldx-pp-x:hover { background: rgba(255, 255, 255, .24); transform: rotate(90deg); }
.ldx-pp-x svg { width: 17px; height: 17px; fill: none; stroke: var(--white); stroke-width: 1.9; stroke-linecap: round; }

/* ── Progress rail ── */
.ldx-pp-progress {
  height: 3px;
  background: rgba(54, 73, 142, .12);
  flex-shrink: 0;
}
.ldx-pp-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--navy), var(--coral));
  transition: width .45s var(--ldx-ease);
}

/* Scroll-driven progress for the legal tab, where supported —
   runs off the main thread, JS fallback handles the rest. */
@supports (animation-timeline: scroll()) {
  .ldx-pp.is-legal .ldx-pp-progress i {
    width: 100%;
    transform-origin: 0 50%;
    transition: none;
    animation: ldx-read-progress linear both;
    animation-timeline: scroll(nearest);
  }
  @keyframes ldx-read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.ldx-pp-view { flex: 1; min-height: 0; }
/* `:not([hidden])` keeps these from out-specifying the hidden
   rule below — without it the inactive view still lays out. */
.ldx-pp-view[hidden] { display: none; }

/* ── Chapter rail ── */
.ldx-pp-view[data-view="story"]:not([hidden]) {
  display: grid;
  grid-template-columns: 244px 1fr;
}
.ldx-pp-rail {
  border-right: 1px solid var(--ldx-line);
  background: var(--off-white);
  overflow-y: auto;
  padding: .75rem;
}
.ldx-rail-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  cursor: pointer;
  padding: .6rem .7rem;
  border-radius: 10px;
  color: var(--text-mid);
  font-family: var(--font);
  font-size: .82rem;
  line-height: 1.3;
  transition: background .2s, color .2s;
}
.ldx-rail-item:hover { background: rgba(54, 73, 142, .07); color: var(--text); }
.ldx-rail-item.is-on { background: var(--white); color: var(--navy); font-weight: 600; box-shadow: 0 2px 12px rgba(54, 73, 142, .1); }
.ldx-rail-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ldx-line);
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .02em;
  transition: background .25s, color .25s, border-color .25s;
}
.ldx-rail-item.is-done .ldx-rail-num { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ldx-rail-item.is-on .ldx-rail-num {
  color: var(--white);
  border-color: transparent;
  background:
    conic-gradient(from var(--ldx-ang), var(--coral), var(--navy), var(--coral));
  animation: ldx-spin 5s linear infinite;
}
@keyframes ldx-spin { to { --ldx-ang: 360deg; } }
.ldx-rail-label { min-width: 0; }

/* ── Chapter stage ── */
.ldx-pp-stage {
  overflow-y: auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.ldx-ch {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  min-height: 100%;
}
.ldx-ch[hidden] { display: none; }

.ldx-ch-art {
  background: linear-gradient(155deg, var(--navy-dp), #16205e 70%);
  border-radius: 18px;
  padding: 1.25rem;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  max-height: 100%;
  position: relative;
  overflow: hidden;
}
.ldx-ch-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.ldx-scene { width: 100%; height: 100%; position: relative; z-index: 1; }

.ldx-ch-tag {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 .45rem;
}
.ldx-ch-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.7vw, 1.7rem);
  line-height: 1.22;
  color: var(--navy);
  margin: 0 0 .65rem;
}
.ldx-ch-tldr {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 1rem;
  padding-left: .85rem;
  border-left: 3px solid var(--coral);
}
.ldx-ch-points { list-style: none; margin: 0; padding: 0; }
.ldx-ch-points li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: .55rem;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--text-mid);
}
.ldx-ch-points li::before {
  content: '';
  position: absolute;
  left: 0; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy);
  opacity: .45;
}
.ldx-ch.is-live .ldx-ch-points li {
  animation: ldx-rise .5s var(--ldx-ease) both;
  animation-delay: calc(.24s + var(--i) * .09s);
}
.ldx-ch.is-live .ldx-ch-tag,
.ldx-ch.is-live .ldx-ch-title,
.ldx-ch.is-live .ldx-ch-tldr { animation: ldx-rise .5s var(--ldx-ease) both; }
.ldx-ch.is-live .ldx-ch-title { animation-delay: .06s; }
.ldx-ch.is-live .ldx-ch-tldr { animation-delay: .13s; }
@keyframes ldx-rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

.ldx-ch-action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .9rem;
  background: var(--coral);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: .62rem 1.15rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.ldx-ch-action[hidden] { display: none; }
.ldx-ch-action:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(246, 91, 106, .32); }
.ldx-ch-action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ── Footer nav ── */
.ldx-pp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem clamp(1rem, 3vw, 1.875rem);
  border-top: 1px solid var(--ldx-line);
  background: var(--white);
  flex-shrink: 0;
}
.ldx-pp-foot[hidden] { display: none; }
.ldx-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--ldx-line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-family: var(--font-mono);
  font-size: .73rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, opacity .2s;
}
.ldx-nav-btn:hover:not(:disabled) { background: var(--off-white); transform: translateY(-1px); }
.ldx-nav-btn:disabled { opacity: .35; cursor: not-allowed; }
.ldx-nav-btn--go { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ldx-nav-btn--go:hover { background: var(--navy-dp); }
.ldx-nav-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.ldx-dots { display: flex; gap: .4rem; }
.ldx-dot {
  width: 9px; height: 9px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(54, 73, 142, .2);
  cursor: pointer;
  transition: background .25s, transform .25s, width .25s;
}
.ldx-dot.is-done { background: var(--navy); opacity: .5; }
.ldx-dot.is-on { background: var(--coral); width: 24px; border-radius: 999px; }

/* ── Legal text tab ── */
.ldx-pp-legal:not([hidden]) { display: flex; }
.ldx-pp-legal { overflow: hidden; }
.ldx-legal-scroll {
  overflow-y: auto;
  width: 100%;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 3.25rem);
  line-height: 1.75;
}
.ldx-legal-note {
  font-size: .8rem;
  color: var(--text-light);
  background: var(--off-white);
  border-left: 3px solid var(--navy);
  border-radius: 0 10px 10px 0;
  padding: .75rem 1rem;
  margin-bottom: 1.75rem;
}
.ldx-legal-scroll h3 {
  color: var(--navy);
  font-size: 1rem;
  font-family: var(--font);
  font-weight: 600;
  margin: 1.9rem 0 .55rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--coral-pale);
  scroll-margin-top: 1rem;
}
.ldx-legal-scroll h3:first-of-type { margin-top: 0; }
.ldx-legal-scroll p { color: var(--text-mid); font-size: .88rem; margin-bottom: .9rem; }
.ldx-legal-scroll ul { color: var(--text-mid); font-size: .88rem; padding-left: 1.4rem; margin-bottom: .9rem; }
.ldx-legal-scroll li { margin-bottom: .38rem; }
.ldx-legal-scroll strong { color: var(--navy-dk); }
.ldx-legal-scroll a { color: var(--coral); text-underline-offset: 2px; }
.ldx-legal-scroll a:hover { color: var(--navy); }
.ldx-legal-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--coral);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  padding: .62rem 1.25rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  cursor: pointer;
  margin: .35rem 0 .5rem;
  transition: transform .18s, box-shadow .18s;
}
.ldx-legal-btn[hidden] { display: none; }
.ldx-legal-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(246, 91, 106, .3); }

.ldx-legal-item { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ldx-ease), transform .5s var(--ldx-ease); }
.ldx-legal-item.is-in { opacity: 1; transform: none; }

/* ────────────────────────────────────────────────────────────
   2. PRIVACY SCENES — shared SVG primitives
   ──────────────────────────────────────────────────────────── */

.ldx-scene { fill: none; }
.ldx-scene text { fill: rgba(255, 255, 255, .82); font-family: var(--font-mono); }
.sc-tiny { font-size: 9px; fill: rgba(255, 255, 255, .8); }
.sc-cap  { font-size: 8px; letter-spacing: .16em; fill: rgba(255, 255, 255, .42); }
.sc-mono { font-size: 15px; fill: var(--white); letter-spacing: .06em; }

/* Elements start hidden and are revealed by `.is-live` so each
   scene plays from frame zero when its chapter opens. */
.ldx-ch:not(.is-live) .ldx-scene * { opacity: 0; }

/* — Scene 1: who we are — */
.sc-who .sc-ring { stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.sc-who .sc-shield { stroke: var(--coral); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 340; stroke-dashoffset: 340; }
.sc-who .sc-sat circle { fill: var(--coral); }
.is-live .sc-who .sc-ring { animation: ldx-fade .6s .1s both; }
.is-live .sc-who .sc-shield { animation: ldx-fade .1s both, ldx-draw 1.5s .15s var(--ldx-ease) forwards; }
.is-live .sc-who .sc-badge { animation: ldx-pop .6s 1.1s both; }
.is-live .sc-who .sc-cap { animation: ldx-fade .6s 1.4s both; }
.is-live .sc-who .sc-sat { animation: ldx-fade .4s .6s both, ldx-orbit 9s .6s linear infinite; transform-origin: 160px 100px; }
.is-live .sc-who .sc-sat-2 { animation: ldx-fade .4s .8s both, ldx-orbit 13s .8s linear infinite reverse; }
@keyframes ldx-orbit { to { transform: rotate(360deg); } }
@keyframes ldx-draw { to { stroke-dashoffset: 0; } }
@keyframes ldx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ldx-pop { 0% { opacity: 0; transform: scale(.6); } 60% { transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }

/* — Scene 2: what we collect — */
.sc-collect .sc-vault rect { stroke: rgba(255, 255, 255, .3); stroke-width: 1.6; fill: rgba(255, 255, 255, .05); }
.sc-collect .sc-dial { stroke: var(--coral); stroke-width: 2; }
.sc-collect .sc-dial-mark { stroke: rgba(255, 255, 255, .45); stroke-width: 1.6; stroke-linecap: round; }
.sc-collect .sc-field rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.sc-collect .sc-arrow, .sc-collect .sc-arrow-head { stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 4 5; }
.is-live .sc-collect .sc-vault { animation: ldx-pop .55s .1s both; transform-origin: 253px 102px; }
.is-live .sc-collect .sc-dial { animation: ldx-fade .4s .5s both, ldx-spin-dial 6s .5s linear infinite; transform-origin: 253px 102px; }
.is-live .sc-collect .sc-dial-mark { animation: ldx-fade .4s .55s both; }
.is-live .sc-collect .sc-field { animation: ldx-into-vault 3.6s var(--ldx-ease) infinite both; animation-delay: calc(.5s + var(--i) * .28s); }
.is-live .sc-collect .sc-arrow,
.is-live .sc-collect .sc-arrow-head { animation: ldx-fade .5s .7s both, ldx-march 1.2s .7s linear infinite; }
@keyframes ldx-spin-dial { to { transform: rotate(360deg); } }
@keyframes ldx-march { to { stroke-dashoffset: -18; } }
@keyframes ldx-into-vault {
  0%   { opacity: 0; transform: translateX(-34px); }
  14%  { opacity: 1; transform: none; }
  56%  { opacity: 1; transform: none; }
  78%  { opacity: .15; transform: translateX(150px) scale(.4); }
  79%, 100% { opacity: 0; transform: translateX(-34px); }
}

/* — Scene 3: legal bases — */
.sc-bases .sc-beam { fill: var(--coral); }
.sc-bases .sc-ground { fill: rgba(255, 255, 255, .2); }
.sc-bases .sc-pillar rect { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.sc-bases .sc-pillar-cap { fill: rgba(255, 255, 255, .6); font-size: 7.5px; letter-spacing: .06em; }
.is-live .sc-bases .sc-ground { animation: ldx-fade .5s both; }
.is-live .sc-bases .sc-pillar { animation: ldx-grow .7s var(--ldx-ease) both; transform-origin: center 152px; animation-delay: calc(.2s + var(--i) * .12s); }
.is-live .sc-bases .sc-beam { animation: ldx-drop .7s .78s var(--ldx-ease) both; }
.is-live .sc-bases .sc-beam-cap { animation: ldx-fade .5s 1.2s both; }
@keyframes ldx-grow { from { opacity: 0; transform: scaleY(.05); } to { opacity: 1; transform: scaleY(1); } }
@keyframes ldx-drop { from { opacity: 0; transform: translateY(-26px); } 70% { transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* — Scene 4: how we use it — */
.sc-use .sc-branch { stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; stroke-dasharray: 130; stroke-dashoffset: 130; }
.sc-use .sc-hub { fill: var(--coral); }
.sc-use .sc-hub-pulse { fill: rgba(246, 91, 106, .3); }
.sc-use .sc-hub-txt { font-size: 9px; letter-spacing: .1em; }
.sc-use .sc-endpoint rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.sc-use .sc-nosale circle { stroke: rgba(255, 255, 255, .35); stroke-width: 1.4; }
.sc-use .sc-nosale-txt { font-size: 13px; fill: rgba(255, 255, 255, .5); }
.sc-use .sc-slash { stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 32; stroke-dashoffset: 32; }
.sc-use .sc-nosale-cap { fill: rgba(255, 255, 255, .5); }
.is-live .sc-use .sc-hub { animation: ldx-pop .5s both; transform-origin: 76px 100px; }
.is-live .sc-use .sc-hub-txt { animation: ldx-fade .4s .25s both; }
.is-live .sc-use .sc-hub-pulse { animation: ldx-fade .1s .3s both, ldx-ping 2.4s .3s ease-out infinite; transform-origin: 76px 100px; }
.is-live .sc-use .sc-branch { animation: ldx-fade .1s both, ldx-draw .8s var(--ldx-ease) forwards; animation-delay: 0s, calc(.3s + var(--i) * .13s); }
.is-live .sc-use .sc-endpoint { animation: ldx-slide-r .55s var(--ldx-ease) both; animation-delay: calc(.75s + var(--i) * .13s); }
.is-live .sc-use .sc-nosale circle,
.is-live .sc-use .sc-nosale-txt,
.is-live .sc-use .sc-nosale-cap { animation: ldx-fade .5s 1.4s both; }
.is-live .sc-use .sc-slash { animation: ldx-fade .1s 1.6s both, ldx-draw .45s 1.65s var(--ldx-ease) forwards; }
@keyframes ldx-ping { 0% { opacity: .55; transform: scale(.75); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes ldx-slide-r { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* — Scene 5: cookies — */
.sc-cookies .sc-cookie { fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .34); stroke-width: 1.2; }
.sc-cookies .sc-chip { fill: rgba(255, 255, 255, .5); }
.sc-cookies .sc-crow-cap { letter-spacing: .1em; fill: rgba(255, 255, 255, .72); }
.sc-cookies .sc-track { fill: rgba(255, 255, 255, .14); stroke: rgba(255, 255, 255, .26); stroke-width: 1; }
.sc-cookies .sc-knob { fill: rgba(255, 255, 255, .85); }
.sc-cookies .sc-lock { stroke: rgba(255, 255, 255, .45); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.is-live .sc-cookies .sc-crow { animation: ldx-slide-l .55s var(--ldx-ease) both; animation-delay: calc(var(--i) * .14s); }
.is-live .sc-cookies .sc-track { animation: ldx-track-on 3s var(--ldx-ease) infinite both; animation-delay: calc(.7s + var(--i) * .3s); }
.is-live .sc-cookies .sc-knob { animation: ldx-knob-on 3s var(--ldx-ease) infinite both; animation-delay: calc(.7s + var(--i) * .3s); }
.is-live .sc-cookies .is-locked .sc-track { animation: none; fill: var(--coral); opacity: 1; }
.is-live .sc-cookies .is-locked .sc-knob { animation: none; transform: translateX(24px); opacity: 1; }
@keyframes ldx-slide-l { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes ldx-track-on { 0%, 12% { fill: rgba(255, 255, 255, .14); } 30%, 70% { fill: var(--coral); } 88%, 100% { fill: rgba(255, 255, 255, .14); } }
@keyframes ldx-knob-on { 0%, 12% { transform: translateX(0); } 30%, 70% { transform: translateX(24px); } 88%, 100% { transform: translateX(0); } }

/* — Scene 6: retention — */
.sc-retention .sc-bar-track { fill: rgba(255, 255, 255, .1); }
.sc-retention .sc-bar-fill { fill: var(--coral); transform-origin: 92px 0; }
.sc-retention .sc-bar-cap { fill: rgba(255, 255, 255, .72); }
.sc-retention .sc-bar-t { font-size: 8px; fill: rgba(255, 255, 255, .5); }
.sc-retention .sc-axis { stroke: rgba(255, 255, 255, .22); stroke-width: 1; stroke-dasharray: 3 4; }
.is-live .sc-retention .sc-axis,
.is-live .sc-retention .sc-cap { animation: ldx-fade .5s .1s both; }
.is-live .sc-retention .sc-bar-cap,
.is-live .sc-retention .sc-bar-track,
.is-live .sc-retention .sc-bar-t { animation: ldx-fade .5s var(--ldx-ease) both; animation-delay: calc(.15s + var(--i) * .1s); }
.is-live .sc-retention .sc-bar-fill { animation: ldx-expire 4s var(--ldx-ease) infinite both; animation-delay: calc(.3s + var(--i) * .18s); }
@keyframes ldx-expire {
  0%  { opacity: 1; transform: scaleX(0); }
  40% { opacity: 1; transform: scaleX(1); }
  62% { opacity: 1; transform: scaleX(1); }
  78% { opacity: 0; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(0); }
}

/* — Scene 7: your rights — */
.sc-rights .sc-person-ring { stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; }
.sc-rights .sc-person-head { fill: var(--coral); }
.sc-rights .sc-person-body { stroke: var(--coral); stroke-width: 3; stroke-linecap: round; fill: none; }
.sc-rights .sc-right rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.sc-rights .sc-tick { stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.is-live .sc-rights .sc-person-ring { animation: ldx-fade .5s both, ldx-breathe 3.2s .5s ease-in-out infinite; transform-origin: 52px 100px; }
.is-live .sc-rights .sc-person-head { animation: ldx-pop .5s .12s both; transform-origin: 52px 90px; }
.is-live .sc-rights .sc-person-body { animation: ldx-fade .5s .22s both; }
.is-live .sc-rights .sc-right { animation: ldx-fan .6s var(--ldx-ease) both; transform-origin: 100px 100px; animation-delay: calc(.35s + var(--i) * .1s); }
@keyframes ldx-fan { from { opacity: 0; transform: translateX(-38px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes ldx-breathe { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.09); opacity: 1; } }

/* — Scene 8: security & transfers — */
.sc-security .sc-globe { stroke: rgba(255, 255, 255, .28); stroke-width: 1.3; }
.sc-security .sc-merid { stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.sc-security .sc-lat { stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.sc-security .sc-pin path { fill: var(--coral); }
.sc-security .sc-pin-dot { fill: var(--navy-dp); }
.sc-security .sc-shackle { stroke: rgba(255, 255, 255, .8); stroke-width: 3.4; fill: none; stroke-linecap: round; }
.sc-security .sc-lockbody { fill: var(--coral); }
.sc-security .sc-badge-ring circle { fill: #16205e; stroke: rgba(255, 255, 255, .3); stroke-width: 1.4; }
.is-live .sc-security .sc-globe { animation: ldx-pop .6s both; transform-origin: 150px 102px; }
.is-live .sc-security .sc-merid { animation: ldx-fade .5s .3s both, ldx-globe-turn 7s .3s ease-in-out infinite; transform-origin: 150px 102px; }
.is-live .sc-security .sc-lat { animation: ldx-fade .5s .35s both; }
.is-live .sc-security .sc-pin { animation: ldx-drop .7s .55s var(--ldx-ease) both; }
.is-live .sc-security .sc-badge-ring { animation: ldx-pop .5s .9s both; transform-origin: 206px 148px; }
.is-live .sc-security .sc-shackle { animation: ldx-shackle .7s 1.05s var(--ldx-ease) both; transform-origin: 206px 145px; }
.is-live .sc-security .sc-lockbody { animation: ldx-pop .5s 1.2s both; transform-origin: 206px 153px; }
.is-live .sc-security .sc-cap { animation: ldx-fade .5s 1.5s both; }
@keyframes ldx-shackle { from { opacity: 0; transform: translateY(-16px) scaleY(1.5); } to { opacity: 1; transform: none; } }
@keyframes ldx-globe-turn { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.25); } }

/* ────────────────────────────────────────────────────────────
   3. WELCOME TOUR
   ──────────────────────────────────────────────────────────── */

.ldx-tour { position: fixed; inset: 0; z-index: var(--ldx-z-tour); }
.ldx-tour[hidden] { display: none; }

.ldx-tour-veil {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s var(--ldx-ease);
}
.ldx-tour.is-open .ldx-tour-veil { opacity: 1; }

/* One element, one giant spread shadow — the "hole" is just the
   element's own box, so the cut-out animates with it. */
.ldx-tour-hole {
  position: fixed;
  left: 50%; top: 50%;
  width: 0; height: 0;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px var(--ldx-scrim);
  outline: 2px solid var(--coral);
  outline-offset: 0;
  pointer-events: none;
  opacity: 0;
  transition: left .42s var(--ldx-ease), top .42s var(--ldx-ease),
              width .42s var(--ldx-ease), height .42s var(--ldx-ease),
              opacity .3s var(--ldx-ease);
}
.ldx-tour.is-open .ldx-tour-hole { opacity: 1; }
.ldx-tour-hole.is-empty { outline-color: transparent; width: 0; height: 0; left: 50%; top: 50%; }

.ldx-tour-pop {
  position: fixed;
  width: min(400px, calc(100vw - 2rem));
  background: var(--white);
  border-radius: 18px;
  padding: 1.25rem 1.35rem 1.1rem;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .4);
  opacity: 0;
  transition: opacity .3s var(--ldx-ease), transform .3s var(--ldx-ease),
              left .42s var(--ldx-ease), top .42s var(--ldx-ease);
}
.ldx-tour.is-open .ldx-tour-pop { opacity: 1; }
.ldx-tour-pop.is-centered { left: 50%; top: 50%; transform: translate(-50%, -50%); }
/* Squeezed into a narrow band beside the spotlight — scroll inside it. */
.ldx-tour-pop.is-capped { overflow-y: auto; overscroll-behavior: contain; }
.ldx-tour-pop.is-docked { left: 1rem; right: 1rem; bottom: 1rem; top: auto; width: auto; }
.ldx-tour-pop.from-top { transform: translateY(8px); }
.ldx-tour-pop.from-bottom { transform: translateY(-8px); }
.ldx-tour-pop.from-left { transform: translateX(8px); }
.ldx-tour-pop.from-right { transform: translateX(-8px); }
.ldx-tour.is-open .ldx-tour-pop.from-top,
.ldx-tour.is-open .ldx-tour-pop.from-bottom,
.ldx-tour.is-open .ldx-tour-pop.from-left,
.ldx-tour.is-open .ldx-tour-pop.from-right { transform: none; }

/* Pointer beak toward the highlighted element */
.ldx-tour-pop::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: var(--white);
  transform: rotate(45deg);
}
.ldx-tour-pop.is-centered::before,
.ldx-tour-pop.is-docked::before { display: none; }
.ldx-tour-pop.from-top::before    { top: -6px;  left: 50%; margin-left: -7px; }
.ldx-tour-pop.from-bottom::before { bottom: -6px; left: 50%; margin-left: -7px; }
.ldx-tour-pop.from-left::before   { left: -6px; top: 50%; margin-top: -7px; }
.ldx-tour-pop.from-right::before  { right: -6px; top: 50%; margin-top: -7px; }

.ldx-tour-art {
  background: linear-gradient(155deg, var(--navy-dp), #16205e 70%);
  border-radius: 12px;
  margin-bottom: .9rem;
  padding: .6rem;
  display: grid;
  place-items: center;
}
.ldx-tour-art[hidden] { display: none; }
.ldx-art { width: 100%; max-height: 116px; fill: none; }

.ldx-tour-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ldx-tour-kicker {
  font-family: var(--font-mono);
  font-size: .63rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--coral);
}
.ldx-tour-skip {
  border: 0;
  background: none;
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: .68rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.ldx-tour-skip:hover { color: var(--navy); }

.ldx-tour-pop h3 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--navy);
  margin: .35rem 0 .4rem;
}
.ldx-tour-body { font-size: .855rem; line-height: 1.6; color: var(--text-mid); margin: 0; }

.ldx-tour-cta { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.ldx-tour-cta[hidden] { display: none; }
.ldx-tour-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--coral-pale);
  color: var(--navy);
  border: 0;
  border-radius: 999px;
  padding: .45rem .95rem;
  font-family: var(--font-mono);
  font-size: .71rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.ldx-tour-link:hover { background: var(--coral); color: var(--white); transform: translateY(-1px); }

.ldx-tour-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--ldx-line);
}
.ldx-tour-track { flex: 1; height: 4px; background: rgba(54, 73, 142, .13); border-radius: 999px; overflow: hidden; }
.ldx-tour-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--coral)); border-radius: 999px; transition: width .4s var(--ldx-ease); }
.ldx-tour-btns { display: flex; gap: .45rem; flex-shrink: 0; }
.ldx-tour-btn {
  border: 1px solid var(--ldx-line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-family: var(--font-mono);
  font-size: .71rem;
  cursor: pointer;
  transition: background .2s, transform .2s, opacity .2s;
}
.ldx-tour-btn:hover:not(:disabled) { background: var(--off-white); transform: translateY(-1px); }
.ldx-tour-btn:disabled { opacity: .35; cursor: not-allowed; }
.ldx-tour-btn--go { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ldx-tour-btn--go:hover { background: var(--navy-dp); }

.ldx-tour-count {
  margin: .55rem 0 0;
  font-family: var(--font-mono);
  font-size: .63rem;
  letter-spacing: .1em;
  color: var(--text-light);
  text-align: center;
}

/* ── Tour illustrations ── */
.ldx-art text { fill: rgba(255, 255, 255, .8); font-family: var(--font-mono); font-size: 9px; }
.ldx-tour-art:not(.is-live) .ldx-art * { opacity: 0; }

.a-pulse { fill: rgba(246, 91, 106, .28); }
.a-shield { stroke: var(--coral); stroke-width: 2.2; stroke-linejoin: round; fill: rgba(246, 91, 106, .1); }
.a-check { stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; }
.is-live .a-pulse { animation: ldx-fade .1s both, ldx-ping 2.6s ease-out infinite; transform-origin: 100px 60px; }
.is-live .a-pulse-2 { animation-delay: 0s, 1.3s; }
.is-live .a-shield { animation: ldx-pop .6s .12s both; transform-origin: 100px 64px; }
.is-live .a-check { animation: ldx-fade .1s .55s both, ldx-draw .6s .6s var(--ldx-ease) forwards; }

.a-screen { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .3); stroke-width: 1.4; }
.a-play { fill: var(--coral); }
.a-bar { fill: rgba(255, 255, 255, .16); }
.a-bar-fill { fill: var(--coral); transform-origin: 46px 0; }
.is-live .a-screen { animation: ldx-pop .5s both; transform-origin: 100px 60px; }
.is-live .a-play { animation: ldx-pop .5s .28s both; transform-origin: 103px 60px; }
.is-live .a-bar { animation: ldx-fade .4s .35s both; }
.is-live .a-bar-fill { animation: ldx-fade .1s .4s both, ldx-fill 2.8s .4s var(--ldx-ease) infinite; }
@keyframes ldx-fill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }

.a-board { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .3); stroke-width: 1.4; }
.a-line { stroke: var(--coral); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 70; stroke-dashoffset: 70; }
.a-head { fill: rgba(255, 255, 255, .55); }
.is-live .a-board { animation: ldx-pop .5s both; transform-origin: 100px 52px; }
.is-live .a-line { animation: ldx-fade .1s both, ldx-draw .7s var(--ldx-ease) forwards; animation-delay: 0s, calc(.3s + var(--i) * .16s); }
.is-live .a-head { animation: ldx-pop .5s both; animation-delay: calc(.65s + var(--i) * .12s); }

.a-doc { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .28); stroke-width: 1.3; }
.a-doc-front { fill: rgba(255, 255, 255, .22); }
.a-doc-line { stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 90; }
.is-live .a-doc { animation: ldx-slide-r .5s var(--ldx-ease) both; animation-delay: calc(var(--i, 0) * .12s); }
.is-live .a-doc-line { animation: ldx-fade .1s .5s both, ldx-draw 1s .55s var(--ldx-ease) forwards; }
.a-seal { fill: var(--coral); }
.is-live .a-seal { animation: ldx-pop .5s .7s both; transform-origin: 130px 88px; }
.is-live .a-seal-check { animation: ldx-fade .1s .9s both, ldx-draw .5s .95s var(--ldx-ease) forwards; }

.a-cal { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .3); stroke-width: 1.4; }
.a-cal-top { stroke: rgba(255, 255, 255, .3); stroke-width: 1.4; }
.a-cal-dot { fill: rgba(255, 255, 255, .4); }
.a-cal-live { fill: var(--coral); }
.is-live .a-cal, .is-live .a-cal-top { animation: ldx-pop .5s both; transform-origin: 100px 64px; }
.is-live .a-cal-dot { animation: ldx-pop .45s both; animation-delay: calc(.3s + var(--i) * .09s); }
.is-live .a-cal-live { animation: ldx-pop .45s calc(.3s + var(--i) * .09s) both, ldx-blink 1.8s 1s ease-in-out infinite; }
@keyframes ldx-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.a-compass { stroke: rgba(255, 255, 255, .45); stroke-width: 1.6; }
.a-needle { fill: var(--coral); }
.is-live .a-compass { animation: ldx-pop .5s both; transform-origin: 100px 60px; }
.is-live .a-needle { animation: ldx-fade .4s .25s both, ldx-sweep 4s .25s ease-in-out infinite; transform-origin: 100px 60px; }
@keyframes ldx-sweep { 0%, 100% { transform: rotate(-18deg); } 50% { transform: rotate(342deg); } }

/* ────────────────────────────────────────────────────────────
   4. LAUNCHER + FIRST-VISIT INVITATION
   ──────────────────────────────────────────────────────────── */

.ldx-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 3900;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 48px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--navy-dp);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(13, 18, 48, .32);
  transition: gap .3s var(--ldx-ease), padding .3s var(--ldx-ease),
              background .25s, transform .25s, box-shadow .25s;
}
.ldx-launcher:hover { gap: .5rem; padding-right: 20px; background: var(--coral); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(246, 91, 106, .38); }
.ldx-launcher svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ldx-launcher-needle { fill: currentColor; stroke: none; }
.ldx-launcher:hover .ldx-launcher-needle { animation: ldx-sweep-sm 1.4s ease-in-out; transform-origin: 12px 12px; }
@keyframes ldx-sweep-sm { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
.ldx-launcher-label {
  font-family: var(--font-mono);
  font-size: .74rem;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .3s var(--ldx-ease), opacity .25s;
}
.ldx-launcher:hover .ldx-launcher-label { max-width: 90px; opacity: 1; }
.ldx-launcher.is-flash { animation: ldx-flash 1.1s var(--ldx-ease) 2; }
@keyframes ldx-flash {
  0%, 100% { box-shadow: 0 12px 30px rgba(13, 18, 48, .32), 0 0 0 0 rgba(246, 91, 106, .5); }
  50%      { box-shadow: 0 12px 30px rgba(13, 18, 48, .32), 0 0 0 14px rgba(246, 91, 106, 0); }
}
body.ldx-locked .ldx-launcher { pointer-events: none; }

.ldx-invite {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: var(--ldx-z-invite);
  width: min(320px, calc(100vw - 2.5rem));
  background: var(--white);
  border-radius: 18px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: 0 24px 60px rgba(13, 18, 48, .3);
  opacity: 0;
  transform: translateY(18px) scale(.97);
  transition: opacity .4s var(--ldx-ease), transform .4s var(--ldx-ease);
}
.ldx-invite.is-in { opacity: 1; transform: none; }

.ldx-invite-x {
  position: absolute;
  top: .55rem; right: .55rem;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--off-white);
  cursor: pointer;
  transition: background .2s;
}
.ldx-invite-x:hover { background: var(--coral-pale); }
.ldx-invite-x svg { width: 12px; height: 12px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }

.ldx-invite-art {
  background: linear-gradient(155deg, var(--navy-dp), #16205e 70%);
  border-radius: 12px;
  padding: .5rem;
  margin-bottom: .8rem;
}
.ldx-invite-art svg { width: 100%; height: 68px; fill: none; display: block; }
.i-pulse { fill: rgba(246, 91, 106, .3); animation: ldx-ping 2.6s ease-out infinite; transform-origin: 60px 40px; }
.i-ring { stroke: rgba(255, 255, 255, .4); stroke-width: 1.5; }
.i-needle { fill: var(--coral); animation: ldx-sweep 4.5s ease-in-out infinite; transform-origin: 60px 40px; }

.ldx-invite-kicker {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0;
}
.ldx-invite h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--navy);
  margin: .25rem 0 .4rem;
}
.ldx-invite-body { font-size: .8rem; line-height: 1.55; color: var(--text-mid); margin: 0 0 .9rem; }
.ldx-invite-actions { display: flex; align-items: center; gap: .5rem; }
.ldx-invite-go {
  flex: 1;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .74rem;
  padding: .58rem 1rem;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.ldx-invite-go:hover { background: var(--navy); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(54, 73, 142, .28); }
.ldx-invite-no {
  border: 0;
  background: none;
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: .72rem;
  cursor: pointer;
  padding: .5rem .4rem;
  transition: color .2s;
}
.ldx-invite-no:hover { color: var(--navy); }

/* ────────────────────────────────────────────────────────────
   5. FOCUS, RESPONSIVE, REDUCED MOTION
   ──────────────────────────────────────────────────────────── */

.ldx-pp :focus-visible,
.ldx-tour :focus-visible,
.ldx-invite :focus-visible,
.ldx-launcher:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .ldx-pp-shell { height: min(92vh, 900px); }
  .ldx-pp-view[data-view="story"]:not([hidden]) { grid-template-columns: 1fr; }
  .ldx-pp-rail {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ldx-line);
    padding: .5rem .75rem;
    scrollbar-width: none;
  }
  .ldx-pp-rail::-webkit-scrollbar { display: none; }
  /* The rail turns into a horizontal strip of numbered chips —
     without resetting the base `width: 100%` the first chip would
     fill the row and push the rest out of view. */
  .ldx-rail-item { width: auto; flex-shrink: 0; padding: .35rem; }
  .ldx-rail-label { display: none; }
  .ldx-ch { grid-template-columns: 1fr; align-content: start; min-height: 0; }
  .ldx-ch-art { aspect-ratio: 16 / 10; width: min(100%, 440px); justify-self: center; }
}

@media (max-width: 640px) {
  .ldx-pp { padding: 0; }
  .ldx-pp-shell { height: 100vh; height: 100dvh; border-radius: 0; width: 100%; }
  .ldx-pp-bar { flex-wrap: wrap; row-gap: .75rem; padding: .9rem 1rem; }
  .ldx-pp-id { order: 1; flex: 1 1 auto; }
  .ldx-pp-x { order: 2; }
  .ldx-pp-modes { order: 3; flex: 1 1 100%; }
  .ldx-mode { flex: 1; text-align: center; }
  .ldx-pp-bar h2 { font-size: 1.1rem; }
  .ldx-pp-foot { padding: .7rem 1rem; }
  .ldx-nav-btn { padding: .5rem .85rem; font-size: .68rem; }
  .ldx-dots { display: none; }
  .ldx-launcher { right: 1rem; bottom: 1rem; height: 44px; }
  .ldx-invite { right: .9rem; left: .9rem; bottom: 4.75rem; width: auto; }
}

@media (max-width: 380px) {
  .ldx-ch-art { display: none; }
  .ldx-tour-art { max-height: 90px; overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .ldx-pp *, .ldx-tour *, .ldx-invite *, .ldx-launcher, .ldx-launcher * {
    animation: none !important;
    transition: none !important;
  }
  .ldx-pp-shell, .ldx-pp-scrim, .ldx-tour-veil, .ldx-tour-pop, .ldx-tour-hole { opacity: 1; transform: none; }
  .ldx-invite { opacity: 1; transform: none; }
  .ldx-ch:not(.is-live) .ldx-scene *,
  .ldx-tour-art:not(.is-live) .ldx-art * { opacity: 1; }
  .ldx-scene .sc-shield, .ldx-scene .sc-branch, .ldx-scene .sc-slash,
  .a-check, .a-line, .a-doc-line { stroke-dashoffset: 0; }
  .ldx-legal-item { opacity: 1; transform: none; }
  .sc-cookies .sc-knob { transform: translateX(24px); }
  .sc-retention .sc-bar-fill { transform: scaleX(1); }
}


/* ============================================================
   TRAINING DISCIPLINES + SCHEDULE BAND   (training.html)
   Replaces the old course carousels. Scenes animate once the
   card's .reveal observer promotes it to .visible.
   ============================================================ */

.tds { padding: var(--sp-md) 0; }

.tds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tds-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.tds-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(54, 73, 142, .16);
  border-color: transparent;
}

/* ── Scene panel ── */
.tds-art {
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(155deg, var(--navy-dp), #16205e 72%);
  overflow: hidden;
}
.tds-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.tds-art svg { position: relative; z-index: 1; width: 100%; height: 100%; display: block; fill: none; }

/* Hold the scene on frame zero until the card scrolls into view. */
.tds-card:not(.visible) .tds-art svg * { opacity: 0; }

/* ── Card copy ── */
.tds-body { padding: 1.5rem 1.5rem 1.625rem; display: flex; flex-direction: column; flex: 1; }
.tds-kicker {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
}
.tds-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--navy);
  margin: .5rem 0 .6rem;
}
.tds-desc { font-size: .875rem; line-height: 1.7; color: var(--text-mid); margin: 0 0 1.1rem; }

.tds-topics { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.35rem; padding: 0; }
.tds-topics li {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem .7rem;
  opacity: 0;
  transform: translateY(6px);
}
.tds-card.visible .tds-topics li {
  animation: tds-chip .45s cubic-bezier(.2, .8, .25, 1) forwards;
  animation-delay: calc(.35s + var(--i) * .06s);
}
@keyframes tds-chip { to { opacity: 1; transform: none; } }

.tds-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  padding: .65rem 1.25rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  text-decoration: none;
  transition: background .22s, transform .22s, box-shadow .22s, gap .22s;
}
.tds-cta:hover {
  background: var(--coral);
  transform: translateY(-2px);
  gap: .7rem;
  box-shadow: 0 12px 26px rgba(246, 91, 106, .3);
}
.tds-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ── Scene 1: Data Protection ── */
.tds-art-dp .dp-rings circle { stroke: rgba(255, 255, 255, .13); stroke-width: 1; }
.tds-art-dp .dp-row rect { fill: rgba(255, 255, 255, .18); }
.tds-art-dp .dp-shield { stroke: var(--coral); stroke-width: 2.4; stroke-linejoin: round; fill: rgba(246, 91, 106, .07); stroke-dasharray: 380; stroke-dashoffset: 380; }
.tds-art-dp .dp-lock rect { fill: var(--coral); }
.tds-art-dp .dp-shackle { stroke: rgba(255, 255, 255, .85); stroke-width: 4; fill: none; stroke-linecap: round; }
.tds-art-dp .dp-pulse { fill: none; stroke: rgba(246, 91, 106, .4); stroke-width: 1.5; }
.visible .tds-art-dp .dp-rings { animation: tds-fade .6s .1s both; }
.visible .tds-art-dp .dp-shield { animation: tds-fade .1s both, tds-draw 1.4s .2s cubic-bezier(.2,.8,.25,1) forwards; }
.visible .tds-art-dp .dp-row { animation: tds-feed 3.4s cubic-bezier(.2,.8,.25,1) infinite both; animation-delay: calc(.5s + var(--i) * .26s); }
.visible .tds-art-dp .dp-shackle { animation: tds-shackle .7s 1.1s cubic-bezier(.2,.8,.25,1) both; transform-origin: 160px 122px; }
.visible .tds-art-dp .dp-lock rect { animation: tds-pop .5s 1.25s both; transform-origin: 160px 124px; }
.visible .tds-art-dp .dp-pulse { animation: tds-fade .1s 1.6s both, tds-ping 2.8s 1.6s ease-out infinite; transform-origin: 160px 112px; }
@keyframes tds-feed {
  0%   { opacity: 0; transform: translateX(-26px); }
  16%  { opacity: 1; transform: none; }
  52%  { opacity: 1; transform: none; }
  76%  { opacity: .12; transform: translateX(96px) scale(.55); }
  77%, 100% { opacity: 0; transform: translateX(-26px); }
}
@keyframes tds-shackle { from { opacity: 0; transform: translateY(-14px) scaleY(1.5); } to { opacity: 1; transform: none; } }

/* ── Scene 2: Cybersecurity ── */
.tds-art-cs .cs-mesh path { stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; stroke-dasharray: 900; stroke-dashoffset: 900; }
.tds-art-cs .cs-node { fill: rgba(255, 255, 255, .34); }
.tds-art-cs .cs-core { fill: var(--coral); }
.tds-art-cs .cs-core-tick { stroke: var(--white); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 26; }
.tds-art-cs .cs-scan { fill: rgba(246, 91, 106, .75); }
.visible .tds-art-cs .cs-mesh path { animation: tds-fade .1s both, tds-draw 1.6s .2s ease-out forwards; }
.visible .tds-art-cs .cs-node { animation: tds-pop .5s both, tds-node-secure 3.4s ease-in-out infinite; animation-delay: calc(.3s + var(--i) * .1s), calc(1s + var(--i) * .1s); }
.visible .tds-art-cs .cs-core { animation: tds-pop .55s .85s both; transform-origin: 160px 112px; }
.visible .tds-art-cs .cs-core-tick { animation: tds-fade .1s 1.15s both, tds-draw .45s 1.2s ease-out forwards; }
.visible .tds-art-cs .cs-scan { animation: tds-fade .1s .3s both, tds-sweep 3.4s .3s ease-in-out infinite; }
@keyframes tds-sweep { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(156px); opacity: 0; } }
@keyframes tds-node-secure { 0%, 100% { fill: rgba(255, 255, 255, .34); } 45%, 65% { fill: rgba(246, 91, 106, .9); } }

/* ── Scene 3: AI Governance ── */
.tds-art-ai .ai-syn { stroke: rgba(255, 255, 255, .24); stroke-width: 1.2; stroke-dasharray: 300; stroke-dashoffset: 300; }
.tds-art-ai .ai-node { fill: rgba(255, 255, 255, .4); }
.tds-art-ai .ai-hub { fill: var(--coral); }
.tds-art-ai .ai-rail path { stroke: var(--coral); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tds-art-ai .ai-cap { fill: rgba(255, 255, 255, .45); font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; }
.visible .tds-art-ai .ai-syn { animation: tds-fade .1s both, tds-draw 1s cubic-bezier(.2,.8,.25,1) forwards; animation-delay: 0s, calc(.25s + var(--i) * .12s); }
.visible .tds-art-ai .ai-node { animation: tds-pop .5s both, tds-think 2.6s ease-in-out infinite; animation-delay: calc(.2s + var(--i) * .08s), calc(1.1s + var(--i) * .14s); }
.visible .tds-art-ai .ai-hub { animation: tds-pop .55s .75s both, tds-hub-beat 2.6s 1.2s ease-in-out infinite; transform-origin: 160px 112px; }
.visible .tds-art-ai .ai-rail-l { animation: tds-rail-l .8s 1.05s cubic-bezier(.2,.8,.25,1) both; }
.visible .tds-art-ai .ai-rail-r { animation: tds-rail-r .8s 1.05s cubic-bezier(.2,.8,.25,1) both; }
.visible .tds-art-ai .ai-cap { animation: tds-fade .6s 1.7s both; }
@keyframes tds-rail-l { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes tds-rail-r { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes tds-think { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes tds-hub-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* Shared scene keyframes */
@keyframes tds-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tds-draw { to { stroke-dashoffset: 0; } }
@keyframes tds-pop { 0% { opacity: 0; transform: scale(.55); } 60% { transform: scale(1.14); } 100% { opacity: 1; transform: scale(1); } }
@keyframes tds-ping { 0% { opacity: .5; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.35); } }

/* ────────────────────────────────────────────────────────────
   SCHEDULE BAND
   ──────────────────────────────────────────────────────────── */

.tsched {
  padding: var(--sp-md) 0;
  background: var(--off-white);
}
.tsched-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 18px 50px rgba(54, 73, 142, .09);
}

.tsched-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-pale);
  border-radius: 999px;
  padding: .35rem .85rem;
}
.tsched-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: tsched-blink 1.8s ease-in-out infinite;
}
@keyframes tsched-blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.7); } }

.tsched-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.22;
  color: var(--navy);
  margin: 1rem 0 .75rem;
}
.tsched-title em { color: var(--coral); font-style: italic; }
.tsched-desc { font-size: .95rem; line-height: 1.7; color: var(--text-mid); margin: 0 0 1.25rem; }

.tsched-points { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.tsched-points li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .875rem;
  color: var(--text);
  margin-bottom: .6rem;
  opacity: 0;
  transform: translateX(-10px);
}
.tsched-inner.visible .tsched-points li {
  animation: tsched-in .5s cubic-bezier(.2, .8, .25, 1) forwards;
  animation-delay: calc(.25s + var(--i) * .1s);
}
@keyframes tsched-in { to { opacity: 1; transform: none; } }
.tsched-tick {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--coral-pale);
}
.tsched-tick::after {
  content: '';
  position: absolute;
  left: 6px; top: 5px;
  width: 5px; height: 9px;
  border: solid var(--coral);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tsched-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-ghost-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-ghost-navy:hover { background: var(--off-white); border-color: var(--navy); }

/* ── Build-progress visual ── */
.tsched-build {
  background: linear-gradient(155deg, var(--navy-dp), #16205e 72%);
  border-radius: 18px;
  padding: 1.5rem;
  color: var(--white);
}
.tsched-build-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.tsched-build-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.tsched-build-pct { font-family: var(--font-mono); font-size: .68rem; color: var(--coral); }

.tsched-bar { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .13); overflow: hidden; }
.tsched-bar i {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), #ffb3ba);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.tsched-inner.visible .tsched-bar i { animation: tsched-fill 1.4s .3s cubic-bezier(.2, .8, .25, 1) forwards; }
@keyframes tsched-fill { to { transform: scaleX(1); } }

.tsched-steps { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.tsched-steps li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .7rem;
  opacity: 0;
  transform: translateY(8px);
}
.tsched-inner.visible .tsched-steps li {
  animation: tsched-step .5s cubic-bezier(.2, .8, .25, 1) forwards;
  animation-delay: calc(.5s + var(--i) * .13s);
}
@keyframes tsched-step { to { opacity: 1; transform: none; } }
.tsched-steps li span {
  width: 16px; height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3);
  position: relative;
}
.tsched-steps li.is-done { color: rgba(255, 255, 255, .85); }
.tsched-steps li.is-done span { background: var(--coral); border-color: transparent; }
.tsched-steps li.is-done span::after {
  content: '';
  position: absolute;
  left: 5px; top: 3px;
  width: 4px; height: 7px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tsched-steps li.is-live { color: var(--white); font-weight: 500; }
.tsched-steps li.is-live span { border-color: var(--coral); }
.tsched-steps li.is-live span::after {
  content: '';
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: var(--coral);
  animation: tsched-blink 1.6s ease-in-out infinite;
}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE + REDUCED MOTION
   ──────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .tds-grid { grid-template-columns: repeat(2, 1fr); }
  .tsched-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tds-grid { grid-template-columns: 1fr; }
  .tds-art { aspect-ratio: 16 / 9; }
  .tsched-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tds-card, .tds-cta, .tds-art svg *,
  .tsched-points li, .tsched-steps li, .tsched-bar i, .tsched-dot,
  .tsched-steps li.is-live span::after {
    animation: none !important;
    transition: none !important;
  }
  .tds-card:not(.visible) .tds-art svg * { opacity: 1; }
  .tds-topics li, .tsched-points li, .tsched-steps li { opacity: 1; transform: none; }
  .tds-art-dp .dp-shield, .tds-art-cs .cs-mesh path,
  .tds-art-cs .cs-core-tick, .tds-art-ai .ai-syn { stroke-dashoffset: 0; }
  .tsched-bar i { transform: scaleX(1); }
}


/* ============================================================
   ACADEMY NOTICE   (lims.html)
   "Course videos still in production" — shown once per session.
   ============================================================ */

.acd-notice {
  position: fixed;
  inset: 0;
  z-index: 5200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}
.acd-notice[hidden] { display: none; }

.acd-scrim {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 38, .74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s cubic-bezier(.2, .8, .25, 1);
}
.acd-notice.is-open .acd-scrim { opacity: 1; }

.acd-box {
  position: relative;
  width: min(480px, 100%);
  background: var(--white);
  border-radius: 22px;
  padding: 1.5rem 1.75rem 1.75rem;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .42);
  opacity: 0;
  transform: translateY(22px) scale(.97);
  transition: opacity .34s cubic-bezier(.2, .8, .25, 1), transform .34s cubic-bezier(.2, .8, .25, 1);
}
.acd-notice.is-open .acd-box { opacity: 1; transform: none; }

.acd-x {
  position: absolute;
  top: .8rem; right: .8rem;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--off-white);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.acd-x:hover { background: var(--coral-pale); transform: rotate(90deg); }
.acd-x svg { width: 13px; height: 13px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }

/* ── Animated "still recording" scene ── */
.acd-art {
  background: linear-gradient(155deg, var(--navy-dp), #16205e 72%);
  border-radius: 16px;
  padding: .5rem;
  margin-bottom: 1.25rem;
}
.acd-art svg { width: 100%; height: 132px; display: block; fill: none; }

.acd-screen { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; }
.acd-reel-o { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 2; stroke-dasharray: 26 14; }
.acd-play { fill: var(--coral); }
.acd-track { fill: rgba(255, 255, 255, .16); }
.acd-fill { fill: var(--coral); transform-origin: 86px 0; }
.acd-ray { stroke: var(--coral); stroke-width: 2.5; stroke-linecap: round; opacity: 0; }

.acd-notice.is-open .acd-screen { animation: acd-pop .5s both; transform-origin: 150px 73px; }
.acd-notice.is-open .acd-reel-o { animation: acd-fade .4s .3s both, acd-spin 4s .3s linear infinite; transform-origin: 150px 73px; }
.acd-notice.is-open .acd-play { animation: acd-pop .5s .38s both, acd-beat 2.2s 1s ease-in-out infinite; transform-origin: 152px 73px; }
.acd-notice.is-open .acd-track { animation: acd-fade .4s .45s both; }
.acd-notice.is-open .acd-fill { animation: acd-fade .1s .5s both, acd-record 3.2s .5s ease-in-out infinite; }
.acd-notice.is-open .acd-ray { animation: acd-ray 2.4s ease-out infinite; animation-delay: calc(.8s + var(--i) * .12s); }

@keyframes acd-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes acd-pop { 0% { opacity: 0; transform: scale(.6); } 60% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes acd-spin { to { transform: rotate(360deg); } }
@keyframes acd-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes acd-record { 0% { transform: scaleX(0); } 60% { transform: scaleX(.62); } 100% { transform: scaleX(.62); } }
@keyframes acd-ray { 0%, 100% { opacity: 0; } 35% { opacity: .85; } 60% { opacity: .2; } }

/* ── Copy ── */
.acd-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-pale);
  border-radius: 999px;
  padding: .3rem .8rem;
}
.acd-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: acd-blink 1.8s ease-in-out infinite;
}
@keyframes acd-blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.7); } }

.acd-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  line-height: 1.24;
  color: var(--navy);
  margin: .75rem 0 .6rem;
}
.acd-desc { font-size: .875rem; line-height: 1.65; color: var(--text-mid); margin: 0 0 .6rem; }
.acd-desc-strong { color: var(--text); font-weight: 500; margin-bottom: 1.25rem; }

.acd-actions { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.acd-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  background: var(--coral);
  color: var(--white);
  border-radius: 999px;
  padding: .8rem 1.4rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  text-decoration: none;
  transition: background .22s, transform .22s, gap .22s, box-shadow .22s;
}
.acd-go:hover {
  background: var(--navy);
  transform: translateY(-2px);
  gap: .75rem;
  box-shadow: 0 14px 30px rgba(54, 73, 142, .3);
}
.acd-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.acd-later {
  border: 0;
  background: none;
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: .74rem;
  cursor: pointer;
  padding: .4rem;
  transition: color .2s;
}
.acd-later:hover { color: var(--navy); }

.acd-notice :focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 480px) {
  .acd-box { padding: 1.25rem 1.15rem 1.4rem; }
  .acd-art svg { height: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  .acd-scrim, .acd-box, .acd-x, .acd-go, .acd-notice svg *, .acd-dot {
    animation: none !important;
    transition: none !important;
  }
  .acd-box, .acd-scrim { opacity: 1; transform: none; }
  .acd-notice svg * { opacity: 1; }
  .acd-fill { transform: scaleX(.62); }
  .acd-ray { opacity: .9; }
}


/* ============================================================
   TERMS OF USE — SCENES
   Eight scenes for the second legal document. They share the
   shell, typography and `.is-live` trigger of the policy scenes
   above; only the artwork differs.
   ============================================================ */

/* — Scene 1: the agreement — */
.sc-agree .sc-doc-l rect,
.sc-agree .sc-doc-r rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .28); stroke-width: 1.4; }
.sc-agree .sc-doc-line { stroke: rgba(255, 255, 255, .34); stroke-width: 2.2; stroke-linecap: round; }
.sc-agree .sc-seal { fill: var(--coral); }
.sc-agree .sc-seal-ring { fill: none; stroke: rgba(246, 91, 106, .45); stroke-width: 1.6; stroke-dasharray: 5 6; }
.sc-agree .sc-seal-tick { stroke: var(--white); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; }
.is-live .sc-agree .sc-doc-l { animation: ldx-slide-l .7s var(--ldx-ease) both; }
.is-live .sc-agree .sc-doc-r { animation: ldx-slide-r .7s var(--ldx-ease) both; }
.is-live .sc-agree .sc-seal { animation: tou-stamp .6s .55s var(--ldx-ease) both; transform-origin: 160px 104px; }
.is-live .sc-agree .sc-seal-ring { animation: ldx-fade .4s .8s both, tou-rotate 12s .8s linear infinite; transform-origin: 160px 104px; }
.is-live .sc-agree .sc-seal-tick { animation: ldx-fade .1s .95s both, ldx-draw .5s 1s var(--ldx-ease) forwards; }
.is-live .sc-agree .sc-cap { animation: ldx-fade .5s 1.35s both; }
@keyframes tou-stamp { 0% { opacity: 0; transform: scale(2.4); } 65% { opacity: 1; transform: scale(.88); } 100% { opacity: 1; transform: scale(1); } }
@keyframes tou-rotate { to { transform: rotate(360deg); } }

/* — Scene 2: permitted vs prohibited — */
.sc-rules .sc-rules-h { fill: rgba(255, 255, 255, .5); }
.sc-rules .sc-rules-div { stroke: rgba(255, 255, 255, .18); stroke-width: 1; stroke-dasharray: 4 5; }
.sc-rules .sc-ok rect { fill: rgba(255, 255, 255, .09); stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.sc-rules .sc-ok-tick { stroke: #7ee2a8; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sc-rules .sc-no rect { fill: rgba(246, 91, 106, .1); stroke: rgba(246, 91, 106, .32); stroke-width: 1; }
.sc-rules .sc-no-x { stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; }
.is-live .sc-rules .sc-rules-h,
.is-live .sc-rules .sc-rules-div { animation: ldx-fade .5s .1s both; }
.is-live .sc-rules .sc-ok { animation: ldx-slide-l .5s var(--ldx-ease) both; animation-delay: calc(.25s + var(--i) * .12s); }
.is-live .sc-rules .sc-no { animation: ldx-slide-r .5s var(--ldx-ease) both; animation-delay: calc(.45s + var(--i) * .12s); }

/* — Scene 3: one account, one learner — */
.sc-account .sc-card { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; }
.sc-account .sc-avatar { fill: var(--coral); }
.sc-account .sc-avatar-body { stroke: var(--coral); stroke-width: 3.4; fill: none; stroke-linecap: round; }
.sc-account .sc-cred-bar { fill: rgba(255, 255, 255, .22); }
.sc-account .sc-key circle { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 3; }
.sc-account .sc-key-stem { stroke: rgba(255, 255, 255, .8); stroke-width: 3; fill: none; stroke-linecap: round; }
.is-live .sc-account .sc-card { animation: ldx-pop .55s both; transform-origin: 160px 106px; }
.is-live .sc-account .sc-avatar { animation: ldx-pop .5s .3s both; transform-origin: 106px 94px; }
.is-live .sc-account .sc-avatar-body { animation: ldx-fade .5s .42s both; }
.is-live .sc-account .sc-cred-bar { animation: tou-bar .5s var(--ldx-ease) both; transform-origin: 146px 0; animation-delay: calc(.5s + var(--i) * .12s); }
.is-live .sc-account .sc-key { animation: tou-key .9s .85s var(--ldx-ease) both; transform-origin: 216px 132px; }
.is-live .sc-account .sc-cap { animation: ldx-fade .5s 1.5s both; }
@keyframes tou-bar { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes tou-key { 0% { opacity: 0; transform: translateX(26px) rotate(-40deg); } 70% { transform: translateX(0) rotate(8deg); } 100% { opacity: 1; transform: none; } }

/* — Scene 4: payment and delivery — */
.sc-pay .sc-bank path,
.sc-pay .sc-bank rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; stroke-linejoin: round; }
.sc-pay .sc-bank-cols { stroke: rgba(255, 255, 255, .4); stroke-width: 2; fill: none; }
.sc-pay .sc-pay-path { stroke: rgba(246, 91, 106, .5); stroke-width: 1.8; stroke-dasharray: 4 5; }
.sc-pay .sc-coin circle { fill: var(--coral); }
.sc-pay .sc-coin-t { font-size: 13px; fill: var(--white); font-family: var(--font-mono); }
.sc-pay .sc-receipt rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .28); stroke-width: 1.4; }
.sc-pay .sc-doc-line { stroke: rgba(255, 255, 255, .32); stroke-width: 2.2; stroke-linecap: round; }
.sc-pay .sc-receipt-badge { fill: var(--coral); }
.sc-pay .sc-receipt-tick { stroke: var(--white); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.is-live .sc-pay .sc-bank { animation: ldx-slide-l .6s .1s var(--ldx-ease) both; }
.is-live .sc-pay .sc-receipt rect,
.is-live .sc-pay .sc-doc-line { animation: ldx-slide-r .6s .25s var(--ldx-ease) both; }
.is-live .sc-pay .sc-pay-path { animation: ldx-fade .5s .5s both, ldx-march 1.2s .5s linear infinite; }
.is-live .sc-pay .sc-coin { animation: tou-transfer 3.2s .7s var(--ldx-ease) infinite both; }
.is-live .sc-pay .sc-receipt-badge { animation: ldx-pop .5s 1.6s both; transform-origin: 272px 146px; }
.is-live .sc-pay .sc-receipt-tick { animation: ldx-fade .4s 1.8s both; }
@keyframes tou-transfer {
  0%        { opacity: 0; transform: translateX(0) scale(.7); }
  14%       { opacity: 1; transform: translateX(0) scale(1); }
  62%       { opacity: 1; transform: translateX(84px) scale(1); }
  78%       { opacity: 0; transform: translateX(104px) scale(.6); }
  79%, 100% { opacity: 0; transform: translateX(0) scale(.7); }
}

/* — Scene 5: refunds and notice — */
.sc-refund .sc-clock { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .3); stroke-width: 1.6; }
.sc-refund .sc-hands { stroke: var(--white); stroke-width: 2.6; fill: none; stroke-linecap: round; }
.sc-refund .sc-clock-pin { fill: var(--coral); }
.sc-refund .sc-back-arc { stroke: var(--coral); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
.sc-refund .sc-back-head { stroke: var(--coral); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sc-refund .sc-slip rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .28); stroke-width: 1.4; }
.sc-refund .sc-doc-line { stroke: rgba(255, 255, 255, .32); stroke-width: 2.2; stroke-linecap: round; }
.is-live .sc-refund .sc-clock { animation: ldx-pop .55s both; transform-origin: 112px 106px; }
.is-live .sc-refund .sc-hands { animation: ldx-fade .4s .3s both, tou-rewind 4s .5s ease-in-out infinite; transform-origin: 112px 106px; }
.is-live .sc-refund .sc-clock-pin { animation: ldx-fade .4s .35s both; }
.is-live .sc-refund .sc-back-arc { animation: ldx-fade .1s .55s both, ldx-draw 1.2s .6s var(--ldx-ease) forwards; }
.is-live .sc-refund .sc-back-head { animation: ldx-fade .5s 1.5s both; }
.is-live .sc-refund .sc-slip { animation: tou-return 3.6s 1s var(--ldx-ease) infinite both; }
.is-live .sc-refund .sc-cap { animation: ldx-fade .5s 1.7s both; }
@keyframes tou-rewind { 0% { transform: rotate(0); } 55%, 100% { transform: rotate(-320deg); } }
@keyframes tou-return {
  0%        { opacity: 0; transform: translateX(34px); }
  18%       { opacity: 1; transform: translateX(0); }
  62%       { opacity: 1; transform: translateX(0); }
  84%       { opacity: 0; transform: translateX(34px); }
  85%, 100% { opacity: 0; transform: translateX(34px); }
}

/* — Scene 6: ownership and licence — */
.sc-ip .sc-orig rect,
.sc-ip .sc-copy rect { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .28); stroke-width: 1.4; }
.sc-ip .sc-copy rect { fill: rgba(255, 255, 255, .18); }
.sc-ip .sc-doc-line { stroke: rgba(255, 255, 255, .34); stroke-width: 2.2; stroke-linecap: round; }
.sc-ip .sc-cbadge { fill: var(--coral); }
.sc-ip .sc-cbadge-t { font-size: 14px; fill: var(--white); font-family: var(--font-mono); }
.sc-ip .sc-licence-path { stroke: var(--coral); stroke-width: 1.8; stroke-dasharray: 4 5; }
.sc-ip .sc-ribbon rect { fill: var(--coral); }
.sc-ip .sc-ribbon-t { fill: var(--white); letter-spacing: .1em; font-size: 8px; }
.sc-ip .sc-noresale circle { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.4; }
.sc-ip .sc-noresale-t { font-size: 12px; fill: rgba(255, 255, 255, .5); }
.sc-ip .sc-noresale-slash { stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.is-live .sc-ip .sc-orig { animation: ldx-slide-l .6s .1s var(--ldx-ease) both; }
.is-live .sc-ip .sc-licence-path { animation: ldx-fade .5s .55s both, ldx-march 1.2s .55s linear infinite; }
.is-live .sc-ip .sc-copy { animation: tou-copy .7s .7s var(--ldx-ease) both; }
.is-live .sc-ip .sc-ribbon { animation: ldx-pop .5s 1.15s both; transform-origin: 227px 137px; }
.is-live .sc-ip .sc-noresale circle,
.is-live .sc-ip .sc-noresale-t { animation: ldx-fade .5s 1.4s both; }
.is-live .sc-ip .sc-noresale-slash { animation: ldx-fade .1s 1.55s both, ldx-draw .45s 1.6s var(--ldx-ease) forwards; }
@keyframes tou-copy { 0% { opacity: 0; transform: translateX(-56px) scale(.9); } 100% { opacity: 1; transform: none; } }

/* — Scene 7: template is not advice — */
.sc-advice .sc-generic rect,
.sc-advice .sc-tailored path:first-child { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .28); stroke-width: 1.4; stroke-linejoin: round; }
.sc-advice .sc-doc-line { stroke: rgba(255, 255, 255, .34); stroke-width: 2.2; stroke-linecap: round; }
.sc-advice .sc-adv-div { stroke: rgba(255, 255, 255, .18); stroke-width: 1; stroke-dasharray: 4 5; }
.sc-advice .sc-neq { fill: var(--coral); font-family: var(--font-mono); font-size: 26px; }
.sc-advice .sc-adv-cap { fill: rgba(255, 255, 255, .5); }
.is-live .sc-advice .sc-generic { animation: ldx-slide-l .6s .1s var(--ldx-ease) both; }
.is-live .sc-advice .sc-tailored { animation: ldx-slide-r .6s .25s var(--ldx-ease) both; }
.is-live .sc-advice .sc-adv-div { animation: ldx-fade .5s .5s both; }
.is-live .sc-advice .sc-neq { animation: ldx-pop .6s .7s both, tou-pulse 2.6s 1.3s ease-in-out infinite; transform-origin: 160px 104px; }
@keyframes tou-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* — Scene 8: liability and governing law — */
.sc-liability .sc-shield-bg { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .2); stroke-width: 1.4; stroke-linejoin: round; }
.sc-liability .sc-beam2 { stroke: var(--coral); stroke-width: 3.4; stroke-linecap: round; }
.sc-liability .sc-stand { stroke: rgba(255, 255, 255, .45); stroke-width: 2.6; stroke-linecap: round; }
.sc-liability .sc-panL path,
.sc-liability .sc-panR path { fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .35); stroke-width: 1.3; stroke-linejoin: round; }
.sc-liability .sc-fulcrum { fill: var(--coral); }
.is-live .sc-liability .sc-shield-bg { animation: ldx-fade .7s .1s both; }
.is-live .sc-liability .sc-stand { animation: ldx-fade .5s .3s both; }
.is-live .sc-liability .sc-beam2 { animation: ldx-fade .4s .45s both, tou-tip 4s .6s ease-in-out infinite; transform-origin: 160px 86px; }
.is-live .sc-liability .sc-panL { animation: ldx-fade .5s .6s both, tou-tip-l 4s .6s ease-in-out infinite; }
.is-live .sc-liability .sc-panR { animation: ldx-fade .5s .7s both, tou-tip-r 4s .6s ease-in-out infinite; }
.is-live .sc-liability .sc-fulcrum { animation: ldx-pop .5s .5s both; transform-origin: 160px 86px; }
.is-live .sc-liability .sc-cap { animation: ldx-fade .5s 1.3s both; }
@keyframes tou-tip   { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-7deg); } 65% { transform: rotate(4deg); } }
@keyframes tou-tip-l { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-13px); } 65% { transform: translateY(7px); } }
@keyframes tou-tip-r { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(13px); } 65% { transform: translateY(-7px); } }

/* A quieter inline button, for cross-references inside the text. */
.ldx-legal-btn-quiet {
  background: none;
  color: var(--coral);
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  border-radius: 3px;
}
.ldx-legal-btn-quiet:hover { color: var(--navy); transform: none; box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .sc-agree .sc-seal-tick, .sc-refund .sc-back-arc,
  .sc-ip .sc-noresale-slash { stroke-dashoffset: 0; }
  .sc-account .sc-cred-bar { transform: scaleX(1); }
}


/* ============================================================
   PRIVACY RIGHTS HUB   (privacy-rights.html)
   Editorial explainer page: rights grid, request template,
   glossary and FAQ. Classes are `pr-` prefixed.
   ============================================================ */

/* ── Intro + key facts ── */
.pr-intro { padding: var(--sp-md) 0 var(--sp-sm); background: var(--white); }
.pr-intro-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.pr-lead { font-size: 1rem; line-height: 1.8; color: var(--text-mid); margin-bottom: 1rem; }
.pr-lead strong { color: var(--navy); }

.pr-facts {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
}
.pr-facts-title {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}
.pr-fact-list { margin: 0; }
.pr-fact { padding: .7rem 0; border-top: 1px solid var(--border); }
.pr-fact:first-child { border-top: 0; padding-top: 0; }
.pr-fact dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); margin-bottom: .25rem; }
.pr-fact dd { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--text); }
.pr-fact dd a { color: var(--coral); }

/* ── The eight rights ── */
.pr-rights { padding: var(--sp-md) 0; background: var(--off-white); }
.pr-rights-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  counter-reset: pr-right;
}
.pr-right {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pr-right:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(54, 73, 142, .13);
  border-color: transparent;
}
.pr-right-num {
  position: absolute;
  top: -14px; left: 1.5rem;
  display: inline-grid;
  place-items: center;
  width: 40px; height: 28px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  transition: background var(--transition);
}
.pr-right:hover .pr-right-num { background: var(--coral); }
.pr-right h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--navy);
  margin: .5rem 0 .65rem;
}
.pr-right p { font-size: .875rem; line-height: 1.7; color: var(--text-mid); margin-bottom: .75rem; }
.pr-right strong { color: var(--navy-dk); }
.pr-right-use {
  margin: 0;
  padding: .7rem .9rem;
  background: var(--off-white);
  border-left: 3px solid var(--coral);
  border-radius: 0 10px 10px 0;
  font-size: .82rem !important;
}
.pr-right-use span {
  display: block;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: .25rem;
}

.pr-plus {
  margin: 1.75rem auto 0;
  max-width: 780px;
  text-align: center;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text-mid);
}
.pr-plus i { color: var(--coral); margin-right: .35rem; }

/* ── Making a request ── */
.pr-how { padding: var(--sp-md) 0; background: var(--white); }
.pr-how-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-top: 2.5rem;
  align-items: start;
}
.pr-steps { list-style: none; counter-reset: pr-step; margin: 0; padding: 0; }
.pr-steps li {
  counter-increment: pr-step;
  position: relative;
  padding: 0 0 1.5rem 3.25rem;
  border-left: 2px solid var(--border);
  margin-left: 1rem;
}
.pr-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.pr-steps li::before {
  content: counter(pr-step);
  position: absolute;
  left: -1rem; top: -.15rem;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .78rem;
}
.pr-steps h3 { font-size: 1rem; color: var(--navy); margin-bottom: .35rem; }
.pr-steps p { font-size: .875rem; line-height: 1.7; color: var(--text-mid); margin: 0; }

.pr-template {
  background: var(--navy-dp);
  border-radius: 20px;
  padding: 1.75rem;
  color: var(--white);
}
.pr-template-label {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
}
.pr-template-head h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); margin: .4rem 0 1rem; }
.pr-template-body {
  background: rgba(255, 255, 255, .07);
  border-left: 3px solid var(--coral);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.25rem;
  margin: 0;
}
.pr-template-body p {
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .84);
  margin-bottom: .7rem;
}
.pr-template-body p:last-child { margin-bottom: 0; }
.pr-template-body strong { color: var(--white); }
.pr-template-note { margin: 1rem 0 0; font-size: .78rem; line-height: 1.6; color: rgba(255, 255, 255, .55); }

/* ── Escalation band ── */
.pr-escalate { padding: var(--sp-sm) 0; background: var(--off-white); }
.pr-escalate-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 880px;
  margin-inline: auto;
}
.pr-escalate-copy p { font-size: .95rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 1.25rem; }
.pr-escalate-steps { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.pr-escalate-steps li { font-size: .9rem; line-height: 1.7; color: var(--text-mid); margin-bottom: .5rem; }
.pr-escalate-steps strong { color: var(--navy); }

/* ── Digital rights context ── */
.pr-digital { padding: var(--sp-md) 0; background: var(--white); }
.pr-digital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.pr-dcard {
  background: var(--off-white);
  border-radius: 16px;
  padding: 1.5rem;
  border-top: 3px solid var(--coral);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pr-dcard:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(54, 73, 142, .12); }
.pr-dcard h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: .5rem; }
.pr-dcard p { font-size: .865rem; line-height: 1.7; color: var(--text-mid); margin: 0; }

/* ── Glossary ── */
.pr-glossary { padding: var(--sp-md) 0; background: var(--off-white); }
.pr-terms {
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
}
.pr-term {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
}
.pr-term dt {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .02em;
  color: var(--coral);
  margin-bottom: .4rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.pr-term dd { margin: 0; font-size: .865rem; line-height: 1.7; color: var(--text-mid); }

/* ── FAQ ── */
.pr-faq { padding: var(--sp-md) 0; background: var(--white); }
.pr-faq-list { max-width: 840px; margin: 2.5rem auto 0; }
.pr-faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: .75rem;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pr-faq-item.open { border-color: var(--coral); box-shadow: 0 10px 26px rgba(246, 91, 106, .1); }
.pr-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 1.1rem 1.35rem;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s, color .2s;
}
.pr-faq-q:hover { background: var(--off-white); }
.pr-faq-item.open .pr-faq-q { color: var(--coral); }
.pr-faq-q i { flex-shrink: 0; font-size: .8rem; transition: transform .3s var(--transition); }
.pr-faq-item.open .pr-faq-q i { transform: rotate(180deg); }
.pr-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4, 0, .2, 1); }
.pr-faq-item.open .pr-faq-a { max-height: 420px; }
.pr-faq-a p { padding: 0 1.35rem 1.25rem; font-size: .89rem; line-height: 1.75; color: var(--text-mid); margin: 0; }

/* ── Closing CTA ── */
.pr-cta { padding: var(--sp-md) 0; background: var(--off-white); }
.pr-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.pr-cta-inner h2 { font-family: var(--font-serif); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--navy); margin-bottom: .6rem; }
.pr-cta-inner p { font-size: .95rem; line-height: 1.7; color: var(--text-mid); margin: 0; }
.pr-cta-actions { display: flex; flex-direction: column; gap: .65rem; }
.pr-cta-actions .btn { justify-content: center; }

.pr-disclaimer {
  max-width: 880px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--text-light);
}
.pr-disclaimer i { color: var(--coral); margin-right: .3rem; }
.pr-disclaimer a { color: var(--coral); text-underline-offset: 2px; }

/* ── Reveal + responsive ── */
.pr-right, .pr-dcard, .pr-term, .pr-faq-item, .pr-steps, .pr-template, .pr-facts {
  opacity: 1;
}

@media (max-width: 1024px) {
  .pr-intro-grid { grid-template-columns: 1fr; }
  .pr-facts { position: static; }
  .pr-how-grid { grid-template-columns: 1fr; }
  .pr-digital-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pr-rights-grid { grid-template-columns: 1fr; }
  .pr-terms { grid-template-columns: 1fr; }
  .pr-cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pr-digital-grid { grid-template-columns: 1fr; }
  .pr-template { padding: 1.25rem; }
  .pr-faq-q { font-size: .89rem; padding: .95rem 1.1rem; }
}


/* ============================================================
   CENTRED HEADINGS — restoring inheritance
   ------------------------------------------------------------
   The global "must stay left-aligned" rule near the top of this
   file lists h1–h6 and .section-title. A direct rule always beats
   an inherited value, so any component that centres its own
   content got centred paragraphs with a left-aligned heading
   sitting above them. These are the components that centre on
   purpose; give their headings the alignment back.
   ============================================================ */

.sv-proc-step h4,            /* services — "How a Compliance Engagement Works" */
.pillar-content h3,          /* index, about — brand pillars                   */
.tv-card h3,                 /* academy — learning-path tree                   */
.step-card h3,               /* academy — "How it works" steps                 */
.lims-cta-inner h2,          /* academy — closing CTA                          */
.ppd-header h2,              /* resources — Privacy Policy Designer            */
.acd-box h2,                 /* academy notice modal                           */
.cta-band .section-title,    /* sitewide closing CTA bands                      */
[style*="text-align:center"] > h1,
[style*="text-align:center"] > h2,
[style*="text-align:center"] > h3,
[style*="text-align:center"] > h4 {
  text-align: center;
}


/* ============================================================
   PRIVACY RIGHTS PROMPT   (homepage only — see ld-experience.js)
   Bottom-left card that folds into a small corner toggle. Mirrors
   the tour invitation on the right, so the two never collide.
   ============================================================ */

.ldr-card {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 5700;
  width: min(330px, calc(100vw - 2.5rem));
  background: var(--white);
  border-radius: 18px;
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: 0 24px 60px rgba(13, 18, 48, .3);
  opacity: 0;
  transform: translateY(18px) scale(.97);
  transition: opacity .4s var(--ldx-ease), transform .4s var(--ldx-ease);
}
.ldr-card.is-in { opacity: 1; transform: none; }
.ldr-card.is-folding {
  opacity: 0;
  transform: translateY(10px) scale(.9);
  transform-origin: 0 100%;
}

.ldr-x {
  position: absolute;
  top: .55rem; right: .55rem;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--off-white);
  cursor: pointer;
  transition: background .2s;
}
.ldr-x:hover { background: var(--coral-pale); }
.ldr-x svg { width: 12px; height: 12px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }

.ldr-art {
  background: linear-gradient(155deg, var(--navy-dp), #16205e 70%);
  border-radius: 12px;
  padding: .5rem;
  margin-bottom: .8rem;
}
.ldr-art svg { width: 100%; height: 66px; display: block; fill: none; }
.ldr-pulse { fill: rgba(246, 91, 106, .28); animation: ldr-ping 2.8s ease-out infinite; transform-origin: 60px 38px; }
.ldr-shield { stroke: var(--coral); stroke-width: 2.2; fill: rgba(246, 91, 106, .12); stroke-linejoin: round; }
.ldr-check {
  stroke: var(--white);
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  animation: ldr-draw .6s .5s var(--ldx-ease) forwards;
}
@keyframes ldr-ping { 0% { opacity: .55; transform: scale(.75); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes ldr-draw { to { stroke-dashoffset: 0; } }

.ldr-kicker {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0;
}
.ldr-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--navy);
  margin: .25rem 0 .4rem;
}
.ldr-body { font-size: .8rem; line-height: 1.55; color: var(--text-mid); margin: 0 0 .9rem; }

.ldr-actions { display: flex; align-items: center; gap: .5rem; }
.ldr-go {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .74rem;
  padding: .58rem 1rem;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.ldr-go:hover { background: var(--navy); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(54, 73, 142, .28); }
.ldr-no {
  border: 0;
  background: none;
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: .72rem;
  cursor: pointer;
  padding: .5rem .4rem;
  transition: color .2s;
}
.ldr-no:hover { color: var(--navy); }

/* ── Folded state: the corner toggle ── */
.ldr-tab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 3900;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--navy-dp);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(13, 18, 48, .32);
  opacity: 0;
  transform: translateY(10px) scale(.9);
  transition: opacity .3s var(--ldx-ease), transform .3s var(--ldx-ease),
              gap .3s var(--ldx-ease), padding .3s var(--ldx-ease), background .25s;
}
.ldr-tab.is-in { opacity: 1; transform: none; }
.ldr-tab:hover { gap: .5rem; padding-right: 18px; background: var(--coral); }
.ldr-tab svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.ldr-tab-check { stroke-linecap: round; }
.ldr-tab-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .3s var(--ldx-ease), opacity .25s;
}
.ldr-tab:hover .ldr-tab-label { max-width: 150px; opacity: 1; }

body.ldx-locked .ldr-tab, body.ldx-locked .ldr-card { pointer-events: none; }

.ldr-card :focus-visible, .ldr-tab:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 8px;
}

/* The cookie banner owns the bottom of the screen while it is up. */
@media (max-width: 640px) {
  .ldr-card { left: .9rem; right: .9rem; width: auto; bottom: 1rem; }
  .ldr-tab { left: 1rem; bottom: 1rem; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .ldr-card, .ldr-tab, .ldr-pulse, .ldr-check, .ldr-go, .ldr-x {
    animation: none !important;
    transition: none !important;
  }
  .ldr-card, .ldr-tab { opacity: 1; transform: none; }
  .ldr-check { stroke-dashoffset: 0; }
}
