/* The introduction is optional. All information remains in the original page. */
.intro3d {
  --intro-header: 84px;
  position: relative;
  background: #060f1c;
  color: #ecf7ff;
  isolation: isolate;
}
.intro3d__pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100svh - var(--intro-header));
  padding: 24px clamp(20px, 4vw, 64px) 20px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 32%, #13324d 0%, #0a1b2d 38%, #060f1c 76%);
}
.intro3d.is-animated { height: calc(190svh - var(--intro-header)); }
.intro3d.is-animated .intro3d__pin { position: sticky; top: var(--intro-header); height: calc(100svh - var(--intro-header)); min-height: 0; }
.intro3d__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
  font: 700 11px/1.5 var(--sans, -apple-system, BlinkMacSystemFont, Arial, sans-serif);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9cb5c9;
}
.intro3d__top>span {
  color: #38bdf8;
  white-space: nowrap;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 10px;
  border-radius: 6px;
}
.intro3d__top>p { margin: 0; text-align: center; font: inherit; color: inherit; }
.intro3d__skip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 38px;
  color: #e2f1fb;
  letter-spacing: .2px;
  text-transform: none;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s, color .2s, border-color .2s;
}
.intro3d__skip:hover { color: #ffffff; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.35); }
.intro3d__skip span { font-size: 15px; }

.intro3d__stage {
  position: relative;
  width: min(1150px, 100%);
  flex: 1 1 auto;
  min-height: 215px;
  height: clamp(240px, 39svh, 460px);
  max-height: 510px;
  z-index: 1;
}
.intro3d__canvas { display: block; width: 100%; height: 100%; position: absolute; inset: 0; opacity: 0; touch-action: pan-y; }
.intro3d.has-webgl .intro3d__canvas { opacity: 1; }
.intro3d__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans, -apple-system, BlinkMacSystemFont, Arial, sans-serif);
  font-weight: 900;
  font-size: clamp(110px, 21vw, 285px);
  line-height: 1;
  letter-spacing: -.05em;
  color: #e0f2fe;
  text-shadow:
    1px 1px #3b82f6, 2px 2px #2563eb, 3px 3px #2563eb,
    4px 4px #1d4ed8, 5px 5px #1d4ed8, 6px 6px #1e40af,
    8px 8px #1e3a8a, 14px 20px 36px rgba(0, 0, 0, 0.6);
}
.intro3d.has-webgl .intro3d__fallback { visibility: hidden; }
.intro3d__fallback small { font: inherit; font-size: .78em; margin-left: .07em; }

.intro3d__arrival {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  padding: 24px;
}
.intro3d__arrival p {
  font: 700 clamp(32px, 5vw, 68px)/1.08 var(--sans, -apple-system, BlinkMacSystemFont, Arial, sans-serif);
  letter-spacing: -.045em;
  color: #f8fafc;
  max-width: 800px;
  text-wrap: balance;
  margin: 0;
}
.intro3d__arrival p span { display: block; color: #38bdf8; text-shadow: 0 0 40px rgba(56, 189, 248, 0.4); }
.intro3d__arrival small { font: 500 14px/1.6 var(--sans, -apple-system, BlinkMacSystemFont, Arial, sans-serif); color: #cbd5e1; max-width: 500px; margin-top: 22px; }

.intro3d__copy { position: relative; z-index: 2; text-align: center; max-width: 810px; flex-shrink: 0; transform-origin: center; }
.intro3d__copy h2 {
  font-family: var(--sans, -apple-system, BlinkMacSystemFont, Arial, sans-serif);
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -1.4px;
  font-weight: 700;
  text-wrap: balance;
  margin: 0 0 14px;
  color: #ffffff;
}
.intro3d__copy h2 span { display: block; color: #93c5fd; }
.intro3d__copy>p { max-width: 620px; font: 400 clamp(14px, 1.15vw, 16px)/1.65 var(--sans, -apple-system, BlinkMacSystemFont, Arial, sans-serif); color: #cbd5e1; margin: 0 auto; text-wrap: pretty; }

.intro3d__actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
  flex-shrink: 0;
}
.intro3d__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 28px;
  background: #ffffff;
  color: #0c1d3b;
  border: 1px solid #ffffff;
  border-radius: 100px;
  font: 700 14px/1.4 var(--sans, -apple-system, BlinkMacSystemFont, Arial, sans-serif);
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.intro3d__primary:hover {
  background: #e0f2fe;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.55);
  transform: translateY(-2px);
}
.intro3d__primary span { font-size: 18px; line-height: 1; }
.intro3d__secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e2e8f0;
  font: 600 13px/1.5 var(--sans, -apple-system, BlinkMacSystemFont, Arial, sans-serif);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: color .2s, border-color .2s;
}
.intro3d__secondary:hover { color: #ffffff; border-color: #ffffff; }

.intro3d__footer {
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font: 500 11px/1.5 var(--sans, -apple-system, BlinkMacSystemFont, Arial, sans-serif);
  color: #94a3b8;
  margin-top: auto;
  padding-top: 10px;
  flex-shrink: 0;
}
.intro3d__hint { display: inline-flex; align-items: center; gap: 10px; }
.intro3d__mouse {
  width: 14px;
  height: 22px;
  border: 1.5px solid #94a3b8;
  border-radius: 8px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.intro3d__mouse:after {
  content: '';
  position: absolute;
  top: 4px;
  left: 5px;
  width: 2px;
  height: 5px;
  background: #38bdf8;
  border-radius: 2px;
  animation: mouse-wheel 1.6s infinite;
}
@keyframes mouse-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}

.intro3d__progress {
  display: none;
  height: 3px;
  width: min(180px, 20vw);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
}
.intro3d.is-animated .intro3d__progress { display: block; }
.intro3d__progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #38bdf8, #60a5fa);
  transform: scaleX(0);
  transform-origin: left center;
}
.intro3d__meta { font-size: 10px; letter-spacing: 1px; white-space: nowrap; font-weight: 700; color: #64748b; }

.intro3d__ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .7; }
.intro3d__ambient:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 32%;
  width: min(80vw, 1100px);
  height: min(80vw, 1100px);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%) scaleY(.38);
}
.intro3d__ambient:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 32%;
  width: min(96vw, 1340px);
  height: min(96vw, 1340px);
  border: 1px solid rgba(56, 189, 248, 0.06);
  border-radius: 50%;
  transform: translate(-50%, -50%) scaleY(.38);
}

