.intro-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-1);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.intro-overlay canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.intro-text {
  position: relative; z-index: 2; text-align: center;
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.intro-text__small {
  font-family: var(--mono);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}
.intro-text__wordmark {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(56px, 8vw, 124px);
  letter-spacing: 0.18em;
  color: #fff;
  line-height: 1;
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--card-line);
  transition: background 320ms var(--easing), border-color 320ms var(--easing);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  box-shadow: 0 12px 36px -28px rgba(10,31,68,0.25);
}
.site-header__inner {
  max-width: 1320px; margin: 0 auto; padding: 14px 40px;
  display: flex; align-items: center; gap: 56px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500;
  position: relative;
  margin-right: 18px;
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-mark { transition: transform 320ms var(--bounce); }
.primary-nav { flex: 1; }
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}
.header-actions { margin-left: 24px; gap: 12px; }
.primary-nav a, .primary-nav .nav-trigger {
  font-size: 13px; letter-spacing: 0.04em; color: var(--headline);
  font-weight: 450; padding: 10px 0;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 220ms var(--easing);
  position: relative;
}
.primary-nav a::after, .primary-nav .nav-trigger::after {
  content: ""; position: absolute; left: 0; bottom: 4px;
  height: 1px; width: 0;
  background: var(--accent-base);
  transition: width 320ms var(--easing);
}
.primary-nav a:hover, .primary-nav .nav-trigger:hover { color: var(--accent-base); }
.primary-nav a:hover::after, .primary-nav .nav-trigger:hover::after { width: 100%; }
.primary-nav a.is-active { color: var(--accent-base); }
.primary-nav a.is-active::after { width: 100%; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -16px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: 10px;
  width: 340px;
  box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 220ms var(--easing), transform 220ms var(--easing);
  margin-top: 0;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.dropdown:hover {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 200ms var(--easing);
}
.dropdown a:hover { background: var(--canvas-soft); }
.dropdown a::after { content: none; }
.dropdown a .ic {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-base);
  flex-shrink: 0;
}
.dropdown a .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dropdown a b { font-size: 14px; font-weight: 600; color: var(--headline); letter-spacing: 0; }
.dropdown a span { font-size: 12px; color: var(--mute); font-weight: 400; letter-spacing: 0; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-actions .btn-line,
.header-actions .btn-fill { white-space: nowrap; }
.header-actions .btn-line {
  padding: 9px 18px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.18em; font-weight: 500;
  text-transform: uppercase;
  border: 1px solid var(--card-line); color: var(--headline);
  transition: background 200ms var(--easing);
}
.header-actions .btn-line:hover { background: var(--canvas-soft); }
.header-actions .btn-fill {
  padding: 9px 18px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.18em; font-weight: 500;
  text-transform: uppercase;
  background: var(--accent-strong); color: #fff;
  transition: background 200ms var(--easing), transform 200ms var(--easing);
}
.header-actions .btn-fill:hover {
  background: var(--accent-base);
  transform: translateY(-2px);
}
.hamburger {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px; width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--card-line);
  align-items: center; justify-content: center;
}
.hamburger span { width: 18px; height: 1.6px; background: var(--headline); display: block; border-radius: 1px; }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: color-mix(in srgb, var(--canvas) 96%, transparent);
  backdrop-filter: blur(18px);
  display: flex; flex-direction: column;
  padding: 96px 32px 32px;
  opacity: 0; pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 320ms var(--easing), transform 320ms var(--easing);
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-overlay nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  font-size: 20px; font-weight: 500;
  color: var(--headline);
  border-bottom: 1px solid var(--card-line);
}
.mobile-overlay nav a .ar { color: var(--mute); }
.mobile-overlay .m-actions { display: flex; gap: 10px; margin-top: 24px; }
.mobile-overlay .m-actions a { flex: 1; justify-content: center; }
.mobile-close {
  position: absolute; top: 22px; right: 22px;
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--card-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--headline);
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container--wide { max-width: 1440px; }
.container--narrow { max-width: 980px; }

