/* AztroTech: an editorial stage built around the existing live WebGL globe. */
body[data-page="home"] { --hero-header-height: 82px; }

body[data-page="home"] .site-header {
  margin-bottom: calc(-1 * var(--hero-header-height));
  border-color: transparent;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color .28s ease, border-color .28s ease, backdrop-filter .28s ease;
}
body[data-page="home"] .site-header.is-scrolled,
body[data-page="home"] .site-header:has(.primary-nav.is-open) {
  border-color: #dce5f0;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
body[data-page="home"] .site-header:not(.is-scrolled)::after { opacity: 0; }

body[data-page="home"] .world-chapter {
  background:
    radial-gradient(ellipse 34% 51% at 83% 28%, rgba(238,210,168,.48), transparent 80%),
    radial-gradient(ellipse 57% 72% at 79% 43%, rgba(154,190,230,.28), transparent 78%),
    linear-gradient(118deg, #fff 4%, #fbfcfe 43%, #f0ede6 100%);
}
body[data-page="home"] .world-sticky.hero {
  display: block;
  width: 100%;
  min-height: max(760px, 100svh);
  padding: 0 clamp(28px, 4.6vw, 86px);
  overflow: hidden;
}
body[data-page="home"] .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  width: min(59%, 820px);
  min-height: max(760px, 100svh);
  padding: calc(var(--hero-header-height) + 48px) 0 62px;
}
body[data-page="home"] .world-sticky.hero .eyebrow {
  align-self: flex-start;
  margin-bottom: 20px;
  color: #315887;
  font-size: .68rem;
  letter-spacing: .19em;
}
body[data-page="home"] .world-sticky.hero h1 {
  order: 4;
  max-width: 830px;
  margin: auto 0 0;
  color: #0c1d39;
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.9rem, 5.4vw, 6.3rem);
  font-weight: 700;
  line-height: .97;
  letter-spacing: -.052em;
  text-transform: uppercase;
  text-wrap: balance;
}
body[data-page="home"] .world-sticky.hero h1 em { color: #315f99; }
body[data-page="home"] .hero-lead {
  order: 2;
  max-width: 590px;
  margin-bottom: 0;
  color: #475a73;
  font-size: clamp(.98rem, 1.08vw, 1.1rem);
  line-height: 1.58;
}
body[data-page="home"] .hero-actions { order: 3; margin-top: 24px; }
/* Editorial actions: precise typography, generous contour and a single quiet motion cue. */
body[data-page="home"] :is(.nav-cta,.hero-actions .button,.closing-actions .button) {
  min-height: 58px;
  gap: 22px;
  padding: 7px 8px 7px 25px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
  transition: background-color .28s ease, border-color .28s ease, color .28s ease, box-shadow .28s ease;
}
body[data-page="home"] :is(.nav-cta,.hero-actions .button,.closing-actions .button) > span[aria-hidden] {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  opacity: 1;
  font-size: 1.18rem;
  font-weight: 400;
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
body[data-page="home"] :is(.nav-cta,.hero-actions .button,.closing-actions .button):is(:hover,:focus-visible) > span[aria-hidden] {
  transform: translate(2px,-2px);
}
body[data-page="home"] :is(.hero-actions .button-primary,.closing-actions .button-primary) {
  border-color: #0b1a33;
  background: #0b1a33;
  box-shadow: 0 11px 25px rgba(14,39,75,.13);
}
body[data-page="home"] :is(.hero-actions .button-primary,.closing-actions .button-primary) > span[aria-hidden] {
  background: #f7faff;
  color: #123862;
}
body[data-page="home"] :is(.hero-actions .button-primary,.closing-actions .button-primary):is(:hover,:focus-visible) {
  border-color: #244c7f;
  background: #244c7f;
  box-shadow: 0 14px 28px rgba(14,39,75,.2);
}
body[data-page="home"] .nav-cta {
  min-height: 52px;
  padding: 5px 6px 5px 20px;
  border-color: #163153;
  background: transparent;
  color: #102948;
}
body[data-page="home"] .nav-cta > span[aria-hidden] {
  width: 38px;
  height: 38px;
  background: #102948;
  color: #fff;
}
body[data-page="home"] .nav-cta:is(:hover,:focus-visible) {
  border-color: #102948;
  background: #102948;
  color: #fff;
}
body[data-page="home"] .nav-cta:is(:hover,:focus-visible) > span[aria-hidden] {
  background: #fff;
  color: #102948;
}
body[data-page="home"] .hero-actions .button-text {
  min-height: 58px;
  padding: 7px 0 7px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #163153;
  box-shadow: none;
}
body[data-page="home"] .hero-actions .button-text > span[aria-hidden] {
  width: 42px;
  height: 42px;
  border: 1px solid #a7bedb;
  border-radius: 50%;
  background: rgba(255,255,255,.68);
  color: #214875;
}
body[data-page="home"] .hero-actions .button-text:is(:hover,:focus-visible) {
  border: 0;
  background: transparent;
  color: #315f99;
}
body[data-page="home"] .hero-actions .button-text:is(:hover,:focus-visible) > span[aria-hidden] {
  border-color: #315f99;
  background: #e7f0fb;
}
body[data-page="home"] .closing-actions .button-outline {
  border-color: #b3c7df;
  background: rgba(255,255,255,.82);
}
body[data-page="home"] .closing-actions .button-outline > span[aria-hidden] {
  background: #e8f0fa;
  color: #163153;
}
body[data-page="home"] .site-header .header-whatsapp {
  min-height: 52px;
  padding-inline: 16px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #6689b4;
  background: transparent;
  color: #17385e;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}
body[data-page="home"] .site-header .header-whatsapp:hover {
  border-color: #17385e;
  background: transparent;
  color: #17385e;
}
body[data-page="home"] .hero-foot {
  order: 5;
  flex: none;
  margin-top: 28px;
  padding-top: 16px;
  border-color: #bccce0;
}
body[data-page="home"] .world-visual.hero-art {
  position: absolute;
  z-index: 1;
  top: -4%;
  right: -8%;
  width: 56%;
  height: 100%;
  min-height: 0;
  transform: none;
  pointer-events: none;
}
body[data-page="home"] .hero-signal { display: none; }
body[data-page="home"] .proof-band {
  border-top: 1px solid #dce5ef;
  border-bottom: 1px solid #dce5ef;
  background: #fff;
}

/* Keep the same editorial restraint below the opening stage. */
body[data-page="home"] .experience-field .section { padding-block: clamp(96px, 9vw, 148px); }
body[data-page="home"] .section-head h2,
body[data-page="home"] .experience-field h2 {
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.048em;
}
body[data-page="home"] .level-grid,
body[data-page="home"] .service-grid,
body[data-page="home"] .case-grid,
body[data-page="home"] .value-grid { gap: 12px; }
body[data-page="home"] :is(.level-card,.service-card,.case-card,.value-grid article) {
  border: 1px solid #d3dce9;
  border-radius: 3px;
  background: rgba(255,255,255,.9);
  box-shadow: none;
  transform: none;
  transition: border-color .25s ease, background-color .25s ease;
}
body[data-page="home"] :is(.level-card,.service-card,.case-card,.value-grid article):hover {
  border-color: #86a4c9;
  background: #f8fbff;
  box-shadow: none;
  transform: none;
}
body[data-page="home"] .level-card::before,
body[data-page="home"] .service-card::before,
body[data-page="home"] .system-diagram::before { display: none; }
body[data-page="home"] .system-diagram {
  border: 1px solid #c8d7e8;
  border-radius: 3px;
  background: rgba(250,252,255,.95);
  box-shadow: none;
}
body[data-page="home"] .diagram-areas span,
body[data-page="home"] .diagram-foundation { border-radius: 2px; box-shadow: none; }
body[data-page="home"] .section-dark { background: #0b1d39; }
body[data-page="home"] .agent-grid article { border-radius: 3px; }
body[data-page="home"] .agent-grid article:hover { transform: none; }
body[data-page="home"] .case-card img:hover,
body[data-page="home"] .case-card:hover img { transform: none; }
body[data-page="home"] .founder-photo { border-radius: 3px; box-shadow: none; }
body[data-page="home"] .founder-photo:hover img { transform: none; }
body[data-page="home"] .founder-photo span { box-shadow: none; }

@media (max-width: 1100px) {
  body[data-page="home"] .site-header {
    border-color: #dce5f0;
    background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  body[data-page="home"] .hero-copy { width: 62%; }
  body[data-page="home"] .world-sticky.hero h1 { font-size: clamp(3.5rem, 6vw, 5.3rem); }
  body[data-page="home"] .world-visual.hero-art { width: 52%; }
}
@media (max-width: 820px) {
  body[data-page="home"] { --hero-header-height: 74px; }
  body[data-page="home"] .world-sticky.hero { min-height: 0; padding-inline: 28px; }
  body[data-page="home"] .hero-copy {
    width: min(100%, 690px);
    min-height: 0;
    padding: calc(var(--hero-header-height) + 48px) 0 0;
  }
  body[data-page="home"] .hero-copy > * { order: initial; }
  body[data-page="home"] .world-sticky.hero .eyebrow { margin-bottom: 30px; }
  body[data-page="home"] .world-sticky.hero h1 { order: 0; margin: 0 0 20px; font-size: clamp(3.4rem, 8.1vw, 5.3rem); }
  body[data-page="home"] .world-visual.hero-art {
    position: relative;
    top: auto;
    right: auto;
    order: 0;
    width: min(100%, 670px);
    height: min(82vw, 550px);
    min-height: 360px;
    margin: -8px auto 0;
  }
  body[data-page="home"] .hero-foot { margin-top: 30px; }
  body[data-page="home"] .hero-signal { right: 6%; bottom: 7%; }
}
@media (max-width: 600px) {
  body[data-page="home"] { --hero-header-height: 68px; }
  body[data-page="home"] .header-inner { min-height: var(--hero-header-height); }
  body[data-page="home"] .world-sticky.hero { padding: 0 20px 24px; }
  body[data-page="home"] .hero-copy { padding-top: calc(var(--hero-header-height) + 36px); }
  body[data-page="home"] .world-sticky.hero .eyebrow { margin-bottom: 20px; }
  body[data-page="home"] .world-sticky.hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2.8rem, 10vw, 4.4rem);
    line-height: .98;
  }
  body[data-page="home"] .hero-lead { font-size: .97rem; }
  body[data-page="home"] .hero-actions { margin-top: 22px; }
  body[data-page="home"] .hero-actions .button { width: 100%; }
  body[data-page="home"] .world-visual.hero-art {
    width: 100%;
    height: min(100vw, 440px);
    min-height: 340px;
    margin-top: -2px;
  }
  body[data-page="home"] .experience-field .section { padding-block: 82px; }
}
@media (max-width: 360px) {
  body[data-page="home"] .hero-actions .button-primary {
    gap: 9px;
    padding-left: 17px;
    font-size: .64rem;
    letter-spacing: .01em;
  }
  body[data-page="home"] .hero-actions .button-primary > span[aria-hidden] {
    width: 38px;
    height: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .site-header { transition: none; }
}
