/* =========================================================
   CUADRA SOLUTIONS LLC — Mobile-first landing page
   Pure CSS + local assets. No external libraries required.
   ========================================================= */

:root {
  --navy-950: #041327;
  --navy-900: #071a34;
  --navy-800: #0b2e65;
  --blue-700: #0755bd;
  --blue-600: #0768df;
  --blue-500: #1183ff;
  --silver-300: #c9d0db;
  --silver-100: #edf1f6;
  --paper: #f7f8fb;
  --white: #ffffff;
  --ink: #09172a;
  --muted: #5f6978;
  --line: rgba(9, 23, 42, 0.13);
  --display: "Bahnschrift Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Segoe UI", Arial, Helvetica, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-smooth: cubic-bezier(.65, 0, .35, 1);
  --header-height: 74px;
  --radius: 2px;
  --shadow: 0 24px 70px rgba(4, 19, 39, 0.16);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 14px);
  background: var(--navy-950);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-loading,
body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

::selection {
  color: var(--white);
  background: var(--blue-600);
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.shell {
  width: min(100% - 34px, 1240px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 92px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--display);
  font-size: .83rem;
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.1;
  text-transform: uppercase;
}

.eyebrow i {
  width: 34px;
  height: 2px;
  background: var(--blue-500);
  box-shadow: 9px 0 0 rgba(17, 131, 255, 0.35);
}

.eyebrow--dark {
  color: var(--blue-700);
}

.section-heading {
  display: grid;
  gap: 26px;
  margin-bottom: 42px;
}

.section-heading h2,
.about__copy h2,
.work__heading h2,
.contact__copy h2,
.promise h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 12vw, 5.8rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .9;
  text-transform: uppercase;
}

.section-heading h2 em,
.about__copy h2 em,
.work__heading h2 em {
  color: var(--blue-600);
  font-style: normal;
}

.section-heading__side,
.work__heading > p {
  max-width: 460px;
  color: var(--muted);
}

.section-heading__side > p,
.work__heading > p {
  margin: 0;
  font-size: 1rem;
}

/* ---------- Buttons ---------- */

.button {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 20px;
  overflow: hidden;
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  transition: color .35s ease, background .35s ease, border-color .35s ease, transform .35s var(--ease-out);
}

.button::before {
  position: absolute;
  inset: 0;
  background: var(--white);
  content: "";
  transform: translateX(-105%) skewX(-15deg);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}

.button > * {
  position: relative;
  z-index: 1;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .35s var(--ease-out);
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 16px 34px rgba(7, 104, 223, .25);
}

.button--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(7, 26, 52, .2);
  backdrop-filter: blur(8px);
}

.button:active {
  transform: scale(.98);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(0) skewX(0);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: var(--navy-900);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--navy-900);
  border-color: var(--white);
}

.button:hover svg,
.button:focus-visible svg {
  transform: translateX(4px);
}

/* ---------- Opening animation ---------- */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  transition: visibility 0s linear 1.25s;
}

.site-loader__panel {
  position: absolute;
  inset-block: 0;
  width: 62%;
  background: var(--navy-900);
  transition: transform 1.05s var(--ease-smooth) .18s;
}

.site-loader__panel--left {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.site-loader__panel--right {
  right: 0;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(145deg, var(--navy-900), #0b326e);
}

.site-loader::before,
.site-loader::after {
  position: absolute;
  z-index: 1;
  width: 34vw;
  height: 140vh;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 131, 255, .75) 48%, transparent 100%);
  content: "";
  opacity: .3;
  transform: rotate(28deg);
}

.site-loader::before { left: -25vw; }
.site-loader::after { right: -27vw; }

.site-loader__content {
  position: relative;
  z-index: 3;
  width: min(76vw, 380px);
  text-align: center;
  transition: opacity .4s ease, transform .55s var(--ease-out);
}

.site-loader__mark {
  position: relative;
  display: grid;
  width: min(70vw, 330px);
  aspect-ratio: 1.56;
  margin-inline: auto;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  animation: loader-card-in .85s var(--ease-out) both .18s;
}

