/* ══════════════════════════════════════════════════════════════════════
   ILLUUMINATI.ORG — CORE DESIGN SYSTEM & STYLESHEET
   Curated Typography · Precision Sacred Geometry · Robust Editorial Layout
   ══════════════════════════════════════════════════════════════════════ */

/* ── 1. TYPOGRAPHY & FONT IMPORTS ─────────────────────────────────── */
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('assets/fonts/newsreader-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('assets/fonts/newsreader-500-italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ── 2. DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  --primary: #891b42;
  --secondary: #561028;
  --secondary-dark: #3a081a;
  --accent: #d3a083;
  --surface: #f8eef2;
  --surface-tint: #f4e8ee;
  --paper: #fcfaf9;
  --ink: #1b1b1b;
  --ink-muted: rgba(27, 27, 27, 0.68);
  --ink-subtle: rgba(27, 27, 27, 0.46);
  --line: rgba(86, 16, 40, 0.12);
  --line-focus: rgba(137, 27, 66, 0.35);
  --shell: min(1280px, calc(100% - 64px));
  --header: 70px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 32px;
}

/* ── 3. RESET & DOCUMENT DEFAULTS ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, p, dl, dd, ul {
  margin-top: 0;
}

em {
  color: var(--primary);
  font-style: italic;
  font-weight: 400;
}

/* ── 4. SHARED LAYOUT & UTILITIES ─────────────────────────────────── */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus-ring:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  left: 16px;
  top: 16px;
  transform: translateY(-160%);
  background: var(--secondary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Elegant CSS dot-matrix texture — zero external requests, zero 404s */
.texture {
  position: relative;
}
.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(86, 16, 40, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--accent);
}

.lead {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.7;
}

.fine-print {
  margin-top: 20px;
  color: var(--ink-subtle);
  font-size: 12px;
  line-height: 1.6;
}

.section {
  padding: clamp(60px, 7vw, 92px) 0;
  position: relative;
}

.section h2 {
  margin: 12px 0 0;
  color: var(--secondary);
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

/* ── 5. SCROLL PROGRESS INDICATOR ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  pointer-events: none;
  background: rgba(86, 16, 40, 0.05);
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ── 6. SITE HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(252, 250, 249, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(86, 16, 40, 0.06);
  background: rgba(252, 250, 249, 0.98);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Newsreader', Georgia, serif;
  color: var(--secondary);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.wordmark span {
  color: var(--primary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.desktop-nav > a:not(.nav-cta) {
  position: relative;
  padding: 6px 0;
  color: rgba(27, 27, 27, 0.65);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.desktop-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}
.desktop-nav > a:not(.nav-cta):hover,
.desktop-nav > a[data-nav-link].is-active {
  color: var(--primary);
}
.desktop-nav > a:not(.nav-cta):hover::after,
.desktop-nav > a[data-nav-link].is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(86, 16, 40, 0.22);
  border-radius: var(--radius-pill);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.menu-toggle {
  display: none;
}

/* ── 7. MOBILE NAVIGATION ─────────────────────────────────────────── */
.mobile-nav {
  display: none;
}
@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
  }
  .menu-line {
    display: block;
    width: 17px;
    height: 1.5px;
    background: var(--secondary);
    transition: transform 0.2s ease;
  }
  .menu-toggle[aria-expanded="true"] .menu-line:first-of-type {
    transform: translateY(3.25px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-line:last-of-type {
    transform: translateY(-3.25px) rotate(-45deg);
  }
  .mobile-nav {
    position: fixed;
    z-index: 90;
    inset: var(--header) 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--surface);
    padding: 28px 24px;
    border-top: 1px solid var(--line);
  }
  .mobile-nav[hidden] {
    display: none;
  }
  .mobile-links {
    display: flex;
    flex-direction: column;
  }
  .mobile-links a {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
    color: var(--secondary);
    font-family: 'Newsreader', Georgia, serif;
    font-size: 30px;
  }
  .mobile-links span {
    display: inline-block;
    width: 32px;
    color: var(--primary);
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
  }
  .mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }
}

