/* ============================================================
   SHELL — preloader, topbar, header, mobile menu, footer.
   Copied verbatim from refrence/css/style.css so these parts
   match the reference build exactly.
   ============================================================ */

:root {
  --topbar-h: 37px;
  --nav-h: 83px;
  --strip-bg: #f7f8fa;
  --radius-btn: 11px;
}

/* ============================================================
   TOP AVAILABILITY BAR
   ============================================================ */
.topbar {
  height: var(--topbar-h);
  background: var(--black);
  color: #e8eaf0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  position: relative;
  z-index: 60;
}

.topbar__text {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
  white-space: nowrap;
}

.topbar__text strong {
  color: var(--cyan);
  font-weight: 700;
}

.topbar__deco {
  color: var(--cyan);
  font-size: 12px;
  opacity: 0.9;
  animation: decoPulse 3.2s ease-in-out infinite;
  display: inline-block;
}

.topbar__deco--right {
  animation-delay: -1.6s;
}

@keyframes decoPulse {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: rotate(90deg) scale(1.12);
    opacity: 1;
  }
}

/* ============================================================
   NAVBAR — inside the centered 1305px container
   ============================================================ */
.navbar-wrap {
  position: relative;
  z-index: 50;
  margin-top: 20px;
}

.navbar {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--nav-h);
  background: #fff;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px 0 74px;
  position: relative;
}

/* corner squares aligning navbar with the grid */
.navbar::before,
.navbar::after,
.navbar-wrap::before,
.navbar-wrap::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--ink);
  z-index: 51;
}

.navbar::before {
  top: -4px;
  left: -4px;
}

.navbar::after {
  top: -4px;
  right: -4px;
}

.navbar-wrap::before {
  bottom: -4px;
  left: calc(max((100% - var(--container)) / 2, 0px));
}

.navbar-wrap::after {
  bottom: -4px;
  right: calc(max((100% - var(--container)) / 2, 0px));
}

@media (max-width: 1345px) {
  .navbar-wrap::before {
    left: -4px;
  }

  .navbar-wrap::after {
    right: -4px;
  }
}

.navbar__logo img {
  width: 130px;
  height: auto;
}

.navbar__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 52px;
}

.navbar__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.navbar__links a:hover {
  color: var(--cyan);
}

.navbar__links a:hover::after,
.navbar__links a.is-active::after {
  transform: scaleX(1);
}


.btn--nav {
  min-width: 140px;
  height: 45px;
  padding: 0 24px;
  font-size: 14px;
  border-radius: var(--radius-btn);
}


/* ============================================================
   HAMBURGER (hidden on desktop)
   ============================================================ */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 120;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  margin: 6px auto;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    opacity 0.3s ease, background 0.3s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: #fff;
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: #fff;
}

/* ============================================================
   MOBILE MENU OVERLAY — dark creative panel
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(41, 171, 226, 0.16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(41, 171, 226, 0.10), transparent 40%),
    #0b0b12;
  color: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 4vw, 34px) clamp(24px, 7vw, 56px) clamp(28px, 6vh, 48px);
  clip-path: circle(0px at calc(100% - 46px) 73px);
  visibility: hidden;
  transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s linear 0.7s;
}

.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 46px) 73px);
  visibility: visible;
  transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.9s ease 0.25s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.mobile-menu.is-open .mobile-menu__grid {
  opacity: 1;
  transform: scale(1);
}

.mobile-menu__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -60px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  animation: menuGlowFloat 7s ease-in-out infinite alternate;
}

@keyframes menuGlowFloat {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-50px, 60px) scale(1.25);
  }
}

/* --- header inside overlay : logo + close button --- */
.mobile-menu__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__logo,
.mobile-menu__close {
  opacity: 0;
  transform: translateY(-18px);
}

.mobile-menu.is-open .mobile-menu__logo,
.mobile-menu.is-open .mobile-menu__close {
  animation: menuDropIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d);
}