.site-loader__mark::after {
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy-800), var(--blue-500), var(--navy-800));
  content: "";
  transform: translateX(-100%);
  animation: loader-scan 1.35s var(--ease-smooth) .45s both;
}

.site-loader__mark img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  animation: loader-logo-in .9s var(--ease-out) both .42s;
}

.site-loader__glow {
  position: absolute;
  width: 140%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 131, 255, .32), transparent 66%);
  animation: loader-glow 1.8s ease-in-out infinite alternate;
}

.site-loader__content > p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 23px 0 15px;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  animation: loader-copy-in .6s ease both .76s;
}

.site-loader__content > p span {
  width: 3px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue-500);
}

.site-loader__progress {
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
}

.site-loader__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue-500);
  transform: translateX(-100%);
  animation: loader-progress 1.65s var(--ease-smooth) .25s both;
}

.site-loader.is-exiting .site-loader__panel--left { transform: translateX(-105%); }
.site-loader.is-exiting .site-loader__panel--right { transform: translateX(105%); }
.site-loader.is-exiting .site-loader__content { opacity: 0; transform: scale(.94); }
.site-loader.is-hidden { visibility: hidden; pointer-events: none; }

@keyframes loader-card-in {
  from { opacity: 0; transform: translateY(28px) scale(.9); clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%); }
}

