/* ═══════════════════════════════════════════════════════════════════
   AI EMPIRE v3 — "Sunlit Atelier" Design System
   A warm, editorial, cinematic light-mode experience.
   Ivory paper · ink typography · metallic gold · film grain · motion.
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────── 1. Tokens ─────────────── */
:root {
  --paper: #FAF4E8;
  --paper-2: #F3ECDC;
  --paper-3: #ECE2CE;
  --cream: #FFFDF6;
  --ink: #1B1508;
  --ink-2: #4C4330;
  --ink-3: #7A6E55;
  --muted: #97897280;
  --gold: #B8862B;
  --gold-2: #E4BC55;
  --gold-3: #F5DF9A;
  --gold-deep: #8A641C;
  --terra: #BE5A38;
  --line: rgba(27, 21, 8, 0.12);
  --line-soft: rgba(27, 21, 8, 0.07);
  --line-gold: rgba(184, 134, 43, 0.35);

  --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-serif: "Amiri", serif;
  --font-body: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-num: "Space Grotesk", "Alexandria", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxe: cubic-bezier(0.65, 0.05, 0, 1);

  --shadow-1: 0 2px 10px rgba(27, 21, 8, 0.05), 0 24px 48px -24px rgba(27, 21, 8, 0.12);
  --shadow-2: 0 4px 16px rgba(27, 21, 8, 0.06), 0 40px 90px -32px rgba(27, 21, 8, 0.22);
  --shadow-gold: 0 18px 50px -18px rgba(184, 134, 43, 0.45);

  --r-lg: 26px;
  --r-md: 18px;
}

/* ─────────────── 2. Base ─────────────── */
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--cream); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--gold-deep)); border-radius: 99px; border: 2px solid var(--paper-2); }

h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
img { max-width: 100%; }
a { -webkit-tap-highlight-color: transparent; }

/* Film grain over everything — the cinematic signature */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 2147483000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  mix-blend-mode: multiply;
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ─────────────── 3. Preloader ─────────────── */
.v3-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--paper);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease-luxe);
  clip-path: inset(0 0 0 0);
}
.v3-loader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.v3-loader-mark {
  font-family: var(--font-num); font-weight: 700; font-size: 15px;
  letter-spacing: 0.55em; color: var(--ink); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.v3-loader-mark .mono {
  width: 74px; height: 74px; border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-2), var(--gold-deep));
  color: var(--cream); font-size: 26px; letter-spacing: 0;
  box-shadow: var(--shadow-gold);
  animation: loader-pop 1.4s var(--ease-out) infinite alternate;
}
@keyframes loader-pop { from { transform: scale(1) rotate(0deg); } to { transform: scale(1.08) rotate(-3deg); } }
.v3-loader-bar { width: 180px; height: 2px; background: var(--line); overflow: hidden; border-radius: 99px; }
.v3-loader-bar i { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 99px; animation: loader-run 1.1s var(--ease-luxe) infinite; }
@keyframes loader-run { from { transform: translateX(220%); } to { transform: translateX(-280%); } }

/* ─────────────── 4. Custom cursor (desktop) ─────────────── */
.v3-cursor, .v3-cursor-ring { display: none; }
@media (pointer: fine) {
  .v3-cursor {
    display: block; position: fixed; z-index: 9990; top: 0; left: 0;
    width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
    background: var(--gold-deep); pointer-events: none;
  }
  .v3-cursor-ring {
    display: block; position: fixed; z-index: 9989; top: 0; left: 0;
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
    border: 1.5px solid var(--line-gold); pointer-events: none;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), margin 0.3s var(--ease-out), background 0.3s, opacity 0.3s;
  }
  .v3-cursor-ring.hovering {
    width: 64px; height: 64px; margin: -32px 0 0 -32px;
    background: rgba(184, 134, 43, 0.08);
  }
}

/* ─────────────── 5. Typography helpers ─────────────── */
.t-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7.2vw, 6.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.t-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(115deg, var(--gold-deep) 0%, var(--gold) 40%, var(--gold-2) 70%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-inline: 0.06em;
}
.text-gradient {
  background: linear-gradient(115deg, var(--gold-deep), var(--gold) 45%, var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.heading-xl { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.15; color: var(--ink); }
.heading-lg { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.2; color: var(--ink); }
.heading-md { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.3; color: var(--ink); }
.body-lg { font-size: 1.13rem; line-height: 1.9; color: var(--ink-2); }

/* ─────────────── 6. Layout primitives (shared across pages) ─────────────── */
.container-x { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section-alt { background: var(--paper-2); }
.section-warm { background: linear-gradient(180deg, var(--paper-2), var(--paper-3)); }

.section-header { text-align: center; max-width: 780px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-num); font-size: 12px; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-deep);
}
.section-label::before, .section-label::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-label::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.18; color: var(--ink); margin-top: 18px; }
.section-desc { margin-top: 16px; font-size: 1.08rem; color: var(--ink-3); line-height: 1.9; }