/* ── 8. HERO SECTION (ROCK-SOLID COMPOSITION) ─────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  padding: clamp(48px, 6vw, 76px) 0 clamp(32px, 4.5vw, 52px);
  border-bottom: 1px solid var(--line);
}

/* Strictly absolute-positioned overlays with zero layout flow impact */
#hero-particles {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 0 !important;
  overflow: hidden !important;
}

#hero-cursor-glow {
  position: absolute !important;
  width: 600px !important;
  height: 600px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at center, rgba(137, 27, 66, 0.12) 0%, rgba(137, 27, 66, 0.04) 40%, transparent 70%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  top: 0 !important;
  left: 0 !important;
  transform: translate(-50%, -50%) !important;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hero.cursor-active #hero-cursor-glow {
  opacity: 1;
}

.hero-grid {
  position: absolute;
  inset: 0 0 0 45%;
  background-image:
    linear-gradient(rgba(86, 16, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 16, 40, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at 80% 45%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 45%, #000 25%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4.5vw, 48px);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 8.5fr) minmax(280px, 3.5fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-triangle-accent {
  display: inline-flex;
  align-items: center;
  margin: 6px 0 10px;
  color: var(--primary);
  opacity: 0.85;
}

.hero h1 {
  max-width: 900px;
  margin: 6px 0 0;
  color: var(--secondary);
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(44px, 5.8vw, 82px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.hero h1 em {
  color: var(--primary);
  font-style: italic;
  font-weight: 400;
}

.split-word {
  display: inline;
}

.hero-aside {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-aside-index {
  display: block;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-aside > p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.65;
}

.button-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(137, 27, 66, 0.15);
}
.button-primary:hover {
  background: var(--secondary);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(86, 16, 40, 0.2);
}
.button-outline {
  border: 1px solid rgba(86, 16, 40, 0.24);
  background: transparent;
  color: var(--secondary);
}
.button-outline:hover {
  background: rgba(86, 16, 40, 0.06);
  border-color: var(--secondary);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.text-link:hover {
  color: var(--secondary);
}

/* ── Modern Vector Arrow Icons ────────────────────────────────────── */
.icon-arrow {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: inherit;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.button .icon-arrow {
  margin-left: 2px;
}

.text-link .icon-arrow,
.nav-cta .icon-arrow {
  margin-left: 2px;
}

.status .icon-arrow {
  margin-left: 3px;
  opacity: 0.85;
}

/* Arrow hover micro-interactions */
.button:hover .icon-arrow,
.text-link:hover .icon-arrow,
.nav-cta:hover .icon-arrow,
.branch:hover .status .icon-arrow {
  transform: translate(2px, -2px);
}

/* Hide all arrows on mobile screens */
@media (max-width: 860px) {
  .icon-arrow,
  .form-arrow,
  .branch-arrow,
  .branch .branch-arrow,
  .round-link {
    display: none !important;
  }
}

.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  gap: 20px;
}
.hero-footer p {
  max-width: 620px;
  margin: 0;
  color: rgba(86, 16, 40, 0.68);
  font-size: 12px;
  line-height: 1.6;
}
.round-link {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(86, 16, 40, 0.2);
  border-radius: 50%;
  color: var(--secondary);
  transition: all 0.2s ease;
}
.round-link svg {
  display: block;
  transition: transform 0.2s ease;
}
.round-link:hover {
  border-color: var(--primary);
  background: #fff;
  transform: translateY(2px);
}
.round-link:hover svg {
  transform: translateY(2px);
}

/* Background emblem watermark: Centered with crazy animated sacred geometry */
.hero-triangle-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + var(--tilt-x, 0px)), calc(-50% + var(--tilt-y, 0px) + var(--tw-slide-y, 0px))) scale(var(--tw-scale, 1));
  width: clamp(340px, 48vw, 680px);
  max-width: 90vw;
  height: auto;
  pointer-events: none;
  z-index: 1;
  color: var(--secondary);
  opacity: var(--tw-opacity, 0.28);
  will-change: transform, opacity, filter;
  transform-origin: center center;
  transition: opacity 0.12s ease-out;
}

.hero-triangle-glow {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 52%,
    rgba(137, 27, 66, 0.18) 0%,
    rgba(211, 160, 131, 0.10) 36%,
    transparent 70%
  );
  filter: blur(28px);
  animation: twGlowPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.tw-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 22px rgba(137, 27, 66, 0.16));
  animation: twAmbientFloat 8s ease-in-out infinite;
  transform-origin: 100px 100px;
}