@keyframes loader-logo-in {
  from { opacity: 0; transform: scale(1.18); filter: blur(10px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes loader-copy-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes loader-progress { to { transform: translateX(0); } }
@keyframes loader-scan { 50%, 100% { transform: translateX(100%); } }
@keyframes loader-glow { to { opacity: .45; transform: scale(1.15); } }

/* ---------- Header ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 301;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), #79b9ff);
  box-shadow: 0 0 12px rgba(17, 131, 255, .7);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  display: grid;
  height: var(--header-height);
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-inline: 14px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(4, 19, 39, .86), rgba(4, 19, 39, .38));
  transition: height .35s ease, background .35s ease, box-shadow .35s ease, transform .45s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(4, 19, 39, .95);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  z-index: 302;
  justify-self: start;
}

.brand__plate {
  display: grid;
  width: 102px;
  height: 60px;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.brand__plate img {
  width: 84px;
  height: 54px;
  object-fit: contain;
}

.desktop-nav,
.header-cta {
  display: none;
}

.menu-toggle {
  position: relative;
  z-index: 302;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-content: center;
  gap: 6px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle::before {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, .22);
  content: "";
  transition: border-color .3s ease, transform .3s ease;
}

.menu-toggle span {
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform .4s var(--ease-out), opacity .25s ease, width .3s ease;
}

.menu-toggle span:nth-child(2) { width: 15px; justify-self: end; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu-toggle[aria-expanded="true"]::before { border-color: var(--blue-500); transform: rotate(45deg) scale(.72); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 290;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  padding: calc(var(--header-height) + 38px) 22px 34px;
  overflow: hidden auto;
  color: var(--white);
  background:
    linear-gradient(rgba(17, 131, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 131, 255, .05) 1px, transparent 1px),
    var(--navy-950);
  background-size: 42px 42px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity .35s ease, transform .75s var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu__glow {
  position: absolute;
  top: 20%;
  right: -40%;
  width: 90vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 104, 223, .32), transparent 66%);
  pointer-events: none;
}

.mobile-menu__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  color: rgba(255, 255, 255, .46);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mobile-menu nav {
  position: relative;
  display: grid;
  margin-block: 24px auto;
}

.mobile-menu nav a {
  display: grid;
  min-height: 70px;
  grid-template-columns: 38px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  transform: translateX(40px);
  opacity: 0;
  transition: color .3s ease, transform .6s var(--ease-out), opacity .4s ease;
}

.mobile-menu.is-open nav a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.is-open nav a:nth-child(1) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .18s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .24s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .3s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .36s; }

.mobile-menu nav a b {
  color: var(--blue-500);
  font-family: var(--display);
  font-size: .68rem;
}

.mobile-menu nav a span {
  font-family: var(--display);
  font-size: clamp(2rem, 11vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu nav a:active,
.mobile-menu nav a:hover { color: var(--blue-500); }

.mobile-menu__contact {
  position: relative;
  padding: 18px;
  background: var(--blue-700);
}

.mobile-menu__contact p {
  margin: 0 0 4px;
  font-size: .78rem;
}

.mobile-menu__contact a {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: max(780px, 100svh);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero__media,
.hero__overlay,
.hero__blueprint {
  position: absolute;
  inset: 0;
}

.hero__media {
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  filter: saturate(.9) contrast(1.03);
  transform: scale(1.16);
  transition: transform 2.4s var(--ease-out) .3s;
}

.site-ready .hero__media img {
  transform: scale(1.045);
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(4, 19, 39, .64) 0%, rgba(4, 19, 39, .34) 30%, rgba(4, 19, 39, .86) 100%),
    linear-gradient(90deg, rgba(4, 19, 39, .96) 0%, rgba(4, 19, 39, .72) 43%, rgba(4, 19, 39, .08) 100%);
}

.hero__blueprint {
  opacity: .14;
  background-image:
    linear-gradient(rgba(99, 174, 255, .4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 174, 255, .4) 1px, transparent 1px);
  background-position: center;
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, black, transparent 65%);
}

.hero::after {
  position: absolute;
  inset: auto -14vw -23vw auto;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 131, 255, .28);
  content: "";
  transform: rotate(45deg);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 34px;
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 115px;
}

.hero__copy {
  max-width: 710px;
}

.hero__eyebrow {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease 1.02s, transform .75s var(--ease-out) 1.02s;
}

.site-ready .hero__eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 18vw, 8.8rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .78;
  text-transform: uppercase;
  text-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}

.hero-line {
  display: block;
  padding-bottom: .08em;
  overflow: hidden;
}

.hero-line > span {
  display: block;
  transform: translateY(118%) skewY(5deg);
  transition: transform 1.05s var(--ease-out);
}

.site-ready .hero-line:nth-child(1) > span { transition-delay: .5s; transform: translateY(0) skewY(0); }
.site-ready .hero-line:nth-child(2) > span { transition-delay: .64s; transform: translateY(0) skewY(0); }
.site-ready .hero-line:nth-child(3) > span { transition-delay: .78s; transform: translateY(0) skewY(0); }

.hero-line--accent {
  color: #61adff;
  font-size: .58em;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.hero__intro {
  max-width: 590px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .98rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease 1s, transform .75s var(--ease-out) 1s;
}

.site-ready .hero__intro {
  opacity: 1;
  transform: translateY(0);
}

.hero__actions {
  display: grid;
  gap: 11px;
  margin-top: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease 1.12s, transform .75s var(--ease-out) 1.12s;
}

.site-ready .hero__actions {
  opacity: 1;
  transform: translateY(0);
}

.hero-card {
  display: block;
  width: min(100%, 330px);
  margin-left: auto;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s ease 1.25s, transform .9s var(--ease-out) 1.25s, box-shadow .35s ease;
}

.site-ready .hero-card {
  opacity: 1;
  transform: translateY(0);
}

.hero-card__image {
  height: 140px;
  overflow: hidden;
}

.hero-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.hero-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.hero-card__body small {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-700);
  font-family: var(--display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-card__body strong {
  display: block;
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-card__body > svg {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 11px;
  color: var(--white);
  background: var(--blue-700);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-card:hover { box-shadow: 0 30px 70px rgba(0, 0, 0, .34); }
.hero-card:hover .hero-card__image img { transform: scale(1.08); }

.hero__side-label {
  display: none;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 20px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .65);
  font-family: var(--display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 38px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .28);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--blue-500);
  content: "";
  animation: scroll-cue 1.8s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes scroll-cue { 55%, 100% { transform: translateX(100%); } }

/* ---------- Trust strip ---------- */

.trust-strip {
  position: relative;
  z-index: 5;
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-700), var(--navy-800));
  box-shadow: 0 14px 34px rgba(7, 46, 101, .18);
}

.trust-strip__inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 26px;
  padding-block: 18px;
  overflow: auto hidden;
  scrollbar-width: none;
}