.grid-pattern {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ─────────────── 7. Buttons ─────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: 15.5px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.4s, color 0.4s, border-color 0.4s;
  will-change: transform; cursor: pointer; text-decoration: none;
}
.btn svg { transition: transform 0.45s var(--ease-out); }
.btn:hover svg { transform: translateX(-5px); } /* RTL: arrows point left-ish */
.btn-primary {
  background: var(--ink); color: var(--cream);
  box-shadow: 0 14px 34px -14px rgba(27, 21, 8, 0.55);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(228, 188, 85, 0.35) 50%, transparent 70%);
  transform: translateX(120%);
  transition: transform 0.9s var(--ease-luxe);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(27, 21, 8, 0.6); }
.btn-primary:hover::after { transform: translateX(-120%); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(184, 134, 43, 0.06); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: var(--cream); box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); }
.btn-lg { padding: 20px 44px; font-size: 17px; }
.btn-ghost { background: rgba(27,21,8,.04); color: var(--ink-2); border: 1px solid var(--line-soft); }
.btn-ghost:hover { background: rgba(27,21,8,.07); }

/* ─────────────── 8. Cards & badges (shared) ─────────────── */
.card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-1);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-2), var(--gold), transparent);
  opacity: 0; transition: opacity 0.5s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); border-color: var(--line-gold); }
.card:hover::before { opacity: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(27, 21, 8, 0.05); border: 1px solid var(--line-soft);
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
}
.badge-gold {
  background: linear-gradient(135deg, rgba(228, 188, 85, 0.18), rgba(184, 134, 43, 0.1));
  border-color: var(--line-gold); color: var(--gold-deep);
}

.img-frame { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.img-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ─────────────── 9. Reveal engine ─────────────── */
.reveal, .reveal-right, .reveal-left, .reveal-clip, .reveal-scale {
  opacity: 0;
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.2s var(--ease-luxe);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.reveal { transform: translateY(44px); }
.reveal-right { transform: translateX(-56px); }
.reveal-left { transform: translateX(56px); }
.reveal-scale { transform: translateY(30px) scale(0.94); }
.reveal-clip { clip-path: inset(12% 6% 12% 6% round 24px); transform: scale(0.97); }
.reveal.in, .reveal-right.in, .reveal-left.in, .reveal-clip.in, .reveal-scale.in {
  opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0px);
}
.reveal-delay-1 { --rd: 0.1s; } .reveal-delay-2 { --rd: 0.2s; }
.reveal-delay-3 { --rd: 0.3s; } .reveal-delay-4 { --rd: 0.4s; }

.stagger-children > * {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.stagger-children.in > * { opacity: 1; transform: none; }

/* Split-line title reveal */
.v3-line { display: block; overflow: hidden; padding-block: 0.08em; margin-block: -0.08em; }
.v3-line > span {
  display: inline-block;
  transform: translateY(115%) rotate(2deg);
  transform-origin: right top;
  transition: transform 1.3s var(--ease-luxe);
  transition-delay: var(--ld, 0s);
  will-change: transform;
}
.v3-lines.in .v3-line > span { transform: none; }

/* Image parallax inner zoom */
[data-plx] img, [data-plx] video { will-change: transform; }

/* ─────────────── 10. Navigation ─────────────── */
#scroll-progress {
  position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 80;
  background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--gold-deep));
  transform-origin: right center; transform: scaleX(0);
}
#site-nav { transition: transform 0.5s var(--ease-out); }
#site-nav .nav-inner {
  background: rgba(250, 244, 232, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  box-shadow: 0 10px 40px -18px rgba(27, 21, 8, 0.18);
  transition: box-shadow 0.4s, background 0.4s;
}
#site-nav.nav-scrolled .nav-inner {
  background: rgba(255, 253, 246, 0.92);
  box-shadow: 0 18px 50px -20px rgba(27, 21, 8, 0.28);
}
.nav-link {
  position: relative; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; padding-block: 4px; transition: color 0.3s;
}
.nav-link::after {
  content: ""; position: absolute; bottom: -2px; right: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-deep));
  border-radius: 2px; transition: width 0.4s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--ink); }

