/* =========================================================
   Solid Core Digital — Home
   Desktop values are taken 1:1 from the Figma frame (1440px).
   Breakpoints: 1279 / 1100 / 1023 / 860 / 767 / 479
   ========================================================= */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/PlusJakartaSans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-accent: #247bff;
  --blue-vivid: #0066ff;
  --blue-num: #1652f0;
  --navy: #011840;
  --ink: #0f172a;
  --ink-2: #091124;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --text-soft: #eef2f7;
  --text-mist: #d5e0f0;

  --grad: linear-gradient(90deg, var(--blue-600) 0%, var(--blue-500) 50%);
  --grad-dark-text: linear-gradient(90deg, rgba(13, 22, 41, .72) 0%, rgba(8, 14, 28, .85) 100%);
  --glass-dark: linear-gradient(90deg, rgba(13, 22, 41, .72) 0%, rgba(8, 14, 28, .85) 100%);

  --f-display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: "Nimbus Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 102px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }

/* ---------- Shared type ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  /* keeps descenders from clipping */
  padding-bottom: .06em;
}
.h-display { font-family: var(--f-display); font-weight: 700; font-size: 48px; line-height: 1.26; }
.h-display--dark { color: var(--ink); letter-spacing: -1.55px; }
.h-display--light { color: #fff; }
.lead-dark {
  font-weight: 500; font-size: 18px; line-height: 24px;
  background: var(--grad-dark-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lead-dark--28 { line-height: 28px; }
.lead-light { font-weight: 500; font-size: 18px; line-height: 28px; color: var(--text-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-weight: 700; font-size: 14px; line-height: 16px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--blue-accent);
}
.eyebrow__line { width: 16px; height: 2px; background: var(--blue-accent); flex: none; }
.eyebrow__line--20 { width: 20px; border-radius: 9999px; }
.eyebrow--tight { letter-spacing: 1.2px; }
.eyebrow--sm-track { letter-spacing: .6px; gap: 10px; }
.eyebrow--plain { letter-spacing: 1.2px; }
.eyebrow--dot { gap: 10px; letter-spacing: 2.64px; line-height: 18px; }
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-accent); flex: none; }

.br-desk { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  --lift: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 9999px; font-family: var(--f-body); font-weight: 700; white-space: nowrap;
  transform: translateY(var(--lift));
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s, border-color .3s, color .3s;
  will-change: transform;
  isolation: isolate;
}
.btn img { flex: none; transition: transform .35s var(--ease-out); }
.btn:hover { --lift: -2px; }
.btn:hover img { transform: translate(2px, -2px); }
.btn:active { --lift: 0px; transition-duration: .1s; }

.btn--primary { background: var(--grad); color: #fff; overflow: hidden; }
/* Sheen sweep on hover */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .28) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: linear-gradient(90deg, #1d4fd8 0%, #2f74f0 50%, #3b82f6 100%); opacity: 0; transition: opacity .35s;
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover::before { opacity: 1; }

.btn--header { height: 48px; padding: 0 25.25px; font-weight: 600; font-size: 17.675px; line-height: 26.513px; gap: 0; }
.btn--header img { margin-left: 0; }
.btn--lg { padding: 14px 28px; font-size: 18px; line-height: 24px; }
.btn--md { height: 52px; padding: 14px 32px; font-size: 16px; line-height: 22.5px; }
.btn--18 { font-size: 18px; }
.btn--sm { padding: 9px 17px; gap: 6px; font-size: 14px; line-height: 16px; border: 1px solid rgba(51, 65, 85, .6); }

.btn--glow { box-shadow: 0 0 28px 0 rgba(0, 102, 255, .65), 0 0 60px 0 rgba(0, 210, 255, .25); }
.btn--glow:hover { box-shadow: 0 0 34px 2px rgba(0, 102, 255, .8), 0 0 80px 0 rgba(0, 210, 255, .35); }
.btn--glow-soft { filter: drop-shadow(0 0 17.5px rgba(37, 99, 235, .45)); gap: 12px; }
.btn--glow-soft:hover { filter: drop-shadow(0 0 24px rgba(37, 99, 235, .7)); }
.btn--glow-strong { box-shadow: 0 0 28px -2px rgba(43, 127, 255, .75), 0 0 12px 1px rgba(56, 189, 248, .5); }
.btn--glow-strong:hover { box-shadow: 0 0 36px 0 rgba(43, 127, 255, .9), 0 0 16px 2px rgba(56, 189, 248, .6); }
.btn--shadow { box-shadow: 0 8px 20px -2px rgba(0, 102, 255, .35); }
.btn--shadow:hover { box-shadow: 0 14px 28px -4px rgba(0, 102, 255, .5); }

.btn--outline-dark {
  height: 52px; width: 232px; border: 1px solid var(--blue-600);
  color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 22.5px; gap: 8px; padding-left: 4px;
}
.btn--outline-dark:hover { background: rgba(37, 99, 235, .14); color: #fff; border-color: var(--blue-500); }

.btn--email {
  height: 52px; padding: 15px 25px; gap: 10px;
  background: rgba(13, 22, 39, .8); border: 1px solid var(--blue-600);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-weight: 500; font-size: 16px; line-height: 20px; letter-spacing: .35px; color: var(--text-soft);
}
.btn--email:hover { background: rgba(23, 37, 66, .9); border-color: var(--blue-500); }
.btn--email:hover img { transform: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; padding-top: 12px;
  font-weight: 700; font-size: 18px; line-height: 16px; color: var(--blue-500);
  transition: color .25s;
}
.text-link img { transition: transform .35s var(--ease-out); }
.text-link:hover { color: var(--blue-600); }
.text-link:hover img { transform: translate(3px, -3px); }

/* ---------- Containers ---------- */
.container { width: 100%; margin-inline: auto; padding-inline: 24px; }
.container--1152 { max-width: calc(1152px + 48px); }
.container--1184 { max-width: calc(1184px + 48px); }
.container--1180 { max-width: calc(1180px + 48px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(3, 11, 22, .4);
  transition: background-color .4s, height .4s var(--ease-out), box-shadow .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s;
}
.site-header.is-scrolled {
  --header-h: 80px;
  background: rgba(3, 11, 22, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
}
.site-header__inner {
  height: 100%; max-width: 1272px; margin-inline: auto; padding: 8px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.brand img { width: 209.75px; height: 59.221px; transition: transform .4s var(--ease-out); }
.site-header.is-scrolled .brand img { transform: scale(.88); transform-origin: left center; }
.site-nav { display: flex; align-items: center; }
.site-nav > a:not(.btn) {
  position: relative; height: 40px; padding: 0 16px; display: flex; align-items: center;
  font-weight: 500; font-size: 16px; line-height: 21px; color: #fff; border-radius: 9999px;
  transition: background-color .25s;
}
.site-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.site-nav > a:not(.btn):hover::after, .site-nav > a.is-active::after { transform: scaleX(1); }
.site-nav__cta-mobile { display: none !important; }
.site-header__cta { padding-left: 8px; }
.nav-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 739px; overflow: hidden; background: #030b16; color: #fff; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(1.04); animation: heroZoom 2.4s var(--ease-out) forwards; }
.hero__fade {
  position: absolute; left: 4px; top: 659px; width: 100%; height: 80px; pointer-events: none;
  background: rgba(255, 255, 255, .2); mix-blend-mode: overlay;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1440px; margin-inline: auto; padding: 182.77px 33px 0 108px;
  display: flex; align-items: flex-start;
}
.hero__copy { width: 648px; flex: none; display: flex; flex-direction: column; }
.hero__copy > .eyebrow { margin-bottom: 20px; }
.hero__title {
  font-family: var(--f-display); font-weight: 800; font-size: 65px; line-height: 62px; color: #fff;
  min-height: 158px; display: flex; flex-direction: column; justify-content: center; margin-bottom: 20px;
}
.hero__title .line { display: block; }
.hero__lead { font-weight: 500; font-size: 18px; line-height: 29.25px; color: var(--text-soft); margin-bottom: 20px; }
.hero__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 29px; }

.pillars {
  display: flex; width: 635px; max-width: 100%; padding: 18.551px 31.344px; border-radius: 15.352px;
  border: .64px solid var(--blue-600);
  background: linear-gradient(130.72deg, rgba(9, 24, 48, .58) 0%, rgba(5, 15, 33, .72) 50%, rgba(2, 8, 20, .85) 100%);
  -webkit-backdrop-filter: blur(8.955px); backdrop-filter: blur(8.955px);
  box-shadow: 0 12.793px 31.984px -6.397px rgba(0, 0, 0, .8), 0 0 25.587px -3.198px rgba(0, 114, 255, .18),
              inset 0 .64px .64px .64px rgba(255, 255, 255, .15), inset 0 0 12.793px .64px rgba(56, 189, 248, .08);
}
.pillar { flex: 0 0 33.3333%; min-width: 0; display: flex; align-items: center; gap: 15.352px; }
.pillar:first-child { padding: 10.235px 20.469px 10.235px 0; }
.pillar:nth-child(2) { padding: 0 20.469px 0 21.109px; border-left: .64px solid rgba(6, 182, 212, .15); }
.pillar:nth-child(3) { padding-left: 21.109px; border-left: .64px solid rgba(6, 182, 212, .15); }
.pillar img { flex: none; object-fit: contain; }
.pillar h3 { font-weight: 700; font-size: 14.682px; line-height: 20.469px; letter-spacing: -.3838px; color: var(--text-soft); padding-bottom: 2.559px; }
.pillar p { font-family: var(--f-ui); font-size: 11.012px; line-height: 15.352px; color: rgba(203, 213, 225, .85); white-space: nowrap; }

.hero__visual { position: relative; width: 588.3px; flex: none; margin-left: 62.8px; margin-top: 36.42px; height: 399.6px; }
.tablet {
  width: 98.2658%; margin-inline: auto; height: 356.98px; transform: skewX(-1.64deg);
  background: #0a0f1d; border: 1.777px solid var(--blue-600); border-radius: 14.213px;
  padding: 9.659px 14.399px 12.804px 10.424px;
  box-shadow: -13.324px 17.766px 44.415px 0 rgba(0, 0, 0, .9), 0 0 71.064px 0 rgba(0, 130, 255, .22), inset 0 .888px 1.777px 0 rgba(255, 255, 255, .25);
}
.tablet__bezel {
  height: 100%; border: .888px solid #1e293b; border-radius: 10.66px; background: #020617; padding: .888px; overflow: hidden;
  box-shadow: inset 0 1.777px 3.553px .888px rgba(0, 0, 0, .05);
}
.tablet__screen { height: 100%; border-radius: 9.5px; }

/* Shared “scroll the long screenshot” preview */
.scroll-preview { position: relative; overflow: hidden; background: #020617; }
.scroll-preview img { width: 100%; height: auto; transform: translateY(0); transition: transform 1.1s var(--ease-out); }
@media (hover: hover) {
  .scroll-preview:hover img { transform: translateY(var(--scroll-max, -60%)); transition: transform 9s cubic-bezier(.45, .05, .35, 1); }
}

.feature-badge {
  position: absolute; left: 36.2px; top: 317.81px; width: 515px; height: 82px; padding: 21px; border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--blue-600);
  background: rgba(10, 19, 36, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px 0 rgba(0, 210, 255, .5), inset 0 0 15px 0 rgba(0, 210, 255, .2);
}
.feature-badge__kicker {
  font-family: var(--f-display); font-weight: 700; font-size: 15px; line-height: 15px; letter-spacing: 1px; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 2px;
}
.feature-badge__name { font-weight: 700; font-size: 14px; line-height: 22.5px; color: #fff; }

/* =========================================================
   SELECTED WORK
   ========================================================= */
.work { position: relative; overflow: hidden; padding: 50px 0 100px; }
.work__bg { position: absolute; inset: 0; pointer-events: none; }
.work__bg img { position: absolute; left: 0; top: -9.56%; width: 100%; height: 115.38%; max-width: none; object-fit: fill; }
.work__inner { position: relative; max-width: calc(1144px + 48px); }

.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.work .section-head .eyebrow { margin-bottom: 10.5px; }
.work .section-head h2 { margin-bottom: 15.5px; margin-left: 29px; }
.work .section-head .lead-dark { margin-bottom: 25px; }

.featured { margin-top: 40px; }
.featured__card {
  position: relative; display: flex; flex-direction: column; border-radius: 32px; overflow: hidden; isolation: isolate;
  background: #dae2ec; border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 20px 50px 0 rgba(0, 0, 0, .05);
}
.featured__media { position: relative; aspect-ratio: 1142 / 525; overflow: hidden; background: #0b0d10; }
.featured__media img { width: 100%; height: auto; transition: transform 1.1s var(--ease-out); }
.featured__pill { position: absolute; left: 440px; top: 24px; z-index: 1; }
.featured__text { padding: 24px 0 0 18px; }
.featured__title { font-family: var(--f-body); font-weight: 800; font-size: 48px; line-height: 55px; letter-spacing: -1.15px; color: var(--ink); }
.featured__desc { margin-top: 12px; max-width: 1080px; font-weight: 500; font-size: 18px; line-height: 24px; color: var(--slate-600); }
.featured__text .text-link { margin-top: 11.5px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 9999px;
  font-weight: 700; font-size: 16px; line-height: 16px; color: var(--slate-700);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); white-space: nowrap;
}
.pill--blue { background: rgba(255, 255, 255, .75); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); }
.pill--light { background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .8); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); flex: none; position: relative; }
.pill__dot--green { background: #10b981; }
.pill__dot--rose { background: #f43f5e; }
.pill__dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }

.slider-controls { display: flex; align-items: center; }
.counter { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 12px; line-height: 16px; letter-spacing: .6px; white-space: nowrap; }
.counter b { font-weight: 700; color: var(--ink); min-width: 15px; }
.counter span { font-weight: 600; color: var(--slate-500); }
.progress { position: relative; width: 96px; height: 2px; border-radius: 9999px; background: #bbc7d4; overflow: hidden; margin-left: 20px; }
.progress span { position: absolute; inset: 0 auto 0 0; width: 33.33%; background: var(--blue-600); border-radius: inherit; transition: width .6s var(--ease-out), transform .6s var(--ease-out); }
.slider-btns { display: flex; gap: 6px; margin-left: auto; }
.featured__controls { height: 81px; padding: 0 45px 0 55px; }
.featured__controls .progress { margin-left: 24px; }
.featured__controls .slider-btns { margin-top: 7px; }
.slide-btn {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  transition: transform .3s var(--ease-spring), background-color .25s, border-color .25s, box-shadow .25s;
}
.slide-btn--prev { background: rgba(255, 255, 255, .6); border: 1px solid #cbd5e1; }
.slide-btn--next { background: var(--blue-600); border: 1px solid #e2e8f0; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .05)); }
.slide-btn:hover { transform: scale(1.1); }
.slide-btn--prev:hover { background: #fff; border-color: #94a3b8; }
.slide-btn--next:hover { background: #1d4fd8; box-shadow: 0 6px 14px -4px rgba(37, 99, 235, .6); }
.slide-btn:active { transform: scale(.94); }
.slide-btn:disabled { opacity: .45; cursor: default; transform: none; }


.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.project-card { background: #fff; border-radius: 20px; min-height: 664px; padding-bottom: 27.5px; display: flex; flex-direction: column; }
.project-card__show {
  position: relative; height: 420px; border-radius: 28px; overflow: hidden;
  background: #dae2ec; border: 1px solid rgba(226, 232, 240, .8); box-shadow: 0 15px 35px 0 rgba(0, 0, 0, .03);
}
.project-card__shot { position: absolute; left: -1px; top: -1px; width: 562px; max-width: calc(100% + 2px); height: 362px; overflow: hidden; background: #0b0f17; }
.project-card__shot img { width: 100%; height: auto; transition: transform 1.1s var(--ease-out); }
.project-card__pill { position: absolute; left: 32px; top: 32px; }
.project-card__controls { position: absolute; left: 21px; right: 22px; top: 379px; }
.project-card__controls .progress { background: #cbd5e1; margin-left: 20px; }
.project-card__body { padding: 20px 15px 0; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.project-card__body h3 { font-family: var(--f-body); font-weight: 800; font-size: 24px; line-height: 28px; letter-spacing: -.45px; color: var(--ink); margin-bottom: 12px; }
.project-card__body p {
  max-width: 525px; font-weight: 500; font-size: 18px; line-height: 1.366;
  background: var(--grad-dark-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.project-card__body .text-link { margin-top: 21px; }
.project-card--alt .project-card__body { padding-left: 19px; }
.project-card--alt .project-card__body .text-link { font-size: 16px; margin-top: 6.5px; }
@media (min-width: 1280px) { .project-card__body p { white-space: nowrap; } }
.project-card { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .25); }

/* =========================================================
   DIAGNOSIS
   ========================================================= */
.diagnosis { position: relative; background: var(--navy); color: #fff; padding: 74px 0 129.7px; overflow: hidden; isolation: isolate; }
.diagnosis__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.diagnosis__inner { position: relative; }

/* Decorative bubbles: ring + solid orb pairs anchored to the section corners */
.bubbles { position: absolute; width: 235px; pointer-events: none; will-change: transform; }
.bubbles--tr { right: 11px; top: 18px; height: 255px; transform-origin: top right; }
.bubbles--bl { left: 30px; bottom: 17px; width: 246px; height: 235px; transform-origin: bottom left; }
.bubbles__float { position: relative; width: 100%; height: 100%; animation: bubbleFloat 12s ease-in-out infinite; transition: opacity 1.2s var(--ease-out), scale 1.4s var(--ease-out); }
.bubbles--bl .bubbles__float { animation-duration: 14s; animation-delay: -6s; }
.orb-ring {
  position: absolute; left: 0; top: 0; width: 235px; height: 235px; border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, .7);
  background: radial-gradient(circle 207.88px at 35% 60%, rgba(37, 99, 235, .5) 0%, rgba(37, 99, 235, .2) 70%, rgba(2, 128, 253, 0) 100%);
  animation: ringBreathe 9s ease-in-out infinite;
}
.bubbles--bl .orb-ring { left: 11px; animation-delay: -4s; }
.orb { position: absolute; left: 0; top: 76px; width: 181px; height: 179px; border-radius: 50%; background: var(--grad); animation: orbDrift 11s ease-in-out infinite; }
.bubbles--bl .orb { top: 53px; animation-delay: -5s; }
.orb--flip { background: linear-gradient(270deg, var(--blue-600) 0%, var(--blue-500) 50%); }
.js .diagnosis:not(.is-in) .bubbles__float { opacity: 0; scale: .8; }
@keyframes bubbleFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }
@keyframes orbDrift { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(7px, -9px); } 66% { transform: translate(-6px, 6px); } }
@keyframes ringBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

.section-head--diag { min-height: 226px; justify-content: space-between; }
.section-head--diag h2 { padding-top: 4px; }
.section-head--diag .eyebrow { gap: 8px; }

.diag-list { display: flex; flex-direction: column; gap: 20px; padding: 40px 0; margin-top: 32.38px; }
.diag-card {
  position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 153px; padding: 29px;
  border-radius: 28px; border: 1px solid rgba(37, 99, 235, .78);
  background: var(--glass-dark); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  box-shadow: 0 2px 12px -3px rgba(0, 0, 0, .03);
  transition: border-color .4s, box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}
.diag-card::after { /* glow follows pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 130, 246, .16), transparent 60%);
}
.diag-card:hover { border-color: rgba(59, 130, 246, 1); box-shadow: 0 18px 40px -18px rgba(37, 99, 235, .55); transform: translateY(-2px); }
.diag-card:hover::after { opacity: 1; }
.diag-card__meta { width: 224px; flex: none; display: flex; align-items: center; gap: 20px; }
.squircle { width: 80px; height: 80px; padding: 10px; border-radius: 22px; background: var(--blue-600); flex: none; display: grid; transition: transform .5s var(--ease-spring); }
.squircle > span { border-radius: 14px; background: var(--blue-600); display: grid; place-items: center; box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .05); }
.diag-card:hover .squircle { transform: rotate(-6deg) scale(1.04); }
.diag-card__step { display: flex; flex-direction: column; }
.diag-card__step b { font-family: var(--f-num); font-weight: 700; font-size: 24px; line-height: 30px; color: var(--blue-num); margin-bottom: -1px; }
.diag-card__step span { font-weight: 700; font-size: 12px; line-height: 16.5px; letter-spacing: .55px; text-transform: uppercase; color: #fff; white-space: nowrap; }
.diag-card__divider { width: 1px; height: 64px; background: #f1f5f9; flex: none; }
.diag-card__body { flex: 1 1 0; min-width: 0; padding: 0 12px; display: flex; flex-direction: column; gap: 5.185px; }
.diag-card__body h3 { font-weight: 700; font-size: 24px; line-height: 28px; letter-spacing: -.55px; color: #fff; min-height: 34px; }
.diag-card__body p { max-width: 768px; font-weight: 400; font-size: 16px; line-height: 24.38px; color: var(--text-soft); }
.round-btn { width: 48px; height: 48px; flex: none; border-radius: 50%; background: #edf4ff; display: grid; place-items: center; transition: transform .45s var(--ease-spring), background-color .3s, box-shadow .3s; }
.round-btn img { transition: transform .45s var(--ease-out); }
.diag-card:hover .round-btn, .round-btn:hover { background: #fff; box-shadow: 0 0 0 6px rgba(59, 130, 246, .18); }
.round-btn:hover img, .diag-card:hover .round-btn img { transform: translate(2px, -2px); }
.round-btn:active { transform: scale(.92); }

.diag-foot { margin-top: 15.9px; border-top: 1px solid rgba(226, 232, 240, .6); padding-top: 25px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.diag-foot__note { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; line-height: 18px; color: var(--text-soft); }
.dot-white { width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none; }
.diag-foot__tag { width: 293px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; line-height: 16.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--text-soft); white-space: nowrap; }
.diag-foot__tag .rule { width: 56px; height: 1px; background: #fff; flex: none; }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  position: relative; overflow: hidden; padding: 63px 0 62px;
  background:
    radial-gradient(ellipse 1832.8px 1368px at 90% 15%, rgba(191, 219, 254, .45) 0%, rgba(191, 219, 254, 0) 55%),
    radial-gradient(ellipse 1832.8px 1287.5px at 10% 80%, rgba(224, 231, 255, .3) 0%, rgba(224, 231, 255, 0) 40%),
    #f8fafc;
}
.services__bg { position: absolute; inset: 0; pointer-events: none; }
.services__bg img { width: 100%; height: 100%; object-fit: cover; }
.services__inner { position: relative; }
.section-head--svc .eyebrow { margin-bottom: 24px; }
.h-display--svc { font-weight: 800; line-height: 55px; letter-spacing: -1.5px; max-width: 702px; margin-bottom: 15px; }
.section-head--svc .lead-dark { padding-top: 4px; width: 672px; max-width: 100%; text-align: left; white-space: nowrap; }
@media (max-width: 1023px) { .section-head--svc .lead-dark { text-align: center; white-space: normal; } .svc-card--care .svc-card__desc { margin-top: 11.2px; padding-bottom: 32.56px; } .svc-card--care .ticks { margin-top: 11.2px; } }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 513px; padding: 33px;
  background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 24px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .04);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.svc-card:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 30px 60px -28px rgba(37, 99, 235, .35); }
.svc-card__top { padding-bottom: 32px; display: flex; flex-direction: column; }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; background: #eaf4fe; display: grid; place-items: center; transition: transform .5s var(--ease-spring); }
.svc-icon--mint { width: 55px; height: 55px; background: #ecfdf5; border: 1px solid #d1fae5; }
.svc-card:hover .svc-icon { transform: translateY(-3px) rotate(-6deg); }
.svc-card h3 { margin-top: 11.2px; padding-top: 20.8px; font-weight: 800; font-size: 24px; line-height: 28px; letter-spacing: -.55px; color: var(--ink-2); }
.svc-card__desc { margin-top: 11.2px; padding-bottom: 32.56px; font-weight: 500; font-size: 16px; line-height: 24.38px; color: var(--slate-700); border-bottom: 1px solid #f1f5f9; }
.svc-card--care .svc-card__desc { margin-top: 16.2px; padding-bottom: 47.8px; }
.svc-card--care .ticks { margin-top: 20.2px; }
.ticks { margin-top: 11.2px; padding-top: 16.8px; display: flex; flex-direction: column; gap: 16px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; line-height: 21.75px; color: var(--slate-700); }
.ticks li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: #e0f0fe url("../img/svc-tick.svg") center / 12px 12px no-repeat;
}
.action-btn {
  height: 52px; border-radius: 9999px; border: 1px solid rgba(37, 99, 235, .6);
  display: flex; align-items: center; justify-content: space-between; padding: 7px 7px 7px 25px;
  font-weight: 700; font-size: 16px; line-height: 21.75px; color: var(--ink-2);
  transition: background-color .35s, border-color .35s, color .35s;
}
.action-btn i { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-vivid); display: grid; place-items: center; transition: transform .45s var(--ease-spring); }
.action-btn i img { transition: transform .45s var(--ease-out); }
.action-btn:hover { background: #eff5ff; border-color: var(--blue-600); }
.action-btn:hover i { transform: scale(1.08); }
.action-btn:hover i img { transform: rotate(45deg); }

.svc-cta { margin-top: 23px; padding-top: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.svc-cta__dash { width: 32px; height: 2.5px; border-radius: 9999px; background: var(--blue-vivid); margin-bottom: 24px; }
.svc-cta h3 { font-weight: 700; font-size: 28px; line-height: 32px; letter-spacing: -.65px; color: #0b1528; padding-bottom: 8px; }
.svc-cta p {
  font-size: 16px; line-height: 22.5px; margin-top: -1px; margin-bottom: 29px;
  background: var(--grad-dark-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.btn--md.btn--18 { line-height: 22.5px; }

/* =========================================================
   PROCESS + LET'S TALK (shared night-sky background)
   ========================================================= */
.night { position: relative; overflow: hidden; background: #020a1d; color: #fff; padding: 106px 0 98px; }
.night__bg { position: absolute; inset: 0; pointer-events: none; }
.night__bg img { width: 100%; height: 100%; object-fit: cover; }

.process { position: relative; display: flex; align-items: center; justify-content: center; gap: 36px; }
.process__copy { width: 572px; flex: none; display: flex; flex-direction: column; align-items: flex-start; }
.process__copy .eyebrow { margin-bottom: 3px; }
.h-display--process { line-height: 54px; letter-spacing: -1.35px; padding-bottom: 24px; }
.process__paras { max-width: 524px; display: flex; flex-direction: column; gap: 16px; padding-bottom: 32px; }
.process__paras p { font-weight: 500; font-size: 18px; line-height: 24px; color: var(--text-mist); }
.process__copy .btn--lg { gap: 12px; }

.steps {
  position: relative; width: 572px; flex: none; padding: 33px; border-radius: 24px;
  border: 1px solid rgba(37, 99, 235, .78);
  background: var(--glass-dark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7), inset 0 1px 0 1px rgba(255, 255, 255, .06);
}
.step { position: relative; display: flex; align-items: flex-start; }
.step__num { margin-right: 24px; }
.step__tile { margin-right: 16px; }
.step__text { flex: 1 1 0; min-width: 0; padding-right: 8px; }
.step__btn { margin-left: 16px; margin-top: 4px; }

.step:nth-child(1) { padding-bottom: 32px; }
.step:nth-child(2) { padding: 24px 0; margin-top: 17px; }
.step:nth-child(3) { padding-top: 24px; margin-top: 17px; }
.step:nth-child(2)::before, .step:nth-child(3)::before { /* hairline separators */
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 1px; background: rgba(30, 41, 59, .8);
}
.step__num {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: #0d1f3b; border: 1px solid rgba(59, 130, 246, .4);
  font-family: var(--f-ui); font-weight: 700; font-size: 14px; line-height: 20px; color: var(--blue-600);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}
.step__track { position: absolute; left: 19px; width: 2px; top: 40px; bottom: 0; background: #1e293b; display: grid; place-items: center; }
.step:nth-child(2) .step__track { top: 0; }
.step__track::before { /* animated fill */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; background: linear-gradient(var(--blue-600), rgba(37, 99, 235, 0));
  transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-out) .3s;
}
.steps.is-visible .step__track::before { transform: scaleY(1); }
.step__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 12px 0 rgba(56, 189, 248, .75); animation: pulseDot 2.6s ease-in-out infinite; }
.step:nth-child(2) .step__dot { animation-delay: -1.3s; }
.step__tile {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-600); border: 1px solid rgba(56, 189, 248, .2);
  box-shadow: 0 0 20px -3px rgba(37, 99, 235, .15), inset 0 0 12px 1px rgba(56, 189, 248, .08);
  transition: transform .5s var(--ease-spring), box-shadow .4s;
}
.step:nth-child(3) .step__tile { border-radius: 16px; }
.step:hover .step__tile { transform: scale(1.06) rotate(-4deg); box-shadow: 0 0 26px 0 rgba(37, 99, 235, .55); }
.step__text h3 { font-weight: 800; font-size: 20px; line-height: 28px; color: #fff; margin-bottom: 4px; }
.step__text p { font-family: var(--f-ui); font-size: 14px; line-height: 20px; color: var(--text-mist); max-width: 318px; }
.step__btn { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid rgba(51, 65, 85, .8); display: grid; place-items: center; transition: transform .45s var(--ease-spring), box-shadow .3s; }
.step__btn img { transition: transform .45s var(--ease-out); }
.step__btn:hover, .step:hover .step__btn { box-shadow: 0 0 0 5px rgba(59, 130, 246, .22); }
.step__btn:hover img, .step:hover .step__btn img { transform: translate(2px, -2px); }

/* ---- Let's talk ---- */
.talk { position: relative; margin-top: 156px; }
.talk__inner { position: relative; max-width: 1240px; height: 530px; margin-inline: auto; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.talk__center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 16px; }
.talk__tracker { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; font-weight: 700; font-size: 14px; line-height: 16px; letter-spacing: 3.6px; color: var(--text-soft); }
.talk__tracker span { width: 28px; height: 1px; background: rgba(36, 123, 255, .7); }
.talk__title { display: flex; flex-direction: column; align-items: center; padding-bottom: 14px; font-family: var(--f-display); font-size: 48px; line-height: 60px; letter-spacing: -1.5px; }
.talk__l1 { font-weight: 800; color: #fff; margin-bottom: -6px; }
.talk__l2 { font-weight: 700; padding: 6px 0; filter: drop-shadow(0 0 10px rgba(56, 189, 248, .25)); }
.talk__sub { max-width: 640px; padding: 0 15.7px 36px; font-weight: 500; font-size: 18px; line-height: 28px; color: var(--text-soft); }
.talk__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; padding-bottom: 28px; }
.btn--talk { height: 52px; padding: 14px 26px 14px 28px; gap: 12px; font-size: 18px; line-height: 20px; letter-spacing: .35px; }

.float-card { position: absolute; z-index: 1; animation: bob 7s ease-in-out infinite; }
.float-card--1 { left: 56px; top: 131.56px; --rot: -6deg; }
.float-card--2 { left: 994px; top: 87.85px; --rot: 7deg; animation-delay: -2.3s; }
.float-card--3 { left: 976px; top: 321.8px; --rot: 5deg; animation-delay: -4.6s; }
.float-card__box {
  position: relative; width: 190px; height: 190px; padding: 21px; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--blue-600);
  background: var(--glass-dark); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px 0 rgba(0, 0, 0, .6), inset 0 1px 1px 0 rgba(255, 255, 255, .15);
  transform: rotate(var(--rot));
  transition: transform .6s var(--ease-out), box-shadow .5s;
}
.float-card--3 .float-card__box { width: 185px; height: 185px; }
.float-card__box::before { /* grid texture */
  content: ""; position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.float-card:hover .float-card__box { transform: rotate(0deg) scale(1.04); box-shadow: 0 22px 44px 0 rgba(0, 0, 0, .65), 0 0 30px -6px rgba(37, 99, 235, .7); }
.float-card__icon {
  position: relative; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
  background: #2564eb; border: 1px solid rgba(56, 189, 248, .3);
}
.float-card__icon img { transform: rotate(calc(var(--rot) * -1)); }
.float-card h3 { position: relative; font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: -.4px; color: #fff; margin-bottom: 4px; }
.float-card--2 h3 { line-height: 22px; }
.float-card p { position: relative; font-size: 12px; line-height: 16px; color: var(--text-soft); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; color: var(--text-soft); background: linear-gradient(180deg, #06152e 0%, #06152e 60%, #020b1c 100%); padding: 87px 90px 42px; }
.site-footer__inner { max-width: 1260px; margin-inline: auto; min-height: 450.563px; display: flex; flex-direction: column; justify-content: space-between; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 63px; padding-bottom: 72px; align-items: start; }
.footer-brand { grid-column: 1 / span 4; max-width: 432px; }
.footer-brand > img { width: 209.75px; height: 59.221px; margin-bottom: 15px; }
.footer-brand > p { font-weight: 500; font-size: 16px; line-height: 25.594px; color: var(--text-soft); }
.socials { display: flex; gap: 13.5px; margin-top: 36px; }
.socials a {
  width: 40.5px; height: 40.5px; border-radius: 50%; display: grid; place-items: center;
  background: #2564eb; border: 1.125px solid rgba(51, 65, 85, .6);
  font-family: var(--f-ui); font-weight: 600; font-size: 13.5px; line-height: 18px; color: #fff;
  transition: transform .4s var(--ease-spring), box-shadow .3s, background-color .3s;
}
.socials a span { margin-top: -1px; }
.socials a:hover { transform: translateY(-3px); background: var(--blue-500); box-shadow: 0 10px 20px -8px rgba(37, 99, 235, .8); }
.footer-motto { margin-top: 40.5px; font-size: 12px; line-height: 18.281px; letter-spacing: 2.7px; text-transform: uppercase; color: var(--text-soft); }

.footer-h { font-family: var(--f-body); font-weight: 700; font-size: 18px; line-height: 18.563px; letter-spacing: 2.475px; text-transform: uppercase; color: #fff; }
.footer-nav { grid-column: 5 / span 3; padding-top: 4.5px; display: flex; flex-direction: column; }
.footer-nav .footer-h { margin-bottom: 18px; }
.footer-nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 15.75px 0;
  font-size: 16px; line-height: 22.5px; color: var(--text-soft);
  transition: color .25s, padding-left .35s var(--ease-out);
}
.footer-nav a + a { border-top: 1.125px solid rgba(226, 232, 240, .6); padding-top: 16.875px; }
.footer-nav a img { width: 15.75px; height: 15.75px; transition: transform .35s var(--ease-out); }
.footer-nav a:hover { color: #fff; padding-left: 6px; }
.footer-nav a:hover img { transform: translate(3px, -3px); }

.footer-direct { grid-column: 8 / span 5; padding-top: 6.188px; }
.footer-direct .footer-h { margin-bottom: 27px; }
.contact-row { display: flex; align-items: center; gap: 15.75px; font-family: var(--f-ui); font-size: 15.75px; line-height: 22.5px; color: var(--text-soft); width: fit-content; }
.contact-row + .contact-row { margin-top: 11.25px; }
.contact-row__icon { width: 45px; height: 45px; border-radius: 13.5px; background: #2564eb; border: 1.125px solid rgba(30, 41, 59, .8); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease-spring); }
a.contact-row:hover { color: #fff; }
a.contact-row:hover .contact-row__icon { transform: rotate(-8deg) scale(1.05); }

.availability {
  position: relative; margin-top: 31.5px; display: flex; align-items: center; padding: 23.625px; border-radius: 18px;
  background: rgba(15, 23, 42, .4); border: 1.125px solid rgba(30, 41, 59, .8);
  -webkit-backdrop-filter: blur(6.75px); backdrop-filter: blur(6.75px);
  transition: border-color .35s, box-shadow .35s, transform .45s var(--ease-out);
}
.availability::before { content: ""; position: absolute; inset: -1.13px -1.13px -1.63px; border-radius: 18px; border: .9px solid rgba(37, 99, 235, .8); box-shadow: 0 11.25px 16.875px -3.375px rgba(0, 0, 0, .1), 0 4.5px 6.75px -4.5px rgba(0, 0, 0, .1); pointer-events: none; }
.availability:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -16px rgba(37, 99, 235, .55); }
.availability__dot { position: relative; width: 11.25px; height: 11.25px; margin-left: 4.5px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 9px 0 rgba(59, 130, 246, .9); flex: none; }
.availability__dot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #60a5fa; opacity: .75; animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
.availability__text { display: flex; flex-direction: column; gap: 2.25px; padding-left: 15.75px; font-family: var(--f-ui); flex: 1; min-width: 0; }
.availability__text b { font-weight: 500; font-size: 15.75px; line-height: 22.5px; color: #e2e8f0; }
.availability__text span { font-size: 13.5px; line-height: 18px; color: #94a3b8; }
.availability__btn { width: 40.5px; height: 40.5px; margin-left: 18px; border-radius: 50%; background: #fff; border: 1.125px solid rgba(51, 65, 85, .7); display: grid; place-items: center; flex: none; transition: transform .45s var(--ease-spring); }
.availability__btn img { transition: transform .45s var(--ease-out); }
.availability:hover .availability__btn { transform: scale(1.08); }
.availability:hover .availability__btn img { transform: translate(2px, -2px); }

.footer-legal { border-top: 1.125px solid rgba(226, 232, 240, .6); padding-top: 32.625px; text-align: center; font-weight: 500; font-size: 15px; line-height: 18px; color: var(--text-soft); }

/* =========================================================
   MOTION
   ========================================================= */
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 12px 0 rgba(56, 189, 248, .75); } 50% { box-shadow: 0 0 18px 4px rgba(56, 189, 248, .95); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes floatSlow { 0%, 100% { translate: 0 0; } 50% { translate: 0 14px; } }
.float-slow { animation: floatSlow 9s ease-in-out infinite; animation-delay: var(--float-delay, 0s); }

/* Page-load sequence for the hero (one orchestrated moment) */
.js [data-load] { opacity: 0; transform: translateY(18px); }
.js.is-loaded [data-load] { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js.is-loaded [data-load="1"] { transition-delay: .10s; }
.js.is-loaded [data-load="2"] { transition-delay: .20s; }
.js.is-loaded [data-load="3"] { transition-delay: .32s; }
.js.is-loaded [data-load="4"] { transition-delay: .44s; }
.js.is-loaded [data-load="5"] { transition-delay: .56s; }
.js .hero__visual[data-load] { transform: translateY(26px) scale(.98); }
.js.is-loaded .hero__visual[data-load] { transform: none; transition-duration: 1.2s; transition-delay: .35s; }
.js .site-header { transform: translateY(-100%); }
.js.is-loaded .site-header { transform: none; transition: transform .8s var(--ease-out), background-color .4s, height .4s var(--ease-out), box-shadow .4s; }

/* Scroll reveals — keyframe based so hover transitions stay instant afterwards */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { opacity: 1; animation: revealUp .8s var(--ease-out) var(--reveal-delay, 0s) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-load], .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero__bg { transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- ≤1439: keep the 1440 composition, tighten outer gutters ---- */
@media (max-width: 1439px) {
  .hero__inner { padding-left: clamp(24px, 7.5vw, 108px); padding-right: clamp(24px, 2.3vw, 33px); }
}

/* ---- ≤1279: laptop ---- */
@media (max-width: 1279px) {
  .site-header__inner { padding-inline: 32px; }
  .hero__visual { margin-left: auto; width: min(588.3px, 44vw); }
  .tablet { height: auto; aspect-ratio: 588.3 / 356.98; }
  .feature-badge { width: calc(100% - 36px); left: 18px; top: auto; bottom: 0; }
  .hero__visual { height: auto; padding-bottom: 46px; }
  .hero__copy { width: min(648px, 48vw); }
  .hero__title { font-size: clamp(48px, 5vw, 65px); line-height: .955; }
  .pillars { width: 100%; padding-inline: 22px; }

  .work__inner { max-width: 100%; padding-inline: 32px; }

  .project-card__shot { width: calc(100% + 2px); height: 86.2%; }
  .project-card__controls { top: auto; bottom: 9px; }
  .project-card__body .br-desk, .diag-card__body .br-desk { display: none; }
  .work .section-head h2 { margin-left: 0; }
}

/* ---- ≤1199: floating cards go into the flow ---- */
@media (max-width: 1199px) {
  .talk { margin-top: 120px; }
  .talk__inner { height: auto; flex-direction: column; padding: 32px 24px 0; }
  .talk__center { padding-bottom: 0; }
  .float-cards { display: contents; }
  .float-card { position: relative; left: auto; top: auto; }
  .talk__inner { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; column-gap: 36px; row-gap: 24px; }
  .talk__center { grid-column: 1 / -1; }
  .float-card--1 { margin-top: 18px; }
  .float-card--3 { margin-top: 18px; }
}

/* ---- ≤1100: stack two-column sections ---- */
@media (max-width: 1100px) {
  .hero { height: auto; padding-bottom: 72px; }
  .hero__fade { top: auto; bottom: 0; }
  .hero__inner { flex-direction: column; align-items: stretch; padding: 150px 40px 0; }
  .hero__copy { width: 100%; max-width: 720px; }
  .hero__title { min-height: 0; padding-block: 8px; }
  .hero__visual { width: 100%; max-width: 640px; margin: 56px auto 0; }

  .process { flex-direction: column; align-items: stretch; gap: 48px; max-width: 720px; }
  .process__copy, .steps { width: 100%; }
  .step__text p { max-width: none; }
  .step__text p .br-desk { display: none; }

  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid > :last-child { grid-column: 1 / -1; max-width: calc(50% - 14px); justify-self: center; width: 100%; }
}

/* ---- ≤1023: tablet ---- */
@media (max-width: 1023px) {
  .br-desk { display: none; }
  .h-display { font-size: 40px; }
  .h-display--svc, .h-display--process { line-height: 1.18; }

  .diag-card { flex-wrap: wrap; gap: 18px 20px; align-items: flex-start; }
  .diag-card__meta { width: auto; }
  .diag-card__divider { display: none; }
  .diag-card__body { order: 3; flex-basis: 100%; padding: 0; }
  .diag-card .round-btn { margin-left: auto; align-self: center; }
  .diag-foot { flex-direction: column; align-items: flex-start; }
  .diag-foot__tag { width: auto; }

  .section-head--diag { min-height: 0; gap: 20px; }
  .diag-list { margin-top: 24px; }

  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 48px; padding-bottom: 56px; }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
  .footer-nav, .footer-direct { grid-column: auto; }
  .site-footer { padding: 72px 40px 36px; }
  .site-footer__inner { min-height: 0; }
}

/* ---- ≤860: mobile nav ---- */
@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .site-header.is-scrolled { --header-h: 68px; }
  .site-header__inner { padding-inline: 20px; }
  .brand img { width: 160px; height: auto; }
  .site-header__cta { display: none; }
  .nav-toggle {
    display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); position: relative; z-index: 2;
  }
  .nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: #247BFF; transition: transform .4s var(--ease-out), opacity .3s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0 0 auto 0; padding: calc(var(--header-h) + 12px) 20px 28px; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(3, 11, 22, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(37, 99, 235, .35);
    transform: translateY(-105%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s;
  }
  .nav-open .site-nav { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
  .site-nav > a:not(.btn) { height: 52px; font-size: 20px; padding: 0 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .site-nav > a:not(.btn)::after { display: none; }
  .site-nav .site-nav__cta-mobile { display: inline-flex !important; height: 52px; margin-top: 20px; font-size: 17px; gap: 8px; }
  .nav-open .site-nav > a { animation: navItem .5s var(--ease-out) both; }
  .nav-open .site-nav > a:nth-child(2) { animation-delay: .05s; }
  .nav-open .site-nav > a:nth-child(3) { animation-delay: .1s; }
  .nav-open .site-nav > a:nth-child(4) { animation-delay: .15s; }
  .site-nav { z-index: 1; }
  .brand { position: relative; z-index: 2; }
  body.nav-open { overflow: hidden; }

  .work-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
  .project-card { min-height: 0; }
  .project-card__show { height: auto; aspect-ratio: 552 / 420; }
  .project-card__body p { max-width: none; }

  .svc-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .svc-grid > :last-child { max-width: none; }
  .svc-card { min-height: 0; }
}
@keyframes navItem { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---- ≤767: mobile ---- */
@media (max-width: 767px) {
  .container, .work__inner { padding-inline: 20px; }
  .h-display { font-size: 34px; line-height: 1.18; letter-spacing: -1px; }
  .lead-dark, .lead-light { font-size: 16px; line-height: 24px; }

  .hero__inner { padding: 120px 20px 0; }
  .hero__title { font-size: clamp(38px, 10.5vw, 52px); line-height: 1; }
  .hero__lead { font-size: 16px; line-height: 26px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .btn--outline-dark { width: auto; padding: 0 22px; }
  .pillars { flex-direction: column; padding: 8px 20px; }
  .pillar, .pillar:first-child, .pillar:nth-child(2), .pillar:nth-child(3) { padding: 14px 0; border-left: 0; }
  .pillar + .pillar { border-top: .64px solid rgba(6, 182, 212, .2); }
  .pillar p { white-space: normal; }
  .hero__visual { margin-top: 40px; padding-bottom: 0; }
  .tablet { transform: none; padding: 7px; }
  .feature-badge { position: relative; left: auto; bottom: auto; width: 100%; height: auto; margin-top: -24px; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
  .feature-badge__kicker { font-size: 13px; }

  .work { padding: 48px 0 64px; }
  .text-link { font-size: 16px; }
  .project-card__show { border-radius: 22px; }
  .project-card__pill { left: 16px; top: 16px; }
  .project-card__controls { left: 14px; right: 14px; }
  .project-card__body h3 { font-size: 21px; }
  .project-card__body p { font-size: 16px; }

  .diagnosis { padding: 56px 0; }
  .diag-card { padding: 22px; border-radius: 22px; }
  .squircle { width: 64px; height: 64px; padding: 8px; border-radius: 18px; }
  .diag-card__body h3 { font-size: 20px; line-height: 26px; min-height: 0; }
  .diag-card__body p { font-size: 15px; line-height: 23px; }
  .round-btn { width: 42px; height: 42px; }
  .diag-foot__note { align-items: flex-start; }
  .diag-foot__note .dot-white { margin-top: 4px; }
  .diag-foot__tag { letter-spacing: 1.6px; font-size: 12px; }

  .services { padding: 56px 0; }
  .h-display--svc { letter-spacing: -1px; }
  .svc-card { padding: 26px; }
  .svc-card h3 { font-size: 21px; }
  .svc-cta h3 { font-size: 24px; line-height: 30px; }


  .talk { margin-top: 88px; }
  .talk__title { font-size: 34px; line-height: 42px; letter-spacing: -1px; }
  .talk__l1 { margin-bottom: 0; }
  .talk__sub { font-size: 16px; line-height: 24px; padding: 0 0 28px; }
  .talk__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 380px; }
  .talk__actions .btn { width: 100%; }
  .btn--email { font-size: 15px; letter-spacing: 0; }

  .site-footer { padding: 56px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .availability { padding: 18px; }
  .footer-legal { font-size: 13px; }
}


/* ---- Responsive refinements ---- */
@media (min-width: 768px) and (max-width: 1100px) {
  .night::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 900px; pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 10, 29, .62) 0%, rgba(2, 10, 29, .35) 65%, rgba(2, 10, 29, 0) 100%); }
}

/* ---- ≤479: small phones ---- */
@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .btn--lg { font-size: 16px; padding: 14px 22px; }
  .project-card__controls .progress, .featured__controls .progress { width: 64px; margin-left: 14px; }
  .h-display { font-size: 30px; }
  .diag-foot__note { font-size: 13px; }
}

/* =========================================================
   v2 — Featured concept card, bubbles, wide screens, mobile night section
   ========================================================= */

/* Wide screens (1441px+): keep backgrounds undistorted */
@media (min-width: 1441px) {
  .work__bg img { object-fit: cover; }
}

/* ---- Featured card ---- */
@media (max-width: 1023px) {
  .work__bg img { object-fit: cover; object-position: center top; }
  .featured__card { border-radius: 28px; }
  .featured__title { font-size: 40px; line-height: 46px; letter-spacing: -1px; }
  .featured__text { padding-left: 8px; }
}
@media (max-width: 767px) {
  .pill { font-size: 13px; padding: 6px 11px; }
  .featured__card { border-radius: 22px; }
  .featured__pill { left: 12px; top: 12px; font-size: 11px; line-height: 12px; padding: 5px 10px; gap: 6px; }
  .featured__pill .pill__dot { width: 6px; height: 6px; }
  .featured__controls { height: 60px; padding: 0 14px 0 18px; }
  .featured__controls .slider-btns { margin-top: 0; }
  .featured__text { padding: 20px 4px 0; }
  .featured__title { font-size: 30px; line-height: 36px; letter-spacing: -.8px; }
  .featured__desc { margin-top: 10px; font-size: 16px; line-height: 24px; }
}
@media (max-width: 479px) {
  .featured__title { font-size: 27px; line-height: 33px; }
  .featured__controls .progress { width: 64px; margin-left: 16px; }
}

/* ---- Bubbles ---- */
@media (max-width: 1199px) {
  .bubbles--tr { right: -30px; top: 10px; scale: .8; }
  .bubbles--bl { left: -30px; bottom: 6px; scale: .8; }
}
@media (max-width: 1023px) {
  .bubbles--tr { right: -70px; top: 10px; scale: .7; }
  .bubbles--bl { left: -40px; bottom: -40px; scale: .7; }
}
@media (max-width: 767px) {
  .bubbles--tr { right: -52px; top: -34px; scale: .5; }
  .bubbles--bl { left: -34px; bottom: -14px; scale: .5; }
  .diagnosis { padding-bottom: 104px; }
}
@media (max-width: 479px) {
  .talk__title { font-size: 30px; line-height: 38px; }
}

/* ---- Mobile night section (Process + Let's talk), 393px reference ---- */
@media (max-width: 767px) {
  .night { padding: 76px 0 162px; }
  .night__bg img { object-position: center bottom; }

  .process.container { padding-inline: 24px; gap: 55px; }
  .process__copy .eyebrow { font-size: 12px; line-height: 16px; letter-spacing: .5px; gap: 12px; margin-bottom: 7px; }
  .h-display--process { font-size: 36px; line-height: 45px; letter-spacing: -1.1px; padding-bottom: 19px; }
  .process__paras { gap: 10px; padding-bottom: 24px; }
  .process__paras p { font-size: 16px; line-height: 24px; }
  .process__copy .btn--lg { font-size: 16px; line-height: 24px; padding: 14px 28px; gap: 12px; }

  .steps { width: auto; margin-inline: -3px; padding: 33px 33px 12px; }
  .steps::before { content: ""; position: absolute; left: 52px; top: 73px; bottom: 15px; width: 2px; background: #1e293b; }
  .step { display: grid; grid-template-columns: 40px 24px 36px 16px minmax(0, 1fr) 32px; align-items: start; }
  .step__track { display: none; }
  .step__num { grid-column: 1; grid-row: 1; margin: 0; }
  .step__tile { grid-column: 3; grid-row: 1; width: 36px; height: 36px; margin: 0; border-radius: 10px; }
  .step:nth-child(3) .step__tile { border-radius: 10px; }
  .step__tile img { width: 18px; height: 18px; }
  .step__text { display: contents; }
  .step__text h3 { grid-column: 5; grid-row: 1; margin: 0; padding-right: 8px; font-size: 16px; font-weight: 700; line-height: 28px; }
  .step__text p { grid-column: 2 / -1; grid-row: 2; margin: 14px -23px 0 9px; max-width: none; font-size: 12px; line-height: 20px; }
  .step__btn { grid-column: 6; grid-row: 1; width: 32px; height: 32px; margin: 2px 0 0; }
  .step:nth-child(1) { padding: 0 0 18px; }
  .step:nth-child(2) { padding: 0 0 17px; margin-top: 32px; }
  .step:nth-child(3) { padding: 0; margin-top: 32px; }
  .step:nth-child(2)::before, .step:nth-child(3)::before { top: -32px; }
  .step:nth-child(2)::after, .step:nth-child(3)::after {
    content: ""; position: absolute; left: 16px; top: -36px; width: 8px; height: 8px; border-radius: 50%; z-index: 1;
    background: var(--blue-600); box-shadow: 0 0 12px 0 rgba(56, 189, 248, .75); animation: pulseDot 2.6s ease-in-out infinite;
  }

  .talk { margin-top: 56px; }
  .talk__inner { display: block; padding: 0 24px; }
  .float-cards { display: block; position: relative; left: 50%; translate: -50% 0; width: min(100vw, 393px); aspect-ratio: 393 / 412; margin-top: 30px; }
  .float-card { position: absolute; }
  .float-card--1 { left: 1.527%; top: 2.427%; width: 48.346%; }
  .float-card--2 { left: 50.636%; top: 8.252%; width: 48.346%; }
  .float-card--3 { left: 24.3%; top: 53.28%; width: 47.07%; }
  .float-card__box, .float-card--3 .float-card__box { width: 100%; height: auto; aspect-ratio: 1; }
  .float-card__box::before { opacity: 0; }
}
