/* ============================================
   Leonine Strategy — Graphics System v2
   Flowing full-width sections, no disconnected boxes
   ============================================ */

/* ============================================
   Animations
   ============================================ */
@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10px, -15px); }
  50% { transform: translate(-8px, 10px); }
  75% { transform: translate(12px, 6px); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

@keyframes glowDrift {
  0%, 100% { opacity: 0.5; transform: translate(0, 0) scale(1); }
  33% { opacity: 0.8; transform: translate(15px, -10px) scale(1.05); }
  66% { opacity: 0.6; transform: translate(-10px, 8px) scale(0.98); }
}

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

@keyframes triShift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -10px); }
}

@keyframes triShift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, 12px); }
}

@keyframes triShift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, 6px); }
}

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

@keyframes triShift5 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, 14px); }
}

/* ============================================
   Hero — Immersive Full-Screen
   ============================================ */

.hero-immersive {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #080e1c;
}

.hero-immersive__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(29, 57, 114, 0.9) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 70%, rgba(190, 169, 112, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(21, 40, 91, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(190, 169, 112, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, #080e1c 0%, #15285B 40%, #1D3972 70%, #0a1628 100%);
}

.hero-immersive__shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-immersive__shapes .shape {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 169, 112, 0.15);
  animation: heroFloat 20s ease-in-out infinite;
}

.hero-immersive__shapes .shape-1 {
  width: 600px; height: 600px;
  top: -10%; right: 0%;
  border-color: rgba(190, 169, 112, 0.12);
  animation-delay: 0s;
}

.hero-immersive__shapes .shape-2 {
  width: 400px; height: 400px;
  top: 15%; right: 12%;
  background: radial-gradient(circle, rgba(190, 169, 112, 0.08) 0%, transparent 70%);
  border-color: rgba(190, 169, 112, 0.15);
  animation-delay: -5s;
}

.hero-immersive__shapes .shape-3 {
  width: 180px; height: 180px;
  bottom: 20%; right: 28%;
  background: radial-gradient(circle, rgba(190, 169, 112, 0.12) 0%, transparent 70%);
  border-color: rgba(190, 169, 112, 0.22);
  animation-delay: -10s;
}

.hero-immersive__shapes .shape-4 {
  width: 300px; height: 300px;
  bottom: -5%; left: 8%;
  border-color: rgba(29, 57, 114, 0.25);
  animation-delay: -15s;
}

.hero-immersive__shapes .line {
  position: absolute;
  background: rgba(190, 169, 112, 0.12);
}

.hero-immersive__shapes .line-1 {
  width: 1px; height: 50%;
  top: 8%; right: 33%;
}

.hero-immersive__shapes .line-2 {
  width: 35%; height: 1px;
  top: 52%; right: 3%;
}

.hero-immersive__shapes .dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(190, 169, 112, 0.5);
  animation: dotPulse 4s ease-in-out infinite;
}

.hero-immersive__shapes .dot-1 { top: 20%; right: 30%; width: 6px; height: 6px; animation-delay: 0s; }
.hero-immersive__shapes .dot-2 { top: 45%; right: 15%; width: 5px; height: 5px; animation-delay: -1s; }
.hero-immersive__shapes .dot-3 { bottom: 30%; right: 40%; width: 7px; height: 7px; animation-delay: -2s; }
.hero-immersive__shapes .dot-4 { top: 35%; right: 45%; width: 4px; height: 4px; animation-delay: -3s; }
.hero-immersive__shapes .dot-5 { bottom: 20%; right: 20%; width: 10px; height: 10px; background: rgba(190, 169, 112, 0.35); box-shadow: 0 0 25px rgba(190, 169, 112, 0.2); animation-delay: -1.5s; }

.hero-immersive__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 10rem 2rem 6rem;
  margin-left: calc((100vw - 1140px) / 2 + 2rem);
}

@media (max-width: 1200px) {
  .hero-immersive__content { margin-left: 2rem; }
}

.hero-immersive__content h1 {
  color: #fff;
  font-size: 3.75rem;
  line-height: 1.08;
  margin-bottom: 1.75rem;
}

.hero-immersive__content h1 .gold {
  color: var(--gold-warm);
  display: block;
}

.hero-immersive__content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* ============================================
   Flow Sections — Full-width gradient sections
   where text and graphics coexist
   ============================================ */

.flow-dark {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  color: #fff;
}