.brand-mark {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-2), var(--gold-deep));
  color: var(--cream); font-family: var(--font-num); font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 22px -8px rgba(138, 100, 28, 0.6);
  transition: transform 0.5s var(--ease-out);
}
a:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }

/* ─────────────── 11. Footer ─────────────── */
.site-footer {
  position: relative; background: var(--ink); color: #EDE4CE;
  padding-top: clamp(70px, 9vw, 120px); overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.footer-word {
  font-family: var(--font-num); font-weight: 700;
  font-size: clamp(64px, 14vw, 220px); line-height: 0.9;
  letter-spacing: 0.02em; text-align: center; direction: ltr;
  color: transparent;
  -webkit-text-stroke: 1px rgba(228, 188, 85, 0.28);
  user-select: none; pointer-events: none;
  margin-top: clamp(40px, 6vw, 80px);
  transform: translateY(18%);
  transition: transform 1.4s var(--ease-luxe);
}
.site-footer.in .footer-word { transform: translateY(8%); }
.footer-grid {
  display: grid; gap: 44px;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  padding-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: #B9AE93; font-size: 15px; line-height: 1.9; }
.footer-links h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--gold-2); margin-bottom: 18px; text-transform: uppercase; font-family: var(--font-num);
}
.footer-links ul { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #D8CDB2; font-size: 15px; text-decoration: none; transition: color 0.3s, padding 0.3s; }
.footer-links a:hover { color: var(--gold-2); padding-inline-start: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 26px; border-top: 1px solid rgba(237, 228, 206, 0.12);
  font-size: 13.5px; color: #9A8F74;
}

/* ═══════════════════════════════════════════════════════════════════
   PART 2 — Landing v3 components
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────── 12. HERO ─────────────── */
.v3-hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--paper);
}
.v3-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.v3-hero-media video, .v3-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
}
.v3-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 244, 232, 0.62) 0%, rgba(250, 244, 232, 0.34) 40%, rgba(250, 244, 232, 0.86) 82%, var(--paper) 100%),
    radial-gradient(90% 60% at 78% 38%, rgba(250, 244, 232, 0) 0%, rgba(250, 244, 232, 0.42) 100%);
}
.v3-hero-inner {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(110px, 14vh, 160px); padding-bottom: 40px;
}
.v3-hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px; border-radius: 999px;
  background: rgba(255, 253, 246, 0.66);
  border: 1px solid var(--line-gold);
  backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 700; color: var(--gold-deep);
  box-shadow: 0 10px 30px -14px rgba(138, 100, 28, 0.35);
  width: fit-content;
}
.v3-hero-kicker .pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(184, 134, 43, 0.5);
  animation: k-pulse 2.2s infinite;
}
@keyframes k-pulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 134, 43, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(184, 134, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 134, 43, 0); }
}
.v3-hero-title { margin-top: 30px; max-width: 14ch; }
.v3-hero-sub {
  margin-top: 26px; max-width: 560px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 2; color: var(--ink-2);
}
.v3-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.v3-hero-stats {
  display: flex; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap;
  margin-top: clamp(40px, 6vh, 72px); padding-top: 30px;
  border-top: 1px solid var(--line);
}
.v3-stat .n {
  font-family: var(--font-num); font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.v3-stat .n em { font-style: normal; color: var(--gold); }
.v3-stat .l { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }

/* scroll cue */
.v3-scrollcue {
  position: absolute; z-index: 2; bottom: 104px; inset-inline-start: 50%; transform: translateX(50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-3); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
}
.v3-scrollcue .wheel {
  width: 26px; height: 42px; border: 1.5px solid var(--line-gold); border-radius: 99px;
  display: flex; justify-content: center; padding-top: 8px;
}
.v3-scrollcue .wheel i { width: 3px; height: 9px; border-radius: 3px; background: var(--gold); animation: wheel 1.8s var(--ease-luxe) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 768px) { .v3-scrollcue { display: none; } }

/* ─────────────── 13. Marquee strip (tools) ─────────────── */
.v3-marquee {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 246, 0.72); backdrop-filter: blur(12px);
  overflow: hidden; direction: ltr;
  padding-block: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 14px; width: max-content;
  animation: mq 30s linear infinite;
}
.v3-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px; border-radius: 999px; white-space: nowrap;
  background: var(--cream); border: 1px solid var(--line-soft);
  font-family: var(--font-num); font-weight: 600; font-size: 14px; color: var(--ink-2);
  box-shadow: 0 6px 18px -10px rgba(27, 21, 8, 0.15);
  transition: border-color 0.3s, transform 0.3s;
}
.mq-item:hover { border-color: var(--line-gold); transform: translateY(-2px); }
.mq-item i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); }