.intro3d :focus-visible { outline: 3px solid #38bdf8; outline-offset: 5px; }
#intro3d-content { scroll-margin-top: 110px; }
#intro3d-content:focus { outline: none; }

@media (min-width: 1600px) {
  .intro3d__stage { min-height: 300px; }
  .intro3d__copy h2 { font-size: 48px; }
}

@media (max-width: 700px) {
  .intro3d { --intro-header: 75px; }
  .intro3d__pin { padding: 14px 20px 18px; }
  .intro3d__top { gap: 10px; font-size: 9px; letter-spacing: 1.2px; }
  .intro3d__top>p { display: none; }
  .intro3d__skip { font-size: 11px; min-height: 38px; padding: 4px 12px; }
  .intro3d__stage { width: calc(100% + 16px); min-height: 175px; height: 31svh; max-height: 360px; }
  .intro3d__copy h2 { font-size: clamp(24px, 6.8vw, 34px); letter-spacing: -.85px; margin-bottom: 12px; }
  .intro3d__copy>p { font-size: 13px; line-height: 1.65; max-width: 390px; }
  .intro3d__actions { margin: 18px 0; gap: 12px 18px; }
  .intro3d__primary { font-size: 13px; padding: 12px 22px; min-height: 48px; }
  .intro3d__secondary { font-size: 12px; }
  .intro3d__footer { font-size: 10px; gap: 12px; }
  .intro3d__meta { font-size: 8px; letter-spacing: .4px; }
  .intro3d__progress { display: none !important; }
  .intro3d__arrival { padding: 12px; }
  .intro3d__arrival p { font-size: clamp(28px, 8.5vw, 46px); }
  .intro3d__arrival small { font-size: 12px; margin-top: 16px; max-width: 300px; }
}

@media (max-width: 370px) {
  .intro3d__pin { padding-inline: 16px; }
  .intro3d__actions { gap: 6px 16px; }
  .intro3d__copy>p { font-size: 12px; }
  .intro3d__meta { display: none; }
}

@media (max-height: 700px) and (min-width: 701px) {
  .intro3d__pin { padding-top: 12px; padding-bottom: 12px; }
  .intro3d__stage { min-height: 150px; height: 28svh; }
  .intro3d__copy h2 { font-size: 28px; margin-bottom: 8px; }
  .intro3d__copy>p { font-size: 12px; }
  .intro3d__actions { margin: 14px 0 8px; }
  .intro3d__primary { min-height: 44px; padding-block: 10px; }
  .intro3d__footer { padding-top: 4px; }
}

@media (max-height: 560px) {
  .intro3d.is-animated { height: auto; }
  .intro3d.is-animated .intro3d__pin { position: relative; height: auto; top: auto; }
  .intro3d__pin { min-height: 0; }
  .intro3d__stage { height: 210px; flex: none; }
  .intro3d__footer { margin-top: 8px; }
}

@media(prefers-reduced-motion:reduce) {
  .intro3d.is-animated { height: auto; }
  .intro3d.is-animated .intro3d__pin { position: relative; top: auto; height: auto; min-height: calc(100svh - var(--intro-header)); }
  .intro3d__primary { transition: none; }
  .intro3d__hint, .intro3d__progress { visibility: hidden; }
  .intro3d__mouse:after { animation: none; }
}

@media (forced-colors: active) {
  .intro3d__pin { background: Canvas; color: CanvasText; }
  .intro3d__canvas { display: none; }
  .intro3d.has-webgl .intro3d__fallback { visibility: visible; color: CanvasText; text-shadow: none; }
  .intro3d__copy h2, .intro3d__copy h2 span, .intro3d__copy>p { color: CanvasText; }
}

@media print { .intro3d { display: none !important; } }
body.intro3d-in-view .mobile-cta { visibility: hidden; pointer-events: none; }