.trust-strip__inner::-webkit-scrollbar { display: none; }

.trust-strip__inner > div {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-strip__inner > div svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.trust-strip__inner > div b {
  color: #82c2ff;
  font-size: 1rem;
}

.trust-strip__inner > i {
  width: 1px;
  height: 28px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .3);
}

/* ---------- Services ---------- */

.services {
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 85, 189, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 85, 189, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

.services::before {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 260px;
  aspect-ratio: 1;
  border: 38px solid rgba(7, 104, 223, .035);
  content: "";
  transform: rotate(45deg);
}

.slider-controls {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.slider-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: color .3s ease, background .3s ease, transform .3s ease;
}

.slider-controls button:hover,
.slider-controls button:focus-visible {
  color: var(--white);
  background: var(--blue-700);
  transform: translateY(-3px);
}

.services__track {
  display: grid;
  grid-auto-columns: min(84vw, 340px);
  grid-auto-flow: column;
  gap: 14px;
  margin-inline: -17px;
  padding: 2px 17px 24px;
  overflow: auto hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 17px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.services__track::-webkit-scrollbar { display: none; }

.service-card {
  --card-accent: var(--blue-700);
  position: relative;
  display: flex;
  min-height: 450px;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(9, 23, 42, .07);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(4, 19, 39, .06);
  scroll-snap-align: start;
  transition: border-color .45s ease, box-shadow .45s ease, transform .45s var(--ease-out);
}

.service-card::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent), #73baff);
  content: "";
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}

.service-card__media {
  position: relative;
  height: 210px;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--silver-100);
}

.service-card__media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 19, 39, .56) 0%, rgba(4, 19, 39, .04) 55%, rgba(4, 19, 39, .24) 100%),
    linear-gradient(110deg, rgba(7, 85, 189, .18), transparent 56%);
  content: "";
  pointer-events: none;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-position, center);
  filter: saturate(.92) contrast(1.02);
}

.service-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 27px 25px 29px;
  background: var(--white);
  transition: color .42s ease, background .42s ease;
}

.service-card__body::before {
  position: absolute;
  inset: 0 auto auto 25px;
  width: 48px;
  height: 4px;
  background: var(--card-accent);
  content: "";
  transform: translateY(-2px);
}

.service-card__top {
  position: absolute;
  z-index: 4;
  top: 17px;
  right: 17px;
  left: 17px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-card__top > span {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(4, 19, 39, .48);
  backdrop-filter: blur(8px);
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.service-card__top > svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  color: var(--white);
  background: var(--card-accent);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
  box-shadow: 0 10px 24px rgba(4, 19, 39, .22);
  transition: color .35s ease, background .35s ease, transform .45s var(--ease-out);
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .95;
  text-transform: uppercase;
}

.service-card p {
  max-width: 260px;
  margin: 0;
  padding-right: 40px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
  transition: color .4s ease;
}

.service-card__body > a {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--card-accent);
  transition: color .35s ease, background .35s ease, transform .35s var(--ease-out);
}

.service-card__body > a svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card--blue { --card-accent: var(--blue-500); }
.service-card--navy { --card-accent: var(--navy-800); }

.service-card:hover {
  z-index: 2;
  border-color: rgba(7, 104, 223, .32);
  box-shadow: 0 28px 60px rgba(4, 19, 39, .2);
  transform: translateY(-8px);
}

.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .service-card__media img { filter: saturate(1.06) contrast(1.03); transform: scale(1.11) !important; }
.service-card:hover .service-card__body { color: var(--white); background: var(--navy-900); }
.service-card:hover p { color: rgba(255, 255, 255, .7); }
.service-card:hover .service-card__top > svg { color: var(--navy-900); background: var(--white); transform: rotate(-5deg) scale(1.06); }
.service-card:hover .service-card__body > a { color: var(--navy-900); background: var(--white); transform: translateX(3px); }

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-700);
  transform: rotate(-1.2deg) scale(1.02);
}

