/* WorldNexora: navy, light and thoughtful motion. Shared across every page. */
:root {
  --navy: #0a2757;
  --midnight: #061a3c;
  --bg: #f6f8fc;
  --body: #4a5870;
  --muted: #64728a;
  --line: rgba(10, 39, 87, .14);
  --line-soft: rgba(10, 39, 87, .08);
  --max: 1240px;
  --radius: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
html { scroll-padding-top: 110px; }
body { overflow-x: clip; }
::selection { color: #fff; background: #28559b; }
.container { padding-inline: 40px; }
.site-nav {
  background: rgba(7, 28, 64, .88);
  border-bottom-color: rgba(188, 215, 255, .13);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.nav-inner { height: 80px; padding-inline: 40px; }
.brand, .nav-links a { color: #edf4ff; }
.brand { font-size: 1.12rem; letter-spacing: -.035em; }
.brand img { border-radius: 9px; }
.nav-links { gap: 12px; }
.nav-links a { color: #c3cfe2; font-size: .9rem; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: white; background: rgba(150, 192, 255, .09); }
.nav-links .nav-cta { border: 1px solid rgba(173, 207, 255, .4); background: linear-gradient(135deg, #204c86, #102e61); box-shadow: inset 0 1px 1px #ffffff20, 0 5px 20px #020e2826; }
.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after { background: #e9f2ff; }
main { padding-top: 80px; }
.hero {
  background: radial-gradient(ellipse at 80% 25%, #234a7b70, transparent 65%), linear-gradient(140deg, var(--navy), var(--midnight));
  color: #c2cfe3; padding: 106px 0 100px;
}
.hero .h-display { color: #f7faff; font-weight: 500; font-size: clamp(2.7rem, 5.8vw, 5rem); line-height: 1.06; letter-spacing: -.05em; }
.hero .lede { color: #bbcbe1; font-size: clamp(1.0625rem, 1.4vw, 1.18rem); line-height: 1.75; max-width: 58ch; }
.hero .eyebrow { color: #a1bade; }
.hero-home { text-align: center; padding: 104px 0 0; isolation: isolate; }
.hero-home .hero-grid { display: block; position: relative; z-index: 1; }
.hero-copy { max-width: 950px; margin-inline: auto; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 30px; color: #c0d0e9; font-size: .875rem; letter-spacing: .035em; }
.hero-kicker > span { width: 6px; height: 6px; border-radius: 50%; background: #96c5ff; box-shadow: 0 0 14px #96c5ff99; }
.hero-home .h-display { font-size: clamp(3rem, 6.25vw, 5.6rem); max-width: 18ch; margin-inline: auto; }
.hero-home .h-display em { display: block; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.065em; color: #b9d5ff; }
.hero-home .lede { margin: 30px auto 0; max-width: 61ch; }
.hero-home .btn-row { justify-content: center; margin-top: 32px; }
.hero-atmosphere { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.hero-atmosphere::before { content: ''; position: absolute; width: 100%; height: 90%; left: 0; bottom: -70%; border-radius: 50%; background: #578cdc; filter: blur(85px); opacity: .35; }
.hero-atmosphere::after { content: ''; position: absolute; left: -10%; right: -10%; height: 260px; bottom: -205px; border-radius: 50%; border: 1px solid #a3caff50; box-shadow: 0 -8px 60px #91bbff18; }
.hero-signoff { margin-top: 88px; border-top: 1px solid #b7d2fc26; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 25px; color: #a4b9d6; font-size: .875rem; text-align: left; }
.scroll-cue { display: inline-flex; align-items: center; gap: 16px; color: #cadcf4; text-decoration: none; }
.scroll-cue span { transition: transform .3s var(--ease); }
.scroll-cue:hover span { transform: translateY(4px); }
.section { padding-block: 100px; }
.eyebrow { font-size: .875rem; letter-spacing: .12em; font-weight: 600; }
.h-1 { font-size: clamp(2.35rem, 4.8vw, 4rem); font-weight: 500; letter-spacing: -.045em; }
.h-2 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); font-weight: 500; letter-spacing: -.04em; max-width: 26ch; }
.h-3 { font-weight: 600; letter-spacing: -.025em; }
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  min-height: 52px; padding: 13px 22px; border-width: 1px; border-radius: 12px; font-size: .9375rem; font-weight: 500;
  transition: transform .22s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn-primary, .panel-navy .btn-primary {
  color: #fff; border-color: #4474b4;
  background: radial-gradient(ellipse at 15% 0%, #5989bd60, transparent 75%), linear-gradient(145deg, #23558f, #0a2757 90%);
  box-shadow: inset 0 1px 1px #e9f5ff60, inset 0 -2px 3px #04163050, 0 5px 16px #0a275725;
}
.btn-primary::before { content: ''; position: absolute; z-index: -1; inset: -60% -100%; background: linear-gradient(115deg, transparent 42%, #d6e8ff36 49%, transparent 56%); transform: translateX(-55%); pointer-events: none; }
.btn-primary:hover, .panel-navy .btn-primary:hover { background: linear-gradient(145deg, #2d639f, #12396c); border-color: #7eace9; box-shadow: inset 0 1px 2px #ffffff70, 0 5px 24px #467dbc50, 0 0 0 3px #9dc5fa16; transform: translateY(-2px); }
.btn-primary:hover::before, .btn-primary:focus-visible::before { animation: button-sheen .85s var(--ease) both; }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-secondary { border-color: #0a275730; background: #ffffff75; }
.btn-secondary:hover { border-color: #0a275760; background: #fff; transform: translateY(-2px); box-shadow: 0 5px 20px #0a27570a; }
.hero .btn-primary { background: radial-gradient(ellipse at 20% 0%, #a9d5ff60, transparent 65%), linear-gradient(130deg, #326ab2, #1b4280); border-color: #7ba6dc80; box-shadow: inset 0 1px 2px #d7e9ff70, 0 8px 34px #397dd540; }
.hero .btn-secondary, .panel-navy .btn-secondary { color: #e7effc; background: #c6ddff08; border-color: #b3cefa38; }
.hero .btn-secondary:hover, .panel-navy .btn-secondary:hover { background: #c6ddff13; border-color: #b3cefa80; }
.btn[aria-disabled="true"], .btn:disabled, .panel-navy .btn[data-wn-visit][aria-disabled="true"], .panel-navy .btn[data-wn-visit][aria-disabled="true"]:hover { color: #b6c5dc; background: #d0dfff09; border-color: #a3bfe02b; box-shadow: none; transform: none; cursor: not-allowed; }
.btn[aria-disabled="true"]::before, .btn:disabled::before { display: none; }
.btn:focus-visible, .nav-links a:focus-visible, .hero a:focus-visible { outline: 3px solid #82b8ff; outline-offset: 4px; }
@keyframes button-sheen { to { transform: translateX(55%); } }
/* Motion is decorative: content and navigation work without it. */
.site-nav { transition: background .3s, box-shadow .3s; }
.site-nav.is-scrolled { background: rgba(6, 25, 58, .96); box-shadow: 0 8px 30px #020d2620; }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #5278b0, #b9dcff); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hero-home .hero-kicker { animation: hero-enter .9s var(--ease) both; }
.hero-home .h-display { animation: hero-enter 1.15s var(--ease) .1s both; }
.hero-home .lede { animation: hero-enter 1.15s var(--ease) .22s both; }
.hero-home .btn-row { animation: hero-enter 1.15s var(--ease) .34s both; }
.hero-signoff { animation: hero-enter 1s var(--ease) .46s both; }
.hero-home .hero-atmosphere { transform: translateY(var(--hero-drift, 0px)); will-change: transform; }
.hero-home .hero-atmosphere::before { animation: atmosphere-drift 12s ease-in-out infinite alternate; }
.hero-home .hero-atmosphere::after { animation: horizon-breathe 8s ease-in-out infinite alternate; }
.hero-home.motion-paused .hero-atmosphere::before, .hero-home.motion-paused .hero-atmosphere::after { animation-play-state: paused; }
.motion-item.is-ready { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s, box-shadow .3s; }
.motion-item.is-ready.in { opacity: 1; transform: none; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes atmosphere-drift { from { transform: translateX(-12%) scale(.85); opacity: .25; } to { transform: translateX(12%) scale(1.12); opacity: .45; } }
@keyframes horizon-breathe { from { opacity: .35; transform: scale(.97); } to { opacity: .8; transform: scale(1.03); } }
.section[aria-labelledby="intro-heading"] > .container { display: grid; grid-template-columns: .9fr 1.1fr; column-gap: 90px; align-items: start; }
.section[aria-labelledby="intro-heading"] .eyebrow { grid-column: 1 / -1; }
.section[aria-labelledby="intro-heading"] .h-2 { grid-row: span 2; font-size: clamp(2rem, 3.4vw, 2.8rem); max-width: 17ch; }
.section[aria-labelledby="intro-heading"] .measure { font-size: 1.1rem; }
.section[aria-labelledby="intro-heading"] a { font-size: .95rem; font-weight: 600; }
.card-grid { gap: 22px; margin-top: 42px; }
.card, .team-card {
  position: relative; isolation: isolate; border: 1px solid #0a275712;
  background: linear-gradient(155deg, #fff, #f2f6fc); border-radius: 22px;
  box-shadow: inset 0 1px 0 white, 0 5px 24px #0a275704;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card { padding: 34px 28px 38px; overflow: hidden; min-width: 0; }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(360px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), #b4d4ff60, transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card-icon { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(140deg, #fff, #e4edfc); border: 1px solid #0a275719; box-shadow: inset 0 1px 1px white, 0 3px 8px #0a275705; margin-bottom: 36px; }
.card p { line-height: 1.75; font-size: 1rem; }
.card .h-3 { max-width: 18ch; }
.team-card-body { padding: 26px 22px; }
.team-card h3 { font-size: 1.3rem; overflow-wrap: anywhere; }
.team-photo-placeholder { background: radial-gradient(ellipse at 50% 85%, #335e93, #0a2757 80%); min-height: 190px; color: #fff; }
.team-photo-placeholder span { background: #ffffff0a; color: #d7e7ff; border: 1px solid #ffffff30; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.team-photo-placeholder small { color: #c0cde0; font-size: .875rem; }
.team-bio { font-size: 1rem; }
.team-role { font-size: .9375rem; }
.panel { border-radius: 28px; background: linear-gradient(150deg, white, #edf3fc); padding: clamp(28px, 5.4vw, 64px); border-color: #0a275719; box-shadow: inset 0 1px 0 white, 0 12px 40px #0a275706; }
.panel-navy { background: radial-gradient(ellipse at 90% 0%, #2e528575, transparent 65%), linear-gradient(130deg, #0a2757, #071c40); border: 1px solid #42659475; box-shadow: inset 0 1px 0 #d8e8ff25, 0 16px 45px #0a27571f; }
.panel-navy .h-1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(3rem, 5.5vw, 4.8rem); letter-spacing: -.065em; }
.panel-navy p { color: #c7d4e8; font-size: 1rem; line-height: 1.8; }
.panel-navy .note { font-size: .9rem; color: #a6bad7; }
.panel-navy .badge { background: #d7e8ff0a; border-color: #c2dcff26; color: #ceddf3; font-size: .875rem; font-weight: 500; }
.badge .dot { box-shadow: 0 0 12px #7fb2ff70; }
.section[aria-labelledby="vision-heading"] { background: #edf2fa; position: relative; }
.section[aria-labelledby="vision-heading"] .container { display: grid; grid-template-columns: 1fr 1fr; column-gap: 90px; }
.section[aria-labelledby="vision-heading"] .eyebrow { grid-column: 1 / -1; }
.section[aria-labelledby="vision-heading"] .h-1 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.05em; }
.section[aria-labelledby="vision-heading"] .measure { align-self: center; }
.section[aria-labelledby="cta-heading"] .panel { padding-block: 80px; background: radial-gradient(ellipse at 50% 110%, #cfdef880, transparent 70%), #fff; }
.section[aria-labelledby="cta-heading"] .h-2 { margin-inline: auto; max-width: 25ch; }
.value-list { gap: 0 48px; }
.value-list > div { padding-block: 32px; }
.value-list h3 { font-size: 1.125rem; }
.value-list p { font-size: 1rem; }
.field input, .field select, .field textarea { border-width: 1px; background: #ffffffc0; border-color: #0a27572b; border-radius: 10px; min-height: 48px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { background: white; border-color: #527bb5; box-shadow: 0 0 0 4px #6b9ddb20; }
.consent input { min-height: 20px; }
.site-footer { margin-top: 0; background: radial-gradient(ellipse at 0% 0%, #123c7070, transparent 70%), #071c40; }
.footer-inner { padding: 70px 40px 32px; }
.site-footer h3 { font-size: .875rem; letter-spacing: .08em; }
.footer-bottom { justify-content: space-between; text-align: left; font-size: .875rem; color: #9ab0cf; }
.site-footer a { transition: color .2s; }
.site-footer .social-links a { border: 1px solid #ffffff19; background: #ffffff06; border-radius: 12px; }
.site-footer .social-links a:hover { background: #ffffff14; }
.reveal { opacity: 1; transform: none; }
.reveal.is-ready { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-ready.in { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .card:hover, .team-card:hover, .card.motion-item.is-ready.in:hover, .team-card.motion-item.is-ready.in:hover { transform: translateY(-5px); border-color: #5f8abc60; box-shadow: 0 16px 36px #0a275710, 0 0 0 1px #9bc0f016; }
  .card:hover::before { opacity: 1; }
}
@media (max-width: 860px) {
  .nav-links { top: 80px; background: #091f45; border-color: #9abdea30; padding: 16px 24px 24px; }
  .nav-links a { display: block; }
  .container, .nav-inner { padding-inline: 24px; }
  .hero-home { padding-top: 78px; }
  .hero-signoff { margin-top: 65px; }
  .hero-signoff > span { max-width: 25ch; }
  .section { padding-block: 72px; }
  .section[aria-labelledby="intro-heading"] > .container, .section[aria-labelledby="vision-heading"] .container { grid-template-columns: 1fr; }
  .section[aria-labelledby="intro-heading"] .h-2 { max-width: 23ch; grid-row: auto; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-split { gap: 44px; }
  .footer-inner { padding-inline: 24px; }
  .section[aria-labelledby="cta-heading"] .panel { padding-block: 48px; }
}
@media (max-width: 560px) {
  .hero-home .h-display { font-size: clamp(2.7rem, 10.8vw, 3.8rem); }
  .hero-home .lede { font-size: 1rem; }
  .hero-home .btn-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-signoff { justify-content: center; text-align: center; }
  .hero-signoff > span { display: none; }
  .hero-kicker { margin-bottom: 25px; }
  .hero { padding-top: 70px; }
  .hero .h-display { overflow-wrap: anywhere; }
  .card-grid { grid-template-columns: 1fr !important; }
  .value-list { grid-template-columns: 1fr; }
  .panel { padding-inline: 24px; border-radius: 22px; }
  .panel .btn-row { gap: 12px; }
  .panel .btn { width: 100%; }
  .card { padding: 28px; }
  .card-icon { margin-bottom: 24px; }
  .section[aria-labelledby="vision-heading"] .measure { font-size: 1.0625rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-ready { opacity: 1; transform: none; }
  .motion-item.is-ready { opacity: 1; transform: none; }
  .hero-home .hero-atmosphere { transform: none; will-change: auto; }
}

/* The walker stays centred; one continuous track moves the city, road and signs. */
.nearloom-city-scene {
  --city-height: 340px;
  --city-tile: 571.2px;
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; height: var(--city-height); border-radius: 22px;
  background: #f6f4f1; border: 1px solid #f6f4f166;
  box-shadow: 0 20px 45px #020d2a45, inset 0 1px 0 #ffffff70;
}
.nearloom-city-track {
  position: absolute; inset: auto auto 0 0; display: flex;
  width: calc(var(--city-tile) * 4); height: 112%;
  animation: city-travel 26s linear infinite;
  animation-play-state: paused;
}
.nearloom-city-scene.motion-active .nearloom-city-track { animation-play-state: running; }
.city-tile { flex: 0 0 var(--city-tile); width: var(--city-tile); max-width: none; height: 100%; }
.city-character {
  position: absolute; z-index: 2; width: 52px; height: 44px;
  bottom: 19%; left: 50%; transform: translateX(-50%);
  filter: drop-shadow(1px 0 0 white) drop-shadow(-1px 0 0 white) drop-shadow(0 1px 0 white) drop-shadow(0 -1px 0 white) drop-shadow(0 3px 2px #2e0e1540);
}
.city-character img, .city-character canvas { width: 100%; height: 100%; object-fit: contain; }
.city-character-still { display: none; }
.nearloom-city-scene.motion-paused .city-character.has-still img { display: none; }
.nearloom-city-scene.motion-paused .city-character.has-still canvas { display: block; }
@keyframes city-travel { to { transform: translateX(-50%); } }
@media (max-width: 560px) {
  .nearloom-city-scene { --city-height: 290px; --city-tile: 487.2px; border-radius: 16px; }
  .city-character { width: 46px; height: 39px; }
  }
@media (prefers-reduced-motion: reduce) {
  .nearloom-city-track { animation: none; transform: translateX(-12%); }
  .city-character.has-still img { display: none; }
  .city-character.has-still canvas { display: block; }
}
