/*
 * Main CSS — Orbit Creative Troops
 * AIXOR-Inspired Layout + Surrealist / Psychedelic Touches
 * ========================================================
 */

/* ============================================================
   0. GOOGLE FONTS + LOCAL FONTS + DESIGN TOKENS
   ============================================================ */
/* Font 1: Maheni (Display / Accent) */
@font-face {
  font-family: 'Maheni';
  src: url('../fonts/Maheni-Regular.otf') format('opentype'),
    url('../fonts/Maheni-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Maheni';
  src: url('../fonts/Maheni-Italic.otf') format('opentype'),
    url('../fonts/Maheni-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Font 2: Sublime (Body / Subhead) */
@font-face {
  font-family: 'Sublime';
  src: url('../fonts/Sublime.woff2') format('woff2'),
    url('../fonts/Sublime.woff') format('woff'),
    url('../fonts/Sublime.otf') format('opentype'),
    url('../fonts/Sublime.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Font 3: Helvena (Body / Editorial) */
@font-face {
  font-family: 'Helvena';
  src: url('../fonts/Helvena-Regular.woff2') format('woff2'),
    url('../fonts/Helvena-Regular.woff') format('woff'),
    url('../fonts/Helvena-Regular.otf') format('opentype'),
    url('../fonts/Helvena-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvena';
  src: url('../fonts/Helvena-Bold.woff2') format('woff2'),
    url('../fonts/Helvena-Bold.woff') format('woff'),
    url('../fonts/Helvena-Bold.otf') format('opentype'),
    url('../fonts/Helvena-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Font 4: Baronial (Custom Font for Letter 'I' in Ideas) */
@font-face {
  font-family: 'Baronial';
  src: url('../fonts/Baronial Regular.woff') format('woff'),
    url('../fonts/Baronial Regular.otf') format('opentype'),
    url('../fonts/Baronial Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,300;0,400;0,600;0,700;0,900;1,400&family=Playfair+Display:ital,wght@0,700;0,900;1,400;1,700&display=swap');

:root {
  /* Color Palette — Light Mode Default Base */
  --bg: #FFFFFF;
  --surface: #FAFAFA;
  --surface2: #F4F2EC;
  --border: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(177, 44, 3, 0.25);

  /* Accent Colors */
  --gold: #b12c03;
  /* Terracotta / Bold Red Accent */
  --magenta: #D9381E;
  --purple: #111111;
  --electric: #b12c03;
  --green-dim: rgba(177, 44, 3, 0.15);

  /* Text — High Contrast */
  --text: #111111;
  --text-muted: #4A4A4A;
  --text-dim: #6E6E6E;

  /* Dual-Font Typography System (Maheni + Helvena only) */
  --font-sans: 'Helvena', sans-serif;
  --font-serif: 'Maheni', serif;
  --font-baronial: 'Baronial', serif;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Single Light Mode Base — Dark Mode Removed */
body,
body.light-mode {
  --bg: #FFFFFF;
  --surface: #FAFAFA;
  --surface2: #F4F2EC;
  --border: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(177, 44, 3, 0.25);
  --gold: #b12c03;
  --text: #111111;
  --text-muted: #4A4A4A;
  --text-dim: #6E6E6E;
}

/* ============================================================
   1. RESET & BASE + TACTILE GRAIN TEXTURE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
  cursor: none;
  /* Hide default — magic cursor active */
  position: relative;
}

/* Tactile Editorial Paper / Grain Texture Overlay Across Whole Page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 99990;
  pointer-events: none;
  opacity: 0.75;
  background-image: url('../images/bg-texture.png');
  background-repeat: repeat;
  background-size: 380px auto;
  mix-blend-mode: multiply;
}

/* Restore cursor on mobile */
@media (hover: none) {
  body {
    cursor: auto;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.custom-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================================
   2. MAGIC CURSOR
   ============================================================ */
#magic-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
}

#cursor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--text);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}

#cursor-ring {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.3s;
}

body.cursor-hover #cursor-ring {
  width: 64px;
  height: 64px;
  border-color: var(--magenta);
}

body.cursor-hover #cursor-dot {
  width: 4px;
  height: 4px;
}

/* ============================================================
   3. SCROLL REVEAL ANIMATION SYSTEM
   ============================================================ */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-scroll-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="100"] {
  transition-delay: 0.1s;
}

[data-delay="150"] {
  transition-delay: 0.15s;
}

[data-delay="200"] {
  transition-delay: 0.2s;
}

[data-delay="300"] {
  transition-delay: 0.3s;
}

[data-delay="450"] {
  transition-delay: 0.45s;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.9s var(--ease) forwards;
}

.reveal-up:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   4. GRAIN / NOISE TEXTURE
   ============================================================ */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.35;
  background-image: url('../images/bg-texture.png');
  background-repeat: repeat;
  background-size: 380px auto;
  mix-blend-mode: multiply;
}

@keyframes grainShift {
  0% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-3%, -2%);
  }

  20% {
    transform: translate(2%, 3%);
  }

  30% {
    transform: translate(-1%, 1%);
  }

  40% {
    transform: translate(3%, -3%);
  }

  50% {
    transform: translate(-2%, 2%);
  }

  60% {
    transform: translate(1%, -1%);
  }

  70% {
    transform: translate(-3%, 3%);
  }

  80% {
    transform: translate(2%, -2%);
  }

  90% {
    transform: translate(-1%, 3%);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* ============================================================
   5. PSYCHEDELIC BLOBS
   ============================================================ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: blobMorph 12s ease-in-out infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 47, 190, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 64, 251, 0.15) 0%, transparent 70%);
  bottom: -80px;
  left: -100px;
  animation-delay: -6s;
}

@keyframes blobMorph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: scale(1);
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: scale(1.08);
  }

  100% {
    border-radius: 50% 60% 30% 40% / 40% 50% 60% 50%;
    transform: scale(0.95);
  }
}

/* ============================================================
   6. GLITCH TEXT
   ============================================================ */
.glitch-text {
  position: relative;
  font-family: var(--font-serif);
  color: var(--text);
  display: block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  pointer-events: none;
}

.glitch-text::before {
  color: var(--magenta);
  animation: glitchBefore 5s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  transform: translate(-3px, 0);
}

.glitch-text::after {
  color: var(--electric);
  animation: glitchAfter 5s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  transform: translate(3px, 0);
}

@keyframes glitchBefore {

  0%,
  87%,
  89%,
  100% {
    transform: translate(0);
    opacity: 0;
  }

  88% {
    transform: translate(-4px, 1px);
    opacity: 0.6;
  }
}

@keyframes glitchAfter {

  0%,
  91%,
  93%,
  100% {
    transform: translate(0);
    opacity: 0;
  }

  92% {
    transform: translate(4px, -1px);
    opacity: 0.6;
  }
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--gold);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid var(--gold);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: none;
  box-shadow: none !important;
}

.theme-btn:hover {
  background: transparent;
  color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

body.light-mode .theme-btn {
  color: #FFFFFF !important;
  box-shadow: none !important;
}

body.light-mode .theme-btn:hover {
  background: transparent;
  color: var(--gold) !important;
  box-shadow: none !important;
}

.theme-btn svg {
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.theme-btn:hover svg {
  transform: translateX(4px);
}

.theme-btn-xl {
  padding: 18px 44px;
  font-size: 14px;
}

/* ============================================================
   8. NOTCH HEADER
   ============================================================ */
.notch-header,
.notch-header *,
.notch-menu li a,
header.notch-header {
  font-family: 'Maheni', serif !important;
}

.notch-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  background: rgba(8, 10, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50px;
  padding: 10px 28px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  transition: top 0.4s var(--ease), padding 0.4s var(--ease), background 0.5s;
}

body.light-mode .notch-header {
  background: rgba(244, 240, 230, 0.88);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .notch-menu li a {
  opacity: 0.88;
}

body.light-mode .notch-menu li a:hover,
body.light-mode .notch-menu li a.active {
  opacity: 1;
  color: var(--gold);
}

.notch-header.scrolled {
  top: 8px;
  padding: 8px 24px;
}

/* Logo visibility */
.logo-dark-mode {
  display: block;
}

.logo-light-mode {
  display: none;
}

body.light-mode .logo-dark-mode {
  display: none;
}

body.light-mode .logo-light-mode {
  display: block;
}

.notch-logo a {
  display: flex;
  align-items: center;
}

.notch-logo img {
  height: 34px;
  width: auto;
  transition: opacity 0.3s;
}

/* Nav */
.notch-nav .notch-menu {
  list-style: none;
  display: flex;
  gap: 32px;
}

.notch-menu li a {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--text);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}

.notch-menu li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.notch-menu li a:hover {
  opacity: 1;
  color: var(--text);
}

.notch-menu li a:hover::after {
  width: 100%;
}

/* Active Menu Item (Current Page Only) */
.notch-menu li.active>a,
.notch-menu li a.active,
.notch-menu li.current-menu-item>a,
.notch-menu li.current_page_item>a {
  opacity: 1 !important;
  color: var(--gold) !important;
}

.notch-menu li.active>a::after,
.notch-menu li a.active::after,
.notch-menu li.current-menu-item>a::after,
.notch-menu li.current_page_item>a::after {
  width: 100% !important;
  background: var(--gold) !important;
}

/* Header Actions */
.notch-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle-btn {
  background: transparent;
  border: 1.5px solid rgba(217, 156, 91, 0.3);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: transform 0.5s var(--ease-bounce), border-color 0.3s;
}

.theme-toggle-btn:hover {
  transform: rotate(90deg);
  border-color: var(--gold);
}

/* ============================================================
   9. HERO SECTION
   ============================================================ */
.hero-sec {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none !important;
  user-select: none !important;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%) brightness(1.05);
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}

.hero-bg video::-webkit-media-controls,
.hero-bg video::-webkit-media-controls-enclosure {
  display: none !important;
}

.hero-overlay {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.75) 100%
  );
  transition: background 0.4s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
}

/* Hover state: background white overlay becomes dense and ultra-high-contrast */
.hero-sec:hover .hero-overlay,
.hero-sec:has(.hero-headline:hover) .hero-overlay {
  background: rgba(255, 255, 255, 0.93);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 32px;
}