.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  padding-block: 18px;
  animation: marquee 24s linear infinite;
}

.marquee__track span {
  font-family: var(--display);
  font-size: clamp(1.8rem, 8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__track b {
  color: #8ec9ff;
  font-size: .62rem;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */

.about {
  overflow: hidden;
  background: var(--white);
}

.about::after {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 330px;
  aspect-ratio: 1;
  border: 46px solid rgba(7, 104, 223, .04);
  content: "";
  transform: rotate(45deg);
}

.about__grid {
  display: grid;
  gap: 60px;
}

.about__visual {
  position: relative;
  min-width: 0;
}

.about__image {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--silver-100);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 90% 100%, 0 100%);
}

.about__image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  content: "";
  pointer-events: none;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% center;
}

.about__badge {
  position: absolute;
  z-index: 3;
  right: -1px;
  bottom: 24px;
  width: min(78%, 270px);
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  box-shadow: 0 18px 42px rgba(7, 46, 101, .24);
}

.about__badge::before {
  position: absolute;
  top: -9px;
  left: 24px;
  width: 52px;
  height: 9px;
  background: #8ec9ff;
  content: "";
}

.about__badge strong,
.about__badge span {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.55rem, 6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .95;
  text-transform: uppercase;
}

.about__badge span { color: #8ec9ff; }

.about__outline {
  position: absolute;
  z-index: 0;
  top: 35%;
  right: -34px;
  color: transparent;
  font-family: var(--display);
  font-size: 4.4rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(7, 104, 223, .17);
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.about__copy h2 {
  margin-bottom: 28px;
}

.about__lead {
  margin: 0 0 35px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.about__values {
  border-top: 1px solid var(--line);
}

.about__values article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.about__values article > span {
  padding-top: 4px;
  color: var(--blue-600);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.about__values h3 {
  margin: 0 0 3px;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.about__values p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  padding-bottom: 7px;
  color: var(--blue-700);
  border-bottom: 2px solid var(--blue-700);
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.text-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .3s ease;
}

.text-link:hover svg { transform: translateX(5px); }

/* ---------- Promise ---------- */

.promise {
  position: relative;
  padding-block: 96px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-950), #0a2d61);
}

.promise__grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(113, 180, 255, .45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 180, 255, .45) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(90deg, transparent, black, transparent);
}

.promise::before,
.promise::after {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 131, 255, .26);
  content: "";
  transform: rotate(45deg);
}

.promise::before { top: -210px; right: -180px; width: 460px; }
.promise::after { bottom: -140px; left: -160px; width: 360px; }

.promise__inner {
  position: relative;
  z-index: 1;
}

.promise h2 {
  max-width: 1050px;
  margin-bottom: 50px;
}

.promise h2 span {
  color: #69b3ff;
}

.promise__steps {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .15);
}

.promise__steps article {
  position: relative;
  min-height: 210px;
  padding: 27px;
  overflow: hidden;
  background: rgba(7, 26, 52, .9);
  transition: background .4s ease, transform .4s var(--ease-out);
}

.promise__steps article::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 145px;
  aspect-ratio: 1;
  border: 1px solid rgba(105, 179, 255, .22);
  content: "";
  transform: rotate(45deg);
  transition: background .4s ease, transform .5s var(--ease-out);
}

.promise__steps article:hover {
  background: var(--blue-700);
  transform: translateY(-5px);
}

.promise__steps article:hover::after { background: rgba(255, 255, 255, .08); transform: rotate(55deg); }

.promise__steps b {
  display: block;
  margin-bottom: 36px;
  color: #69b3ff;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .16em;
}

.promise__steps article:hover b { color: var(--white); }

.promise__steps h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  text-transform: uppercase;
}

