:root {
  --blue: #0c49e8;
  --blue-2: #5b8cff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --bg: #f5f5f7;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mx: 50vw;
  --my: 30vh;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.035;
  background-image: radial-gradient(rgba(0, 0, 0, 0.55) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(12, 73, 232, 0.22); }

.progress {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue-2), #fff);
}

.glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(12, 73, 232, 0.16), transparent 60%);
}

.nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
  padding: 0 28px;
  color: #fff;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.55s var(--ease);
}
.nav.hidden { transform: translateY(-110%); }
.nav.scrolled {
  color: var(--ink);
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 620;
  letter-spacing: -0.02em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.brand:hover img { transform: scale(1.08) rotate(-6deg); }
.navLinks {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.navLinks a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.82;
  transition: opacity 0.3s var(--ease);
}
.navLinks a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.navLinks a:hover { opacity: 1; }
.navLinks a:hover::after { transform: scaleX(1); }
.navCall {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #050506;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), color 0.45s var(--ease);
}
.nav.scrolled .navCall { background: var(--blue); color: #fff; }
.navCall:hover { transform: scale(1.04); }

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f5f5f7;
  background: #050506;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(520px 380px at 28% 42%, rgba(12, 73, 232, 0.55), transparent 70%),
    radial-gradient(420px 320px at 72% 28%, rgba(80, 120, 255, 0.22), transparent 70%);
  animation: drift 16s ease-in-out infinite alternate;
}
.heroInner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 120px auto 48px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
  will-change: transform, opacity;
}
.logoWrap {
  position: relative;
  display: grid;
  place-items: center;
  animation: rise 1s var(--ease) both;
}
.ring {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  animation: spin 26s linear infinite;
}
.ring::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px var(--blue-2);
}
.ring2 {
  inset: -46px;
  border-color: rgba(91, 140, 255, 0.28);
  animation-duration: 40s;
  animation-direction: reverse;
}
.ring2::after { opacity: 0.45; }
.logo {
  position: relative;
  z-index: 1;
  width: min(340px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  animation: float 7s ease-in-out 0.8s infinite, pulse 4.8s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(12, 73, 232, 0.35));
}
.kicker {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-2);
  animation: rise 0.9s var(--ease) 0.12s both;
}
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.05; font-weight: 620; }
h1 {
  margin: 0;
  overflow: hidden;
  padding-bottom: 0.12em;
  font-size: clamp(40px, 5.4vw, 72px);
}
h1 span {
  display: block;
  animation: clipup 1.15s var(--ease) 0.16s both;
}
.lead {
  max-width: 46ch;
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.76);
  animation: rise 1s var(--ease) 0.34s both;
}
.ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 1s var(--ease) 0.46s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: scale(0.98); }
.btn.primary {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px rgba(12, 73, 232, 0.35);
}
.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -50%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-130%);
}
.btn.primary:hover { background: #1a5bff; }
.btn.primary:hover::after { animation: sheen 0.75s var(--ease); }
.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.btn.full { width: 100%; margin-top: 8px; }
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.pills li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 13px;
  animation: pop 0.7s var(--ease) both;
}
.pills li:nth-child(1) { animation-delay: 0.55s; }
.pills li:nth-child(2) { animation-delay: 0.67s; }
.pills li:nth-child(3) { animation-delay: 0.79s; }
.signoff {
  margin: 22px 0 0;
  font-size: 28px;
  font-weight: 560;
  letter-spacing: -0.03em;
  animation: rise 1s var(--ease) 0.78s both;
}

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tickerTrack {
  display: flex;
  width: max-content;
  gap: 0;
  padding: 16px 0;
  animation: ticker 32s linear infinite;
}
.ticker:hover .tickerTrack { animation-play-state: paused; }
.tickerTrack span {
  padding: 0 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.tickerTrack span::before {
  content: "•";
  margin-right: 28px;
  color: var(--blue-2);
}

.band {
  position: relative;
  z-index: 1;
  padding: 108px 0;
}
.band.alt { background: #fff; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.sectionHead { max-width: 680px; margin-bottom: 40px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.sectionHead .eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 12px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.15s;
}
.js .sectionHead.is-in .eyebrow::after { transform: scaleX(1); }
.eyebrow.light { color: var(--blue-2); }
h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); }

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.tile, .service, .hours, .steps li {
  background: var(--card);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.tile:hover, .service:hover, .hours:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(12, 73, 232, 0.1), inset 0 0 0 1px rgba(12, 73, 232, 0.12);
}
.tile { padding: 28px; }
.tileWide { grid-row: span 2; background: linear-gradient(180deg, #fff, #f3f6ff); }
.tileLabel, .num {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tile h3, .service h3, .steps h3 { margin: 0 0 8px; font-size: 26px; }
.tile p, .service p, .steps p { margin: 0; color: var(--muted); }

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 28px;
}
.service::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-120%);
}
.service:hover::after { animation: sheen 0.8s var(--ease); }
.service h3 { font-size: 22px; }