/* Hero Quote */
.hero-quote {
  max-width: 580px;
  margin: 0 auto;
  padding: 16px 28px;
  border-radius: 20px;
  background: rgba(8, 10, 8, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  animation-delay: 0.1s;
}

.hero-quote p {
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.65;
  color: #FFFFFF;
  font-style: italic;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.author-name {
  font-weight: 700;
  color: var(--gold);
}

.author-sep {
  color: rgba(255, 255, 255, 0.5);
}

.author-title {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Hero Bottom (Headline + CTA) */
.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  width: 100%;
}

.hero-headline {
  text-align: center;
  cursor: pointer;
}

.hero-headline h1 {
  font-family: 'Maheni', serif;
  font-weight: 400;
  /* Maheni Regular for elegant, non-heavy pairing */
  font-size: clamp(3.2rem, 7.5vw, 6.2rem);
  line-height: 1.05;
  color: #000000 !important;
  letter-spacing: -1px;
  text-shadow: none !important;
  transition: transform 0.3s var(--ease);
}

.hero-headline:hover h1 {
  transform: scale(1.015);
}

.hero-headline .glitch-italic,
.hero-headline .custom-baronial-i {
  color: #000000 !important;
  text-shadow: none !important;
}

.hero-headline .glitch-text::before,
.hero-headline .glitch-text::after {
  display: none !important;
}

.hero-cta {
  flex-shrink: 0;
  margin-top: 4px;
  animation-delay: 0.4s;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.2;
    transform: scaleY(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ============================================================
   10. SECTION SHARED STYLES
   ============================================================ */
.about-sec {
  padding: 100px 0 40px;
  background: var(--bg);
}

.ecosystem-sec,
.portfolio-sec,
.team-sec {
  padding: 120px 0;
}

.ecosystem-sec {
  background: var(--surface);
}

.portfolio-sec {
  background: var(--bg);
}

.team-sec {
  background: var(--surface);
}

/* Section Header (AIXOR style: label left, title right) */
.section-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.section-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 6px;
}

.subtitle-icon {
  font-size: 8px;
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

/* Reveal text effect */
.reveal-text {
  background: linear-gradient(90deg, var(--text) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 1.2s var(--ease);
}

.reveal-text.revealed {
  background-position: left;
}

/* ============================================================
   11. ABOUT / FUNFACTS
   ============================================================ */
.funfacts-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-bottom: 0;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .funfacts-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .funfacts-wrap {
    grid-template-columns: 1fr;
  }
}

.funfact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 280px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.light-mode .funfact-box {
  background: var(--surface);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.funfact-box:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.light-mode .funfact-box:hover {
  box-shadow: 0 20px 40px rgba(177, 44, 3, 0.12);
}

/* Card Image Overlays (Reveal only on hover) */
.ff-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  z-index: 1;
}

.ff-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 8, 0.6) 0%, rgba(8, 10, 8, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 2;
}

.funfact-box:hover .ff-bg-img {
  opacity: 1;
  transform: scale(1);
}

.funfact-box:hover .ff-bg-overlay {
  opacity: 1;
}

.funfact-box .funfact-header,
.funfact-box .funfact-footer {
  position: relative;
  z-index: 3;
}

.funfact-header {
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.ff-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  color: var(--text-muted);
  transition: color 0.4s var(--ease);
}

.funfact-box:hover .ff-label {
  color: rgba(255, 255, 255, 0.9);
}

.funfact-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.ff-num-wrap {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
}

.ff-number {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 4vw, 4.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -1px;
  transition: color 0.4s var(--ease);
}

.funfact-box:hover .ff-number {
  color: #FFFFFF;
}

.ff-plus {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-left: 2px;
  margin-top: 2px;
}

.ff-arrow {
  color: var(--text-dim);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
  margin-bottom: 6px;
  flex-shrink: 0;
}

.funfact-box:hover .ff-arrow {
  transform: translate(4px, -4px);
  color: #FFFFFF;
}

/* ============================================================
   MANIFESTO SECTION - INTERACTIVE LIGHT-TO-DARK HOVER OVERLAY
   ============================================================ */
.manifesto-full-sec.manifesto-dark-clean {
  position: relative;
  width: 100%;
  padding: 110px 0 120px;
  background-color: #F7F4EE;
  overflow: hidden;
  box-shadow: none;
  border: none;
  margin: 0;
  text-align: center;
  transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.manifesto-dark-clean .manifesto-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.manifesto-dark-clean .manifesto-bg-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(1.1) brightness(0.85);
  opacity: 0.12;
  transition: filter 0.8s var(--ease), opacity 0.8s var(--ease);
}

/* Initial State: White/Cream Overlay */
.manifesto-dark-clean .manifesto-bg-overlay-white {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(247, 244, 238, 0.96);
  z-index: 2;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover State: Animated Black Fill Overlay */
.manifesto-dark-clean .manifesto-bg-overlay-black {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(12, 12, 12, 0.85) 0%, rgba(6, 6, 6, 0.88) 100%);
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  z-index: 3;
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.75s ease;
}

/* HOVER FILL TRIGGER */
.manifesto-full-sec.manifesto-dark-clean:hover {
  background-color: #080808;
}

.manifesto-full-sec.manifesto-dark-clean:hover .manifesto-bg-img {
  filter: grayscale(100%) contrast(1.2) brightness(0.65);
  opacity: 0.55;
}

.manifesto-full-sec.manifesto-dark-clean:hover .manifesto-bg-overlay-white {
  opacity: 0;
}

.manifesto-full-sec.manifesto-dark-clean:hover .manifesto-bg-overlay-black {
  transform: scaleY(1);
  opacity: 0.85;
}

/* Custom Baronial Font for Letter 'I' in Ideas */
.custom-baronial-i {
  font-family: 'Baronial', serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block;
  font-size: 1.12em;
  line-height: 0.8;
  color: var(--gold);
}

/* MAD Creative Agency Style About Us Editorial Layout */
.about-editorial-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.about-editorial-header {
  margin-bottom: 48px;
}

.about-editorial-title {
  font-family: 'Maheni', serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 400;
  /* Maheni Regular */
  line-height: 1.05;
  color: #111111;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-lead-text {
  font-family: 'Helvena', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111111;
}

.about-sub-text {
  font-family: 'Helvena', sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: #4A4A4A;
}

@media (max-width: 868px) {
  .about-editorial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Hide Floating SVGs on Hero and Manifesto (Clean minimal look) */
.float-hero-1,
.float-hero-2,
.float-manifesto-1,
.float-manifesto-2,
.float-manifesto-3,
.float-manifesto-4,
.surreal-float {
  display: none !important;
}

/* Header Badge / Label */
.manifesto-header-badge {
  margin-bottom: 24px;
  text-align: center;
}

.manifesto-badge-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: rgba(217, 56, 30, 0.08);
  border: 1px solid rgba(217, 56, 30, 0.22);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #D9381E;
}

.manifesto-badge-red .badge-dot-red {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #D9381E;
  box-shadow: 0 0 8px rgba(217, 56, 30, 0.6);
}


.manifesto-clean-panel {
  position: relative;
  z-index: 4;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Font 1: Maheni (Display / Title Accent) */
.manifesto-clean-title {
  font-family: var(--font-serif); /* Maheni */
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #111111;
  margin: 0 0 44px 0;
  text-align: center;
  transition: color 0.7s ease;
}

.manifesto-clean-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
  max-width: 740px;
}

/* Font 2: Helvena (Body Paragraphs) */
.manifesto-clean-body p {
  font-family: var(--font-sans); /* Helvena */
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.8;
  color: #222222;
  margin: 0;
  text-align: center;
  width: 100%;
  transition: color 0.7s ease;
}

.manifesto-clean-body p strong {
  font-family: var(--font-sans);
  font-weight: 700;
  color: #111111;
  transition: color 0.7s ease;
}

.manifesto-clean-body p em {
  font-family: var(--font-serif); /* Maheni Italic Accent */
  font-style: italic;
  color: #111111;
  transition: color 0.7s ease;
}

/* Hover Transition: Text turns clean white when black overlay fills in */
.manifesto-full-sec.manifesto-dark-clean:hover .manifesto-clean-title {
  color: #FFFFFF;
}

.manifesto-full-sec.manifesto-dark-clean:hover .manifesto-clean-body p {
  color: rgba(255, 255, 255, 0.88);
}

.manifesto-full-sec.manifesto-dark-clean:hover .manifesto-clean-body p strong {
  color: #FFFFFF;
}

.manifesto-full-sec.manifesto-dark-clean:hover .manifesto-clean-body p em {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .manifesto-single-panel {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .manifesto-full-sec.manifesto-cream-theme {
    padding: 60px 0 50px;
    margin: 40px 0 0;
  }

  .float-manifesto-1 {
    width: 100px;
    right: 2%;
    top: 2%;
  }

  .float-manifesto-2 {
    width: 110px;
    left: 2%;
    bottom: 2%;
  }

  .float-manifesto-3,
  .float-manifesto-4 {
    display: none;
  }
}

/* ============================================================
   12. ECOSYSTEM / VENTURES LIST (2-Column Grid with Motion)
   ============================================================ */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

/* Left Column: Motion Box */
.ecosystem-motion-col {
  position: sticky;
  top: 100px;
}

.ecosystem-motion-box {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--card-bg, #111116);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  box-shadow: none;
}

.motion-video-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.05);
}

.motion-video-wrap.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.motion-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
}

.motion-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.motion-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.5;
}

.motion-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(18, 18, 24, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  font-family: var(--font-sans);
  color: var(--gold, #ffbd59);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.motion-badge .badge-icon {
  font-size: 16px;
  animation: floatPulse 2s ease-in-out infinite;
}

.motion-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted, #a0a0a0);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.motion-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: pulseDot 1.5s infinite;
}

/* Right Column: Orbit System Dropdown Header & List */
.ecosystem-dropdown-col {
  display: flex;
  flex-direction: column;
}

.orbit-system-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--card-bg, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 24px;
  transition: border-color 0.3s, background 0.3s;
}

.orbit-system-header:hover {
  border-color: var(--gold);
  background: rgba(255, 189, 89, 0.05);
}

.orbit-system-title h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text);
  margin: 0;
}

.orbit-system-title .system-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  display: block;
  margin-top: 2px;
}

.orbit-system-arrow {
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 189, 89, 0.1);
}

.ventures-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.venture-item {
  position: relative;
  border-top: 1px solid var(--border);
  overflow: hidden;
  transition: background 0.3s ease;
  z-index: 1;
}

.venture-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(177, 44, 3, 0.06);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
  pointer-events: none;
}

.venture-item:hover::before {
  transform: scaleY(1);
}

.venture-item:last-child {
  border-bottom: 1px solid var(--border);
}

.venture-item-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 8px;
  cursor: pointer;
  transition: padding 0.3s var(--ease), background 0.3s;
  position: relative;
  z-index: 2;
}

.venture-item:hover .venture-item-header {
  padding-left: 16px;
}

.venture-num {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 2px;
  min-width: 24px;
}

.venture-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.venture-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin: 0;
  transition: color 0.3s;
}

.venture-item:hover .venture-name,
.venture-item.open .venture-name {
  color: var(--gold);
}

.venture-item.venture-coming .venture-name {
  color: var(--text-muted);
}

.venture-type {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  align-self: flex-start;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}

.venture-item:hover .venture-type,
.venture-item.open .venture-type {
  border-color: var(--gold);
  color: var(--gold);
}

/* Rolling Visual Pop-up (Sun / Moon / Star) */
.venture-visual-pop {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wavy-path {
  width: 60px;
  height: 20px;
  color: var(--gold);
  opacity: 0.6;
}

.pop-visual {
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  transition: transform 0.8s ease;
}

.venture-item.open .venture-visual-pop {
  opacity: 1;
  transform: translateX(0);
}

.venture-item.open .roll-sun {
  animation: rollRotateSun 8s linear infinite;
}

.venture-item.open .roll-moon {
  animation: rollRotateMoon 6s ease-in-out infinite alternate;
}

.venture-item.open .roll-star {
  animation: rollPulseStar 2s ease-in-out infinite alternate;
}

@keyframes rollRotateSun {
  from {
    transform: rotate(0deg) scale(1.2);
  }

  to {
    transform: rotate(360deg) scale(1.2);
  }
}

@keyframes rollRotateMoon {
  0% {
    transform: rotate(-20deg) scale(1.1);
  }

  100% {
    transform: rotate(20deg) scale(1.3);
  }
}

@keyframes rollPulseStar {
  0% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 2px gold);
  }

  100% {
    transform: scale(1.3) rotate(45deg);
    filter: drop-shadow(0 0 12px gold);
  }
}

@keyframes floatPulse {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.15);
  }
}

@keyframes pulseDot {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.venture-toggle {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), color 0.3s;
}

.venture-item.open .venture-toggle {
  transform: rotate(90deg);
  color: var(--gold);
}

.venture-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), padding 0.4s var(--ease);
  position: relative;
  z-index: 2;
}

.venture-item.open .venture-item-body {
  max-height: 250px;
  padding-bottom: 28px;
}

.venture-item-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 100%;
  padding-left: 44px;
  margin-bottom: 16px;
}

.venture-tags {
  display: flex;
  gap: 10px;
  padding-left: 44px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ecosystem-motion-col {
    position: relative;
    top: 0;
  }

  .ecosystem-motion-box {
    height: 380px;
  }
}

.venture-tags span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-accent);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ============================================================
   13. OUR TROOPS - FLOATING & OVERLAPPING GALLERY
   ============================================================ */
.troops-floating-sec {
  padding: 120px 0 160px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.troops-header-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 10px;
  max-width: 600px;
}

/* Overlapping Gallery Container */
.troops-overlapping-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  position: relative;
  padding: 40px 10px;
  margin-top: 20px;
}

/* Individual Floating Card */
.troop-float-card {
  position: relative;
  transition: transform 0.6s var(--ease), z-index 0.3s, box-shadow 0.5s;
  will-change: transform;
}

/* Stacked Overlapping Rotations & Offsets */
.troop-card-pos-1 {
  transform: rotate(-5deg) translateY(-10px);
  z-index: 2;
  animation: troopFloat1 6s ease-in-out infinite alternate;
}

.troop-card-pos-2 {
  transform: rotate(4deg) translateY(25px) translateX(-15px);
  z-index: 3;
  animation: troopFloat2 7s ease-in-out 0.5s infinite alternate;
}

.troop-card-pos-3 {
  transform: rotate(-3deg) translateY(-20px) translateX(-10px);
  z-index: 1;
  animation: troopFloat3 8s ease-in-out 1s infinite alternate;
}

.troop-card-pos-4 {
  transform: rotate(6deg) translateY(15px);
  z-index: 3;
  animation: troopFloat2 6.5s ease-in-out 0.3s infinite alternate;
}

.troop-card-pos-5 {
  transform: rotate(-4deg) translateY(-15px) translateX(-20px);
  z-index: 2;
  animation: troopFloat1 7.5s ease-in-out 1.2s infinite alternate;
}

.troop-card-pos-6 {
  transform: rotate(5deg) translateY(20px);
  z-index: 4;
  animation: troopFloat3 6.8s ease-in-out 0.8s infinite alternate;
}

/* Interactive Hover Elevation & Un-tilt */
.troop-float-card:hover {
  transform: translateY(-24px) rotate(0deg) scale(1.06) !important;
  z-index: 20 !important;
}