.flow-dark__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Variant backgrounds */
.flow-dark--a .flow-dark__bg {
  background:
    radial-gradient(ellipse 70% 50% at 75% 40%, rgba(190, 169, 112, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 15% 60%, rgba(42, 74, 138, 0.4) 0%, transparent 55%),
    linear-gradient(170deg, #0D1B3E 0%, #15285B 45%, #1D3972 100%);
}

.flow-dark--b .flow-dark__bg {
  background:
    radial-gradient(ellipse 60% 60% at 25% 35%, rgba(190, 169, 112, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(21, 40, 91, 0.5) 0%, transparent 55%),
    linear-gradient(190deg, #1D3972 0%, #15285B 50%, #0D1B3E 100%);
}

.flow-dark--c .flow-dark__bg {
  background:
    radial-gradient(ellipse 50% 70% at 60% 30%, rgba(190, 169, 112, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 30% 75%, rgba(29, 57, 114, 0.5) 0%, transparent 55%),
    linear-gradient(160deg, #0D1B3E 0%, #15285B 60%, #1D3972 100%);
}

.flow-dark--d .flow-dark__bg {
  background:
    radial-gradient(ellipse 80% 50% at 40% 50%, rgba(190, 169, 112, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 85% 25%, rgba(42, 74, 138, 0.35) 0%, transparent 50%),
    linear-gradient(180deg, #15285B 0%, #0D1B3E 100%);
}

/* Content layout inside flow sections */
.flow-dark__inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.flow-dark__inner--reverse {
  direction: rtl;
}

.flow-dark__inner--reverse > * {
  direction: ltr;
}

.flow-dark__inner--wide {
  grid-template-columns: 1.2fr 0.8fr;
}

.flow-dark__inner--single {
  grid-template-columns: 1fr;
  max-width: 800px;
}

.flow-dark__text h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.flow-dark__text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.85;
}

.flow-dark__text .meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.flow-dark__text .meta strong {
  color: rgba(255, 255, 255, 0.7);
}

.flow-dark__text .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-warm);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.flow-dark__text .highlight {
  color: var(--gold-warm);
  font-weight: 600;
}

/* Graphic area inside flow sections */
.flow-dark__graphic {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Large watermark text */
.flow-dark__watermark {
  position: absolute;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8rem;
  font-weight: 700;
  color: rgba(190, 169, 112, 0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}

/* Geometric elements — much bolder */
.geo {
  position: absolute;
  pointer-events: none;
}

.geo-ring {
  border-radius: 50%;
  border: 1.5px solid rgba(190, 169, 112, 0.2);
}

.geo-ring--lg { width: 320px; height: 320px; }
.geo-ring--md { width: 200px; height: 200px; }
.geo-ring--sm { width: 100px; height: 100px; }

.geo-ring--spin { animation: ringRotate 50s linear infinite; }
.geo-ring--spin-r { animation: ringRotate 40s linear infinite reverse; }
.geo-ring--spin-slow { animation: ringRotate 70s linear infinite; }

.geo-ring--filled-sm {
  background: radial-gradient(circle, rgba(190, 169, 112, 0.12) 0%, transparent 70%);
  border-color: rgba(190, 169, 112, 0.25);
}

.geo-ring--filled-md {
  background: radial-gradient(circle, rgba(190, 169, 112, 0.08) 0%, transparent 70%);
}

.geo-dot {
  border-radius: 50%;
  background: var(--gold-warm);
  animation: dotPulse 4s ease-in-out infinite;
}

.geo-dot--sm { width: 5px; height: 5px; }
.geo-dot--md { width: 8px; height: 8px; }
.geo-dot--lg { width: 12px; height: 12px; box-shadow: 0 0 25px rgba(190, 169, 112, 0.35); }

.geo-line {
  background: rgba(190, 169, 112, 0.12);
}

.geo-line--h { height: 1px; }
.geo-line--v { width: 1px; }

.geo-glow {
  border-radius: 50%;
  animation: glowDrift 8s ease-in-out infinite;
}

.geo-glow--gold {
  background: radial-gradient(circle, rgba(190, 169, 112, 0.2) 0%, transparent 70%);
}

.geo-glow--blue {
  background: radial-gradient(circle, rgba(42, 74, 138, 0.25) 0%, transparent 70%);
}

/* Constellation — connected dots */
.geo-constellation {
  position: absolute;
}

.geo-constellation line {
  stroke: rgba(190, 169, 112, 0.15);
  stroke-width: 1;
}

.geo-constellation circle {
  fill: rgba(190, 169, 112, 0.4);
}

.geo-constellation .node-primary {
  fill: var(--gold-warm);
  filter: drop-shadow(0 0 8px rgba(190, 169, 112, 0.3));
}

/* Hexagon shape */
.geo-hex {
  position: absolute;
  opacity: 0.15;
}

.geo-hex polygon {
  stroke: rgba(190, 169, 112, 0.4);
  stroke-width: 1.5;
  fill: none;
}

.geo-hex--filled polygon {
  fill: rgba(190, 169, 112, 0.05);
}

/* ============================================
   Flow Light — White/off-white sections with
   accent graphics bleeding in
   ============================================ */

.flow-light {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  background: var(--white);
}

.flow-light--alt {
  background: var(--off-white);
}

.flow-light__inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.flow-light__inner--reverse {
  direction: rtl;
}

.flow-light__inner--reverse > * {
  direction: ltr;
}

.flow-light__inner--single {
  grid-template-columns: 1fr;
  max-width: 800px;
}

.flow-light__text h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.flow-light__text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
}

.flow-light__text .meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.flow-light__text .meta strong {
  color: var(--charcoal);
}

.flow-light__graphic {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Edge bleed — gradient that fades in from the side */
.flow-light__edge {
  position: absolute;
  top: -2rem;
  bottom: -2rem;
  width: 45%;
  z-index: 0;
}

.flow-light__edge--left {
  left: 0;
  background: linear-gradient(90deg, rgba(21, 40, 91, 0.04) 0%, transparent 100%);
}

.flow-light__edge--right {
  right: 0;
  background: linear-gradient(-90deg, rgba(21, 40, 91, 0.04) 0%, transparent 100%);
}

/* ============================================
   Fullbleed Statement — Cinematic dark section
   ============================================ */

.fullbleed-statement {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.fullbleed-statement__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(190, 169, 112, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(29, 57, 114, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(190, 169, 112, 0.06) 0%, transparent 50%),
    linear-gradient(160deg, #080e1c 0%, #0D1B3E 30%, #15285B 60%, #1D3972 100%);
}

.fullbleed-statement__shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fullbleed-statement__shapes .fs-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(190, 169, 112, 0.08);
}

.fullbleed-statement__shapes .fs-ring-1 {
  width: 500px; height: 500px;
  top: -20%; right: -10%;
}

.fullbleed-statement__shapes .fs-ring-2 {
  width: 300px; height: 300px;
  bottom: -15%; left: -5%;
  border-color: rgba(190, 169, 112, 0.1);
}

.fullbleed-statement__shapes .fs-line {
  position: absolute;
  background: rgba(190, 169, 112, 0.06);
}

.fullbleed-statement__shapes .fs-line-1 {
  width: 1px; height: 60%;
  top: 10%; left: 20%;
}

.fullbleed-statement__shapes .fs-line-2 {
  width: 40%; height: 1px;
  bottom: 30%; right: 0;
}

.fullbleed-statement__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.fullbleed-statement__text {
  max-width: 560px;
}

.fullbleed-statement__text .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-warm);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.fullbleed-statement__text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.85;
}

.fullbleed-statement__text .highlight {
  color: var(--gold-warm);
  font-weight: 600;
}

.fullbleed-statement__visual {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.fullbleed-statement__visual .vis-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 169, 112, 0.18);
}

.fullbleed-statement__visual .vis-ring-1 {
  width: 340px; height: 340px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ringRotate 50s linear infinite;
}

.fullbleed-statement__visual .vis-ring-2 {
  width: 220px; height: 220px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(190, 169, 112, 0.06) 0%, transparent 70%);
  animation: ringRotate 35s linear infinite reverse;
}

.fullbleed-statement__visual .vis-ring-3 {
  width: 110px; height: 110px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(190, 169, 112, 0.12) 0%, transparent 70%);
  border-color: rgba(190, 169, 112, 0.25);
  animation: ringRotate 25s linear infinite;
}

.fullbleed-statement__visual .vis-dot {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-warm);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px rgba(190, 169, 112, 0.45), 0 0 60px rgba(190, 169, 112, 0.2);
  animation: dotPulse 4s ease-in-out infinite;
}

.fullbleed-statement__visual .vis-line {
  position: absolute;
  background: rgba(190, 169, 112, 0.1);
}

.fullbleed-statement__visual .vis-line-1 {
  width: 1px; height: 100%;
  left: 50%; top: 0;
}

.fullbleed-statement__visual .vis-line-2 {
  width: 100%; height: 1px;
  top: 50%; left: 0;
}

/* ============================================
   Section Number — Large faded in dark sections
   ============================================ */

.flow-dark__number {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12rem;
  font-weight: 700;
  color: rgba(190, 169, 112, 0.05);
  line-height: 1;
  z-index: 1;
  user-select: none;
}

.flow-dark__number--left { left: 3rem; }
.flow-dark__number--right { right: 3rem; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .hero-immersive__content {
    margin-left: auto;
    margin-right: auto;
    padding: 8rem 2rem 4rem;
    max-width: 100%;
    text-align: center;
  }

  .hero-immersive__content h1 {
    font-size: 2.5rem;
  }

  .flow-dark__inner,
  .flow-dark__inner--reverse,
  .flow-dark__inner--wide {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
    position: relative;
  }

  .flow-dark__graphic {
    display: none;
  }

  .flow-dark__watermark {
    font-size: 4rem;
  }

  .flow-dark__number {
    font-size: 6rem;
  }

  .flow-light__inner,
  .flow-light__inner--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
    position: relative;
  }

  .flow-light__graphic {
    display: none;
  }

  .fullbleed-statement__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .fullbleed-statement__visual {
    display: none;
  }

  .flow-dark {
    padding: 4rem 0;
  }

  .flow-light {
    padding: 4rem 0;
  }

  .flow-dark__text h3 {
    font-size: 1.65rem;
  }

  .flow-light__text h3 {
    font-size: 1.65rem;
  }
}

@media (max-width: 600px) {
  .hero-immersive__content h1 {
    font-size: 2rem;
  }

  .flow-dark__graphic {
    min-height: 120px;
  }
}