/* ─────────────── 14. Giant outline ticker ─────────────── */
.v3-ticker { overflow: hidden; padding-block: clamp(20px, 4vw, 40px); direction: ltr; }
.v3-ticker-track {
  display: flex; gap: 0.6em; width: max-content;
  font-family: var(--font-num); font-weight: 700; text-transform: uppercase;
  font-size: clamp(56px, 9.5vw, 150px); line-height: 1;
  letter-spacing: 0.02em; white-space: nowrap;
  animation: mq 36s linear infinite;
}
.v3-ticker-track span { color: transparent; -webkit-text-stroke: 1.5px rgba(184, 134, 43, 0.5); }
.v3-ticker-track span.fill {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0;
}
.v3-ticker.rev .v3-ticker-track { animation-direction: reverse; }

/* ─────────────── 15. Chapter header ─────────────── */
.v3-chapter { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.v3-chapter .num {
  font-family: var(--font-num); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.3px var(--gold);
  font-variant-numeric: tabular-nums;
}
.v3-chapter .lbl { font-family: var(--font-num); font-size: 12px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-deep); }

/* ─────────────── 16. Transformation (sticky image + steps) ─────────────── */
.v3-transform-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
@media (max-width: 980px) { .v3-transform-grid { grid-template-columns: 1fr; } }
.v3-sticky { position: sticky; top: 110px; }
@media (max-width: 980px) { .v3-sticky { position: static; } }
.v3-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 0; border-bottom: 1px solid var(--line-soft);
}
.v3-step .idx {
  flex: none; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--line-gold);
  font-family: var(--font-num); font-weight: 700; font-size: 19px; color: var(--gold-deep);
  box-shadow: 0 8px 20px -10px rgba(138, 100, 28, 0.35);
  transition: transform 0.4s var(--ease-out), background 0.4s, color 0.4s;
}
.v3-step:hover .idx { background: linear-gradient(145deg, var(--gold-2), var(--gold-deep)); color: var(--cream); transform: rotate(-6deg) scale(1.08); }
.v3-step h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 6px; }
.v3-step p { color: var(--ink-3); font-size: 15.5px; }

/* ─────────────── 17. Axes (numbered editorial grid) ─────────────── */
.v3-axes { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .v3-axes { grid-template-columns: 1fr; } }
.v3-axis {
  position: relative; padding: clamp(26px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s;
}
.v3-axis:nth-child(odd) { border-inline-end: 1px solid var(--line); }
@media (max-width: 860px) { .v3-axis:nth-child(odd) { border-inline-end: 0; } }
.v3-axis:hover { background: rgba(255, 253, 246, 0.75); }
.v3-axis .no {
  font-family: var(--font-num); font-weight: 700; font-size: 13px;
  letter-spacing: 0.2em; color: var(--gold); display: block; margin-bottom: 14px;
}
.v3-axis h3 { font-size: clamp(1.15rem, 1.9vw, 1.42rem); font-weight: 800; line-height: 1.45; margin-bottom: 10px; transition: color 0.3s; }
.v3-axis:hover h3 { color: var(--gold-deep); }
.v3-axis p { color: var(--ink-3); font-size: 15px; max-width: 52ch; }
.v3-axis .go {
  position: absolute; top: clamp(26px, 3.4vw, 44px); inset-inline-end: clamp(26px, 3.4vw, 44px);
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-3);
  transition: all 0.45s var(--ease-out); opacity: 0.6;
}
.v3-axis:hover .go { background: var(--ink); color: var(--gold-2); border-color: var(--ink); transform: rotate(-45deg); opacity: 1; }

/* legacy alias used elsewhere */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.feature-card { position: relative; background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-1); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.feature-card .icon { font-size: 34px; margin-bottom: 16px; }
.feature-card h3 { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-3); font-size: 14.5px; }