/* Inner Card Framing & Aesthetics */
.troop-card-inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.troop-float-card:hover .troop-card-inner {
  border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(177, 44, 3, 0.35), 0 0 25px rgba(177, 44, 3, 0.25);
}

/* Image Container */
.troop-img-container {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.troop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
  filter: brightness(0.85) contrast(1.05);
}

.troop-float-card:hover .troop-img {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.1);
}

/* Card Overlay Gradient */
.troop-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 8, 0.95) 0%, rgba(8, 10, 8, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

/* Troop Badge Tag */
.troop-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 18, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, border-color 0.3s;
}

.troop-float-card:hover .troop-card-badge {
  background: rgba(177, 44, 3, 0.85);
  color: #FFFFFF;
  border-color: var(--gold);
}

/* Card Content Text */
.troop-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.troop-role-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.troop-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
  transition: color 0.3s;
}

/* Keyframe Animations for Floating Effect */
@keyframes troopFloat1 {
  0% {
    transform: rotate(-5deg) translateY(-10px);
  }

  100% {
    transform: rotate(-3deg) translateY(12px);
  }
}

@keyframes troopFloat2 {
  0% {
    transform: rotate(4deg) translateY(25px) translateX(-15px);
  }

  100% {
    transform: rotate(6deg) translateY(-8px) translateX(-5px);
  }
}

@keyframes troopFloat3 {
  0% {
    transform: rotate(-3deg) translateY(-20px) translateX(-10px);
  }

  100% {
    transform: rotate(1deg) translateY(15px) translateX(10px);
  }
}

/* Responsive Adjustments for Mobile & Tablet */
@media (max-width: 991px) {
  .troops-overlapping-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 20px 0;
  }

  .troop-float-card {
    transform: rotate(0deg) !important;
    animation: none !important;
  }

  .troop-img-container {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .troops-overlapping-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .troop-img-container {
    height: 280px;
  }
}

/* ============================================================
   14. PORTFOLIO GRID SECTION (LEGACY / ALT)
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 360px 360px;
  gap: 16px;
}

.portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: none;
}

.portfolio-card-wide {
  grid-column: span 2;
}

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}

.portfolio-card:hover .portfolio-card-bg {
  transform: scale(1.05);
}

/* Abstract psychedelic gradient backgrounds */
.portfolio-bg-1 {
  background: linear-gradient(135deg, #1a0533 0%, #4a0e8c 35%, #e040fb 70%, #d99c5b 100%);
}

.portfolio-bg-2 {
  background: linear-gradient(135deg, #081a0f 0%, #0d4a2e 40%, #39ff14 80%, #d99c5b 100%);
}

.portfolio-bg-3 {
  background: linear-gradient(135deg, #0a0a30 0%, #2400ff 40%, #a259ff 70%, #e040fb 100%);
}

.portfolio-bg-4 {
  background: linear-gradient(135deg, #1a0808 0%, #8c0e2e 35%, #d99c5b 65%, #e040fb 100%);
}

/* Add noise to portfolio cards */
.portfolio-card-bg::after {
  content: '';
  position: absolute;
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 150px;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 8, 0.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transform: translateY(16px);
  transition: transform 0.4s var(--ease);
}

.portfolio-card:hover .portfolio-card-overlay {
  transform: translateY(0);
}

.cta-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #b12c03;
  margin-bottom: 12px;
}

.portfolio-cat {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.portfolio-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.portfolio-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s 0.1s var(--ease), transform 0.4s 0.1s var(--ease);
}

.portfolio-card:hover .portfolio-sub {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   14. PORTFOLIO GRID SECTION (FORMERLY TEAM)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(177, 44, 3, 0.3);
}

.team-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.portfolio-card-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.team-card:hover .portfolio-card-img-el {
  transform: scale(1.08);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 8, 0.85) 0%, transparent 60%);
  pointer-events: none;
}

.team-card-info {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface2);
  flex-grow: 1;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.team-role {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* Join / CTA Card */
.team-join-card {
  background: linear-gradient(135deg, var(--surface2), rgba(177, 44, 3, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(177, 44, 3, 0.3);
}

.team-join-inner {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: center;
}

.team-join-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.team-join-inner p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   15. MARQUEE SECTION & HIGH-CONTRAST CTA BANNER
   ============================================================ */
.marquee-sec {
  overflow: hidden;
  background: var(--bg);
  padding: 80px 0 120px;
  position: relative;
}

/* Top border with gradient */
.marquee-sec::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--magenta), var(--electric), transparent);
  margin-bottom: 60px;
}

.marquee-track {
  overflow: hidden;
  padding: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.marquee-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
  width: max-content;
}

.marquee-inner span {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee-sep {
  color: var(--gold) !important;
  font-size: 0.7rem !important;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Light Mode Editorial CTA Section */
.cta-full-sec {
  position: relative;
  width: 100%;
  padding: 110px 0 100px;
  background-color: #FFFFFF;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 0;
}

.cta-full-sec .cta-banner-bg {
  display: none !important;
}

.cta-full-sec .cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  z-index: 2;
}

.cta-full-sec .cta-banner-grain {
  position: absolute;
  inset: 0;
  background-image: url('../images/bg-texture.png');
  background-repeat: repeat;
  background-size: 380px auto;
  mix-blend-mode: multiply;
  opacity: 0.75;
  pointer-events: none;
  z-index: 3;
}

.cta-full-sec .float-cta-1,
.cta-full-sec .float-cta-2,
.cta-floating-svg {
  display: none !important;
}

.cta-block-content {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cta-block-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 850px;
}

.cta-title {
  font-family: 'Maheni', serif;
  font-size: clamp(3rem, 6.2vw, 5.5rem);
  font-weight: 400;
  /* Maheni Regular for clean elegant look */
  line-height: 1.05;
  color: #111111;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  text-shadow: none;
}

.cta-title em,
.cta-title .text-red-accent {
  font-family: 'Maheni', serif;
  font-style: italic;
  font-weight: 400;
  color: #b12c03 !important;
  background: none !important;
  -webkit-text-fill-color: #b12c03 !important;
  text-shadow: none !important;
  display: inline-block;
}

.cta-btn-wrap {
  margin-top: 8px;
}

@keyframes ctaFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}

@keyframes ctaRingSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cta-ring-spin {
  transform-origin: 120px 120px;
  animation: ctaRingSpin 25s linear infinite;
}

.cta-core-pulse {
  animation: ctaPulse 3s ease-in-out infinite alternate;
  transform-origin: 120px 120px;
}

@keyframes ctaPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 0 12px #E040FB);
  }
}

/* ============================================================
   16. CONTACT / FOOTER
   ============================================================ */
.contact-section {
  background: #050705;
  padding: 80px 0 60px;
  border-top: 1px solid var(--border);
}

body.light-mode .contact-section {
  background: var(--surface);
  border-top-color: var(--border);
}

body.light-mode .contact-brand address p {
  color: var(--text-muted);
}

body.light-mode .contact-links h4,
body.light-mode .contact-social h4,
body.light-mode .contact-legal h4 {
  color: var(--text-dim);
}

body.light-mode .contact-links a,
body.light-mode .contact-social a,
body.light-mode .contact-legal a {
  color: var(--text-muted);
}

body.light-mode .contact-links a:hover,
body.light-mode .contact-social a:hover,
body.light-mode .contact-legal a:hover {
  color: var(--gold);
}

body.light-mode .copyright p {
  color: var(--text-muted);
}

.contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-brand .contact-logo {
  margin-bottom: 28px;
}

.contact-brand address {
  font-style: normal;
  line-height: 1.9;
}

.contact-brand address p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.contact-brand address a {
  color: var(--gold);
  font-size: 13px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.contact-brand address a:hover {
  opacity: 1;
}

.contact-links h4,
.contact-social h4,
.contact-legal h4 {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.contact-links ul,
.contact-social ul,
.contact-legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-links a,
.contact-social a,
.contact-legal a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.contact-links a:hover,
.contact-social a:hover {
  color: #fff;
}

.contact-legal {
  margin-top: 0;
}

.contact-legal ul {
  margin-bottom: 40px;
}

.contact-legal a:hover {
  color: var(--gold);
}

.copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  line-height: 1.7;
}

/* ============================================================
   17. SITE FOOTER (WP native — hidden)
   ============================================================ */
.site-footer {
  display: none;
}


/* Active link in header nav */
.notch-menu li.active a {
  opacity: 1;
  color: var(--gold);
}

.notch-menu li.active a::after {
  width: 100%;
}

/* ============================================================
   19. BURN ORBIT & MID ORBIT PAGE STYLES
   ============================================================ */
.orbit-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.relative-z {
  position: relative;
  z-index: 5;
}

/* Page Hero */
.page-hero-sec {
  position: relative;
  padding-top: 180px;
  padding-bottom: 90px;
  background: radial-gradient(circle at 50% 20%, rgba(30, 20, 45, 0.6) 0%, var(--bg) 70%);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none !important;
  user-select: none !important;
}

.page-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%) brightness(1.05);
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}

.page-hero-bg video::-webkit-media-controls,
.page-hero-bg video::-webkit-media-controls-enclosure {
  display: none !important;
}

body.light-mode .page-hero-sec {
  background: radial-gradient(circle at 50% 20%, rgba(230, 220, 245, 0.7) 0%, var(--bg) 70%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.page-hero-grid.single-col {
  grid-template-columns: 1fr;
}

.align-center {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}

.venture-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(217, 156, 91, 0.12);
  border: 1px solid rgba(217, 156, 91, 0.3);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.badge-dot.dot-cyan {
  background: #00F0FF;
  box-shadow: 0 0 10px #00F0FF;
}

.page-hero-title {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.page-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* Dreamy Earth Sphere Graphic */
.dreamy-earth-container {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.earth-glow-aura {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 80, 255, 0.35) 0%, rgba(217, 156, 91, 0.25) 40%, transparent 75%);
  filter: blur(30px);
  animation: auraPulse 6s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

.dreamy-earth-sphere {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4a2b6d 0%, #170d2b 65%, #080312 100%);
  box-shadow: inset -20px -20px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(162, 89, 255, 0.4);
  overflow: hidden;
}

.earth-atmosphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 10px 10px 20px rgba(255, 255, 255, 0.25), inset -10px -10px 30px rgba(217, 156, 91, 0.4);
}

.earth-surface {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 50% 50%, rgba(57, 255, 20, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(220, 64, 251, 0.3) 0%, transparent 50%);
  mix-blend-mode: overlay;
  animation: surfaceRotate 25s linear infinite;
}

.earth-surface-static {
  animation: none !important;
}

@keyframes surfaceRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(217, 156, 91, 0.4);
  pointer-events: none;
}

.ring-1 {
  width: 300px;
  height: 100px;
  transform: rotate(-25deg);
  box-shadow: 0 0 15px rgba(217, 156, 91, 0.2);
  animation: ringSpin 18s linear infinite;
}

.ring-2 {
  width: 330px;
  height: 110px;
  transform: rotate(35deg);
  border-color: rgba(224, 64, 251, 0.4);
  animation: ringSpin 24s linear infinite reverse;
}

.ring-static {
  animation: none !important;
}

.float-static {
  animation: none !important;
  transform: none !important;
}

/* Contrast enhancement for Hero text */
.hero-contrast-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.6) 100%);
}

body.light-mode .hero-contrast-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(246, 243, 237, 0.75) 100%);
}

.page-hero-text {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

body.light-mode .page-hero-title {
  color: #1a1625;
}

body.light-mode .page-hero-subtitle {
  color: #3d3846;
  font-weight: 500;
}

body.light-mode .hero-manifesto-quote {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(217, 156, 91, 0.4);
  color: #1a1625;
}

@keyframes ringSpin {
  0% {
    transform: rotate(-25deg) scale(1);
  }

  50% {
    transform: rotate(-25deg) scale(1.04);
  }

  100% {
    transform: rotate(-25deg) scale(1);
  }
}

.floating-particle {
  position: absolute;
  font-size: 1.4rem;
  animation: floatParticle 4s ease-in-out infinite alternate;
}

.p1 {
  top: 10px;
  right: 20px;
  animation-delay: 0s;
}

.p2 {
  bottom: 30px;
  left: 10px;
  animation-delay: 1.2s;
}

.p3 {
  top: 40%;
  right: -10px;
  animation-delay: 2.5s;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) scale(0.9);
  }

  100% {
    transform: translateY(-14px) scale(1.1);
  }
}

/* Blobs for Burn & Mid pages */
.blob-burn-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 156, 91, 0.2) 0%, transparent 70%);
  top: -80px;
  left: -100px;
}

.blob-burn-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(224, 64, 251, 0.2) 0%, transparent 70%);
  top: 100px;
  right: -150px;
}

.blob-mid-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, transparent 70%);
  top: -80px;
  left: -100px;
}

.blob-mid-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(162, 89, 255, 0.2) 0%, transparent 70%);
  top: 100px;
  right: -150px;
}