.promise__steps p {
  max-width: 290px;
  margin: 0;
  color: rgba(255, 255, 255, .63);
  font-size: .88rem;
  line-height: 1.55;
}

/* ---------- Work gallery ---------- */

.work {
  overflow: hidden;
  background: var(--paper);
}

.work__heading > p {
  align-self: end;
}

.work-grid {
  display: grid;
  grid-auto-columns: min(86vw, 410px);
  grid-auto-flow: column;
  gap: 14px;
  margin-inline: -17px;
  padding: 0 17px 20px;
  overflow: auto hidden;
  scroll-padding-inline: 17px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.work-grid::-webkit-scrollbar { display: none; }

.project {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  scroll-snap-align: start;
}

.project__image,
.project__image img,
.project__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project__image img {
  object-fit: cover;
}

.project--hero .project__image img { object-position: 66% center; }

.project__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 19, 39, .03) 35%, rgba(4, 19, 39, .86) 100%);
  transition: background .45s ease;
}

.project__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  align-items: end;
  padding: 25px;
  transition: transform .45s var(--ease-out);
}

.project__content > span {
  align-self: start;
  padding-top: 4px;
  color: #78bbff;
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 700;
}

.project__content small {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .65);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project__content h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .9;
  text-transform: uppercase;
}

.project:hover .project__shade { background: linear-gradient(180deg, rgba(4, 19, 39, .12), rgba(4, 19, 39, .92)); }
.project:hover .project__content { transform: translateY(-9px); }
.project:hover .project__image img { transform: scale(1.09) !important; }

/* ---------- Contact ---------- */

.contact {
  position: relative;
  padding-block: 94px 118px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.contact__visual,
.contact__wash {
  position: absolute;
  inset: 0;
}

.contact__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: .34;
}

.contact__wash {
  background:
    linear-gradient(180deg, rgba(4, 19, 39, .77), rgba(4, 19, 39, .97)),
    linear-gradient(90deg, var(--navy-950), transparent);
}

.contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px;
}

.contact__copy h2 {
  margin-bottom: 25px;
}

.contact__copy h2 span { color: #6eb6ff; }

.contact__copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
}

.contact__phones {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, .16);
}

.contact__phones a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 17px 18px;
  overflow: hidden;
  background: rgba(7, 26, 52, .8);
  transition: color .35s ease, background .35s ease;
}

.contact__phones a::before {
  position: absolute;
  inset: 0;
  background: var(--blue-700);
  content: "";
  transform: translateX(-102%);
  transition: transform .55s var(--ease-out);
}

.contact__phones a > * { position: relative; z-index: 1; }