/* ─────────────── 18. Proof numbers ─────────────── */
.v3-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .v3-proof-grid { grid-template-columns: 1fr; } }
.v3-proof {
  position: relative; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-1);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.v3-proof:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.v3-proof .amount {
  font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: 1; direction: ltr; text-align: start;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v3-proof h4 { margin-top: 16px; font-size: 1.12rem; font-weight: 800; }
.v3-proof p { margin-top: 8px; color: var(--ink-3); font-size: 14.5px; }
.v3-proof::after {
  content: "$"; position: absolute; top: -30px; inset-inline-end: -10px;
  font-family: var(--font-num); font-size: 150px; font-weight: 700;
  color: rgba(184, 134, 43, 0.07); pointer-events: none;
}

/* ─────────────── 19. Build checklist ─────────────── */
.v3-check {
  display: flex; align-items: center; gap: 16px;
  padding: 17px 20px; background: var(--cream);
  border: 1px solid var(--line-soft); border-radius: var(--r-md);
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s;
}
.v3-check:hover { transform: translateX(-8px); border-color: var(--line-gold); box-shadow: var(--shadow-1); }
.v3-check .n {
  flex: none; width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-2), var(--gold-deep));
  color: var(--cream); font-family: var(--font-num); font-size: 13.5px; font-weight: 700;
}
.v3-check span:last-child { font-weight: 700; font-size: 15.5px; color: var(--ink); }

/* ─────────────── 20. Journey timeline ─────────────── */
.v3-journey { position: relative; padding-inline-start: 34px; }
.v3-journey::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 10px;
  width: 2px; background: var(--line); border-radius: 2px;
}
.v3-journey .rail {
  position: absolute; top: 8px; bottom: 8px; inset-inline-start: 10px; width: 2px;
  overflow: hidden; border-radius: 2px;
}
.v3-journey .rail i {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  transform: scaleY(var(--jp, 0)); transform-origin: top;
}
.v3-jstep { position: relative; padding-block: 18px; }
.v3-jstep .dot {
  position: absolute; top: 26px; inset-inline-start: -30px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line-gold);
  display: grid; place-items: center;
  transition: all 0.4s;
}
.v3-jstep .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: 0; transform: scale(0.4); transition: all 0.4s; }
.v3-jstep.lit .dot { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(184, 134, 43, 0.14); }
.v3-jstep.lit .dot::after { opacity: 1; transform: scale(1); }
.v3-jstep h4 { font-size: 1.12rem; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.v3-jstep h4 .k { font-family: var(--font-num); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--gold); }
.v3-jstep p { color: var(--ink-3); font-size: 15px; margin-top: 5px; }

/* legacy journey aliases */
.journey-timeline { position: relative; display: grid; gap: 8px; padding-inline-start: 8px; }
.journey-step { display: flex; gap: 18px; align-items: flex-start; padding-block: 14px; }
.journey-step .marker {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-2), var(--gold-deep)); color: var(--cream);
  font-family: var(--font-num); font-weight: 700; box-shadow: 0 8px 20px -8px rgba(138,100,28,.4);
}
.journey-step h4 { font-weight: 800; font-size: 1.05rem; }
.journey-step p { color: var(--ink-3); font-size: 14.5px; }

/* ─────────────── 21. Tools grid ─────────────── */
.v3-tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1080px) { .v3-tools { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .v3-tools { grid-template-columns: repeat(2, 1fr); } }
.v3-tool {
  position: relative; text-align: center;
  background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 26px 16px 22px;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), border-color 0.4s;
}
.v3-tool:hover { transform: translateY(-7px) rotate(-0.6deg); box-shadow: var(--shadow-2); border-color: var(--line-gold); }
.v3-tool .ic {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 17px;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(150deg, rgba(228, 188, 85, 0.22), rgba(184, 134, 43, 0.08));
  border: 1px solid var(--line-gold);
  transition: transform 0.5s var(--ease-out);
}
.v3-tool:hover .ic { transform: scale(1.12) rotate(6deg); }
.v3-tool h4 { font-family: var(--font-num); font-weight: 700; font-size: 14.5px; letter-spacing: 0.01em; }
.v3-tool p { margin-top: 6px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }

/* ─────────────── 22. Curriculum ─────────────── */
.v3-mod {
  background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-1);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  position: relative; overflow: hidden;
}
.v3-mod:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.v3-mod .big {
  position: absolute; top: -18px; inset-inline-end: 6px;
  font-family: var(--font-num); font-weight: 700; font-size: 110px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(184, 134, 43, 0.22); pointer-events: none;
}
.v3-mod ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.v3-mod li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; }
.v3-mod li i {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-size: 11px;
  background: rgba(184, 134, 43, 0.14); color: var(--gold-deep);
}

/* ─────────────── 23. Instructors ─────────────── */
.v3-mentor {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream); border: 1px solid var(--line-soft); box-shadow: var(--shadow-1);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.v3-mentor:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.v3-mentor .ph { aspect-ratio: 4 / 3.4; overflow: hidden; }
.v3-mentor .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-luxe); }
.v3-mentor:hover .ph img { transform: scale(1.07); }
.v3-mentor .info { padding: 24px 26px 28px; position: relative; }
.v3-mentor .info::before {
  content: ""; position: absolute; top: -22px; inset-inline-start: 26px;
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(145deg, var(--gold-2), var(--gold-deep));
  box-shadow: var(--shadow-gold);
}
.v3-mentor h3 { font-size: 1.25rem; font-weight: 800; }
.v3-mentor .role { color: var(--gold-deep); font-weight: 700; font-size: 13.5px; margin-top: 2px; }
.v3-mentor p { color: var(--ink-3); font-size: 14.5px; margin-top: 12px; }

/* ─────────────── 24. Certificate ─────────────── */
.v3-cert-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-2); transform: rotate(1.6deg);
  transition: transform 0.8s var(--ease-out);
}
.v3-cert-frame:hover { transform: rotate(0deg) scale(1.02); }
.v3-cert-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(130%); transition: transform 1.4s var(--ease-luxe);
}
.v3-cert-frame:hover::after { transform: translateX(-130%); }
.v3-cert-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; background: var(--cream);
  border: 1px solid var(--line-soft); border-radius: var(--r-md);
  transition: border-color 0.35s, transform 0.45s var(--ease-out);
}
.v3-cert-item:hover { border-color: var(--line-gold); transform: translateX(-6px); }
.v3-cert-item .medal {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-2), var(--gold-deep));
  color: var(--cream); font-family: var(--font-num); font-weight: 700; font-size: 17px;
  box-shadow: 0 8px 20px -8px rgba(138, 100, 28, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════
   PART 3 — Pricing, FAQ, CTA, showcase, misc
   ═══════════════════════════════════════════════════════════════════ */

/* ─────────────── 25. Pricing ─────────────── */
.pricing-card {
  position: relative;
  background: var(--cream); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 36px 30px;
  box-shadow: var(--shadow-1);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.pricing-card.featured {
  background: linear-gradient(170deg, #241C0B, #171204 70%);
  border: 1px solid rgba(228, 188, 85, 0.4);
  box-shadow: 0 40px 90px -30px rgba(27, 21, 8, 0.55), var(--shadow-gold);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.pricing-card.featured h3, .pricing-card.featured .price { color: var(--cream) !important; }
.pricing-card.featured p, .pricing-card.featured li { color: #C9BC9C !important; }
.pricing-card.featured li .check { background: rgba(228, 188, 85, 0.16); color: var(--gold-2); }
.badge-featured {
  position: absolute; top: -15px; inset-inline-start: 50%; transform: translateX(50%);
  padding: 8px 22px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: var(--cream); font-size: 12.5px; font-weight: 800;
  box-shadow: var(--shadow-gold);
}
.pricing-card .price {
  font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: 3.2rem; line-height: 1; color: var(--ink); direction: ltr;
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
}
.pricing-card .price .currency { font-size: 1.5rem; color: var(--gold); }
.pricing-card .price .period { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--ink-3); direction: rtl; }
.pricing-card ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 13px; }
.pricing-card li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); font-weight: 600; }
.pricing-card li .check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px;
  background: rgba(184, 134, 43, 0.14); color: var(--gold-deep); font-weight: 900;
}
.price-old { font-family: var(--font-num); font-size: 1.1rem; color: var(--ink-3); text-decoration: line-through; opacity: 0.7; }

/* countdown */
.v3-count { display: flex; gap: 12px; justify-content: center; direction: ltr; }
.v3-count .cell {
  min-width: 74px; padding: 14px 8px 12px; text-align: center;
  background: var(--cream); border: 1px solid var(--line-gold); border-radius: 16px;
  box-shadow: var(--shadow-1);
}
.v3-count .cell b {
  display: block; font-family: var(--font-num); font-weight: 700;
  font-size: 1.8rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.v3-count .cell span { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-deep); }