/* ===== BURN ORBIT: CHAOS SECTION ===== */
.burn-chaos-sec {
  position: relative;
  padding: 110px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.sec-light-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 26, 0.82);
  backdrop-filter: blur(3px);
  z-index: 1;
}

body.light-mode .sec-light-overlay {
  background: rgba(246, 243, 237, 0.88);
  backdrop-filter: blur(3px);
}

.chaos-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.chaos-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 16px 0 24px 0;
  color: var(--text);
}

body.light-mode .chaos-headline {
  color: #16121e;
}

.chaos-intro {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 24px;
}

body.light-mode .chaos-intro {
  color: #2b2536;
}

.chaos-elements-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.chaos-pill {
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  box-shadow: none;
  transition: transform 0.3s var(--ease-bounce), border-color 0.3s;
}

body.light-mode .chaos-pill {
  background: #ffffff;
  border-color: rgba(217, 156, 91, 0.4);
  color: #a85d18;
}

.chaos-pill:hover,
body.light-mode .chaos-pill:hover {
  transform: translateY(-4px);
  background: var(--gold, #b12c03) !important;
  border-color: var(--gold, #b12c03) !important;
  color: #ffffff !important;
}

.chaos-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

body.light-mode .chaos-desc {
  color: #4a4456;
  font-weight: 500;
}

/* Interactive High-Contrast Philosophy Cards */
.chaos-interactive-cards-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chaos-hover-card {
  position: relative;
  min-height: 150px;
  background-color: #111111;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #111111;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-mode .chaos-hover-card {
  background-color: #111111;
  border-color: #111111;
  box-shadow: none;
}

.chaos-hover-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.chaos-hover-card:hover::before,
body.light-mode .chaos-hover-card:hover::before {
  transform: scaleX(1);
}

.chaos-hover-card:hover,
body.light-mode .chaos-hover-card:hover {
  background-color: #111111;
  border-color: #111111;
  transform: translateY(-6px);
  box-shadow: none;
}

.chaos-hover-card .card-content {
  position: relative;
  z-index: 2;
  padding: 32px 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.chaos-hover-card .card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 80%;
  line-height: 1.35;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-mode .chaos-hover-card .card-title {
  color: #ffffff;
}

.chaos-hover-card:hover .card-title,
body.light-mode .chaos-hover-card:hover .card-title {
  color: #111111;
}

.chaos-hover-card .card-arrow {
  position: relative;
  bottom: auto;
  right: auto;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-mode .chaos-hover-card .card-arrow {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: none;
}

.chaos-hover-card:hover .card-arrow,
body.light-mode .chaos-hover-card:hover .card-arrow {
  transform: translateX(4px);
  background: #111111;
  color: #ffffff;
}

/* Chalk Arrow Line Animation (Left to Right on Hover) */
.chalk-arrow-layer {
  position: absolute;
  left: 36px;
  right: 90px;
  bottom: 12px;
  height: 36px;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  color: #111111;
}

body.light-mode .chalk-arrow-layer {
  color: #111111;
}

.chalk-arrow-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.chaos-hover-card:hover .chalk-arrow-layer {
  opacity: 0.85;
  animation: chalkArrowSwipe 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes chalkArrowSwipe {
  0% {
    opacity: 0;
    transform: translateX(-80%);
  }

  40% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.85;
    transform: translateX(0);
  }
}

/* ===== BURN ORBIT: THE FLAME SECTION ===== */
.flame-sec {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.flame-header-block {
  margin-bottom: 52px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.flame-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-style: italic;
  color: var(--text) !important;
  line-height: 1.2;
  text-shadow: none;
  text-align: center;
  margin: 0;
}

body.light-mode .flame-title {
  color: var(--text) !important;
}

/* Main Bento Grid Layout */
.flame-bento-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

/* Left Panel: Large Highlight Card */
.flame-highlight-box {
  position: relative;
  padding: 44px 36px;
  background: transparent !important;
  border: 2px solid var(--border-accent, rgba(177, 44, 3, 0.4));
  border-radius: 20px;
  box-shadow: none;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: border-color 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
}

.flame-highlight-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #111111;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.flame-highlight-box:hover::before {
  transform: scaleX(1);
}

.flame-highlight-box:hover {
  border-color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

body.light-mode .flame-highlight-box {
  background: transparent !important;
  border-color: rgba(177, 44, 3, 0.4);
}

@keyframes floraChalkLoop {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.08) rotate(2deg);
    opacity: 1;
  }
}

.flame-flora {
  width: 160px;
  height: 160px;
  color: var(--text);
  opacity: 0.85;
  transition: color 0.35s ease, opacity 0.35s ease;
  margin-bottom: 24px;
  animation: floraChalkLoop 4s ease-in-out infinite;
  transform-origin: center center;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.15));
}

.flame-flora svg {
  width: 100%;
  height: 100%;
}

.flame-highlight-box:hover .flame-flora,
.flame-highlight-box:hover .flame-flora svg {
  color: #FFFFFF !important;
  opacity: 1;
  filter: drop-shadow(0px 2px 8px rgba(255, 255, 255, 0.3));
}

.flame-highlight-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  transition: color 0.35s ease;
}

.flame-highlight-box:hover .flame-highlight-badge {
  color: var(--gold);
}

.flame-highlight-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.55;
  font-family: var(--font-serif);
  font-style: italic;
  margin: 0;
  transition: color 0.35s ease;
}

body.light-mode .flame-highlight-text {
  color: var(--gold);
}

.flame-highlight-box:hover .flame-highlight-text,
body.light-mode .flame-highlight-box:hover .flame-highlight-text {
  color: #FFFFFF !important;
}

/* Right Panel: Bento Grid (6 Columns Layout matching sketch) */
.flame-right-panel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  height: 100%;
}

.flame-feature-card {
  position: relative;
  background: transparent !important;
  border: 2px solid var(--border-accent, rgba(177, 44, 3, 0.35));
  border-radius: 20px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  z-index: 1;
  transition: border-color 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
}

body.light-mode .flame-feature-card {
  background: transparent !important;
  border-color: rgba(177, 44, 3, 0.35);
}

/* Left-to-Right Black Fill Animation on Hover */
.flame-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #111111;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.flame-feature-card:hover::before {
  transform: scaleX(1);
}

.flame-feature-card:hover {
  transform: translateY(-3px);
  border-color: #111111;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

/* Sketch Bento Card Spans */
/* Row 1: 1 Wide Top Card */
.flame-card-wide-top {
  grid-column: span 6;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  min-height: 100px;
}

/* Row 2: 2 Equal Cards */
.flame-card-half {
  grid-column: span 3;
  min-height: 130px;
}

/* Row 3: Wide Card + Narrow Card */
.flame-card-row3-wide {
  grid-column: span 4;
  min-height: 130px;
}

.flame-card-row3-narrow {
  grid-column: span 2;
  min-height: 130px;
}

.flame-feature-card p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  transition: color 0.35s ease;
}

.flame-feature-card p::before {
  content: '“';
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 0;
  vertical-align: -0.2em;
  color: var(--gold);
  margin-right: 6px;
  display: inline-block;
  transition: color 0.35s ease;
}

body.light-mode .flame-feature-card p {
  color: var(--text);
}

.flame-feature-card:hover p,
body.light-mode .flame-feature-card:hover p {
  color: #FFFFFF !important;
}

/* ===== BURN ORBIT: OUR ENGINE SCROLL CAROUSEL ===== */
.engine-scroll-sec {
  position: relative;
  width: 100%;
  background: #ffffff;
}

.engine-sticky-wrap {
  position: relative;
  width: 100%;
  padding: 20px 0 40px 0;
  z-index: 10;
}

.engine-sticky-wrap .custom-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Header Split Layout */
.engine-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.engine-header-left-col {
  padding-top: 6px;
}

.engine-header-left-col .section-subtitle {
  justify-content: flex-start;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
}

.engine-header-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 10px;
}

.engine-header-right-col .engine-main-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0 0 8px 0;
  text-align: left;
  line-height: 1.15;
}

body.light-mode .engine-header-right-col .engine-main-title {
  color: #1a1625;
}

/* Signature Dual Font Accent (Maheni Serif Italic + Helvena Sans) for "Four Core" */
.title-oval-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  margin: 0 4px;
  color: inherit;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.engine-header-right-col .section-sub-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-align: left;
  margin: 0;
  max-width: 600px;
  line-height: 1.4;
}

/* Horizontal Line Divider */
.engine-divider-line {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
}

/* Carousel Interactive Grid */
.engine-carousel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.engine-motion-col {
  width: 100%;
}

.engine-motion-box {
  position: relative;
  width: 100%;
  height: clamp(320px, 42vh, 390px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.engine-motion-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.engine-motion-wrap.active {
  opacity: 1;
  visibility: visible;
}

.engine-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
}

.engine-motion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.engine-preview-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
}

/* Right Content Column */
.engine-content-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
}

.engine-slides-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 180px;
}

.engine-slide-item {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s var(--ease);
}

.engine-slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
}

.engine-slide-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px 0;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

body.light-mode .engine-slide-title {
  color: #1a1625;
}

.engine-slide-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 480px;
}

body.light-mode .engine-slide-desc {
  color: #4a4456;
}

/* Dots Navigation */
.engine-dots-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.engine-dot {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.25);
  padding: 0;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  outline: none;
}

.engine-dot:hover {
  border-color: var(--gold);
}

.engine-dot.active {
  width: 44px;
  border-radius: 12px;
  background: var(--gold);
  border-color: var(--gold);
}

/* Responsive styles */
@media (max-width: 991px) {
  .engine-scroll-sec {
    height: auto !important;
  }

  .engine-sticky-wrap {
    position: relative !important;
    top: auto !important;
    padding: 60px 0;
  }

  .engine-sticky-wrap .custom-container {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .engine-header-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .engine-header-right-col {
    padding-left: 0;
  }

  .engine-carousel-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .engine-content-col {
    padding-left: 0;
  }

  .engine-motion-box {
    height: 320px;
  }

  .engine-slides-wrapper {
    min-height: 180px;
  }
}




/* ===== BURN ORBIT: OUR MISSIONS ===== */
.missions-sec {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.missions-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.missions-text-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.missions-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-line-1,
.m-line-2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
}

body.light-mode .m-line-1,
body.light-mode .m-line-2 {
  color: #5a5468;
}

.m-highlight {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-top: 8px;
}

body.light-mode .m-highlight {
  color: #1a1625;
}

.missions-motion-panel {
  width: 100%;
}

.mission-motion-box {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: none;
}

.mid-intro-sec .mission-motion-box {
  box-shadow: none;
}

.mission-motion-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-motion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.mission-motion-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00F0FF;
  box-shadow: 0 0 10px #00F0FF;
  animation: pulse 2s infinite;
}

/* ===== OUR TROOPS ===== */
.troops-sec {
  padding: 100px 0;
}

.troops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.troop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.troop-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.troop-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.troop-placeholder {
  width: 100%;
  height: 100%;
  transition: scale 0.5s var(--ease);
}

.troop-card:hover .troop-placeholder {
  scale: 1.05;
}

.tp-glow-1 {
  background: linear-gradient(135deg, #2b1055 0%, #7510a3 100%);
}

.tp-glow-2 {
  background: linear-gradient(135deg, #103855 0%, #10a394 100%);
}

.tp-glow-3 {
  background: linear-gradient(135deg, #553b10 0%, #a37310 100%);
}

.tp-glow-4 {
  background: linear-gradient(135deg, #3d1055 0%, #a31061 100%);
}

.troop-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.troop-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.troop-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== MID ORBIT STYLES ===== */
.mid-intro-sec {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.mid-intro-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mid-intro-headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin: 20px 0 28px 0;
}

.mid-intro-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.mid-intro-closing {
  font-weight: 700;
  color: var(--text);
  margin-top: 12px;
}

/* Capabilities Grid */
.mid-services-sec {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #00F0FF;
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.1);
}

.service-card-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 8px;
}

.service-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--text);
}

.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* ===== PAGE CTA & ACTION BUTTONS ===== */
.page-cta-sec {
  padding: 120px 0;
}

.cta-connected-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}

.cta-connect-label {
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.cta-action-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 48px;
}

.cta-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.cta-button-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-btn {
  width: 100%;
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: none !important;
}

.primary-cta-btn {
  background: var(--gold);
  color: #FFFFFF !important;
  border: 2px solid var(--gold);
}

.primary-cta-btn:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--gold) !important;
  box-shadow: none !important;
}

.secondary-cta-btn {
  background: transparent;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
}

.secondary-cta-btn:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.cta-btn-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 380px;
}

.cta-email-block {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: center;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s, transform 0.2s;
}

.email-link:hover {
  color: var(--gold);
  transform: scale(1.03);
}

.email-icon {
  color: var(--gold);
}