@keyframes menuDropIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu__logo img {
  height: 42px;
  width: auto;
}

.mobile-menu__logo {
  filter: brightness(0) invert(1);
  transition: opacity 0.25s ease;
}

.mobile-menu__logo:hover {
  opacity: 0.75;
}

.mobile-menu__close {
  width: 46px;
  height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.mobile-menu__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease;
}

.mobile-menu__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__close:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: rotate(90deg);
}

/* --- links --- */
.mobile-menu__links {
  list-style: none;
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: auto;
}

.mobile-menu__links li {
  opacity: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  overflow: hidden;
}

.mobile-menu__links em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.mobile-menu__links a {
  position: relative;
  display: inline-block;
  font-size: clamp(30px, 8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 0;
  line-height: 1.15;
  transform: translateY(110%);
  transition: color 0.3s ease;
}

.mobile-menu__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu__links a:hover {
  color: var(--cyan);
}

.mobile-menu__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu.is-open .mobile-menu__links li {
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu__links a {
  animation: menuSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d);
}

@keyframes menuSlideUp {
  to {
    transform: translateY(0);
  }
}

/* --- footer CTA --- */
.mobile-menu__footer {
  position: relative;
  z-index: 2;
}

.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  min-width: 220px;
  height: 52px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.mobile-menu__cta i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.mobile-menu__cta:hover i {
  transform: translateX(4px);
}

.mobile-menu.is-open .mobile-menu__cta {
  animation: menuPopIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: var(--d);
}

@keyframes menuPopIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.menu-locked {
  overflow: hidden;
}


/* ---------- preloader ---------- */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  color: #fff;
  pointer-events: none;
}

html.is-loading .preloader,
.preloader.is-done {
  display: block;
}

.preloader.is-gone {
  display: none !important;
}

.preloader__panel {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #0a0a0f;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1) 0.3s;
}

.preloader__panel--top {
  top: 0;
}

.preloader__panel--bottom {
  bottom: 0;
}

.preloader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
  animation: preGrid 1.2s ease both;
  transition: opacity 0.4s ease;
}

@keyframes preGrid {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* cyan split line that flashes across before the curtain opens */
.preloader__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, transparent, var(--cyan) 20%, #fff 50%, var(--cyan) 80%, transparent);
  box-shadow: 0 0 24px var(--cyan);
  transform: scaleX(0);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease 0.9s;
}

.preloader__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader__logo {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  animation: preLogo 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes preLogo {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-30deg);
  }
}

.preloader__logo img {
  width: 64%;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(41, 171, 226, 0.45));
}

.preloader__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
  stroke-width: 2;
}

.preloader__ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}

.preloader__ring-fill {
  --p: 0;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-dasharray: 352;
  stroke-dashoffset: calc(352 - 352 * var(--p));
  filter: drop-shadow(0 0 6px rgba(41, 171, 226, 0.8));
}

.preloader__brand {
  margin-top: 30px;
  display: flex;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.32em;
  white-space: nowrap;
}

.preloader__brand span {
  display: inline-block;
  animation: preChar 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.25s + var(--i, 0) * 45ms);
}

@keyframes preChar {
  from {
    opacity: 0;
    transform: translateY(70%);
    filter: blur(6px);
  }
}

.preloader__tag {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7b8191;
  animation: preChar 0.8s ease 0.9s both;
}

.preloader__count,
.preloader__loc {
  position: absolute;
  bottom: clamp(24px, 4vh, 44px);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.35s ease;
}