/* ─────────────── 26. FAQ ─────────────── */
.faq-item {
  background: var(--cream); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); margin-bottom: 14px; overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.faq-item.open { border-color: var(--line-gold); box-shadow: var(--shadow-1); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; cursor: pointer; font-weight: 800; font-size: 1.05rem; color: var(--ink);
  transition: color 0.3s;
}
.faq-question:hover { color: var(--gold-deep); }
.faq-question .toggle {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2);
  transition: all 0.5s var(--ease-out);
}
.faq-item.open .toggle { background: var(--ink); color: var(--gold-2); border-color: var(--ink); transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease-luxe);
}
.faq-answer p { padding: 0 26px 24px; color: var(--ink-3); font-size: 15.5px; line-height: 1.95; }

/* ─────────────── 27. Showcase / projects ─────────────── */
.v3-proj {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream); border: 1px solid var(--line-soft); box-shadow: var(--shadow-1);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.v3-proj:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.v3-proj .ph { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.v3-proj .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-luxe); }
.v3-proj:hover .ph img { transform: scale(1.08); }
.v3-proj .body { padding: 22px 24px 26px; }

/* ─────────────── 28. Personas ─────────────── */
.v3-persona {
  text-align: center; padding: 34px 22px;
  background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out), border-color 0.4s;
}
.v3-persona:hover { transform: translateY(-8px) rotate(-0.5deg); box-shadow: var(--shadow-2); border-color: var(--line-gold); }
.v3-persona .em {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 22px;
  display: grid; place-items: center; font-size: 32px;
  background: linear-gradient(150deg, rgba(228, 188, 85, 0.2), rgba(184, 134, 43, 0.06));
  border: 1px solid var(--line-gold);
  transition: transform 0.5s var(--ease-out);
}
.v3-persona:hover .em { transform: scale(1.1) rotate(5deg); }

/* ─────────────── 29. Guarantee seal ─────────────── */
.v3-seal {
  position: relative; width: 170px; height: 170px; margin: 0 auto 34px;
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(150deg, var(--cream), var(--paper-2));
  border: 2px solid var(--line-gold);
  box-shadow: var(--shadow-gold), inset 0 0 0 8px var(--cream), inset 0 0 0 10px var(--line-gold);
  animation: seal-b 3.6s ease-in-out infinite;
}
@keyframes seal-b { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.v3-seal .ring {
  position: absolute; inset: 6px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 6%, var(--gold-2) 14%, transparent 26% 48%, var(--gold-2) 60%, transparent 74% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: seal-s 5s linear infinite;
}
@keyframes seal-s { to { transform: rotate(360deg); } }
.v3-seal .core { font-size: 52px; }

/* ─────────────── 30. Final CTA ─────────────── */
.v3-cta { position: relative; overflow: hidden; border-radius: 0; }
.v3-cta .bgimg { position: absolute; inset: 0; }
.v3-cta .bgimg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.v3-cta .bgimg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250,244,232,.9), rgba(250,244,232,.78) 50%, rgba(250,244,232,.94));
}

/* ─────────────── 31. Float shapes (legacy, reused softly) ─────────────── */
.float-shape {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(228, 188, 85, 0.35), transparent 70%);
  filter: blur(60px); opacity: 0.5;
  animation: fs-float 9s ease-in-out infinite;
}
.float-shape-1 { width: 420px; height: 420px; top: -120px; inset-inline-end: -120px; }
.float-shape-2 { width: 320px; height: 320px; bottom: -100px; inset-inline-start: -100px; animation-delay: -3s; }
.float-shape-3 { width: 240px; height: 240px; top: 40%; inset-inline-start: 30%; animation-delay: -6s; opacity: 0.35; }
@keyframes fs-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-26px) scale(1.06); } }

/* ─────────────── 32. Hero legacy aliases (unused in v3 but safe) ─────────────── */
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line-gold); font-size: 13.5px; font-weight: 700; color: var(--gold-deep); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ─────────────── 33. Auth pages polish ─────────────── */
.input {
  width: 100%; border-radius: 14px; padding: 14px 18px;
  background: var(--cream); border: 1.5px solid var(--line);
  color: var(--ink); font-size: 15.5px; font-family: var(--font-body);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 134, 43, 0.14); }