/* ============================================================
   20. RESPONSIVE EXTENSIONS
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .troops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero-subtitle {
    margin: 0 auto;
  }

  .chaos-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .flame-bento-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .flame-highlight-box {
    min-height: 240px;
  }

  .engine-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-connected-box {
    padding: 40px 24px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .troops-grid {
    grid-template-columns: 1fr;
  }

  .flame-right-panel {
    grid-template-columns: 1fr;
  }

  .flame-card-wide-top,
  .flame-card-half,
  .flame-card-row3-wide,
  .flame-card-row3-narrow {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .flame-inner-frame {
    padding: 36px 20px;
  }

  .flame-flora {
    display: none;
  }
}


/* ============================================================
   19. BLOG ARCHIVE & SINGLE DETAIL PAGES (AIXOR Style)
   ============================================================ */

/* Blog Archive Layout */
.blog-archive-page {
  padding-top: 0;
  padding-bottom: 120px;
}

.blog-hero-content {
  max-width: 800px;
}

.blog-filter-sec {
  margin-bottom: 50px;
}

.blog-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-pill {
  padding: 10px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--gold);
  color: #080A08 !important;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Blog Cards Grid */
.blog-grid-sec {
  padding-top: 70px;
  padding-bottom: 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  position: relative;
  background: transparent;
  border: 1.5px solid var(--border-accent, rgba(177, 44, 3, 0.25));
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

body.light-mode .blog-card {
  border-color: rgba(177, 44, 3, 0.3);
  box-shadow: 0 4px 16px rgba(177, 44, 3, 0.05);
}

/* Fill animation from top to bottom on hover */
.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface2, #F4F2EC);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  pointer-events: none;
}

.blog-card:hover::before {
  transform: scaleY(1);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold, #b12c03);
  box-shadow: 0 16px 36px rgba(177, 44, 3, 0.12);
}

.blog-card-media {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface2);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 10, 8, 0.6) 100%);
  opacity: 0.4;
  transition: opacity 0.3s;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.06);
}

.blog-category-badge {
  display: none !important;
}

.blog-card-body {
  position: relative;
  z-index: 1;
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Default state (NOT hovered): Hide Meta, Excerpt, Author. Show Image, Title, Read Story */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin-bottom 0.45s ease;
}

.blog-card:hover .blog-card-meta {
  max-height: 40px;
  opacity: 1;
  margin-bottom: 12px;
}

.blog-meta-dot {
  color: var(--gold);
}

.blog-card-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  transition: margin-bottom 0.45s ease;
}

.blog-card-title a {
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.blog-card-title a:hover {
  color: var(--gold);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin-bottom 0.45s ease;
}

.blog-card:hover .blog-card-excerpt {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 24px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar-placeholder,
.author-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-accent, rgba(177, 44, 3, 0.3));
}

.author-avatar-placeholder {
  background: linear-gradient(135deg, var(--gold), var(--magenta));
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.blog-card:hover .author-name {
  max-width: 150px;
  opacity: 1;
}

.blog-read-more {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-left: auto;
  transition: color 0.3s var(--ease);
}

.blog-read-more svg {
  transition: transform 0.3s var(--ease);
}

.blog-card:hover .blog-read-more svg,
.blog-read-more:hover svg {
  transform: translateX(4px);
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
}

.blog-pagination .page-numbers {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 20px;
  border-radius: 50px;
  background: var(--surface, #ffffff);
  border: 1.5px solid rgba(177, 44, 3, 0.4);
  color: #111111;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .blog-pagination .page-numbers {
  background: #FFFFFF;
  border-color: rgba(177, 44, 3, 0.35);
  color: #111111;
}

.blog-pagination .page-numbers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #b12c03;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 50px;
}

.blog-pagination .page-numbers:hover::before,
.blog-pagination .page-numbers.current::before {
  transform: scaleX(1);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  color: #FFFFFF !important;
  border-color: #b12c03;
  box-shadow: 0 6px 20px rgba(177, 44, 3, 0.35);
}

.blog-pagination .page-numbers.current {
  transform: none;
}

.blog-pagination .page-numbers svg {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.blog-pagination .page-numbers:hover svg {
  transform: translateX(3px);
}

.blog-pagination .page-numbers.prev:hover svg {
  transform: translateX(-3px);
}

/* Empty State */
.blog-empty-state {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.blog-empty-state h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 12px;
}

.blog-empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ============================================================
   SINGLE BLOG POST DETAIL STYLES
   ============================================================ */
.blog-single-page {
  padding-bottom: 140px;
}

.single-hero-sec {
  padding-top: 170px;
  padding-bottom: 40px;
}

.single-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.back-link:hover {
  color: var(--gold);
  transform: translateX(-4px);
}

.single-cat-badge {
  display: inline-block;
  background: rgba(217, 156, 91, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-accent);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.single-post-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 32px;
  color: var(--text);
}

.single-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.meta-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.author-info .author-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.author-info .author-role {
  font-size: 12px;
  color: var(--text-muted);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.meta-details {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Featured Image Banner */
.single-media-sec {
  margin-bottom: 60px;
}

.single-media-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.media-glow-aura {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at 50% 50%, rgba(217, 156, 91, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.single-featured-img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  display: block;
}

/* Article Content Body */
.single-content-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.single-article-body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text);
}

.single-article-body p {
  margin-bottom: 28px;
  opacity: 0.92;
}

.single-article-body h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--text);
  line-height: 1.3;
}

.single-article-body h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text);
}

.single-article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 24px 32px;
  margin: 36px 0;
  background: var(--surface);
  border-radius: 0 16px 16px 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--gold);
  line-height: 1.6;
}

.single-article-body ul,
.single-article-body ol {
  margin: 0 0 28px 24px;
}

.single-article-body li {
  margin-bottom: 10px;
  opacity: 0.9;
}

.single-article-body strong {
  color: var(--gold);
}

/* Article Footer Meta (Tags & Share) */
.article-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 36px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}

.post-tags-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tags-label,
.share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-pill {
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 20px;
  transition: all 0.3s;
}

.tag-pill:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.post-share-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.3s;
}

.share-btn:hover {
  background: var(--gold);
  color: #080A08 !important;
  border-color: var(--gold);
}

/* Author Bio Card */
.author-bio-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 20px;
  margin: 50px 0;
}

.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--magenta));
  color: #080A08;
  font-weight: 900;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bio-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.bio-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bio-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Post Navigation */
.post-navigation-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
}

.nav-post-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.nav-post-card.text-right {
  text-align: right;
  align-items: flex-end;
}

.nav-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.nav-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.nav-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

/* Related Posts Section */
.related-posts-sec {
  padding-top: 80px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.related-grid {
  margin-top: 40px;
}

/* Responsive Styles for Blog */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .single-post-title {
    font-size: 2.2rem;
  }

  .post-navigation-wrap {
    grid-template-columns: 1fr;
  }

  .nav-post-card.text-right {
    text-align: left;
    align-items: flex-start;
  }

  .author-bio-card {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding: 110px 20px 60px;
    gap: 20px;
  }

  .hero-quote {
    padding: 14px 20px;
  }

  .hero-headline h1 {
    font-size: clamp(2.4rem, 9vw, 3.8rem);
  }
}

/* ============================================================
   BURN ORBIT PAGE — SURREAL & AIXOR REDESIGN STYLES
   ============================================================ */

/* Hero Section */
.burn-orbit-page .page-hero-sec {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
}

.burn-orbit-page .hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  filter: contrast(1.15) saturate(1.2);
  z-index: 0;
}

.burn-orbit-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(8, 10, 8, 0.4) 0%, rgba(8, 10, 8, 0.92) 85%);
  z-index: 1;
}

.hero-manifesto-quote {
  margin-top: 32px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--gold);
  border-radius: 0 12px 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-manifesto-quote .quote-mark {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}

.hero-manifesto-quote p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* Surreal Floating Elements & Animations */
.surreal-float {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  filter: drop-shadow(0 0 20px rgba(177, 44, 3, 0.3));
  transition: opacity 0.5s ease;
}

.surreal-float img {
  width: 100%;
  height: auto;
  display: block;
}

.float-hero-1 {
  top: 15%;
  right: 8%;
  width: 180px;
}

.float-hero-2 {
  bottom: 12%;
  left: 5%;
  width: 150px;
}

.float-chaos-1 {
  top: 10%;
  right: 5%;
  width: 160px;
}

.float-flame-1 {
  bottom: 8%;
  right: 6%;
  width: 170px;
}

.float-cta-1 {
  top: -40px;
  left: 2%;
  width: 200px;
  opacity: 0.45;
}

@keyframes floatAnimSlow {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}

@keyframes floatAnimMedium {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(-3deg);
  }
}

@keyframes floatAnimFast {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes ringRotateSlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes ringRotateReverse {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes earthSurfaceRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.04);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.float-anim-slow,
.surreal-float.float-static {
  animation: floatAnimSlow 7s ease-in-out infinite !important;
}

.float-anim-medium {
  animation: floatAnimMedium 5s ease-in-out infinite !important;
}

.float-anim-fast {
  animation: floatAnimFast 3.5s ease-in-out infinite !important;
}

.ring-rotate-slow,
.ring-1.ring-static {
  animation: ringRotateSlow 28s linear infinite !important;
}

.ring-rotate-reverse,
.ring-2.ring-static {
  animation: ringRotateReverse 22s linear infinite !important;
}

.earth-surface-anim,
.earth-surface-static {
  animation: earthSurfaceRotate 60s linear infinite !important;
}

/* Section Background Layers */
.burn-chaos-sec,
.flame-sec,
.missions-sec,
.page-cta-sec {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.sec-bg-layer,
.flame-bg-layer,
.cta-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: contrast(1.1) saturate(1.1);
  z-index: 0;
}

.sec-dark-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8, 10, 8, 0.65) 0%, rgba(8, 10, 8, 0.96) 90%);
  z-index: 1;
}

.relative-z {
  position: relative;
  z-index: 3;
}

/* Chaos Section Pills */
.burn-chaos-sec .chaos-elements-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}

.burn-chaos-sec .chaos-pill {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 30px;
  transition: all 0.3s var(--ease);
  cursor: default;
}

.burn-chaos-sec .chaos-pill:hover,
body.light-mode .burn-chaos-sec .chaos-pill:hover {
  background: var(--gold, #b12c03) !important;
  color: #ffffff !important;
  border-color: var(--gold, #b12c03) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(177, 44, 3, 0.35);
}

.chaos-moodboard-col .moodboard-card {
  position: relative;
  overflow: hidden;
}

.chaos-moodboard-col .mb-pattern-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

/* Flame Section Frame */
.flame-box {
  background: rgba(15, 18, 15, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 60px 48px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
}

/* Engine Section Glass Cards */
.engine-sec .engine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.engine-sec .engine-card {
  position: relative;
  background: rgba(15, 18, 15, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
}

.engine-sec .engine-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 16px 45px rgba(177, 44, 3, 0.15);
}

.engine-sec .engine-card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(177, 44, 3, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.engine-sec .engine-card:hover .engine-card-glow {
  opacity: 1;
}

.contact-modal-body {
  position: relative;
  background: rgba(15, 18, 15, 0.95);
  border-radius: 24px;
  width: 90%;
  max-width: 600px;
  padding: 40px;
  border: 1px solid var(--border-accent);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

/* Our Missions Banner */
.missions-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 70px 50px;
  border: 1px solid var(--border-accent);
}

.missions-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.missions-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 10, 8, 0.9) 0%, rgba(20, 23, 20, 0.85) 100%);
}

/* Our Troops Avatar Text */
.troop-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 28px;
  color: var(--gold);
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.troop-card:hover .troop-placeholder {
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(177, 44, 3, 0.2);
}

/* ============================================================
   OUR PORTFOLIO & MODAL POPUP STYLES
   ============================================================ */
/* ============================================================
   OUR PORTFOLIO & MODAL POPUP STYLES
   ============================================================ */
.portfolio-sec {
  padding: 36px 0 10px 0 !important;
}

.text-left-header {
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  margin-bottom: 20px !important;
}

.text-left-header .section-title {
  margin-top: 6px !important;
  text-align: left !important;
}

.portfolio-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
}

.portfolio-hero-content .page-hero-title,
.portfolio-hero-content .page-hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
}

.portfolio-card-item {
  background: #EFECE4;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-card-item:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--gold);
}

.portfolio-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.portfolio-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: none;
}

.portfolio-card-item:hover .portfolio-card-bg {
  transform: none !important;
}

.portfolio-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.portfolio-card-item:hover .portfolio-hover-video {
  opacity: 1;
}

.portfolio-card-overlay,
.portfolio-hover-trigger {
  display: none !important;
}

.trigger-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #080A08;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.35s var(--ease);
}

.portfolio-card-item:hover .trigger-icon {
  transform: scale(1);
}

.portfolio-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface2, #EFECE4);
  flex-grow: 1;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text, #0E110E);
  line-height: 1.35;
}