.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}
.section--light { background: var(--canvas-soft); }
.section--white { background: var(--card); }
.section--navy { background: var(--navy-1); color: #fff; }
.section--accent {
  background: linear-gradient(180deg, var(--canvas) 0%, var(--accent-soft) 100%);
}

.section__head { text-align: center; max-width: 780px; margin: 0 auto 72px; }
.section__head--left { text-align: left; margin-left: 0; }
.section__head--invert .section__heading { color: #fff; }
.section__head--invert .section__sub { color: rgba(255,255,255,0.7); }
.section__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.32em; color: var(--accent-base);
  padding: 10px 18px;
  border: 1px solid color-mix(in srgb, var(--accent-base) 30%, transparent);
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 28px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section__badge::before {
  content: "";
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-base);
  box-shadow: 0 0 16px var(--accent-base), 0 0 4px var(--accent-base);
  animation: pulseDot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.section__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--accent-base) 35%, transparent) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: ebShimmer 3.6s linear infinite;
  pointer-events: none;
  z-index: -1;
}
.section--navy .section__badge {
  color: #9BB6E0;
  border-color: rgba(155, 182, 224, 0.3);
  background: rgba(155, 182, 224, 0.08);
}
.section--navy .section__badge::before { background: #9BB6E0; box-shadow: 0 0 12px #9BB6E0; }
.section__heading {
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 200;
  letter-spacing: -0.015em;
  line-height: 1.06;
  color: var(--headline);
  margin: 0;
}
.section__heading em { color: var(--accent-base); font-style: normal; font-weight: 300; }
.section__sub {
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  font-weight: 400;
  max-width: 56ch;
}
.section__head--left .section__sub { margin-left: 0; }

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--card-line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
  opacity: 0.85;
}
.diag-lines {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.diag-lines::before,
.diag-lines::after {
  content: ""; position: absolute;
  top: -20%; right: -10%;
  width: 1px; height: 140%;
  background: var(--card-line);
  transform: rotate(18deg);
}
.diag-lines::after { right: -4%; opacity: 0.55; }
.aurora-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--pop-1) 22%, transparent) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--pop-2) 22%, transparent) 0%, transparent 45%);
  filter: blur(60px);
  opacity: 0.85;
}

.row-center {
  display: flex; gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
}

.page-hero {
  position: relative;
  padding: clamp(140px, 18vw, 220px) 0 clamp(60px, 10vw, 100px);
  overflow: hidden;
  background: var(--canvas);
}
.page-hero--accent {
  background: linear-gradient(180deg, var(--canvas) 0%, var(--accent-soft) 65%, var(--canvas) 100%);
}
.page-hero__inner {
  position: relative; z-index: 2;
  max-width: 1080px; margin: 0 auto;
  padding: 0 32px;
}
.page-hero--center .page-hero__inner { text-align: center; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 124px);
  font-weight: 200;
  letter-spacing: -0.018em;
  line-height: 0.96;
  color: var(--headline);
  margin: 0;
}
.page-hero h1 em { font-style: normal; color: var(--accent-base); font-weight: 300; }
.page-hero .strap {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 64ch;
  font-weight: 400;
}
.page-hero--center .strap { margin-left: auto; margin-right: auto; }
.page-hero__crumb {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--accent-base);
  margin-bottom: 32px;
  text-transform: uppercase;
  position: relative;
  padding: 8px 16px 8px 0;
}
.page-hero__crumb::before {
  content: ""; width: 36px; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-base) 30%, var(--pop-2) 70%, transparent 100%);
  background-size: 300% 100%;
  animation: ebPulse 2.4s ease-in-out infinite;
}
.page-hero__crumb::after {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-base);
  box-shadow: 0 0 16px var(--accent-base), 0 0 4px var(--accent-base);
  animation: ebDot 2.4s ease-in-out infinite;
  margin-left: 4px;
}
@keyframes ebPulse {
  0%, 100% { background-position: 0% 50%; opacity: 0.7; }
  50% { background-position: 100% 50%; opacity: 1; }
}
@keyframes ebDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; box-shadow: 0 0 24px var(--accent-base), 0 0 8px var(--accent-base); }
}
.page-hero__actions {
  display: flex; gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.page-hero--center .page-hero__actions { justify-content: center; }
.page-hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
  margin-top: 44px;
  border-top: 1px solid var(--card-line);
  padding-top: 28px;
}
.page-hero__meta > div { display: flex; flex-direction: column; gap: 6px; }
.page-hero__meta b {
  font-size: 22px;
  font-weight: 300;
  color: var(--headline);
  letter-spacing: -0.005em;
}
.page-hero__meta span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--mute);
  text-transform: uppercase;
}