.input::placeholder { color: var(--ink-3); opacity: 0.7; }
.label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }

/* ─────────────── 34. Utility covers (legacy tw classes used in views) ─────────────── */
.animate-float { animation: fs-float 7s ease-in-out infinite; }

/* ─────────────── 35. Reduced motion ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-right, .reveal-left, .reveal-clip, .reveal-scale,
  .stagger-children > *, .v3-line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  body::after { animation: none; }
}

/* ── Legacy tailwind light-mode var harmonization (must stay last) ── */
html.light {
  --line: rgba(27, 21, 8, 0.12);
  --line-strong: rgba(27, 21, 8, 0.2);
  --c1: #B8862B;
  --holo: linear-gradient(90deg, #8A641C, #E4BC55);
}
html.light body { background: var(--paper); color: var(--ink); }

/* ── Neutralize legacy blue theme leaks (html.light specificity) ── */
html.light .text-gradient {
  background: linear-gradient(115deg, var(--gold-deep), var(--gold) 45%, var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.light .btn-primary {
  color: var(--cream); background: var(--ink);
  box-shadow: 0 14px 34px -14px rgba(27, 21, 8, 0.55);
}
html.light .btn-primary:hover { background: #2A2210; box-shadow: 0 22px 44px -16px rgba(27, 21, 8, 0.6); }
html.light .nav-link { color: var(--ink-2); }
html.light .nav-link:hover { color: var(--ink); }
html.light .chip { background: var(--cream); border-color: var(--line); color: var(--ink-2); }
html.light .count-box { background: var(--cream); border-color: var(--line-gold); }
html.light .count-num { color: var(--ink); }
html.light .eyebrow { color: var(--gold-deep); }
html.light .eyebrow::before { background: linear-gradient(90deg, var(--gold), transparent); }
html.light #site-nav.nav-scrolled .nav-inner {
  background: rgba(255, 253, 246, 0.94) !important;
  border-color: var(--line-soft) !important;
  box-shadow: 0 18px 50px -20px rgba(27, 21, 8, 0.28);
}

/* ═══════════════════════════════════════════════════════════════════
   STUDENT AREA — remap legacy slate/blue components to Sunlit Atelier
   (covers dashboard, prompts, tools, study, extra-videos, app-builds,
   environment-setup, community, recordings — without touching their JSX)
   ═══════════════════════════════════════════════════════════════════ */
html.light .glass,
html.light .panel {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
html.light .glass-strong {
  background: rgba(255, 253, 246, 0.95);
  border-color: var(--line);
  box-shadow: var(--shadow-2);
}
html.light .chip {
  background: var(--cream);
  border-color: var(--line-soft);
  color: var(--ink-2);
}
html.light .btn-ghost {
  background: var(--cream);
  border: 1.5px solid var(--line);
  color: var(--ink);
}
html.light .btn-ghost:hover {
  background: rgba(184, 134, 43, 0.07);
  border-color: var(--gold);
  color: var(--ink);
}
html.light .input {
  background: var(--cream);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 14px;
}
html.light .input::placeholder { color: var(--ink-3); opacity: 0.7; }
html.light .input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 43, 0.14);
}
html.light .label { color: var(--ink-2); }
html.light .eyebrow { color: var(--gold-deep); }
html.light .eyebrow::before { background: linear-gradient(90deg, var(--gold), transparent); }
html.light .window {
  background: var(--cream);
  border-color: var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
}
html.light .window-bar { background: var(--paper-2); border-color: var(--line-soft); }
html.light .glow-card:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--line-gold);
}
html.light .hairline::before {
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
}
html.light .holo-border::after { background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); }
html.light .count-box { background: var(--cream); border-color: var(--line-gold); }
html.light .count-num { color: var(--ink); }
html.light .text-holo { color: var(--gold-deep); }
html.light .text-electric-400 { color: var(--gold-deep); }
html.light .badge-live { background: rgba(190, 90, 56, 0.1); color: var(--terra); }
html.light .badge-upcoming { background: rgba(184, 134, 43, 0.14); color: var(--gold-deep); }
html.light .badge-done { background: rgba(62, 142, 82, 0.12); color: #2F7042; }
html.light .build-accent { background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); }
html.light .build-num { color: var(--gold-deep); opacity: 0.1; }
html.light .build-icon { box-shadow: 0 14px 34px -12px rgba(138, 100, 28, 0.5); }