.portfolio-item-cat {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.72rem;
  color: var(--gold, #b12c03);
  background: rgba(177, 44, 3, 0.08);
  border: 1px solid rgba(177, 44, 3, 0.22);
  border-radius: 50px;
  padding: 4px 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* PORTFOLIO LIGHTBOX MODAL — CREAM & HIGH CONTRAST */
.portfolio-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.portfolio-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 4, 0.8);
  backdrop-filter: blur(14px);
}

.portfolio-modal-container {
  position: relative;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  background: #F4F1E8;
  color: #0E110E;
  border: 1px solid rgba(177, 44, 3, 0.25);
  border-radius: 28px;
  overflow-y: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  z-index: 2;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s var(--ease);
}

.portfolio-modal-overlay.is-active .portfolio-modal-container {
  transform: scale(1) translateY(0);
}

.portfolio-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #0E110E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.portfolio-modal-close:hover {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
  transform: rotate(90deg);
}

.portfolio-modal-body {
  padding: 0;
}

.modal-media-box {
  width: 100%;
  max-height: 420px;
  background: #0E110E;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-media-box img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.modal-media-box video,
.modal-media-box iframe {
  width: 100%;
  height: 380px;
  border: none;
}

/* GALLERY THUMBNAIL STRIP */
.modal-gallery-strip {
  display: flex;
  gap: 12px;
  padding: 14px 28px;
  background: #EBE8DF;
  overflow-x: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-thumb-item {
  width: 72px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumb-item.is-active,
.modal-thumb-item:hover {
  border-color: var(--gold);
  opacity: 1;
  transform: scale(1.05);
}

.modal-info-box {
  padding: 32px 36px;
}

.modal-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-badge-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b12c03;
  background: rgba(177, 44, 3, 0.1);
  border: 1px solid rgba(177, 44, 3, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
}

.modal-date-text {
  font-size: 13px;
  color: #667066;
  font-weight: 600;
}

.modal-title-text {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #0E110E !important;
  margin-bottom: 16px;
  line-height: 1.3;
}

.modal-desc-body {
  font-size: 15px;
  line-height: 1.7;
  color: #2D332D !important;
}

.modal-desc-body p {
  margin-bottom: 14px;
}

/* ============================================================
   CTA SECTION — HIGH CONTRAST WHITE TEXT & 2-PANEL LAYOUT
   ============================================================ */
.page-cta-sec {
  padding: 50px 0 60px 0;
}

.cta-2col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.cta-left-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cta-badge {
  color: #b12c03 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.cta-title-main {
  color: #FFFFFF !important;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-desc-sub {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 16px;
  line-height: 1.65;
}

.cta-action-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-head-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.card-head-row .card-icon-header {
  margin-bottom: 0 !important;
  flex-shrink: 0;
  color: #FFFFFF !important;
}

.card-head-row .card-icon-header svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

.card-head-text .card-action-heading {
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-head-text .card-action-copy {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Contact Card Right Panel */
.cta-right-panel {
  width: 100%;
}

.cta-contact-card {
  background: rgba(18, 22, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.contact-card-header {
  margin-bottom: 24px;
}

.contact-card-badge {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 0;
}

.cta-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF !important;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px;
  padding: 14px 18px;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 0 16px rgba(177, 44, 3, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.contact-submit-btn {
  width: 100%;
  background: var(--gold);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: none !important;
  margin-top: 8px;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: none !important;
  background: transparent;
  color: var(--gold) !important;
}

.form-notice {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 10px;
  background: rgba(177, 44, 3, 0.15);
  border: 1px solid var(--gold);
  color: #FFFFFF;
}

/* Responsive Queries for Portfolio & 2-Panel CTA */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-2col-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .cta-contact-card {
    padding: 24px 20px;
  }

  .modal-info-box {
    padding: 24px 20px;
  }
}

/* Centered Section Header Utility (Mid Orbit & Burn Orbit) */
.section-header.center-header,
.center-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  grid-template-columns: none;
  gap: 12px;
  margin-bottom: 56px;
  padding-bottom: 0;
  border-bottom: none;
}

.center-header .section-subtitle {
  justify-content: center;
  padding-top: 0;
  margin-bottom: 4px;
}

.center-header .engine-main-title,
.center-header .section-title,
.center-header .flame-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.15;
  text-align: center;
  margin: 0;
}

body.light-mode .center-header .engine-main-title,
body.light-mode .center-header .section-title,
body.light-mode .center-header .flame-title {
  color: #1a1625;
}

.center-header .section-sub-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  text-align: center;
  margin: 8px auto 0 auto;
  max-width: 640px;
  line-height: 1.5;
}

/* Modern Capabilities Cards Grid (Mid Orbit) */
.mid-capabilities-sec {
  padding: 100px 0;
}

.capabilities-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 991px) {
  .capabilities-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .capabilities-cards-grid {
    grid-template-columns: 1fr;
  }
}

.service-card-modern {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

body.light-mode .service-card-modern {
  background: #EFECE4;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.card-hover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  z-index: 1;
}

.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 2;
}

.service-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.service-card-modern:hover .card-hover-bg {
  opacity: 1;
  transform: scale(1);
}

.service-card-modern:hover .card-hover-overlay {
  opacity: 1;
}

.service-card-modern:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.service-card-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(217, 156, 91, 0.12);
  color: var(--gold);
  border: 1px solid rgba(217, 156, 91, 0.25);
  transition: all 0.3s var(--ease);
}

.service-card-modern:hover .service-card-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
  transition: color 0.3s var(--ease);
}

body.light-mode .service-card-title {
  color: #1a1625;
}

.service-card-modern:hover .service-card-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.service-card-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 20px 0;
  transition: color 0.3s var(--ease);
}

body.light-mode .service-card-sub {
  color: #5a5468;
}

.service-card-modern:hover .service-card-sub {
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.service-card-divider {
  height: 1px;
  width: 100%;
  background: var(--border);
  margin-bottom: 20px;
  opacity: 0.6;
  transition: background 0.3s var(--ease);
}

body.light-mode .service-card-divider {
  background: rgba(0, 0, 0, 0.08);
}

.service-card-modern:hover .service-card-divider {
  background: rgba(255, 255, 255, 0.25);
}

.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card-list li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
  transition: color 0.3s var(--ease);
}

body.light-mode .service-card-list li {
  color: #2b2536;
}

.service-card-modern:hover .service-card-list li {
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.service-card-list .list-bullet {
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.3s var(--ease);
}

.service-card-modern:hover .list-bullet {
  color: var(--gold) !important;
  text-shadow: 0 0 10px rgba(217, 156, 91, 0.8);
}

/* CTA Banner & Portfolio Responsive Overrides */
@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-full-sec {
    padding: 70px 24px;
  }

  .cta-block-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-floating-svg {
    align-self: center;
    margin-top: 30px;
    transform: scale(0.85);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .cta-full-sec {
    padding: 50px 20px;
    border-radius: 0;
  }

  .cta-title {
    margin-bottom: 36px;
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .cta-floating-svg svg {
    width: 170px;
    height: 170px;
  }
}

/* ============================================================
   BLOG ARCHIVE & SINGLE POST STYLES — ORBIT CREATIVE TROOPS
   ============================================================ */

/* Blog Page Wrapper */
.blog-single-page {
  padding-top: 100px;
  padding-bottom: 120px;
}

.blog-hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
}

/* ===== Filter Bar ===== */
.blog-filter-sec {
  padding: 24px 0 48px;
}

.blog-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 60px;
  backdrop-filter: blur(16px);
  max-width: fit-content;
  margin: 0 auto;
}

body.light-mode .blog-filter-wrap {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 40px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  cursor: pointer;
}

.filter-pill:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

body.light-mode .filter-pill:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.filter-pill.active {
  background: var(--gold);
  color: #FFFFFF !important;
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(177, 44, 3, 0.35);
}

.filter-pill-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 4px;
}

body.light-mode .filter-pill-divider {
  background: rgba(0, 0, 0, 0.12);
}

.filter-tag-pill {
  font-size: 12px;
  opacity: 0.85;
}

/* ===== Blog Grid & Cards ===== */
.blog-grid-sec {
  padding-top: 70px;
  padding-bottom: 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}

body.light-mode .blog-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

body.light-mode .blog-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
}

.blog-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.06);
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.blog-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 18, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.blog-category-badge:hover {
  background: var(--gold);
  color: #FFFFFF !important;
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(177, 44, 3, 0.4);
}

.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.blog-meta-dot {
  color: var(--text-dim);
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text);
  transition: color 0.3s ease;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--gold);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

body.light-mode .blog-card-footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  transition: transform 0.3s ease;
  text-decoration: none;
}

.blog-read-more svg {
  transition: transform 0.3s ease;
}

.blog-read-more:hover svg {
  transform: translateX(4px);
}

/* Pagination & Empty State */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
}

.blog-pagination .page-numbers {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 20px;
  border-radius: 50px;
  background: var(--surface, #ffffff);
  border: 1.5px solid rgba(177, 44, 3, 0.4);
  color: #111111;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .blog-pagination .page-numbers {
  background: #FFFFFF;
  border-color: rgba(177, 44, 3, 0.35);
  color: #111111;
}

.blog-pagination .page-numbers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #b12c03;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: 50px;
}

.blog-pagination .page-numbers:hover::before,
.blog-pagination .page-numbers.current::before {
  transform: scaleX(1);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  color: #FFFFFF !important;
  border-color: #b12c03;
  box-shadow: 0 6px 20px rgba(177, 44, 3, 0.35);
}

.blog-pagination .page-numbers.current {
  transform: none;
}

.blog-pagination .page-numbers svg {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.blog-pagination .page-numbers:hover svg {
  transform: translateX(3px);
}

.blog-pagination .page-numbers.prev:hover svg {
  transform: translateX(-3px);
}

.blog-empty-state {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.empty-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(177, 44, 3, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.blog-empty-state h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text);
}

.blog-empty-state p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ===== Single Blog Detail Page ===== */
.single-hero-sec {
  padding: 60px 0 40px;
  text-align: center;
}

.single-hero-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.back-link:hover {
  color: var(--gold);
}

.single-cat-badge {
  background: rgba(177, 44, 3, 0.12);
  border: 1px solid rgba(177, 44, 3, 0.3);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  text-decoration: none;
}

.single-post-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.single-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}

.meta-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.author-info .author-name {
  font-size: 14px;
  font-weight: 700;
}

.author-role {
  font-size: 11px;
  color: var(--text-muted);
}

.meta-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.meta-details {
  display: flex;
  align-items: center;
  gap: 18px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Featured Media */
.single-media-sec {
  padding: 20px 0 60px;
}

.single-media-wrap {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.single-featured-img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  display: block;
}

/* Article Body Typography */
.single-content-sec {
  padding-bottom: 80px;
}

.single-content-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.single-article-body {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--text);
}

body.light-mode .single-article-body {
  color: #222222;
}

.single-article-body p {
  margin-bottom: 28px;
}

.single-article-body h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 48px 0 20px;
  color: var(--text);
  line-height: 1.25;
}

.single-article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text);
}

.single-article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 20px 28px;
  margin: 36px 0;
  background: rgba(177, 44, 3, 0.05);
  border-radius: 0 16px 16px 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
}

.single-article-body ul,
.single-article-body ol {
  margin: 24px 0 32px 28px;
}

.single-article-body li {
  margin-bottom: 12px;
}

.single-article-body img {
  border-radius: 16px;
  margin: 36px 0;
  max-width: 100%;
  height: auto;
}

/* Article Footer Meta (Tags & Share) */
.article-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 60px;
}

.post-tags-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-label,
.share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-pill {
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-pill:hover {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
}

.post-share-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-btn {
  padding: 6px 16px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Author Bio Card */
.author-bio-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  margin-top: 48px;
}

body.light-mode .author-bio-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bio-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 700;
}

.bio-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 4px 0 8px;
  color: var(--text);
}

.bio-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Post Navigation (Prev/Next) */
.post-navigation-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 640px) {
  .post-navigation-wrap {
    grid-template-columns: 1fr;
  }
}

.nav-post-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

body.light-mode .nav-post-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
}

.nav-post-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.nav-post-card.text-right {
  text-align: right;
}

.nav-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* Related Posts Section */
.related-posts-sec {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.related-posts-sec .section-header {
  margin-bottom: 40px;
  text-align: center;
}

.related-posts-sec .section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
}

/* ============================================================
   15. MOBILE RESPONSIVE STYLES & HAMBURGER NAVIGATION SYSTEM
   ============================================================ */

/* Hamburger Button */
.notch-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.3s;
}

.notch-mobile-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.notch-mobile-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.notch-mobile-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Backdrop Overlay */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  z-index: 9980;
}

