/**
 * MAIN.CSS - Consolidated Portfolio Styles
 * =========================================
 * 
 * OPTIMIZATION: Extracted ~15KB of inline CSS that was duplicated
 * across all 8 HTML pages. This single file eliminates ~120KB of
 * redundant CSS from the total bundle.
 * 
 * Structure:
 * 1. CSS Variables (Design Tokens)
 * 2. Reset & Base
 * 3. Typography
 * 4. Custom Cursor
 * 5. Navigation
 * 6. Buttons
 * 7. Hero Section
 * 8. Stats Strip
 * 9. Marquee
 * 10. Content Sections
 * 11. Page Headers
 * 12. Footer
 * 13. Animations
 * 14. Utilities
 */

/* ===========================================
   1. CSS VARIABLES (Design Tokens)
   =========================================== */
:root {
  /* Brand Colors */
  --bg-dark: #0B0B0B;
  --bg-gray: #4A4949;
  --text-white: #FFFFFF;
  --text-sub: #E5E5E5;
  --text-body: #C9C9C9;
  --text-muted: #9A9A9A;
  --accent: #E1061F;
  --accent-deep: #B30418;
  --divider: #2A2A2A;
  --status-bg: #2A0B0C;
  --card-bg: #101010;

  /* Gradients */
  --gradient: linear-gradient(135deg, #8F0A0C 0%, #0B0B0B 100%);
  --gradient-dark: linear-gradient(180deg, #0e0202 0%, var(--bg-dark) 30%);

  /* Spacing */
  --section-padding: 100px 80px;
  --nav-padding: 24px 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.7s ease;
}

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

html {
  scroll-behavior: smooth;
}

#hero-heading {
  margin-top: 1rem;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.8;
  background: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ===========================================
   3. TYPOGRAPHY
   =========================================== */
.red {
  color: var(--accent);
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

/* ===========================================
   4. CUSTOM CURSOR
   =========================================== */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--accent);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(225, 6, 31, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.25s ease;
}

/* Hidden by default, shown via JS for capable devices */
.cursor,
.cursor-ring {
  display: none;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {

  body.custom-cursor-enabled .cursor,
  body.custom-cursor-enabled .cursor-ring {
    display: block;
  }
}

/* ===========================================
   5. NAVIGATION
   =========================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: var(--nav-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
}

.nav-logo-name span {
  color: var(--accent);
}

.nav-logo-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.nav-resume {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-white);
  background: transparent;
  border: 1px solid var(--divider);
  padding: 10px 20px;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.nav-resume:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-resume i {
  font-size: 12px;
}

.nav-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-white);
  background: var(--accent);
  padding: 10px 24px;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.nav-cta:hover {
  background: var(--accent-deep);
}

/* Nav Tagline — current page identity, centered in navbar */
.nav-tagline {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-white);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  animation: nav-tagline-in 0.5s 0.2s ease forwards;
}

.nav-tagline::before,
.nav-tagline::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes nav-tagline-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===========================================
   6. BUTTONS
   =========================================== */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--accent);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-secondary {
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-sub);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-sub);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===========================================
   7. HERO SECTION (Index Page)
   =========================================== */
.hero {
  min-height: 100vh;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 80px 220px;
  position: relative;
  overflow: hidden;
}

/* Animated glow blob */
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.10) 0%, transparent 70%);
  top: -120px;
  right: 160px;
  animation: blob-drift 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes blob-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-50px, 40px) scale(1.1);
  }

  66% {
    transform: translate(30px, -30px) scale(0.93);
  }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Hero content z-index */
.hero-eyebrow,
.hero-name,
.hero-title,
.hero-desc,
.hero-ctas,
.stats-strip {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  animation: fade-up 0.7s 0.2s both;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.hero-name {
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -2px;
  color: var(--text-white);
  margin-bottom: 8px;
  animation: fade-up 0.8s 0.35s both;
}

.hero-name em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent) 0%, #ff8a80 50%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: name-shimmer 4s ease-in-out infinite 2s;
}

@keyframes name-shimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* H2 Hero Title - Tagline under H1 */
h2.hero-title,
.hero-title {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 300;
  color: var(--text-sub);
  margin-bottom: 36px;
  animation: fade-up 0.8s 0.5s both;
}

.hero-desc {
  max-width: 480px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 44px;
  animation: fade-up 0.8s 0.65s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.8s both;
}

