@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/Sora-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #111827;
  --cobalt: #245B8F;
  --ice: #EAF1F6;
  --stone: #F4F1EC;
  --slate: #566273;
  --white: #FFFFFF;
  --border: rgba(17,24,39,.10);
  --shadow: 0 8px 24px rgba(17,24,39,.06), 0 2px 6px rgba(17,24,39,.04);
  --shadow-hover: 0 14px 32px rgba(17,24,39,.09), 0 4px 10px rgba(17,24,39,.05);
  --container: 1200px;
  --page-pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2,.8,.2,1);
}



/* Cross-document page transition — aligned with Alpgrid's navigation motion. */
@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  animation-duration: 520ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 520ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

html[data-view-direction="forward"]::view-transition-old(root) {
  animation-name: carlos-view-old-forward;
}

html[data-view-direction="forward"]::view-transition-new(root) {
  animation-name: carlos-view-new-forward;
}

html[data-view-direction="back"]::view-transition-old(root) {
  animation-name: carlos-view-old-back;
}

html[data-view-direction="back"]::view-transition-new(root) {
  animation-name: carlos-view-new-back;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: "Sora", Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.cookie-locked {
  overflow-y: auto;
  overflow-x: hidden;
}

body.cookie-locked > *:not(.cookie-gate) {
  user-select: none;
  -webkit-user-select: none;
}

body.cookie-locked .cookie-gate,
body.cookie-locked .cookie-gate * {
  user-select: text;
  -webkit-user-select: text;
}

body.cookie-locked .cookie-gate button {
  user-select: none;
  -webkit-user-select: none;
}

a { color: inherit; text-decoration: none; }

a:not(.button):not(.brand-lockup):not(.skip-link) {
  transition:
    color 320ms var(--ease),
    opacity 320ms var(--ease),
    transform 320ms var(--ease),
    text-shadow 320ms var(--ease);
}

a:not(.button):not(.brand-lockup):not(.skip-link):hover {
  transform: translateY(-1px);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(36,91,143,.34);
  outline-offset: 4px;
}

svg, img { display: block; }

.shell {
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 14px;
  left: 16px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.hero {
  position: relative;
  min-height: 730px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(36,91,143,.18), transparent 30%),
    radial-gradient(circle at 68% 62%, rgba(234,241,246,.06), transparent 34%),
    linear-gradient(135deg, #101827 0%, #101d31 48%, #0d1a2a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(17,24,39,.42), transparent);
}

.hero-aurora {
  position: absolute;
  inset: -18% -8% auto 38%;
  height: 620px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(36,91,143,.22), transparent 58%),
    radial-gradient(ellipse at 72% 42%, rgba(234,241,246,.07), transparent 42%);
  filter: blur(28px);
  animation: auroraShift 11s ease-in-out infinite alternate;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 32px 0 10px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-lockup img {
  width: min(390px, 42vw);
  height: auto;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.52);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
}

.header-meta i {
  width: 16px;
  height: 1px;
  background: rgba(255,255,255,.26);
}

.electro-wave {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto auto;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .78;
  mix-blend-mode: screen;
}

.wave-lines path {
  fill: none;
  stroke: url(#waveStroke);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-dasharray: 14 12;
  animation: waveFlow 16s linear infinite;
}

.wave-lines path:nth-child(2n) {
  animation-duration: 20s;
  animation-direction: reverse;
  opacity: .62;
}

.electro-pins line {
  stroke: rgba(234,241,246,.34);
  stroke-width: 1;
  animation: pinFlicker 5s ease-in-out infinite;
}

.wave-nodes circle:not([fill]) {
  fill: var(--ice);
  animation: nodePulse 4s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  min-height: 585px;
  padding: clamp(72px, 7vw, 96px) 0 clamp(52px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(240px, 4fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: end;
}

.hero-copy {
  max-width: 940px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cobalt);
  font-size: .74rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 40px;
  height: 2px;
  background: var(--cobalt);
}

.eyebrow-light { color: var(--ice); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 940px;
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(3.25rem, 5.7vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.05em;
  font-weight: 700;
}

.accent-dot { color: var(--cobalt); }

.audience-block {
  margin-top: 6px;
}

.audience-block > p {
  margin-bottom: 14px;
  color: rgba(255,255,255,.84);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.25;
  font-weight: 400;
}

.audience-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(234,241,246,.20);
  border-radius: 999px;
  color: rgba(255,255,255,.58);
  background: rgba(17,24,39,.30);
  backdrop-filter: blur(10px);
  font-size: clamp(.74rem, 1.05vw, .88rem);
  font-weight: 500;
  transition:
    color 460ms var(--ease),
    background-color 460ms var(--ease),
    border-color 460ms var(--ease),
    box-shadow 460ms var(--ease),
    transform 460ms var(--ease);
}

.audience-pill.is-active {
  color: var(--white);
  background: var(--cobalt);
  border-color: rgba(234,241,246,.42);
  box-shadow: 0 10px 24px rgba(36,91,143,.28), 0 0 26px rgba(36,91,143,.16);
  transform: translateY(-1px);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: .86rem;
  font-weight: 700;
  transform-origin: center;
  transition:
    transform 360ms var(--ease),
    box-shadow 360ms var(--ease),
    background-color 360ms var(--ease),
    border-color 360ms var(--ease),
    color 360ms var(--ease),
    filter 360ms var(--ease);
}

.button:hover {
  transform: translateY(-2px) scale(1.045);
}

.button-primary {
  color: var(--white);
  border-color: var(--cobalt);
  background: var(--cobalt);
  box-shadow: 0 10px 24px rgba(36,91,143,.20);
}
.button-primary:hover {
  background: #2d6fa8;
  border-color: #3b7fb8;
  box-shadow:
    0 14px 32px rgba(36,91,143,.34),
    0 0 30px rgba(36,91,143,.24);
  filter: brightness(1.08);
}

.button-ghost {
  color: rgba(255,255,255,.88);
  border-color: rgba(234,241,246,.26);
  background: rgba(17,24,39,.32);
  backdrop-filter: blur(10px);
}
.button-ghost:hover {
  color: var(--white);
  border-color: rgba(234,241,246,.62);
  background: rgba(234,241,246,.09);
  box-shadow:
    0 12px 28px rgba(17,24,39,.18),
    0 0 22px rgba(234,241,246,.08);
  filter: brightness(1.06);
}

.linkedin-badge {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  font-size: .72rem;
  font-weight: 800;
}

.hero-keywords {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  color: rgba(255,255,255,.34);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .17em;
}

.hero-keywords b {
  color: rgba(255,255,255,.44);
  font-weight: 400;
}

.hero-note {
  max-width: 280px;
  justify-self: end;
  align-self: end;
  display: grid;
  grid-template-columns: 2px 1fr;
  gap: 18px;
  padding-bottom: 18px;
}

.note-line {
  width: 2px;
  min-height: 82px;
  background: linear-gradient(to bottom, var(--ice), rgba(234,241,246,.10));
}

.hero-note p {
  margin: 0;
  color: rgba(255,255,255,.54);
  font-size: .7rem;
  line-height: 1.9;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.focus-section {
  position: relative;
  z-index: 2;
  padding: clamp(76px, 8vw, 110px) 0 clamp(84px, 8vw, 116px);
  background: var(--stone);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(42px, 5vw, 62px);
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-intro {
  margin: 0;
  max-width: 72ch;
  color: var(--slate);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  grid-column: span 2;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(17,24,39,.06);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-origin: center;
  transition:
    transform 360ms var(--ease),
    box-shadow 360ms var(--ease),
    border-color 360ms var(--ease),
    background-color 360ms var(--ease);
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.022);
  box-shadow:
    0 20px 42px rgba(17,24,39,.11),
    0 6px 16px rgba(17,24,39,.06);
  border-color: rgba(36,91,143,.18);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--cobalt);
  background: var(--ice);
  transition:
    transform 360ms var(--ease),
    background-color 360ms var(--ease),
    box-shadow 360ms var(--ease);
}

.service-card:hover .card-icon {
  transform: scale(1.06);
  background: #e3edf4;
  box-shadow: 0 8px 22px rgba(36,91,143,.10);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:nth-child(2) .card-icon svg { fill: currentColor; stroke: none; }

.service-card h3 {
  margin-bottom: 14px;
  min-height: 0;
  font-size: clamp(1.22rem, 1.6vw, 1.45rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.service-card p {
  margin-bottom: 24px;
  color: var(--slate);
  font-size: .95rem;
  line-height: 1.52;
}

.card-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-top: auto;
  border: 1px solid rgba(36,91,143,.22);
  border-radius: 50%;
  color: var(--cobalt);
  font-weight: 700;
  transition:
    color 360ms var(--ease),
    background-color 360ms var(--ease),
    border-color 360ms var(--ease),
    transform 360ms var(--ease),
    box-shadow 360ms var(--ease);
}

.service-card:hover .card-arrow {
  color: var(--white);
  background: var(--cobalt);
  border-color: var(--cobalt);
  transform: translateX(3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(36,91,143,.18);
}

.contact-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.footer-wave {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 62%;
  pointer-events: none;
  opacity: .16;
}

.footer-wave path {
  fill: none;
  stroke: rgba(36,91,143,.58);
  stroke-width: 1;
  stroke-dasharray: 14 12;
  animation: waveFlow 22s linear infinite;
}

.contact-grid {
  position: relative;
  z-index: 2;
  padding: clamp(76px, 8vw, 104px) 0 clamp(50px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  gap: clamp(52px, 8vw, 104px);
  align-items: center;
}

.contact-copy {
  max-width: 680px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 60ch;
  margin-bottom: 0;
  color: rgba(255,255,255,.66);
}

.brand-quote {
  position: relative;
  margin: 0;
  padding: 16px 0 0 28px;
  color: rgba(255,255,255,.76);
}

.quote-mark {
  position: absolute;
  top: -16px;
  left: 0;
  color: rgba(234,241,246,.24);
  font-size: 4.5rem;
  line-height: 1;
}

.brand-quote p {
  margin-bottom: 20px;
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  line-height: 1.55;
  font-style: italic;
  font-weight: 400;
}

.brand-quote footer {
  position: relative;
  padding-top: 16px;
  color: rgba(255,255,255,.68);
  font-size: .84rem;
}

.brand-quote footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--cobalt);
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand,
.footer-links {
  color: rgba(255,255,255,.44);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .11em;
}

.footer-brand span { margin-inline: 8px; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: .02em;
}

.footer-links i {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.16);
}

.footer-links a {
  position: relative;
  transition:
    color 320ms var(--ease),
    transform 320ms var(--ease),
    text-shadow 320ms var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateY(-1px);
  text-shadow: 0 0 14px rgba(255,255,255,.16);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-gate {
  position: fixed;
  z-index: 2000;
  left: 22px;
  bottom: 22px;
  width: min(calc(100vw - 44px), 430px);
  pointer-events: auto;
  animation: cookieSlideIn 900ms cubic-bezier(.16,1,.3,1) both;
}

.cookie-gate[hidden] { display: none; }

.cookie-card {
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  box-shadow: 0 22px 54px rgba(17,24,39,.18);
  backdrop-filter: blur(12px);
}

.cookie-kicker {
  margin-bottom: 10px;
  color: var(--cobalt);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cookie-card h2 {
  margin-bottom: 12px;
  font-size: 1.7rem;
  line-height: 1.1;
}

.cookie-card p {
  margin-bottom: 22px;
  color: var(--slate);
  font-size: .96rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cookie-actions button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--cobalt);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 360ms var(--ease),
    box-shadow 360ms var(--ease),
    filter 360ms var(--ease);
}

.cookie-actions button:hover {
  transform: scale(1.035);
  box-shadow: 0 12px 26px rgba(36,91,143,.26);
  filter: brightness(1.07);
}

.legal-shell {
  min-height: 100vh;
  background: var(--stone);
}

.legal-header {
  padding: 28px 0;
  background: var(--ink);
}

.legal-header .brand-lockup img {
  width: min(360px, 70vw);
}

.legal-main {
  padding: clamp(64px, 8vw, 108px) 0;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.legal-lead {
  margin-bottom: 42px;
  color: var(--slate);
  font-size: 1.08rem;
}

.legal-card {
  margin-bottom: 18px;
  padding: 26px 28px;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.legal-card p,
.legal-card li {
  color: var(--slate);
  font-size: .96rem;
}

.legal-card p:last-child,
.legal-card ul:last-child { margin-bottom: 0; }

.legal-card a {
  color: var(--cobalt);
  font-weight: 600;
}

.legal-footer {
  padding: 26px 0 38px;
  color: var(--slate);
  font-size: .82rem;
}

@keyframes carlos-view-old-forward {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-16%); opacity: .52; }
}

@keyframes carlos-view-new-forward {
  from { transform: translateX(34%); opacity: .2; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes carlos-view-old-back {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(16%); opacity: .52; }
}

@keyframes carlos-view-new-back {
  from { transform: translateX(-34%); opacity: .2; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes waveFlow {
  to { stroke-dashoffset: -220; }
}

@keyframes cookieSlideIn {
  from {
    opacity: 0;
    transform: translate3d(-36px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes nodePulse {
  0%, 100% { opacity: .36; transform: scale(.9); transform-origin: center; }
  50% { opacity: .82; transform: scale(1.12); transform-origin: center; }
}

@keyframes pinFlicker {
  0%, 100% { opacity: .18; }
  50% { opacity: .58; }
}

@keyframes auroraShift {
  from { transform: translate3d(-1%, 0, 0) scale(1); opacity: .62; }
  to { transform: translate3d(2%, 1%, 0) scale(1.04); opacity: .82; }
}

@media (max-width: 900px) {
  .header-meta { display: none; }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-note {
    max-width: 440px;
    justify-self: start;
  }

  .electro-wave {
    left: 24%;
    width: 118%;
    opacity: .56;
  }

  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-card:nth-child(4) {
    grid-column: auto;
  }

  .service-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand-quote {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  :root { --page-pad: 20px; }

  .site-header {
    padding-top: 22px;
  }

  .brand-lockup img {
    width: min(330px, 78vw);
  }

  .hero-content {
    min-height: 0;
    padding: 70px 0 62px;
  }

  .electro-wave {
    left: 18%;
    width: 150%;
    height: 88%;
    opacity: .34;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.35rem);
  }

  .audience-pills {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .audience-pill {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 340px;
  }

  .button {
    width: 100%;
  }

  .hero-keywords {
    max-width: 340px;
    font-size: .52rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .contact-grid {
    padding-top: 68px;
  }

  .footer-inner {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-gate {
    left: 16px;
    bottom: 16px;
    width: min(calc(100vw - 32px), 420px);
  }

  .cookie-card {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  :root { --page-pad: 18px; }

  h1 {
    font-size: 2.38rem;
  }

  .eyebrow {
    font-size: .64rem;
    letter-spacing: .14em;
  }

  .eyebrow > span { width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .audience-pill {
    transition: none;
  }

  ::view-transition-group(root),
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 1ms !important;
    animation-name: none !important;
  }
}

/* Experimental full-page services flow */
@media (min-width: 901px) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
  }

  .scroll-panel {
    min-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hero.scroll-panel {
    min-height: 100svh;
  }

  .contact-section.scroll-panel {
    min-height: 100svh;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .contact-section.scroll-panel .contact-grid {
    width: min(100% - (var(--page-pad) * 2), var(--container));
    height: calc(100svh - 88px);
    min-height: 0;
    margin-inline: auto;
    padding: 0;
    align-items: center;
    align-content: center;
  }
}

.fullpage-flow {
  position: relative;
}

.focus-intro {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 10vw, 132px) 0;
  background:
    radial-gradient(circle at 84% 36%, rgba(36,91,143,.07), transparent 28%),
    var(--stone);
}

.focus-intro > .shell {
  position: relative;
}

.focus-intro .section-heading {
  margin-bottom: 0;
}

.scroll-cue {
  margin-top: 42px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  color: var(--cobalt);
  background: transparent;
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.scroll-cue i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36,91,143,.24);
  border-radius: 50%;
  font-style: normal;
  transition:
    transform 360ms var(--ease),
    background-color 360ms var(--ease),
    color 360ms var(--ease),
    box-shadow 360ms var(--ease);
}

.scroll-cue:hover i {
  transform: translateY(4px) scale(1.06);
  color: var(--white);
  background: var(--cobalt);
  box-shadow: 0 10px 24px rgba(36,91,143,.16);
}

.service-panel {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.service-panel::before {
  content: "";
  position: absolute;
  width: min(52vw, 720px);
  aspect-ratio: 1;
  right: -12%;
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(36,91,143,.13), rgba(36,91,143,0) 68%);
  filter: blur(8px);
  pointer-events: none;
}

.service-panel-ink {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 38%, rgba(36,91,143,.16), transparent 28%),
    var(--ink);
}

.service-panel-ice {
  color: var(--ink);
  background: var(--ice);
}

.service-panel-stone {
  color: var(--ink);
  background: var(--stone);
}

.service-panel-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  min-height: 100svh;
  padding-top: clamp(72px, 8vw, 110px);
  padding-bottom: clamp(72px, 8vw, 110px);
}

.service-panel-number {
  position: absolute;
  top: clamp(48px, 7vw, 84px);
  left: 0;
  color: rgba(36,91,143,.16);
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: .8;
  font-weight: 800;
  letter-spacing: -.08em;
  user-select: none;
}

.service-panel-ink .service-panel-number {
  color: rgba(234,241,246,.07);
}

.service-panel-copy {
  max-width: 760px;
}

.service-panel-copy h2 {
  margin-bottom: 26px;
  max-width: 800px;
  font-size: clamp(2.9rem, 5.7vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.service-panel-copy > p:not(.eyebrow) {
  max-width: 62ch;
  margin: 0;
  color: var(--slate);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.62;
}

.service-panel-ink .service-panel-copy > p:not(.eyebrow) {
  color: rgba(255,255,255,.66);
}

.service-panel-visual {
  position: relative;
  justify-self: center;
  width: min(34vw, 430px);
  aspect-ratio: 1;
}

.signal-orbit,
.signal-line,
.signal-node {
  position: absolute;
  display: block;
}

.signal-orbit {
  inset: 8%;
  border: 1px solid rgba(36,91,143,.28);
  border-radius: 50%;
  animation: signalOrbit 12s linear infinite;
}

.signal-orbit::before,
.signal-orbit::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 22px rgba(36,91,143,.26);
}

.signal-orbit::before {
  top: 13%;
  right: 15%;
}

.signal-orbit::after {
  bottom: 14%;
  left: 12%;
}

.signal-orbit-small {
  inset: 28%;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 8s;
}

.signal-line {
  top: 50%;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cobalt), transparent);
  transform: rotate(-18deg);
  transform-origin: center;
}

.signal-line-wide {
  transform: rotate(21deg);
}

.signal-node {
  top: 42%;
  left: 46%;
  width: 34px;
  height: 34px;
  border: 8px solid rgba(36,91,143,.12);
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow:
    0 0 0 1px rgba(36,91,143,.22),
    0 0 34px rgba(36,91,143,.22);
  animation: signalPulse 3.4s ease-in-out infinite;
}

.signal-node-two {
  top: 18%;
  left: 70%;
  width: 22px;
  height: 22px;
  border-width: 5px;
  animation-delay: .8s;
}

.signal-node-three {
  top: 72%;
  left: 22%;
  width: 18px;
  height: 18px;
  border-width: 4px;
  animation-delay: 1.6s;
}

.service-panel-ink .signal-orbit {
  border-color: rgba(234,241,246,.18);
}

.scroll-nav {
  position: fixed;
  z-index: 1200;
  top: 50%;
  right: 24px;
  display: grid;
  gap: 11px;
  transform: translateY(-50%);
}

.scroll-nav-button {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(86,98,115,.34);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  cursor: pointer;
  transition:
    transform 320ms var(--ease),
    background-color 320ms var(--ease),
    box-shadow 320ms var(--ease);
}

.scroll-nav-button::after {
  content: "";
  position: absolute;
  inset: -8px;
}

.scroll-nav-button span {
  position: absolute;
  top: 50%;
  right: 22px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(17,24,39,.88);
  font-size: .64rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px,-50%);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.scroll-nav-button:hover span,
.scroll-nav-button:focus-visible span {
  opacity: 1;
  transform: translate(0,-50%);
}

.scroll-nav-button:hover {
  transform: scale(1.25);
}

.scroll-nav-button.is-active {
  background: var(--cobalt);
  box-shadow:
    0 0 0 4px rgba(36,91,143,.14),
    0 0 18px rgba(36,91,143,.24);
  transform: scale(1.22);
}

.service-panel .reveal {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(54px) scale(.97);
  transition:
    opacity 1100ms cubic-bezier(.16,1,.3,1),
    transform 1100ms cubic-bezier(.16,1,.3,1),
    filter 1100ms cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform, filter;
}

.service-panel .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

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

@keyframes signalPulse {
  0%, 100% { transform: scale(.92); opacity: .72; }
  50% { transform: scale(1.12); opacity: 1; }
}

@media (max-width: 900px) {
  html { scroll-snap-type: none; }

  .scroll-nav {
    display: none;
  }

  .focus-intro,
  .service-panel,
  .service-panel-inner {
    min-height: auto;
  }

  .focus-intro {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .service-panel-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .service-panel-number {
    top: 40px;
  }

  .service-panel-copy h2 {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }

  .service-panel-visual {
    width: min(66vw, 380px);
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .service-panel-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .service-panel-number {
    font-size: 5rem;
  }

  .service-panel-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .service-panel-visual {
    width: min(74vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none !important; }

  .signal-orbit,
  .signal-node {
    animation: none !important;
  }

  .service-panel .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Softer section handoff */
.service-panel::after,
.focus-intro::after,
.contact-section.scroll-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(72px, 10vh, 120px);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(17,24,39,.055), transparent);
  opacity: .55;
}

.service-panel-ink::after {
  background: linear-gradient(to bottom, rgba(255,255,255,.035), transparent);
}

@media (max-width: 900px) {
  .service-panel .reveal {
    filter: none;
  }

  .contact-section.scroll-panel .contact-grid {
    flex: initial;
    align-content: initial;
  }
}


/* Layered page transition prototype */
@media (min-width: 901px) {
  body {
    overflow-y: auto;
  }

  .scroll-panel {
    position: relative;
    transform-origin: center center;
    transition:
      transform 820ms cubic-bezier(.22,1,.36,1),
      opacity 820ms cubic-bezier(.22,1,.36,1),
      filter 820ms cubic-bezier(.22,1,.36,1),
      box-shadow 820ms cubic-bezier(.22,1,.36,1);
    will-change: transform, opacity, filter;
  }

  .scroll-panel.is-before-active {
    transform: translateY(-7vh) scale(.965);
    opacity: .58;
    filter: blur(4px);
  }

  .scroll-panel.is-after-active {
    transform: translateY(10vh) scale(.972);
    opacity: .46;
    filter: blur(7px);
  }

  .scroll-panel.is-active-section {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
    box-shadow: 0 18px 60px rgba(17,24,39,.08);
  }

  .service-panel-visual,
  .electro-wave,
  .footer-wave {
    transition: transform 980ms cubic-bezier(.22,1,.36,1);
    will-change: transform;
  }

  .scroll-panel.is-before-active .service-panel-visual,
  .scroll-panel.is-before-active .electro-wave,
  .scroll-panel.is-before-active .footer-wave {
    transform: translateY(3vh) scale(.985);
  }

  .scroll-panel.is-after-active .service-panel-visual,
  .scroll-panel.is-after-active .electro-wave,
  .scroll-panel.is-after-active .footer-wave {
    transform: translateY(-2vh) scale(1.02);
  }

  .scroll-panel.is-active-section .service-panel-visual,
  .scroll-panel.is-active-section .electro-wave,
  .scroll-panel.is-active-section .footer-wave {
    transform: translateY(0) scale(1);
  }

  .scroll-nav-button {
    overflow: visible;
  }

  .scroll-nav-button::before {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(36,91,143,.28);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.72);
    transition:
      opacity 520ms cubic-bezier(.22,1,.36,1),
      transform 520ms cubic-bezier(.22,1,.36,1),
      box-shadow 520ms cubic-bezier(.22,1,.36,1);
  }

  .scroll-nav-button.is-active::before {
    opacity: 1;
    transform: scale(1.35);
    box-shadow: 0 0 18px rgba(36,91,143,.26);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-panel,
  .service-panel-visual,
  .electro-wave,
  .footer-wave {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}


/* Small-screen heading fit */
@media (max-width: 360px) {
  .service-panel-copy h2 {
    font-size: clamp(2rem, 10.2vw, 2.75rem);
    line-height: .98;
    letter-spacing: -.05em;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .service-panel-copy > p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.55;
  }
}

@media (max-width: 320px) {
  .service-panel-copy h2 {
    font-size: 1.7rem;
  }
}


/* Global back-to-top — fingerprint motif */
.back-to-top {
  position: fixed;
  z-index: 1300;
  right: clamp(18px, 2.6vw, 34px);
  bottom: clamp(18px, 2.6vw, 34px);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244,241,236,.18);
  border-radius: 50%;
  color: var(--stone);
  background: rgba(17,24,39,.88);
  box-shadow: 0 12px 30px rgba(17,24,39,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.92);
  transition:
    opacity 320ms var(--ease),
    transform 320ms var(--ease),
    background-color 320ms var(--ease),
    border-color 320ms var(--ease),
    box-shadow 320ms var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--cobalt);
  border-color: rgba(244,241,236,.34);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 34px rgba(36,91,143,.26);
}

.back-to-top svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top .back-arrow {
  stroke-width: 1.9;
  opacity: .96;
}

@media (max-width: 620px) {
  .back-to-top {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 180ms linear;
  }
}
