/* ============================================
   HELIOS LABS — Corporate Design System
   Aesthetic: Celestial Luxury × Swiss Precision
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Primary Palette — Ocean Teal / Navy (#103341 based) */
  --navy-deepest: #030712;
  --navy-deep: #0B1324;
  --navy-mid: #111C33;
  --navy-light: #1a314c;
  --navy-surface: #103341;

  /* Gold Spectrum — Amber Gold */
  --gold: #EFAF42;
  --gold-light: #F8CB7A;
  --gold-muted: #B88A36;
  --gold-dim: rgba(239, 175, 66, 0.15);
  --gold-glow: rgba(239, 175, 66, 0.08);

  /* Neutrals */
  --white: #f0ece4;
  --white-pure: #ffffff;
  --gray-100: #c8c4bc;
  --gray-200: #9a968e;
  --gray-300: #6e6b64;
  --gray-400: #3d3b37;
  --border: rgba(239, 175, 66, 0.15);
  --border-hover: rgba(239, 175, 66, 0.4);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1.25rem;
  --space-xl: 1.75rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3.5rem;

  /* Layout */
  --container: 1320px;
  --nav-height: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 0.6s;
  --duration-fast: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--navy-deepest);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 70% 25%, rgba(212, 168, 83, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 65%, rgba(25, 71, 106, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 50% 45%, rgba(212, 140, 50, 0.08) 0%, transparent 60%);
}

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

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--navy-deepest);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-muted);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* --- Particle Canvas --- */
#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--duration-fast) ease,
              backdrop-filter var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: var(--navy-deepest);
  border-bottom-color: var(--gold);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(212, 168, 83, 0.3));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--white-pure);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gray-100);
  transition: color var(--duration-fast) ease;
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-fast) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--duration-fast) ease;
}

/* ============================================
   BOX 1 — HERO
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 83, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 83, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-top: var(--nav-height);
}

.hero-text {
  position: relative;
  z-index: 5;
}

/* Blur Reveal Animation */
.hero-blur-reveal {
  animation: heroBlurReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroBlurReveal {
  0% {
    filter: blur(18px);
    opacity: 0;
    transform: translateY(10px);
  }
  40% {
    filter: blur(6px);
    opacity: 0.6;
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white-pure);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.hero-title-accent {
  color: var(--white-pure);
  -webkit-text-fill-color: var(--white-pure);
  background: none;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  max-width: 420px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-deepest);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.9);
}

/* Sun Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -120px;
}

.sun-image {
  width: 720px;
  height: 720px;
  object-fit: contain;
  position: relative;
  z-index: 3;
  animation: sunFloat 10s ease-in-out infinite, sunSpin 120s linear infinite;
  filter: brightness(1.3) drop-shadow(0 0 80px rgba(239, 175, 66, 0.5));
  mask-image: radial-gradient(circle at center, white 30%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at center, white 30%, transparent 60%);
}

.sun-glow {
  position: absolute;
  width: 1200px;
  height: 1200px;
  background: radial-gradient(
    circle,
    rgba(255, 230, 150, 0.35) 0%,
    rgba(239, 175, 66, 0.22) 15%,
    rgba(239, 140, 50, 0.12) 30%,
    rgba(239, 175, 66, 0.05) 50%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 1;
  animation: glowPulse 6s ease-in-out infinite;
}

/* Radial light rays */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 1400px;
  height: 1400px;
  z-index: 0;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(239, 175, 66, 0.08) 0deg,
      transparent 3deg,
      transparent 10deg,
      rgba(239, 175, 66, 0.05) 12deg,
      transparent 15deg
    );
  mask-image: radial-gradient(circle, transparent 15%, white 25%, white 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, transparent 15%, white 25%, white 45%, transparent 70%);
  border-radius: 50%;
  animation: raysRotate 80s linear infinite;
}

/* Secondary softer rays layer */
.hero-visual::after {
  content: '';
  position: absolute;
  width: 1600px;
  height: 1600px;
  z-index: 0;
  background:
    repeating-conic-gradient(
      from 15deg,
      rgba(255, 200, 80, 0.04) 0deg,
      transparent 2deg,
      transparent 18deg,
      rgba(255, 220, 100, 0.03) 20deg,
      transparent 22deg
    );
  mask-image: radial-gradient(circle, transparent 10%, white 20%, white 40%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle, transparent 10%, white 20%, white 40%, transparent 65%);
  border-radius: 50%;
  animation: raysRotate 120s linear infinite reverse;
}

.sun-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(239, 175, 66, 0.07);
  z-index: 1;
}

.sun-ring-1 {
  width: 820px;
  height: 820px;
  animation: ringRotate 40s linear infinite;
}

.sun-ring-2 {
  width: 960px;
  height: 960px;
  border-style: dashed;
  border-color: rgba(239, 175, 66, 0.05);
  animation: ringRotate 55s linear infinite reverse;
}