/* Hero Photo / Visual */
.hero-visual {
  position: absolute;
  right: 100px;
  top: 0;
  bottom: 220px;
  display: flex;
  align-items: center;
  z-index: 1;
  animation: hero-photo-enter 1s 0.7s both;
}

.hero-photo-ring {
  position: relative;
  margin-top: 4rem;
  width: 340px;
  height: 340px;
  animation: hero-float 7s 1.8s ease-in-out infinite;
}

/* Spinning accent ring */
.hero-photo-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg, transparent 120deg, transparent 240deg, var(--accent) 360deg);
  animation: ring-spin 8s linear infinite;
  opacity: 0.7;
}

/* Glow beneath */
.hero-photo-ring::after {
  content: '';
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 36px;
  background: var(--accent);
  filter: blur(36px);
  opacity: 0.3;
  border-radius: 50%;
  pointer-events: none;
}

.hero-photo-wrap {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transform: scale(1.04);
}

@keyframes hero-photo-enter {
  from {
    opacity: 0;
    transform: translateX(56px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  left: 80px;
  bottom: 140px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fade-up 0.8s 1.3s forwards;
}

.scroll-hint-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.scroll-hint-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* ===========================================
   8. STATS STRIP
   =========================================== */
.stats-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  animation: fade-up 0.9s 1s both;
}

.stat-item {
  padding: 32px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 11, 11, 0.6);
  position: relative;
  transition: background var(--transition-medium);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(225, 6, 31, 0.1);
}

.stat-index {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #7A7A7A;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.stat-value sup {
  font-size: 20px;
  vertical-align: super;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===========================================
   9. MARQUEE
   =========================================== */
.marquee-wrap {
  background: var(--bg-dark);
  padding: 28px 0;
  border-bottom: 1px solid var(--divider);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: fit-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  white-space: nowrap;
}

.marquee-item span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee-item .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
}

/* ===========================================
   10. CONTENT SECTIONS
   =========================================== */
.intro {
  padding: var(--section-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-bottom: 1px solid var(--divider);
}

.intro-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.intro-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 28px;
}

.intro-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap var(--transition-fast);
}

.intro-link:hover {
  gap: 16px;
}

.intro-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
  align-self: start;
}

.info-cell {
  background: var(--bg-dark);
  padding: 24px;
}

.info-cell-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.info-cell-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.5;
}

/* Markets Section */
.markets {
  padding: var(--section-padding);
  border-bottom: 1px solid var(--divider);
}

.markets-header {
  margin-bottom: 56px;
}

.markets-headline {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -1.5px;
  color: var(--text-white);
  margin-bottom: 20px;
}

.markets-desc {
  font-size: 14px;
  color: var(--text-body);
  max-width: 500px;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}

.market-card {
  background: var(--bg-dark);
  padding: 36px 28px;
  text-align: center;
  transition: background var(--transition-medium);
}

.market-card:hover {
  background: rgba(225, 6, 31, 0.05);
}

.market-flag {
  font-size: 36px;
  margin-bottom: 16px;
}

.market-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.market-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===========================================
   INSIGHTS / STRATEGIC THINKING (Homepage)
   =========================================== */
.insights-section {
  padding: var(--section-padding);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.insight-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 36px 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.insight-card:hover {
  border-color: rgba(229, 57, 53, 0.35);
  transform: translateY(-4px);
}

.insight-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.insight-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.4;
}

.insight-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
  flex: 1;
}

.insight-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 0.2s ease;
  margin-top: 4px;
}

.insight-cta:hover {
  gap: 12px;
}

/* ===========================================
   HOMEPAGE SOCIAL PROOF
   =========================================== */
.homepage-proof {
  padding: var(--section-padding);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 48px auto 40px;
  text-align: left;
}

.proof-quote {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--accent);
  padding: 32px 24px 24px;
  border-radius: 4px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proof-quote-text {
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-white);
  position: relative;
  padding-left: 20px;
}

.proof-quote-text::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  font-style: normal;
  opacity: 0.6;
}

.proof-quote-cite {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-style: normal;
}

.cite-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
}

.cite-role {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.proof-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 0.2s ease;
}

.proof-all-link:hover {
  gap: 14px;
}