.cta-section {
  position: relative;
  padding: clamp(120px, 16vw, 180px) 0;
  background: var(--navy-1);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-section .aurora-bg { opacity: 0.4; }
.cta-section__inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; padding: 0 32px; }
.cta-section__title {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: -0.018em;
  max-width: 16ch;
  margin: 0 auto;
}
.cta-section__sub {
  margin: 28px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 56ch;
  font-weight: 400;
}
.cta-section__actions {
  margin-top: 48px;
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}
.cta-section .btn-primary { background: #fff; color: var(--navy-1); }
.cta-section .btn-primary:hover { background: var(--accent-base); color: #fff; }
.cta-section .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-section .btn-secondary:hover { background: #fff; color: var(--navy-1); border-color: #fff; }

.footer {
  position: relative;
  background: var(--navy-1);
  color: rgba(255,255,255,0.78);
  isolation: isolate;
}
.footer__bounce {
  position: absolute;
  left: 0; right: 0;
  top: -1px;
  height: clamp(80px, 10vw, 160px);
  pointer-events: none;
  z-index: 2;
  transform: translateY(-100%);
}
.footer__bounce svg {
  width: 100%; height: 100%;
  display: block;
}
.footer__bounce svg path {
  fill: var(--navy-1);
  filter: drop-shadow(0 -8px 24px rgba(10,31,68,0.25));
}
.footer__main { padding: clamp(80px, 10vw, 120px) 7vw 56px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer__brand .name {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: 0.18em;
  color: #fff;
  font-weight: 200;
  margin-bottom: 18px;
}
.footer__brand .tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}
.footer__brand .tagline.subtle {
  margin-top: 6px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}
.footer__social {
  display: flex; gap: 12px;
  margin-top: 26px;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  transition: background 200ms var(--easing), color 200ms var(--easing), transform 320ms var(--bounce);
}
.footer__social a:hover {
  background: var(--accent-base);
  color: #fff;
  transform: translateY(-3px);
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
  font-weight: 500;
  text-transform: uppercase;
}
.footer__col ul { list-style: none; display: grid; gap: 12px; }
.footer__col a {
  font-size: 14px;
  font-weight: 400;
  transition: color 200ms var(--easing);
}
.footer__col a:hover { color: #fff; }
.footer__rule {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.footer__legal {
  display: flex; gap: 28px;
  flex-wrap: wrap;
}
.footer__legal a { transition: color 200ms var(--easing); }
.footer__legal a:hover { color: #fff; }

.fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 800;
}
.fab button {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-base);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px -16px var(--accent-base);
}

.hero-orb-container,
.home-orb-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
}
.hero-orb-container canvas,
.home-orb-container canvas {
  position: absolute; top: 0; left: 0;
  width: 100vw !important; height: 100vh !important;
  display: block;
  pointer-events: none;
}
#orb-mini-hitarea,
#orb-mini-hitarea-persist {
  z-index: 10001 !important;
}

@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .header-actions { display: none; }
}
@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-header__inner { padding: 12px 18px; gap: 14px; }
  .header-actions { display: none; }
  .container { padding: 0 22px; }
}