.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 52px;
  top: 36px;
  bottom: 36px;
  width: 1px;
  background: linear-gradient(#d5d5da, transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.3s var(--ease);
}
.steps:has(.is-in)::before { transform: scaleY(1); }
.steps li {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
}
.steps li:hover { transform: translateX(6px); }
.steps li > span {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #050506;
  color: #fff;
  font-weight: 650;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.steps li:hover > span {
  transform: scale(1.08);
  background: var(--blue);
}

.contactBand {
  position: relative;
  overflow: hidden;
  background: #050506;
  color: #f5f5f7;
}
.contactBand::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(500px 280px at 15% 20%, rgba(12, 73, 232, 0.5), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.contactGrid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.contactBand h2 { font-size: clamp(48px, 7vw, 84px); }
.contactLead { color: rgba(245, 245, 247, 0.72); font-size: 18px; }
.phone {
  display: inline-block;
  margin: 8px 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 620;
  letter-spacing: -0.04em;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease), background-size 0.5s var(--ease);
}
.phone:hover {
  color: var(--blue-2);
  transform: translateX(6px);
  background-size: 100% 1px;
}
.contactLinks { display: flex; gap: 18px; flex-wrap: wrap; }
.contactLinks a {
  color: rgba(245, 245, 247, 0.82);
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.contactLinks a:hover { color: #fff; transform: translateY(-2px); }
.hours {
  color: var(--ink);
  padding: 28px;
}
.hours h3 { margin: 0 0 16px; font-size: 22px; }
.hours dl { margin: 0 0 18px; }
.hours dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 620; }

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 42px 20px 90px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.footer img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  animation: float 7s ease-in-out infinite;
  transition: transform 0.6s var(--ease);
}
.footer img:hover { transform: scale(1.08); }
.footer a { color: var(--ink); text-decoration: none; }
.footer p { margin: 0; }

.dock {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: none;
  text-decoration: none;
  color: #fff;
  background: var(--blue);
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(12, 73, 232, 0.4);
  animation: rise 0.8s var(--ease) 0.4s both, dock 2.8s ease-in-out 1.2s infinite;
}

.js .reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 1.05s var(--ease),
    transform 1.05s var(--ease),
    filter 1.05s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes clipup {
  from { transform: translateY(108%); }
  to { transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { filter: drop-shadow(0 24px 40px rgba(12, 73, 232, 0.28)); }
  50% { filter: drop-shadow(0 28px 54px rgba(91, 140, 255, 0.55)); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes sheen {
  to { transform: translateX(380%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
@keyframes dock {
  0%, 100% { box-shadow: 0 12px 30px rgba(12, 73, 232, 0.35); }
  50% { box-shadow: 0 16px 36px rgba(91, 140, 255, 0.55); }
}

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .navLinks { display: none; }
  .heroInner, .bento, .services, .contactGrid { grid-template-columns: 1fr; }
  .tileWide { grid-row: auto; }
  .heroInner { margin-top: 108px; gap: 28px; }
  .logo { width: min(240px, 70vw); }
  .ring2 { display: none; }
  .dock { display: inline-flex; }
  .band { padding: 72px 0; }
  .steps::before { left: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .heroInner { transform: none !important; opacity: 1 !important; }
}