.preloader__count {
  right: clamp(24px, 4vw, 56px);
  font-size: clamp(54px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.8;
}

.preloader__count small {
  font-size: 0.35em;
  color: var(--cyan);
  margin-left: 4px;
}

.preloader__loc {
  left: clamp(24px, 4vw, 56px);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7b8191;
}

/* exit sequence */
.preloader.is-done .preloader__center {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}

.preloader.is-done .preloader__count,
.preloader.is-done .preloader__loc,
.preloader.is-done .preloader__grid {
  opacity: 0;
}

.preloader.is-done .preloader__line {
  transform: scaleX(1);
  opacity: 0;
}

.preloader.is-done .preloader__panel--top {
  transform: translateY(-101%);
}

.preloader.is-done .preloader__panel--bottom {
  transform: translateY(101%);
}


/* ---------- entrance: topbar + header slide in as the curtain opens ---------- */
html.js .topbar,
html.js .navbar-wrap {
  transition-property: opacity, transform, filter;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 1s;
}

html.js:not(.hero-in) .topbar {
  transform: translateY(-100%);
}

html.js:not(.hero-in) .navbar-wrap {
  transform: translateY(-110%);
}

html.js .navbar-wrap { transition-delay: 0.05s; }

@media (max-width: 767px) {
  .preloader__logo {
    width: 104px;
    height: 104px;
  }

  .preloader__brand {
    letter-spacing: 0.22em;
  }

  .topbar {
    gap: 14px;
  }

  .topbar__text {
    font-size: 10px;
    letter-spacing: 0.05em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    display: none !important;
  }
}

/* ============================================================
   NAV RESPONSIVE — collapse links
   ============================================================ */
@media (max-width: 1023px) {

  .navbar__links,
  .navbar__right {
    display: none;
  }

  .navbar {
    max-width: none;
    height: 70px;
    border-left: 0;
    border-right: 0;
    padding: 0 22px;
  }

  .navbar::before,
  .navbar::after,
  .navbar-wrap::before,
  .navbar-wrap::after {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .navbar-wrap {
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* ============================================================
   STICKY HEADER — glass pill on scroll, hide on scroll down,
   scroll progress, sliding active indicator, rolling links
   ============================================================ */
.navbar-wrap {
  position: sticky;
  top: 0;
  /* fixed height so the page never jumps when the bar shrinks */
  height: var(--nav-h);
}

.navbar {
  transition:
    max-width 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.5s ease,
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.5s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar::before,
.navbar::after,
.navbar-wrap::before,
.navbar-wrap::after {
  transition: opacity 0.3s ease;
}

.navbar__logo img {
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* scrolled: floating glass bar — same width and side padding as at the top, so nothing shifts sideways */
.navbar-wrap.is-scrolled .navbar {
  height: 66px;
  margin-top: 10px;
  border: 1px solid rgba(229, 229, 229, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 18px 40px -22px rgba(16, 20, 40, 0.35);
}

.navbar-wrap.is-scrolled .navbar::before,
.navbar-wrap.is-scrolled .navbar::after,
.navbar-wrap.is-scrolled::before,
.navbar-wrap.is-scrolled::after {
  opacity: 0;
}

.navbar-wrap.is-scrolled .navbar__logo img {
  width: 112px;
}

/* hide while scrolling down, back on scroll up */
.navbar-wrap.is-hidden .navbar {
  transform: translateY(calc(-100% - 24px));
  box-shadow: none;
}

/* page scroll progress along the bottom edge */
.navbar__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.4s ease, left 0.5s ease, right 0.5s ease;
  pointer-events: none;
}

.navbar-wrap.is-scrolled .navbar__progress {
  opacity: 1;
  left: 18px;
  right: 18px;
}

/* sliding active indicator (replaces per-link underline) */
.navbar__links a::after {
  content: none;
}

.navbar__indicator {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: var(--ind-w, 0px);
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  transform: translateX(var(--ind-x, 0px));
  opacity: var(--ind-o, 0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), width 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
}

.navbar__links a.is-active {
  color: var(--ink);
}

/* rolling link text (wrapped by JS) */
.navbar__links a:hover {
  color: var(--ink);
}

.navbar__roll {
  display: inline-flex;
  flex-direction: column;
  height: 1.25em;
  line-height: 1.25em;
  overflow: hidden;
  vertical-align: top;
}

.navbar__roll>span {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__roll>span+span {
  color: var(--cyan);
}

.navbar__links a:hover .navbar__roll>span,
.navbar__links a:focus-visible .navbar__roll>span {
  transform: translateY(-100%);
}

/* CTA shine */
.btn--shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: btnShine 6s ease-in-out 4s infinite;
  pointer-events: none;
}

.btn--shine:hover::after {
  animation: btnShineOnce 0.8s ease forwards;
}

@keyframes btnShine {

  0%,
  80% {
    transform: translateX(-130%);
  }

  95%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes btnShineOnce {
  from {
    transform: translateX(-130%);
  }

  to {
    transform: translateX(130%);
  }
}

/* tablet + mobile */
@media (max-width: 1023px) {
  .navbar-wrap {
    height: 70px;
    transition: background 0.4s ease, border-color 0.4s ease;
  }

  .navbar-wrap.is-scrolled {
    background: transparent;
    border-bottom-color: transparent;
  }

  /* full width at the top and when scrolled: only the height and the glass change */
  .navbar-wrap.is-scrolled .navbar {
    height: 58px;
    margin: 0 auto;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
  }

  .navbar-wrap.is-scrolled .navbar__logo img {
    width: 112px;
  }
}


/* ============================================================
   FOOTER — big CTA, rotating circle, live clock, letter reveal
   ============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
  color: #a7adbb;
}

.footer__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.footer__glow {
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 171, 226, 0.22), transparent 65%);
  pointer-events: none;
  animation: footerGlow 10s ease-in-out infinite;
}

@keyframes footerGlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-80px, 40px) scale(1.1);
  }
}

.footer__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 24px 0;
}

/* ---------- big CTA ---------- */
.footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__cta-title {
  font-size: clamp(44px, 7vw, 116px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: #fff;
}

.footer__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.footer__line>span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__line:nth-child(2)>span {
  transition-delay: 0.12s;
}

.footer.is-visible .footer__line>span {
  transform: translateY(0);
}

.footer__cta-text {
  margin-top: 24px;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.65;
  color: #a7adbb;
}

.footer__cta-title em {
  font-style: normal;
  color: var(--cyan);
}

.footer__circle {
  --tx: 0px;
  --ty: 0px;
  position: relative;
  flex-shrink: 0;
  width: clamp(150px, 13vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translate(var(--tx), var(--ty));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__circle-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: circleSpin 14s linear infinite;
}

.footer__circle-text text {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  fill: #c4c8d2;
}

@keyframes circleSpin {
  to {
    transform: rotate(360deg);
  }
}

.footer__circle-core {
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: clamp(22px, 2vw, 30px);
  transform: rotate(-45deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
  box-shadow: 0 0 0 0 rgba(41, 171, 226, 0.45);
  animation: corePulse 2.6s ease-out infinite;
}

@keyframes corePulse {
  70% {
    box-shadow: 0 0 0 22px rgba(41, 171, 226, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(41, 171, 226, 0);
  }
}

.footer__circle:hover .footer__circle-core {
  transform: rotate(0deg) scale(1.08);
  background: #fff;
  color: var(--black);
}

.footer__circle:hover .footer__circle-text {
  animation-duration: 5s;
}

/* ---------- columns ---------- */
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 64px 0 56px;
}

.footer__logo {
  display: inline-flex;
  padding: 12px 18px;
  background: #fff;
  border-radius: 12px;
}

.footer__logo img {
  height: 38px;
  width: auto;
}

.footer__tagline {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.65;
  max-width: 340px;
}

.footer__clock {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

.footer__clock strong {
  color: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.footer__clock small {
  font-size: 11px;
  color: #7b8191;
}

.footer__clock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: clockBlink 2s ease-in-out infinite;
}

@keyframes clockBlink {
  50% {
    opacity: 0.25;
  }
}

.footer__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}

.footer__heading i {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  display: inline-block;
}

.footer__col ul {
  display: grid;
  gap: 12px;
}

.footer__col a {
  font-size: 15px;
  transition: color 0.25s ease;
}

.footer__col a:hover {
  color: #fff;
}

/* links slide right with a cyan dash */
.footer__col ul:not(.footer__contact) a {
  display: inline-flex;
  align-items: center;
}

.footer__col ul:not(.footer__contact) a::before {
  content: "";
  width: 0;
  height: 1.5px;
  margin-right: 0;
  background: var(--cyan);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), margin 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__col ul:not(.footer__contact) a:hover::before {
  width: 14px;
  margin-right: 8px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.footer__contact i {
  color: var(--cyan);
  width: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer__contact a,
.footer__contact span {
  overflow-wrap: anywhere;
}

.footer__socials {
  margin-top: 26px;
  display: flex;
  gap: 10px;
}

.footer__socials a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e8eaf0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__socials a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-4px) rotate(-6deg);
}

/* ---------- giant wordmark, letter reveal ---------- */
.footer__wordmark {
  display: flex;
  justify-content: center;
  font-size: clamp(44px, 11.6vw, 192px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  padding: 20px 0 10px;
  overflow: hidden;
  user-select: none;
}

.footer__wordmark span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03));
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(100%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 45ms), color 0.3s ease;
}

.footer__wordmark.is-in span {
  transform: translateY(0);
}

.footer__wordmark span:hover {
  color: var(--cyan);
  transform: translateY(-6%);
  transition-delay: 0s;
}

/* ---------- bottom bar ---------- */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.footer__legal {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.footer__legal a:hover {
  color: #fff;
}

.footer__top-btn {
  --progress: 0;
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.footer__top-btn svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
  stroke-width: 2;
}

.footer__top-track {
  stroke: rgba(255, 255, 255, 0.12);
}

.footer__top-ring {
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: calc(132 - 132 * var(--progress));
}

.footer__top-btn:hover {
  background: var(--cyan);
  transform: translateY(-4px);
}

.footer__top-btn:hover i {
  animation: arrowUp 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes arrowUp {
  0% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-140%);
    opacity: 0;
  }

  55% {
    transform: translateY(140%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


/* ---------- footer responsive ---------- */
@media (max-width: 1199px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .footer__container {
    padding: 56px 16px 0;
  }

  /* headline on top, then supporting text + circle side by side */
  .footer__cta {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title title"
      "text  circle";
    align-items: center;
    gap: 20px 16px;
    padding-bottom: 44px;
  }

  .footer__cta-main {
    display: contents;
  }

  .footer__cta-title {
    grid-area: title;
    font-size: clamp(38px, 11.5vw, 56px);
  }

  .footer__cta-text {
    grid-area: text;
    margin-top: 0;
    font-size: 14px;
  }

  .footer__circle {
    grid-area: circle;
    width: clamp(92px, 27vw, 116px);
  }

  .footer__circle-text text {
    font-size: 17px;
  }

  .footer__circle-core {
    font-size: 18px;
  }

  /* brand + contact full width, the two link lists side by side */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    padding: 40px 0 40px;
  }

  .footer__brand,
  .footer__top>.footer__col:last-child {
    grid-column: 1 / -1;
  }

  .footer__tagline {
    max-width: none;
  }

  .footer__heading {
    margin-bottom: 16px;
  }

  .footer__col ul {
    gap: 10px;
  }

  .footer__col a,
  .footer__contact li {
    font-size: 14px;
  }

  .footer__wordmark {
    padding: 8px 0 6px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 14px;
    padding: 22px 0 28px;
    text-align: center;
  }

  .footer__legal {
    margin-left: 0;
  }

  .footer__top-btn {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer__line>span,
  .footer__wordmark span {
    transform: none !important;
  }
}

/* inline SVG icons (brand icons) — sized like a Font Awesome glyph */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
}