/* Outer & inner rotating rings */
.tw-ring-outer {
  transform-origin: 100px 100px;
  animation: twSpinCW 44s linear infinite;
}
.tw-ring-inner {
  transform-origin: 100px 100px;
  animation: twSpinCCW 30s linear infinite;
}

/* Sacred geometry breathing & drifting */
.tw-tri-main {
  transform-origin: 100px 100px;
  animation: twMainPulse 7s ease-in-out infinite;
}
.tw-tri-inverted {
  transform-origin: 100px 100px;
  animation: twInvertedDrift 11s ease-in-out infinite;
}
.tw-tri-inner-1 {
  stroke-dasharray: 4 4;
  animation: twDashFlow 12s linear infinite;
}
.tw-tri-inner-2 {
  stroke-dasharray: 3 5;
  animation: twDashFlowReverse 9s linear infinite;
}

/* All-Seeing Eye cursor tracking & pulses */
.tw-eye-frame {
  animation: twEyePulse 6s ease-in-out infinite;
}
.tw-eye-gaze {
  transform: translate(var(--eye-x, 0px), var(--eye-y, 0px));
  transition: transform 0.12s cubic-bezier(0.2, 0.9, 0.3, 1);
  transform-origin: 100px 108px;
}
.tw-pupil {
  transform-origin: 100px 108px;
  animation: twPupilPulse 5s ease-in-out infinite alternate;
}
.tw-sparkle {
  transform-origin: 103px 105px;
  animation: twSparkleTwinkle 3s ease-in-out infinite alternate;
}

/* Radiating rays */
.tw-rays {
  transform-origin: 100px 108px;
  animation: twRaysBreathe 7s ease-in-out infinite alternate;
}

/* Glowing vertex power points */
.tw-vertices circle {
  animation: twVertexFlare 3.6s ease-in-out infinite alternate;
}
.tw-vertices circle:nth-child(2) {
  animation-delay: 1.2s;
}
.tw-vertices circle:nth-child(3) {
  animation-delay: 2.4s;
}

.tw-midpoints circle {
  animation: twMidpointPulse 4s ease-in-out infinite alternate;
}
.tw-inverted-vertices circle {
  animation: twInvertedDotPulse 5s ease-in-out infinite alternate;
}

.tw-core-glow {
  transform-origin: 100px 108px;
  animation: twCoreScale 6s ease-in-out infinite alternate;
}