.sun-ring-3 {
  width: 1100px;
  height: 1100px;
  border-color: rgba(239, 175, 66, 0.03);
  animation: ringRotate 70s linear infinite;
}

@keyframes sunFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: brightness(1.3) drop-shadow(0 0 50px rgba(212, 168, 83, 0.4));
  }
  25% {
    transform: translateY(-12px) scale(1.01);
  }
  50% {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.45) drop-shadow(0 0 90px rgba(212, 168, 83, 0.6));
  }
  75% {
    transform: translateY(-14px) scale(1.005);
  }
}

@keyframes sunSpin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.85; }
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes raysRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}

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

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-200);
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ============================================
   SECTION COMMON
   ============================================ */
section {
  position: relative;
  z-index: 1;
}

.section-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

.section-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--white-pure);
  letter-spacing: -0.01em;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}



/* ============================================
   NARRATIVE & MANIFESTO (V2 - White Section)
   ============================================ */
#narrative {
  position: relative;
  background: #d1d3d7;
  border-top: none;
  overflow: hidden;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}



.narrative-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.narrative-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .narrative-row {
    flex-direction: row;
    gap: var(--space-2xl);
  }
  .narrative-row-reverse {
    flex-direction: row-reverse;
  }
}

.narrative-row > div {
  flex: 1;
  width: 100%;
}

.narrative-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wireframe-art {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Globe SVG on light background */
#narrative .wireframe-art {
  opacity: 1;
}

/* Right: Typography Content */
.narrative-content {
  padding-left: var(--space-lg);
}

/* Overline Label */
.narrative-overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

/* Display Headline — Serif, editorial weight */
.narrative-lead-v2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #0a0a0a;
  line-height: 1.22;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

/* Body Block */
.narrative-body-block {
  margin-bottom: var(--space-lg);
}

.narrative-body-v2 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.65);
  margin-bottom: var(--space-md);
}

/* Inline Pillar Tags */
.narrative-pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.pillar-item {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.pillar-divider {
  color: rgba(0, 0, 0, 0.2);
  padding: 0 0.6rem;
  font-size: 0.9rem;
  user-select: none;
}

/* Mini Manifesto Block */
.manifesto-mini {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.manifesto-mini-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.manifesto-mini-row .cross {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.35);
  text-decoration: line-through;
  text-decoration-color: rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

.manifesto-mini-row .check {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: 0.01em;
}



/* ============================================
   BOX 3 — CORE DIVISIONS
   ============================================ */
#divisions {
  background: var(--navy-deepest);
  border-top: 1px solid rgba(212, 168, 83, 0.08);
}

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

.division-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, 
              background 0.4s ease, box-shadow 0.5s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* Hover line sweep */
.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.6), rgba(255, 255, 255, 0.5), rgba(212, 168, 83, 0.6), transparent);
  z-index: 10;
  pointer-events: none;
}

.division-card:hover::before {
  animation: lineSweep 0.8s ease forwards;
}

@keyframes lineSweep {
  0%   { left: -100%; }
  100% { left: 100%; }
}

.division-art-container {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.015);
}

.division-svg {
  width: 85%;
  height: 85%;
  opacity: 0.9;
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}

.division-card:hover .division-svg {
  opacity: 1;
}


/* SVG Float — gentle vertical bob */
.svg-float {
  animation: svgFloat 4s ease-in-out infinite;
}

@keyframes svgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* SVG Pulse — breathing scale */
.svg-pulse {
  animation: svgPulse 2.5s ease-in-out infinite alternate;
}

@keyframes svgPulse {
  0%   { opacity: 0.6; transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1.03); }
}


/* SVG Spin — slow rotation */
.svg-spin {
  animation: svgSpin 12s linear infinite;
  transform-origin: center;
}

@keyframes svgSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.division-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.division-card:hover .division-art-container {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.division-card:hover .division-svg {
  opacity: 1;
  transform: scale(1.03);
}

.division-card:hover .svg-spin {
  animation-duration: 6s;
}

.division-card:hover .svg-pulse {
  animation-duration: 1s;
}

.division-card:hover .division-index {
  color: rgba(255, 255, 255, 0.6);
}

.division-content {
  padding: var(--space-md) var(--space-lg) var(--space-xl);
  flex: 1;
}

.division-index {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}



.division-card h3 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white-pure);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.division-list {
  list-style: none;
}

.division-list li {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  padding: 0.6rem 0;
  padding-left: 1.2rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease;
}

.division-card:hover .division-list li {
  color: rgba(255, 255, 255, 0.8);
}

.division-list li:last-child {
  border-bottom: none;
}

.division-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}



/* ============================================
   BOX 4 — ECOSYSTEM (Ticker Dashboard)
   ============================================ */