.mobile-nav-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Hide Magic Cursor on Touch Devices */
@media (hover: none),
(pointer: coarse) {
  #magic-cursor {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }

  a,
  button,
  .theme-btn {
    cursor: pointer !important;
  }
}

/* Media Query: Tablets & Mobile Screens (< 992px) */
@media (max-width: 991px) {

  /* Container Padding */
  .custom-container {
    padding: 0 24px;
  }

  /* Notch Header Mobile Layout */
  .notch-header {
    width: calc(100% - 32px);
    top: 12px;
    padding: 10px 18px;
    border-radius: 40px;
    position: fixed;
  }

  .notch-header.scrolled {
    top: 8px;
    padding: 8px 16px;
  }

  .notch-mobile-toggle {
    display: flex;
  }

  .header-btn-desktop {
    display: none !important;
  }

  /* Mobile Navigation Drawer Dropdown */
  .notch-nav {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(12, 15, 12, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 24px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    pointer-events: none;
  }

  body.light-mode .notch-nav {
    background: rgba(244, 240, 230, 0.97);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }

  .notch-header.mobile-menu-open .notch-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .notch-nav .notch-menu {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .notch-menu li a {
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
    padding: 6px 12px;
  }

  /* Hero Sections */
  .hero-title,
  .burn-hero-title,
  .mid-hero-title {
    font-size: clamp(2.4rem, 7vw, 4rem) !important;
    line-height: 1.15 !important;
  }

  .hero-sub,
  .burn-hero-desc,
  .mid-hero-desc {
    font-size: 1rem !important;
  }

  /* Grid Layout Resizing */
  .ecosystem-grid,
  .burn-engine-grid,
  .burn-portfolio-grid,
  .portfolio-grid,
  .team-grid,
  .stats-grid,
  .mid-services-grid,
  .mid-portfolio-grid,
  .manifesto-split-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Manifesto Section Layout */
  .manifesto-section,
  .burn-manifesto-sec,
  .mid-manifesto-sec {
    padding: 60px 0 !important;
  }

  /* Portfolio Lightbox Modal Mobile Fit */
  .portfolio-modal-container {
    width: 94% !important;
    max-height: 90vh !important;
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }

  .portfolio-modal-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .modal-media-box {
    min-height: 220px !important;
    max-height: 320px !important;
  }
}

/* Media Query: Smartphone screens (< 576px) */
@media (max-width: 575px) {

  .custom-container {
    padding: 0 16px;
  }

  .notch-header {
    width: calc(100% - 20px);
    top: 8px;
    padding: 8px 14px;
    border-radius: 30px;
  }

  .notch-logo img {
    height: 26px !important;
  }

  .theme-btn {
    padding: 12px 24px !important;
    font-size: 12px !important;
  }

  .hero-actions-wrap {
    flex-direction: column !important;
    width: 100%;
    gap: 12px !important;
  }

  .hero-actions-wrap .theme-btn {
    width: 100%;
    justify-content: center;
  }

  /* Section Padding */
  .hero-sec,
  .burn-hero-sec,
  .mid-hero-sec,
  .contact-sec {
    padding-top: 110px !important;
    padding-bottom: 50px !important;
  }

  /* Contact Form Inputs */
  .burn-form-group input,
  .burn-form-group textarea,
  .contact-form input,
  .contact-form textarea {
    font-size: 14px !important;
    padding: 12px 16px !important;
  }
}

/* ============================================================
   BURN ORBIT - CONTACT CTA SECTION STYLES
   ============================================================ */
.burn-contact-cta-sec {
  padding: 60px 0 90px;
  position: relative;
  z-index: 5;
}

.burn-contact-card-wrap {
  background-color: #ffffff;
  color: #000000;
  border-radius: 24px;
  padding: 60px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  box-shadow: none;
  border: none;
}

.burn-contact-left-col {
  flex: 1 1 58%;
  max-width: 600px;
}

.burn-contact-title {
  font-family: 'Maheni', var(--font-serif, serif);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  color: #000000;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.burn-contact-desc {
  font-family: 'Helvena', var(--font-sans, sans-serif);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: #222222;
  margin-bottom: 36px;
  max-width: 540px;
  font-weight: 400;
}

.burn-contact-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.burn-outline-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1.5px solid #000000;
  border-radius: 12px;
  background-color: transparent;
  color: #000000;
  font-family: 'Helvena', var(--font-sans, sans-serif);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease;
  cursor: pointer;
  box-shadow: none;
}

.burn-outline-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.burn-outline-btn:hover::before {
  transform: scaleX(1);
}

.burn-outline-btn:hover {
  color: #ffffff;
  border-color: #000000;
  box-shadow: none;
}

.burn-contact-right-col {
  flex: 0 0 auto;
  width: 280px;
}

.burn-schedule-card-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 24px 36px;
  border: 1.5px solid #000000;
  border-radius: 20px;
  background-color: #ffffff;
  text-decoration: none;
  transition: border-color 0.4s ease, color 0.4s ease;
  box-shadow: none;
}

.burn-schedule-card-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.burn-schedule-card-link:hover::before {
  transform: scaleX(1);
}

.burn-schedule-card-link:hover {
  border-color: #000000;
  box-shadow: none;
}

.burn-schedule-badge {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burn-circular-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: rotateBadge 18s linear infinite;
}

.burn-schedule-card-link:hover .burn-circular-svg {
  animation-duration: 8s;
}