/* ── Triangle Watermark Keyframe Animations ── */
@keyframes twSpinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes twSpinCCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes twAmbientFloat {
  0%, 100% {
    transform: translateY(0px) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 1.2deg));
  }
}
@keyframes twGlowPulse {
  0% { opacity: 0.5; transform: scale(0.94); }
  100% { opacity: 0.95; transform: scale(1.1); }
}
@keyframes twMainPulse {
  0%, 100% { opacity: 0.32; stroke-width: 1.8; }
  50% { opacity: 0.6; stroke-width: 2.3; filter: drop-shadow(0 0 8px rgba(137, 27, 66, 0.5)); }
}
@keyframes twInvertedDrift {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.18; }
  50% { transform: rotate(-4deg) scale(1.035); opacity: 0.35; }
}
@keyframes twDashFlow {
  to { stroke-dashoffset: 48; }
}
@keyframes twDashFlowReverse {
  to { stroke-dashoffset: -48; }
}
@keyframes twEyePulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.48; }
}
@keyframes twPupilPulse {
  0% { transform: scale(1); opacity: 0.35; }
  100% { transform: scale(1.25); opacity: 0.58; }
}
@keyframes twSparkleTwinkle {
  0% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.35); }
}
@keyframes twRaysBreathe {
  0% { transform: scale(0.94) rotate(-3deg); opacity: 0.18; }
  100% { transform: scale(1.12) rotate(6deg); opacity: 0.42; }
}
@keyframes twVertexFlare {
  0% { r: 3.4; opacity: 0.45; }
  100% { r: 5.4; opacity: 0.98; }
}
@keyframes twMidpointPulse {
  0% { transform: scale(0.9); opacity: 0.16; }
  100% { transform: scale(1.15); opacity: 0.36; }
}
@keyframes twInvertedDotPulse {
  0% { transform: scale(0.85); opacity: 0.18; }
  100% { transform: scale(1.2); opacity: 0.38; }
}
@keyframes twCoreScale {
  0% { transform: scale(0.85); opacity: 0.12; }
  100% { transform: scale(1.18); opacity: 0.3; }
}