#ecosystem {
  position: relative;
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

#ecosystem::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(255, 255, 255, 0.025) 0%, transparent 70%);
  pointer-events: none;
  animation: ecosystemGlow 12s ease-in-out infinite alternate;
}

@keyframes ecosystemGlow {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.7; }
}

#ecosystem .section-container {
  position: relative;
  z-index: 1;
}

/* Showcase Carousel */
.showcase-block {
  margin-bottom: var(--space-xl);
}

.showcase-block:last-of-type {
  margin-bottom: 0;
}

.showcase-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(239, 243, 255, 0.712);
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-carousel {
  position: relative;
}

.showcase-viewport {
  overflow: hidden;
}

.showcase-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.4s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.showcase-slide.active {
  opacity: 1;
}

.showcase-slide:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.showcase-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  transition: none;
  pointer-events: none;
}

.showcase-slide:hover::after {
  animation: cardShimmer 1.2s ease forwards;
}

@keyframes cardShimmer {
  0% { left: -50%; }
  100% { left: 150%; }
}

.showcase-logo {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
}

.showcase-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.showcase-slide:hover .showcase-logo img {
  filter: brightness(1.15);
  transform: scale(1.05);
  animation-play-state: paused;
}

.showcase-logo-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border-style: dashed;
}

.showcase-logo-placeholder span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.showcase-detail {
  flex: 1;
  min-width: 0;
}

.showcase-name {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 0.15rem;
}

.showcase-type {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.showcase-slide:hover .showcase-type {
  color: rgba(255, 255, 255, 0.6);
}

.showcase-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 540px;
  transition: color 0.3s ease;
}

.showcase-slide:hover .showcase-desc {
  color: rgba(255, 255, 255, 0.75);
}

/* Carousel Arrows */
.showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
}

.showcase-carousel:hover .showcase-arrow {
  opacity: 1;
}

.showcase-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white-pure);
  transform: translateY(-50%) scale(1.08);
}

.showcase-arrow-prev {
  left: 0.6rem;
}

.showcase-arrow-next {
  right: 0.6rem;
}

@media (max-width: 768px) {
  .showcase-slide {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: 1.2rem;
  }

  .showcase-logo {
    width: 72px;
    height: 72px;
    padding: 0.7rem;
  }
}


/* ============================================
   BOX 5 — CONTACT
   ============================================ */
#contact {
  background: var(--navy-deepest);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .contact-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-2xl);
  }
}

.contact-info {
  flex: 1;
}

/* Contact Form */
.contact-form-wrapper {
  flex: 1;
  min-width: 0;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.2rem 2rem;
}

.form-card-header {
  margin-bottom: 1.6rem;
}

.form-card-overline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.4rem;
}

.form-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white-pure);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.form-card-line {
  margin-top: 1rem;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.18), transparent 80%);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.form-input {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--white-pure);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  padding: 0.8rem 1rem;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}

.form-input:hover {
  border-color: rgba(255, 255, 255, 0.2);
  border-left-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.form-input:focus {
  border-color: rgba(255, 255, 255, 0.25);
  border-left-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.09);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 2rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-deepest);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.form-submit:hover {
  background: var(--white-pure);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.08);
}

.form-submit:hover::before {
  transform: translateX(100%);
}

.form-submit:active {
  transform: translateY(0);
}

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

  .contact-form-card {
    padding: 1.5rem 1.2rem;
  }
}

/* Email Block */
.contact-email-block {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-overline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.contact-email-main {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--white-pure);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-email-main:hover {
  border-bottom-color: var(--white-pure);
}

/* Offices Grid */
.contact-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-xl);
}

.contact-office h4.office-city {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.office-badge {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.contact-office p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}


/* ============================================
   FOOTER
   ============================================ */
#footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--navy-deepest);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white-pure);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(212, 168, 83, 0.3));
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.3rem;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.footer-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration-fast) ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .sun-image { width: 300px; height: 300px; }
  .sun-glow { width: 360px; height: 360px; }
  .sun-ring-1 { width: 340px; height: 340px; }
  .sun-ring-2 { width: 380px; height: 380px; }
  .sun-ring-3 { width: 420px; height: 420px; }

  .hero-subtitle br { display: none; }
  .btn-primary { margin: 0 auto; }

  .divisions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--navy-deepest);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-sm);
    border-bottom: 1px solid var(--gold);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .sun-image { width: 240px; height: 240px; }
  .sun-glow { width: 300px; height: 300px; }
  .sun-ring-1 { width: 280px; height: 280px; }
  .sun-ring-2 { width: 320px; height: 320px; }
  .sun-ring-3 { width: 360px; height: 360px; }

  .footer-bottom {
    flex-direction: column;
    gap: 0.3rem;
  }
}