/* CTA Section */
.cta-section {
  padding: var(--section-padding);
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* CTA content z-index */
.cta-eyebrow,
.cta-headline,
.cta-actions,
.cta-buttons {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -1.5px;
  color: var(--text-white);
  max-width: 700px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* ===========================================
   11. PAGE HEADERS (Subpages)
   =========================================== */
.page-header {
  min-height: 38vh;
  padding: 140px 80px 56px;
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  border-bottom: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Page header content z-index */
.page-num,
.page-title,
.page-subtitle {
  position: relative;
  z-index: 1;
}

.page-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  animation: fade-up 0.7s 0.2s forwards;
}

.page-num::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.page-title {
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -1.5px;
  color: var(--text-white);
  max-width: 900px;
  position: relative;
  z-index: 1;
  animation: fade-up 0.8s 0.35s forwards;
}

.page-title em {
  font-style: normal;
  color: var(--accent);
}

/* H2 Page Subtitle - Secondary heading in page headers */
h2.page-subtitle,
.page-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 700px;
  position: relative;
  z-index: 1;
  animation: fade-up 0.8s 0.5s forwards;
}

/* ===========================================
   12. FOOTER
   =========================================== */
footer {
  padding: 36px 80px;
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links i {
  color: var(--accent);
  margin-right: 6px;
}

/* WhatsApp in footer - Green icon */
.footer-links a[href*="wa.me"] i {
  color: #25D366;
}

.footer-links a[href*="wa.me"]:hover {
  color: #25D366;
}

/* ===========================================
   13. ANIMATIONS
   =========================================== */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===========================================
   14. UTILITIES
   =========================================== */
/* Status Badge */
.status-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--status-bg);
  padding: 6px 14px;
  border: 1px solid rgba(225, 6, 31, 0.25);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-badge i {
  font-size: 9px;
}

/* Section Header */
.section-header {
  margin-bottom: 56px;
}

.section-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-white);
}

/* Grid backgrounds */
.grid-bg {
  display: grid;
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}

.grid-bg>* {
  background: var(--bg-dark);
}

/* ===========================================
   THEME TOGGLE BUTTON
   =========================================== */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ── Pill toggle button ── */
.nav-theme-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: 14px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* The pill track */
.toggle-track {
  position: relative;
  width: 56px;
  height: 28px;
  border-radius: 14px;
  background: #1e1e1e;
  border: 1.5px solid #444;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

/* Sliding circle */
.toggle-thumb {
  position: absolute;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s ease;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Sun icon (right side — visible in dark mode) */
.toggle-icon {
  position: absolute;
  font-size: 13px;
  line-height: 1;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.toggle-icon-sun {
  right: 6px;
  color: #aaa;
  opacity: 1;
}

.toggle-icon-moon {
  left: 6px;
  color: #ccc;
  opacity: 0;
}

/* ── Light mode state ── */
body.light .toggle-track {
  background: #e8e4e0;
  border-color: #ccc;
}

body.light .toggle-thumb {
  transform: translateX(28px);
  background: #111;
}

body.light .toggle-icon-sun {
  opacity: 0;
}

body.light .toggle-icon-moon {
  opacity: 1;
  color: #444;
}

/* ===========================================
   LIGHT MODE OVERRIDES
   =========================================== */
body.light {
  --bg-dark: #F5F2EE;
  --bg-gray: #888888;
  --text-white: #111111;
  --text-sub: #2A2A2A;
  --text-body: #4A4A4A;
  --text-muted: #777777;
  --divider: #DDDAD7;
  --status-bg: #FFE8EA;
  --card-bg: #EDE9E5;
  --gradient: linear-gradient(135deg, #FFD6D8 0%, #F5F2EE 100%);
  --gradient-dark: linear-gradient(180deg, #FFE0E2 0%, #F5F2EE 30%);
}

body.light nav {
  background: rgba(245, 242, 238, 0.95);
}

body.light .stats-strip {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.light .stat-item {
  background: rgba(245, 242, 238, 0.7);
  border-right-color: rgba(0, 0, 0, 0.08);
}

body.light .stat-item:hover {
  background: rgba(225, 6, 31, 0.07);
}

body.light .btn-secondary,
body.light .btn-ghost {
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text-sub);
}

body.light .hero::after {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

body.light .marquee-wrap {
  background: #EDE9E5;
  border-bottom-color: var(--divider);
}

body.light .marquee-item span {
  color: var(--text-muted);
}

/* (toggle light-mode handled via .toggle-track/.toggle-thumb above) */