/* ── 9. VISION SECTION ────────────────────────────────────────────── */
.vision-section {
  border-bottom: 1px solid var(--line);
}
.vision-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}
.vision-copy .lead {
  max-width: 680px;
  margin: 22px 0 0;
}
.framework-panel {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 4vw, 44px);
}
.supporting-copy {
  margin: 10px 0 22px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.65;
}
.framework-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.framework-grid div {
  display: flex;
  min-height: 116px;
  flex-direction: column-reverse;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  background: var(--paper);
}
.framework-grid dt {
  color: var(--ink-subtle);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.framework-grid dd {
  color: var(--primary);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 40px;
  line-height: 1;
}

/* ── 10. ECOSYSTEM SECTION (INTERACTIVE PYRAMID) ──────────────────── */
.ecosystem-section {
  border-bottom: 1px solid var(--line);
  background-color: var(--surface);
}
.ecosystem-heading {
  display: grid;
  grid-template-columns: 7.5fr 4.5fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.ecosystem-overview {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3.5vw, 44px);
}
.ecosystem-overview .lead {
  margin: 0 0 14px;
  font-size: 15px;
}
.ecosystem-map {
  display: block;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  overflow: visible;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(86, 16, 40, 0.1);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 6px 20px rgba(86, 16, 40, 0.04);
}
.ecosystem-links path {
  fill: none;
  stroke: rgba(137, 27, 66, 0.25);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  transition: stroke 0.3s ease;
}
.ecosystem-parent circle {
  fill: var(--secondary);
  stroke: var(--accent);
  stroke-width: 2.5;
  filter: drop-shadow(0 4px 10px rgba(86, 16, 40, 0.2));
}
.ecosystem-parent text {
  fill: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-anchor: middle;
}
.ecosystem-node circle {
  fill: #fff;
  stroke: rgba(86, 16, 40, 0.3);
  stroke-width: 1.5;
  cursor: pointer;
  transition: all 0.22s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.ecosystem-node text {
  fill: var(--secondary);
  font-family: 'Manrope', sans-serif;
  font-size: 7.5px;
  font-weight: 800;
  text-anchor: middle;
  pointer-events: none;
  transition: fill 0.22s ease;
}
.ecosystem-node:hover circle,
.ecosystem-node.is-active circle,
.ecosystem-node:focus-visible circle {
  fill: var(--primary);
  stroke: var(--accent);
  stroke-width: 2.5;
  transform: scale(1.16);
  filter: drop-shadow(0 4px 12px rgba(137, 27, 66, 0.28));
}
.ecosystem-node:hover text,
.ecosystem-node.is-active text,
.ecosystem-node:focus-visible text {
  fill: #fff;
}
.map-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 0;
  color: var(--ink-subtle);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-caption span {
  width: 16px;
  height: 1px;
  background: var(--primary);
}

/* Pyramid grid layout */
.branch-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    ".  .  a  a  .  ."
    ".  b  b  c  c  ."
    "d  d  e  e  f  f";
  gap: 16px;
  margin-top: 38px;
}
.branch-list > .branch:nth-child(1) { grid-area: a; }
.branch-list > .branch:nth-child(2) { grid-area: b; }
.branch-list > .branch:nth-child(3) { grid-area: c; }
.branch-list > .branch:nth-child(4) { grid-area: d; }
.branch-list > .branch:nth-child(5) { grid-area: e; }
.branch-list > .branch:nth-child(6) { grid-area: f; }

.branch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 18px;
  min-height: 200px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--paper);
  box-shadow: 0 2px 8px rgba(86, 16, 40, 0.03);
  transition: all 0.22s ease;
  position: relative;
  outline: none;
}
.branch:hover,
.branch.is-active,
.branch:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(137, 27, 66, 0.35);
  box-shadow: 0 10px 24px rgba(86, 16, 40, 0.08);
  background-color: #fff;
}
.branch .branch-index {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.branch h3 {
  margin: 0 0 4px;
  color: var(--secondary);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  transition: color 0.2s ease;
}
.branch:hover h3,
.branch.is-active h3 {
  color: var(--primary);
}
.branch .status {
  display: inline-block;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.branch .branch-category {
  margin: 10px 0 0;
  color: rgba(86, 16, 40, 0.65);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.branch .branch-summary {
  margin: 6px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}
.branch .branch-arrow {
  align-self: flex-end;
  margin-top: 12px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.branch .branch-arrow svg {
  display: block;
}
.branch:hover .branch-arrow,
.branch.is-active .branch-arrow {
  transform: translateX(4px);
}

/* ── 11. INFRASTRUCTURE SECTION (OBSIDIAN & WINE) ─────────────────── */
.infrastructure-section {
  background: linear-gradient(145deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.infrastructure-section h2 {
  color: #fff;
}
.infrastructure-section h2 em {
  color: var(--accent);
}
.infrastructure-section .lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.infrastructure-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.network {
  width: 100%;
  height: 350px;
}
.network-lines {
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1.3;
}
.network-lines path {
  stroke-dasharray: 8 5;
  animation: networkFlow 18s linear infinite;
}
@keyframes networkFlow {
  to { stroke-dashoffset: -130; }
}
.network-nodes circle {
  fill: var(--accent);
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 6;
}

.layer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.layer-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  padding: 20px;
  min-height: 155px;
  transition: all 0.22s ease;
}
.layer-grid article:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(211, 160, 131, 0.4);
}
.layer-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.layer-grid h3 {
  float: right;
  margin: 0;
  color: #fff;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}
.layer-grid p {
  clear: both;
  margin: 40px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

/* ── 12. IMPACT SECTION ───────────────────────────────────────────── */
.impact-section {
  border-bottom: 1px solid var(--line);
}
.impact-grid {
  display: grid;
  grid-template-columns: 6.5fr 5.5fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}
.impact-grid .lead {
  margin: 0;
}
.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.audience-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  padding: 8px 16px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
}

/* ── 13. CONTACT SECTION ─────────────────────────────────────────── */
.contact-section {
  background-color: var(--surface);
}
.contact-grid {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(38px, 4.5vw, 60px);
}
.contact-copy .lead {
  margin: 18px 0 22px;
}

.inquiry-form {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: 0 10px 36px rgba(86, 16, 40, 0.05);
}
.inquiry-form::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.form-heading h3 {
  margin: 6px 0 0;
  color: var(--secondary);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}
.form-heading .form-arrow {
  color: var(--primary);
  margin-top: 4px;
  opacity: 0.8;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.inquiry-form:hover .form-heading .form-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.field label {
  display: block;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(86, 16, 40, 0.18);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input,
.field select {
  height: 44px;
  padding: 0 14px;
}
.field textarea {
  min-height: 125px;
  resize: vertical;
  padding: 12px 14px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(137, 27, 66, 0.08);
}
.field [aria-invalid="true"] {
  border-color: var(--primary);
}
.message-field {
  margin-top: 16px;
}
.field-hint,
.field-error {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.5;
}
.field-hint {
  color: var(--ink-subtle);
}
.field-error {
  min-height: 0;
  color: var(--primary);
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.form-status {
  margin-top: 16px;
  border: 1px solid rgba(137, 27, 66, 0.18);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 12px 14px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.5;
}
.form-status.success {
  border-color: rgba(23, 108, 75, 0.25);
  background: #eef8f2;
  color: #176c4b;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
}
.submit-button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

/* ── 14. FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  background: #120308;
  color: #fff;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-single-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-wordmark {
  color: #fff;
  font-size: 20px;
}
.footer-wordmark span {
  color: var(--accent);
}
.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.noscript-notice {
  position: fixed;
  z-index: 200;
  right: 16px;
  bottom: 16px;
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 12px 16px;
  color: var(--secondary);
  font-size: 11px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

/* ── 15. PROGRESSIVE REVEAL (FAIL-SAFE) ───────────────────────────── */
/* Content is ALWAYS 100% visible by default; JS smoothly animates it on scroll */
[data-reveal] {
  opacity: 1;
  transform: none;
}
html.js [data-reveal]:not(.is-revealed) {
  opacity: 0.15;
  transform: translateY(18px);
}
html.js [data-reveal] {
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
html.js [data-reveal][data-delay="1"] { transition-delay: 0.06s; }
html.js [data-reveal][data-delay="2"] { transition-delay: 0.12s; }
html.js [data-reveal][data-delay="3"] { transition-delay: 0.18s; }

/* ── 16. RESPONSIVE BREAKPOINTS ───────────────────────────────────── */
@media (max-width: 960px) {
  :root {
    --shell: min(100% - 48px, 780px);
  }
  .hero-content,
  .vision-grid,
  .ecosystem-heading,
  .infrastructure-intro,
  .impact-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
    max-width: 440px;
  }
  .ecosystem-overview {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }
  .framework-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }
  .branch-list {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a b"
      "c d"
      "e f";
    gap: 14px;
  }
  .layer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .network {
    height: 280px;
  }
  .hero-triangle-watermark {
    width: min(440px, 75vw);
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 32px);
  }
  .section {
    padding: 50px 0;
  }
  .hero {
    padding: 34px 0 24px;
  }
  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }
  .section h2 {
    font-size: clamp(30px, 8.5vw, 42px);
  }
  .branch-list {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d" "e" "f";
    gap: 12px;
  }
  .branch {
    min-height: auto;
    padding: 18px 16px;
  }
  .layer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .framework-grid div {
    min-height: 96px;
    padding: 12px 14px;
  }
  .framework-grid dd {
    font-size: 32px;
  }
  .network {
    height: 210px;
  }
  .hero-triangle-watermark {
    display: block;
    width: min(320px, 86vw);
    opacity: calc(var(--tw-opacity, 0.28) * 0.7);
  }
  .footer-single-line {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .icon-arrow,
  .form-arrow,
  .branch-arrow,
  .branch .branch-arrow,
  .round-link {
    display: none !important;
  }
}

/* ── 17. REDUCED MOTION ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-triangle-watermark,
  .hero-triangle-glow,
  .tw-svg,
  .tw-ring-outer,
  .tw-ring-inner,
  .tw-tri-main,
  .tw-tri-inverted,
  .tw-tri-inner-1,
  .tw-tri-inner-2,
  .tw-eye-frame,
  .tw-eye-gaze,
  .tw-pupil,
  .tw-sparkle,
  .tw-rays,
  .tw-vertices circle,
  .tw-midpoints circle,
  .tw-inverted-vertices circle,
  .tw-core-glow {
    animation: none !important;
  }
  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