.contact__phones small {
  grid-column: 1;
  color: rgba(255, 255, 255, .52);
  font-family: var(--display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact__phones strong {
  grid-column: 1;
  font-family: var(--display);
  font-size: clamp(1.7rem, 8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.05;
}

.contact__phones svg {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 25px;
  height: 25px;
  align-self: center;
  fill: none;
  stroke: #69b3ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact__phones a:hover::before { transform: translateX(0); }
.contact__phones a:hover svg { stroke: var(--white); }

.quote-form {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 27px 22px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 75px rgba(0, 0, 0, .32);
}

.quote-form::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 8px;
  background: linear-gradient(90deg, var(--blue-500), var(--navy-800));
  content: "";
}

.quote-form__head {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.quote-form__head span {
  color: var(--blue-700);
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.quote-form__head b {
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}

.quote-form label {
  display: grid;
  gap: 7px;
}

.quote-form label > span {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid #cbd1da;
  border-radius: 0;
  outline: 0;
  background: transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 2px 0 var(--blue-600);
}

.quote-form__submit {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.quote-form__note {
  margin: -7px 0 0;
  color: #77808e;
  font-size: .72rem;
  line-height: 1.45;
}

.quote-form__note.is-active {
  color: var(--blue-700);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 48px 86px;
  color: rgba(255, 255, 255, .66);
  background: #020d1d;
}

.site-footer__top {
  display: grid;
  gap: 26px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-brand {
  display: grid;
  width: 148px;
  height: 96px;
  place-items: center;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
}

.footer-brand img {
  width: 124px;
  height: 85px;
  object-fit: contain;
}

.site-footer__top p {
  max-width: 330px;
  margin: 0;
  font-size: .92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
}

.site-footer nav a {
  color: var(--white);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.site-footer nav a:hover { color: #69b3ff; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 23px;
  font-family: var(--display);
  font-size: .67rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer__bottom a { color: #69b3ff; }

.mobile-call {
  position: fixed;
  z-index: 150;
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  box-shadow: 0 15px 38px rgba(4, 19, 39, .28);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: opacity .3s ease, transform .35s var(--ease-out);
}

.mobile-call svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mobile-call.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* ---------- Scroll reveal + image motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transition: opacity .8s ease, transform .9s var(--ease-out), clip-path 1.05s var(--ease-out);
  will-change: opacity, transform;
}

.js [data-reveal="up"] { transform: translateY(42px); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="clip"] { clip-path: inset(0 100% 0 0); }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translate(0);
  clip-path: inset(0 0 0 0);
}

.js .service-card.is-visible:hover {
  transform: translateY(-8px);
}

.js .promise__steps article.is-visible:hover {
  transform: translateY(-5px);
}

.js .motion-image {
  isolation: isolate;
}

.js .motion-image::before {
  position: absolute;
  inset: -10% auto -10% -42%;
  z-index: 3;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(17, 131, 255, .72), rgba(255, 255, 255, .42), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: skewX(-13deg) translateX(0);
}

.js .motion-image.is-in-view::before {
  animation: image-sweep 1.05s var(--ease-smooth) both;
}

.js .motion-image img {
  transform: scale(1.13);
  transition: transform 1.4s var(--ease-out);
  will-change: transform;
}

.js .motion-image.is-in-view img {
  transform: scale(1.02);
}

@keyframes image-sweep {
  0% { opacity: 0; transform: skewX(-13deg) translateX(0); }
  18% { opacity: .9; }
  72% { opacity: .65; }
  100% { opacity: 0; transform: skewX(-13deg) translateX(470%); }
}

/* ---------- Tablet ---------- */

@media (min-width: 640px) {
  .shell { width: min(100% - 64px, 1240px); }
  .section { padding-block: 110px; }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero__actions .button { min-width: 190px; }

  .services__track,
  .work-grid {
    margin-inline: -32px;
    padding-inline: 32px;
    scroll-padding-inline: 32px;
  }

  .quote-form { padding: 36px; }

  .promise__steps { grid-template-columns: repeat(3, 1fr); }

  .site-footer__top {
    grid-template-columns: 170px 1fr;
  }

  .site-footer nav { grid-column: 1 / -1; }
}

/* ---------- Desktop ---------- */

@media (min-width: 980px) {
  :root { --header-height: 88px; }

  .section { padding-block: 138px; }

  .site-header {
    grid-template-columns: 210px 1fr auto;
    padding-inline: 32px;
  }

  .brand__plate {
    width: 164px;
    height: 78px;
  }

  .brand__plate img {
    width: 126px;
    height: 72px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 2.8vw, 48px);
  }

  .desktop-nav a {
    position: relative;
    padding-block: 12px;
    font-family: var(--display);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: var(--blue-500);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease-out);
  }

  .desktop-nav a:hover::after,
  .desktop-nav a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-cta {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    gap: 18px;
    padding: 14px 21px;
    background: var(--blue-700);
    font-family: var(--display);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .3s ease, transform .3s ease;
  }

  .header-cta svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .3s ease;
  }

  .header-cta:hover { background: var(--blue-500); transform: translateY(-2px); }
  .header-cta:hover svg { transform: translateX(4px); }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }

  .hero {
    min-height: max(770px, 100svh);
  }

  .hero__media img { object-position: center; }

  .hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 335px);
    align-items: end;
    gap: clamp(50px, 7vw, 105px);
    padding-top: calc(var(--header-height) + 72px);
    padding-bottom: 102px;
  }

  .hero h1 { font-size: clamp(6.6rem, 8.2vw, 9.2rem); }
  .hero__intro { font-size: 1.04rem; }

  .hero-card {
    margin-bottom: 18px;
  }

  .hero-card__image { height: 190px; }

  .hero__side-label {
    position: absolute;
    z-index: 5;
    top: 50%;
    right: 19px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .58);
    font-family: var(--display);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    transform: translateY(-50%) rotate(90deg) translateX(50%);
    transform-origin: right center;
  }

  .hero__side-label i {
    width: 38px;
    height: 1px;
    background: var(--blue-500);
  }

  .scroll-cue {
    right: 32px;
    bottom: 24px;
    left: auto;
  }

  .trust-strip__inner {
    justify-content: space-between;
    overflow: visible;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
    align-items: end;
    gap: 90px;
    margin-bottom: 65px;
  }

  .section-heading h2,
  .about__copy h2,
  .work__heading h2,
  .contact__copy h2,
  .promise h2 {
    font-size: clamp(4.3rem, 5.6vw, 6.5rem);
  }

  .slider-controls { display: none; }

  .services__track {
    grid-auto-columns: auto;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: var(--line);
  }

  .service-card {
    min-height: 440px;
    scroll-snap-align: none;
  }

  .service-card__media { height: 205px; }

  .about__grid {
    grid-template-columns: minmax(430px, .9fr) minmax(420px, 1fr);
    align-items: center;
    gap: clamp(70px, 8vw, 135px);
  }

  .about__visual { padding-left: 28px; }
  .about__image { aspect-ratio: 4.35 / 5; }
  .about__badge { right: -34px; bottom: 36px; }
  .about__outline { right: auto; left: -52px; }
  .about__lead { font-size: 1.08rem; }

  .promise { padding-block: 130px; }
  .promise h2 { margin-bottom: 72px; }
  .promise__steps article { min-height: 250px; padding: 34px; }
  .promise__steps h3 { font-size: 2.8rem; }

  .work-grid {
    grid-auto-columns: auto;
    grid-auto-flow: row;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: repeat(2, 330px);
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .project {
    min-height: 0;
    scroll-snap-align: none;
  }

  .project--hero { grid-row: 1 / 3; }
  .project__content { padding: 30px; }
  .project__content h3 { font-size: clamp(2.3rem, 3.4vw, 4rem); }

  .contact { padding-block: 135px; }

  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 510px);
    align-items: center;
    gap: clamp(70px, 8vw, 130px);
  }

  .contact__wash {
    background:
      linear-gradient(90deg, rgba(4, 19, 39, .98) 0%, rgba(4, 19, 39, .84) 48%, rgba(4, 19, 39, .58) 100%),
      linear-gradient(180deg, rgba(4, 19, 39, .2), rgba(4, 19, 39, .8));
  }

  .contact__phones { max-width: 500px; }
  .quote-form { padding: 42px; }

  .site-footer { padding-block: 56px 30px; }
  .site-footer__top { grid-template-columns: 175px 1fr auto; }
  .site-footer nav { grid-column: auto; justify-content: flex-end; }
  .mobile-call { display: none; }
}

@media (min-width: 1240px) {
  .site-header { padding-inline: 48px; }
  .service-card__media { height: 220px; }
  .service-card__body { padding: 31px 30px 33px; }
  .service-card__body::before { left: 30px; }
  .service-card__body > a { right: 30px; bottom: 30px; }
  .services__track { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Small phones ---------- */

@media (max-width: 380px) {
  .hero h1 { font-size: 3.25rem; }
  .hero__content { padding-top: calc(var(--header-height) + 50px); }
  .hero-card { width: 88%; }
  .hero-card__image { height: 112px; }
  .contact__phones strong { font-size: 1.55rem; }
}

/* ---------- Motion preferences ---------- */

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

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

  .js [data-reveal],
  .js .motion-image img,
  .hero-line > span,
  .hero__eyebrow,
  .hero__intro,
  .hero__actions,
  .hero-card {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