@keyframes rotateBadge {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.burn-circle-text {
  font-family: 'Helvena', var(--font-sans, sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  fill: #000000;
  text-transform: uppercase;
  transition: fill 0.4s ease;
}

.burn-schedule-card-link:hover .burn-circle-text {
  fill: #ffffff;
}

.burn-badge-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.burn-lips-graphic {
  width: 100%;
  height: 100%;
}

.burn-lips-graphic path {
  transition: fill 0.4s ease;
}

.burn-lips-graphic line {
  transition: stroke 0.4s ease;
}

.burn-schedule-card-link:hover .burn-lips-graphic path {
  fill: #ffffff;
}

.burn-schedule-card-link:hover .burn-lips-graphic line {
  stroke: #000000;
}

.burn-schedule-label {
  font-family: 'Helvena', var(--font-sans, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #000000;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 180px;
  display: block;
  transition: color 0.4s ease;
}

.burn-schedule-card-link:hover .burn-schedule-label {
  color: #ffffff;
}

/* Responsive styles */
@media (max-width: 991px) {
  .burn-contact-card-wrap {
    flex-direction: column;
    text-align: center;
    padding: 48px 32px;
    gap: 40px;
  }

  .burn-contact-left-col {
    max-width: 100%;
  }

  .burn-contact-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .burn-contact-btn-group {
    justify-content: center;
  }

  .burn-contact-right-col {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 575px) {
  .burn-contact-cta-sec {
    padding: 40px 0 60px;
  }

  .burn-contact-card-wrap {
    padding: 36px 20px;
    border-radius: 18px;
    gap: 32px;
  }

  .burn-contact-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .burn-contact-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .burn-contact-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .burn-outline-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  .burn-schedule-card-link {
    padding: 32px 16px 28px;
  }

  .burn-schedule-badge {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
  }

  .burn-badge-icon-center {
    width: 52px;
    height: 52px;
  }

  .burn-schedule-label {
    font-size: 12px;
  }
}

/* ============================================================
   WORK PAGE — 2-PANEL CARDS & FILTER STYLES (MAD CREATIVE REF)
   ============================================================ */

/* Work Hero Customizations */
.work-hero {
  padding-bottom: 40px;
}

/* Work Filter Section */
.work-filter-sec {
  padding: 20px 0 50px;
  position: relative;
  z-index: 10;
}

.work-filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  max-width: max-content;
  margin: 0 auto;
}

.work-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted, #94a3b8);
  font-family: var(--font-sans, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.work-filter-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  color: inherit;
}

.work-filter-btn.active .filter-count {
  background: #000000;
  color: #ffffff;
}

/* Work Grid 2-Column Section */
.work-grid-sec {
  padding-top: 80px;
  padding-bottom: 100px;
}

.work-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 36px;
}

@media (max-width: 991px) {
  .work-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Work Card Item (Matching Front-Page Portfolio Style) */
.work-card-item {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: var(--surface2, #f4efe6);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.work-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14), 0 0 0 1px var(--gold, #b12c03);
  border-color: var(--gold, #b12c03);
}

/* Panel 1: Top Visual Showcase Box */
.work-card-top-panel {
  width: 100%;
  height: 340px;
  background-color: var(--surface, #eee7db);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: background-color 0.4s ease;
}

.work-card-art-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card-art-wrap .portfolio-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.work-card-item:hover .portfolio-hover-video {
  opacity: 1 !important;
  visibility: visible !important;
}

.work-card-item:hover .work-card-art-wrap {
  transform: scale(1.05);
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Custom Altar Reference Emblem Art */
.altar-reference-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.altar-art-svg {
  width: 140px;
  height: 170px;
  filter: drop-shadow(0 4px 12px rgba(227, 74, 38, 0.15));
}

.altar-art-title {
  font-family: var(--font-sans, sans-serif);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #E34A26;
  margin-top: 10px;
  line-height: 1;
}

.altar-art-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #E34A26;
  margin-top: 6px;
  opacity: 0.9;
}

/* Hover Overlay Badge */
.work-card-hover-overlay {
  display: none !important;
}

/* Panel 2: Bottom Details Box (Matching Front-Page Theme Style) */
.work-card-bottom-panel {
  width: 100%;
  background: var(--surface2, #f4efe6);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  flex-grow: 1;
}

.work-card-title {
  font-family: var(--font-sans, sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text, #111111);
  letter-spacing: -0.3px;
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.work-card-title a {
  color: inherit;
  text-decoration: none;
}

.work-card-item:hover .work-card-title {
  color: var(--gold, #b12c03);
}

/* Category Pill Badges */
.work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.work-tag-pill {
  display: inline-block;
  background: var(--surface, rgba(0, 0, 0, 0.04));
  color: var(--text, #111111);
  font-family: var(--font-sans, sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

.work-card-item:hover .work-tag-pill {
  border-color: var(--gold, #b12c03);
}

/* Work CTA Banner Section */
.work-cta-sec {
  padding: 40px 0 100px;
}

.work-cta-box {
  background: linear-gradient(135deg, rgba(255, 189, 89, 0.08) 0%, rgba(20, 20, 22, 0.95) 100%);
  border: 1px solid rgba(255, 189, 89, 0.2);
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.work-cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.work-cta-title {
  font-family: var(--font-sans, sans-serif);
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  margin: 16px 0 12px;
  letter-spacing: -0.5px;
}

.work-cta-desc {
  font-size: 16px;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 32px;
}

/* Work Responsive Breakpoints */
@media (max-width: 991px) {
  .work-grid-2col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work-card-top-panel {
    height: 320px;
    padding: 24px;
  }

  .work-card-bottom-panel {
    padding: 24px 28px 28px;
  }

  .work-card-title {
    font-size: 24px;
  }

  .work-filter-wrapper {
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 8px 12px;
    -webkit-overflow-scrolling: touch;
  }

  .work-filter-btn {
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 11px;
  }

  .work-cta-box {
    padding: 48px 24px;
  }

  .work-cta-title {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .work-card-top-panel {
    height: 260px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .work-card-bottom-panel {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 20px 20px 24px;
    gap: 14px;
  }

  .work-card-title {
    font-size: 20px;
  }

  .work-tag-pill {
    font-size: 10px;
    padding: 8px 14px;
  }
}

/* ============================================================
   SINGLE PORTFOLIO SHOWCASE PAGE STYLES
   ============================================================ */
.single-portfolio-page {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.portfolio-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(177, 44, 3, 0.08);
  border: 1px solid rgba(177, 44, 3, 0.25);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.portfolio-back-btn:hover {
  background: var(--gold);
  color: #ffffff;
  transform: translateX(-4px);
}

.portfolio-tag-pill-wrap {
  margin-bottom: 16px;
}

.portfolio-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--surface2, #EFECE4);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.meta-card-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-card-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.single-portfolio-media-sec {
  padding: 40px 0;
}

.portfolio-media-player-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  background: #080A08;
}

.portfolio-main-video {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  display: block;
}

.video-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.single-portfolio-body-sec {
  padding: 60px 0 100px;
}

.portfolio-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}

.section-badge-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.detail-section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.detail-article-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.portfolio-highlights-box {
  margin-top: 40px;
  padding: 32px;
  background: var(--surface2, #EFECE4);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.portfolio-highlights-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-list li {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  position: relative;
  padding-left: 24px;
}

.highlight-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 12px;
}

.specs-card-box {
  padding: 36px;
  background: var(--surface2, #EFECE4);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.specs-box-title {
  font-size: 1.4rem;
  font-weight: 800;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.spec-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.specs-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 50px;
  background: var(--gold);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.specs-cta-btn:hover {
  background: #902302;
  transform: translateY(-2px);
  color: #ffffff;
}

.portfolio-nav-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.p-nav-col {
  flex: 1;
}

.p-nav-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 32px;
  background: var(--surface2, #EFECE4);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-nav-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.p-nav-dir {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.p-nav-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

@media (max-width: 991px) {
  .portfolio-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .portfolio-meta-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .portfolio-nav-wrap {
    flex-direction: column;
  }
}

/* Full Overlay Link for Work Cards */
.work-card-item {
  position: relative;
}

.work-card-full-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: pointer;
}

/* ============================================================
   SINGLE WORK PAGE DESIGN (MATCHING WORK SINGLE PAGE PDF)
   ============================================================ */
.single-work-page {
  padding-top: 130px;
  padding-bottom: 80px;
  background-color: #ffffff;
  color: #111111;
}

/* 1. Hero Video Card */
.single-work-hero-sec {
  margin-bottom: 50px;
}

.single-work-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  background-color: #0b0d0c;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.work-hero-video,
.single-work-video-card .video-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.single-work-video-card .video-iframe-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-label-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #111111;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #111111;
  pointer-events: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 2. Info Section (Title + Intro & Tags) */
.single-work-info-sec {
  margin-bottom: 60px;
}

.single-work-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.single-work-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: #111111;
  letter-spacing: -0.5px;
}

.work-intro-text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #333333;
  margin-bottom: 24px;
}

.work-tag-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.work-single-tag {
  font-family: var(--font-sans);
  display: inline-block;
  border: 1.5px solid #111111;
  border-radius: 50px;
  padding: 6px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  background-color: #ffffff;
  transition: background-color 0.25s, color 0.25s;
}

.work-single-tag:hover {
  background-color: #111111;
  color: #ffffff;
}

/* 3. Gallery Grid (5 Images Spec) */
.single-work-gallery-sec {
  margin-bottom: 70px;
}

.single-work-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 24px;
}

.gallery-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 340px;
  background-color: #f4f2ec;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.card-caption-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* 4. Marquee Running Text Banner */
.single-work-ticker-sec {
  width: 100%;
  border-top: 1.5px solid #111111;
  border-bottom: 1.5px solid #111111;
  padding: 22px 0;
  margin: 60px 0 80px;
  overflow: hidden;
  background-color: #ffffff;
}

.ticker-wrapper {
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: singleWorkTicker 20s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #111111;
}

.ticker-dot {
  color: var(--gold);
  font-size: 1.5rem;
}

@keyframes singleWorkTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 5. Project Overview & Secondary Media Grid */
.single-work-overview-sec {
  margin-bottom: 90px;
}

.single-work-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.overview-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.8vw, 3.2rem);
  font-weight: 400;
  color: #111111;
  margin-bottom: 24px;
}

.overview-article-content p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 20px;
}

.overview-bottom-action-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: flex-start;
}

.back-to-work-btn {
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #111111;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  background: transparent;
  transition: all 0.3s var(--ease);
}

.back-to-work-btn:hover {
  background: #111111;
  color: #ffffff;
  transform: translateX(-4px);
}

.secondary-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.media-subcol-stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sub-card {
  border-radius: 24px;
  overflow: hidden;
  background-color: #f4f2ec;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-card-1,
.sub-card-2 {
  height: 220px;
}

.sub-card-tall {
  height: 460px;
}

/* 6. CTA Section */
.single-work-cta-sec {
  margin-bottom: 100px;
}

.single-work-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.cta-headline {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #111111;
  margin-bottom: 24px;
}

.cta-description {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444444;
  margin-bottom: 36px;
  max-width: 540px;
}

.cta-buttons-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.work-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.btn-primary-pill {
  background-color: #111111;
  color: #ffffff !important;
  border: 2px solid #111111;
}

.btn-primary-pill:hover {
  background-color: transparent;
  color: #111111 !important;
}

.btn-outline-pill {
  background-color: transparent;
  color: #111111 !important;
  border: 2px solid #111111;
}

.btn-outline-pill:hover {
  background-color: #111111;
  color: #ffffff !important;
}

/* Schedule Card */
.schedule-card-link {
  display: block;
  text-decoration: none;
}

.schedule-badge-box {
  border: 2px solid #111111;
  border-radius: 28px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  background-color: #fafafa;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.schedule-card-link:hover .schedule-badge-box {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.badge-rotating-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-svg {
  width: 100%;
  height: 100%;
  animation: badgeSpin 22s linear infinite;
}

.badge-svg text {
  fill: #111111;
}

.badge-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #111111;
}

@keyframes badgeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.schedule-btn-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111111;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .single-work-info-grid,
  .single-work-overview-grid,
  .single-work-cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-top-row,
  .gallery-bottom-row {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    height: 280px;
  }

  .secondary-media-grid {
    grid-template-columns: 1fr;
  }

  .sub-card-tall {
    height: 280px;
  }
}

/* ============================================================
   SINGLE COLUMN PAGE (MATCHING UI/UX SPEC "Single Page Column.pdf")
   ============================================================ */
.single-column-page {
  padding-top: 100px;
  padding-bottom: 120px;
  background-color: var(--bg, #ffffff);
  color: var(--text, #111111);
}

.single-column-page .custom-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Back Link */
.column-back-wrap {
  margin-bottom: 28px;
}

.column-back-wrap .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.column-back-wrap .back-link:hover {
  opacity: 0.7;
}

/* 1. Featured Image Banner (Top) */
.column-hero-sec {
  margin-bottom: 24px;
}

.column-featured-media {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f4f2ec;
}

.column-featured-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

/* 2. Meta Info Row (Author, Reading Time, Date - Right Aligned) */
.column-meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 40px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #111111;
  font-weight: 500;
}

.meta-author-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.meta-author-pill .author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #b12c03;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.meta-pipe {
  color: rgba(0, 0, 0, 0.3);
  font-weight: 300;
}

/* 3. Title & Tags Section */
.column-title-sec {
  margin-bottom: 48px;
}

.column-accent-line {
  width: 220px;
  height: 2px;
  background-color: #111111;
  margin-bottom: 28px;
}

.column-title-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.column-post-title {
  font-family: var(--font-serif, 'Maheni', serif);
  font-size: 54px;
  font-weight: 400;
  line-height: 1.15;
  color: #111111;
  margin: 0;
  flex: 1 1 500px;
}

.column-tags-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.column-tag-pill {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid #111111;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #111111;
  text-decoration: none;
  background-color: transparent;
  box-shadow: none !important;
  transition: color 0.4s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.column-tag-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111111;
  z-index: -1;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.column-tag-pill:hover::before {
  transform: translateY(0);
}

.column-tag-pill:hover {
  color: #ffffff;
  border-color: #111111;
  box-shadow: none !important;
}

/* 4. Single Column Article Body */
.column-content-sec {
  margin-bottom: 60px;
}

.column-article-body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: #222222;
  max-width: 100%;
}

.column-article-body p {
  margin-bottom: 28px;
}

.column-article-body h2,
.column-article-body h3,
.column-article-body h4 {
  font-family: var(--font-serif);
  color: #111111;
  margin-top: 40px;
  margin-bottom: 20px;
}

.column-article-body blockquote {
  border-left: 3px solid #111111;
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 22px;
  color: #111111;
}

.column-article-body img {
  max-width: 100%;
  border-radius: 16px;
  margin: 32px 0;
}

/* Divider Line */
.column-section-divider {
  width: 220px;
  height: 2px;
  background-color: #111111;
  margin-left: auto;
  margin-bottom: 40px;
}

/* 5. Share Section */
.column-share-sec {
  margin-bottom: 64px;
}

.share-title {
  font-family: var(--font-serif, 'Maheni', serif);
  font-size: 32px;
  font-weight: 400;
  color: #111111;
  margin-bottom: 20px;
}

.share-pills-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.share-pill-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  padding: 8px 28px;
  border: 1px solid #111111;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  text-decoration: none;
  background-color: transparent;
  box-shadow: none !important;
  transition: color 0.4s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.share-pill-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111111;
  z-index: -1;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.share-pill-btn:hover::before {
  transform: translateY(0);
}

.share-pill-btn:hover {
  color: #ffffff;
  border-color: #111111;
  box-shadow: none !important;
}

/* 6. Previous / Next Column Navigation */
.column-nav-sec {
  margin-bottom: 80px;
}

.column-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.column-nav-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1.5px solid #111111;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: transparent;
  box-shadow: none !important;
  text-decoration: none;
  transition: border-color 0.4s ease;
}

.column-nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111111;
  z-index: -1;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.column-nav-card:hover::before {
  transform: translateY(0);
}

.column-nav-card:hover {
  box-shadow: none !important;
  transform: none;
}

.nav-card-label {
  font-family: var(--font-serif, 'Maheni', serif);
  font-size: 20px;
  color: #111111;
  font-weight: 400;
  transition: color 0.4s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.nav-card-title {
  font-family: var(--font-serif, 'Maheni', serif);
  font-size: 34px;
  line-height: 1.2;
  color: #111111;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.4s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.column-nav-card:hover .nav-card-label,
.column-nav-card:hover .nav-card-title {
  color: #ffffff;
}

.nav-card-title.inactive {
  opacity: 0.4;
  pointer-events: none;
}

/* 7. CTA Section */
.column-cta-sec {
  margin-top: 60px;
}

.column-cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.cta-heading {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
  margin-bottom: 20px;
}

.cta-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 32px;
  max-width: 520px;
}

.cta-buttons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-pill-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #111111;
  background-color: transparent;
  color: #111111;
  box-shadow: none !important;
  transition: color 0.4s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.cta-pill-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111111;
  z-index: -1;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease, cubic-bezier(0.25, 0.46, 0.45, 0.94));
}

.cta-pill-btn:hover::before {
  transform: translateY(0);
}

.cta-pill-btn:hover {
  color: #ffffff;
  border-color: #111111;
  box-shadow: none !important;
}

/* Responsive adjustments for Column Single Page */
@media (max-width: 991px) {
  .column-post-title {
    font-size: 38px;
  }
  .column-cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .column-nav-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .column-post-title {
    font-size: 30px;
  }
  .cta-heading {
    font-size: 30px;
  }
  .nav-card-title {
    font-size: 26px;
  }
  .column-meta-row {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .column-section-divider {
    margin-left: 0;
  }
}

/* ============================================================
   FRONT PAGE PORTFOLIO SECTION (WORK CARD STYLE & EFFECTS)
   ============================================================ */
.work-cards-front-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-cards-front-grid .work-card-item {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: var(--surface2, #f4efe6);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.work-cards-front-grid .work-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14), 0 0 0 1px var(--gold, #b12c03);
  border-color: var(--gold, #b12c03);
}

.work-cards-front-grid .work-card-top-panel {
  width: 100%;
  height: 240px;
  background-color: var(--surface, #eee7db);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: background-color 0.4s ease;
}

.work-cards-front-grid .work-card-art-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-cards-front-grid .work-card-art-wrap .portfolio-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.work-cards-front-grid .work-card-item:hover .portfolio-hover-video {
  opacity: 1 !important;
  visibility: visible !important;
}

.work-cards-front-grid .work-card-item:hover .work-card-art-wrap {
  transform: scale(1.06);
}

.work-cards-front-grid .work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.work-card-hover-overlay,
.work-cards-front-grid .work-card-hover-overlay {
  display: none !important;
}

.work-cards-front-grid .work-hover-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  color: #111111;
  font-family: var(--font-sans, sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 100px;
  transform: translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

.work-cards-front-grid .work-card-item:hover .work-hover-badge {
  transform: translateY(0);
}

.work-cards-front-grid .work-card-bottom-panel {
  width: 100%;
  background: var(--surface2, #f4efe6);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  flex-grow: 1;
}

.work-cards-front-grid .work-card-title {
  font-family: var(--font-sans, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text, #111111);
  letter-spacing: -0.3px;
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.work-cards-front-grid .work-card-title a {
  color: inherit;
  text-decoration: none;
}

.work-cards-front-grid .work-card-item:hover .work-card-title {
  color: var(--gold, #b12c03);
}

.work-cards-front-grid .work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.work-cards-front-grid .work-tag-pill {
  display: inline-block;
  background: var(--surface, rgba(0, 0, 0, 0.04));
  color: var(--text, #111111);
  font-family: var(--font-sans, sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

.work-cards-front-grid .work-card-item:hover .work-tag-pill {
  border-color: var(--gold, #b12c03);
  color: var(--gold, #b12c03);
}

/* CTA Card 4th Column Styling */
.work-cards-front-grid .portfolio-cta-card.team-join-card {
  border-radius: 24px;
  background: var(--surface2, #f4efe6);
  border: 1px solid var(--border, rgba(177, 44, 3, 0.25));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  height: 100%;
}

.work-cards-front-grid .portfolio-cta-card.team-join-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold, #b12c03);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1200px) {
  .work-cards-front-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .work-cards-front-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}



