/* ==========================================================================
   Highland Vault Technologies — professional theme
   White · Blue
   ========================================================================== */

:root {
  --deep: #0B1F4D;
  --deep-2: #12306E;
  --deep-3: #163A8A;
  --ink: #0B1B3F;
  --body: #475569;
  --muted: #64748B;
  --ivory: #F5F8FF;
  --cream: #E8F0FE;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --header-bg: rgba(255, 255, 255, 0.97);
  --hero-a: #F2F6FF;
  --hero-b: #F8FAFF;
  --grid: rgba(29, 78, 216, 0.06);
  --footer: #081736;
  --invalid-bg: #FFF8F7;
  --bezel: #0B1F4D;
  --cta-bg: #0B1F4D;
  --blue-tint: #E8EEFD;
  --green-tint: #E6F3EC;
  --peach-tint: #FBEEDD;
  --green-soft: #D7F0E1;
  --green-text: #157347;
  --peach-text: #9A5410;
  --line: #E2E8F3;
  --line-2: #CFD9EA;
  --sky: #60A5FA;
  --blue: #1D4ED8;
  --blue-text: #1E40AF;
  --on-deep: #E8EEFB;
  --on-deep-muted: #B6C4E0;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --container: 1220px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 9vw, 120px);
  --header-h: 84px;
  --radius: 10px;
  --shadow-sm: 0 2px 6px rgba(11, 31, 77, 0.05), 0 10px 24px -12px rgba(11, 31, 77, 0.12);
  --shadow-md: 0 4px 12px rgba(11, 31, 77, 0.06), 0 24px 48px -20px rgba(11, 31, 77, 0.22);
  --shadow-lg: 0 30px 70px -28px rgba(6, 18, 46, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A1020;
  --surface: #111A2E;
  --ivory: #0D1527;
  --cream: #16223D;
  --line: #1F2A44;
  --line-2: #2A3756;
  --ink: #E7ECF7;
  --body: #A9B4CA;
  --muted: #8D99B3;
  --blue: #2563EB;
  --blue-text: #93C5FD;
  --deep: #0E1A36;
  --deep-2: #13234A;
  --deep-3: #1B3266;
  --header-bg: rgba(10, 16, 32, 0.9);
  --hero-a: #0B1430;
  --hero-b: #0A1226;
  --grid: rgba(96, 165, 250, 0.07);
  --footer: #070C19;
  --invalid-bg: rgba(179, 38, 30, 0.12);
  --bezel: #22304F;
  --cta-bg: #12224A;
  --blue-tint: #121D38;
  --green-tint: #0F2420;
  --peach-tint: #241B12;
  --green-soft: rgba(52, 199, 120, 0.14);
  --green-text: #6EE7A8;
  --peach-text: #F6B36B;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25), 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3), 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 70px -28px rgba(0, 0, 0, 0.8);
}
:root[data-theme="dark"] .hero__blob { opacity: .45; }
:root[data-theme="dark"] .hero__blob--c { opacity: .12; }
:root[data-theme="dark"] .btn--deep,
:root[data-theme="dark"] .work-card__go { background: var(--blue); }
:root[data-theme="dark"] .btn--deep:hover { background: #1D4ED8; }
:root[data-theme="dark"] .svc__tab.is-active .svc__tab-num,
:root[data-theme="dark"] .step:hover .step__num { background: var(--blue); color: #fff; border-color: var(--blue); }
:root[data-theme="dark"] .hero__mark,
:root[data-theme="dark"] .hero__stats dd { color: var(--sky); }
/* Dark logos on transparent backgrounds become light monochrome */
:root[data-theme="dark"] .clients__logo img { filter: grayscale(1) invert(1) brightness(1.4); mix-blend-mode: screen; }
:root[data-theme="dark"] .clients__logo img { opacity: .45; }
:root[data-theme="dark"] .clients__logo:hover img,
:root[data-theme="dark"] .clients__logo:focus-visible img { filter: grayscale(1) invert(1) brightness(1.6); opacity: 1; }
:root[data-theme="dark"] .field input::placeholder,
:root[data-theme="dark"] .field textarea::placeholder { color: #6B7894; }

/* Circular reveal when switching themes (View Transitions API) */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  position: relative; flex: none;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: var(--surface); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; overflow: hidden;
  transition: border-color .3s ease, background-color .3s ease, transform .4s var(--ease);
}
.theme-toggle:hover { border-color: var(--blue); transform: rotate(-12deg); }
.theme-toggle svg {
  grid-area: 1 / 1; width: 20px; height: 20px;
  transition: transform .6s var(--ease), opacity .4s ease;
}
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
.theme-toggle__moon { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: none; color: var(--sky); }
:root[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(.4); }
.header__actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, select, textarea, button { font: inherit; color: inherit; }
::selection { background: var(--sky); color: var(--deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 6px; background: var(--deep); color: #fff;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--sky); }
.section-header--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; color: var(--blue); font-weight: 500; }
.lead { font-size: 18px; line-height: 1.7; color: var(--body); text-wrap: pretty; }
.body { font-size: 17px; line-height: 1.75; color: var(--body); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 6px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s var(--ease);
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-text); box-shadow: 0 14px 30px -14px rgba(29, 78, 216, 0.75); }
.btn--deep { background: var(--deep); color: #fff; }
.btn--deep:hover { background: var(--deep-3); box-shadow: 0 14px 30px -14px rgba(11, 31, 77, 0.7); }
.btn--outline-light { border-color: rgba(232, 238, 251, 0.4); color: var(--on-deep); }
.btn--outline-light:hover { border-color: var(--sky); color: var(--sky); }

/* Sheen across blue buttons */
.btn--blue::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .9s var(--ease);
}
.btn--blue:hover::after { transform: translateX(110%); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--ink);
  transition: background-color .4s ease, box-shadow .4s ease, color .4s ease;
}
.header.is-scrolled {
  background: var(--header-bg);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 31, 77, 0.3);
}
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 40px; transition: height .4s var(--ease); }
.header.is-scrolled .header__inner { height: 72px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { display: block; height: 66px; width: auto; transition: height .4s var(--ease), opacity .3s var(--ease); }
.header.is-scrolled .brand__logo { height: 54px; }
.brand:hover .brand__logo { opacity: .85; }
.brand__logo--white { display: none; }
:root[data-theme="dark"] .brand__logo--blue { display: none; }
:root[data-theme="dark"] .brand__logo--white { display: block; }
.brand--light .brand__logo { height: 64px; }

.nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; opacity: .9; transition: opacity .25s ease, color .25s ease; }
.nav a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1.5px; background: var(--sky);
  transition: left .4s var(--ease), right .4s var(--ease);
}
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { left: 0; right: 0; }
.header__cta { height: 44px; padding: 0 20px; font-size: 14px; }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 6px;
  background: transparent; cursor: pointer; position: relative; opacity: .9;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.6px; background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s ease, top .35s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav { background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(11, 31, 77, 0.3); }
.mobile-nav nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 24px; }
.mobile-nav a:not(.btn) {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink);
}
.mobile-nav .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, min(100svh, 960px));
  display: flex; flex-direction: column;
  padding-top: var(--header-h);
  background: linear-gradient(180deg, var(--hero-a) 0%, var(--hero-b) 55%, var(--bg) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero__copy {
  flex: 1;
  width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__gridlines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 65% at 50% 45%, #000 25%, transparent 78%);
  mask-image: radial-gradient(60% 65% at 50% 45%, #000 25%, transparent 78%);
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.hero__blob--a { width: 560px; height: 560px; right: -140px; top: -60px; background: rgba(96, 165, 250, 0.32); }
.hero__blob--b { width: 480px; height: 480px; left: -160px; bottom: 0; background: rgba(147, 197, 253, 0.34); }
.hero__blob--c { width: 420px; height: 420px; left: 50%; top: 30%; margin-left: -210px; background: rgba(191, 219, 254, 0.45); }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 6px 18px -12px rgba(11, 31, 77, 0.35);
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.hero__kicker-tag {
  padding: 4px 10px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; flex: none;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 104px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hero__line { display: block; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .w > span { display: inline-block; }
.hero__mark { position: relative; display: inline-block; color: var(--blue); font-style: italic; font-weight: 500; }
.hero__underline {
  position: absolute; left: -4%; bottom: -0.16em; width: 108%; height: 0.34em;
  color: var(--sky); overflow: visible;
}

.hero__lede { max-width: 640px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--body); text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }
.hero__play { display: inline-flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.hero__play-icon {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--blue); border: 1px solid var(--line-2);
  box-shadow: 0 8px 20px -12px rgba(29, 78, 216, 0.5);
  transition: background-color .3s ease, color .3s ease, transform .4s var(--ease);
}
.hero__play-icon svg { width: 14px; height: 14px; margin-left: 2px; }
.hero__play-icon::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--sky);
  animation: ring-pulse 2.4s var(--ease) infinite;
}
.hero__play:hover .hero__play-icon { background: var(--blue); color: #fff; transform: scale(1.06); }

.hero__stats {
  display: flex; justify-content: center;
  margin: 12px 0 0; padding: 22px 8px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero__stats div { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; padding: 0 clamp(20px, 4vw, 48px); }
.hero__stats div + div { border-left: 1px solid var(--line); }
.hero__stats dd { margin: 0; font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 1; color: var(--blue); }
.hero__stats dt { font-size: 13.5px; color: var(--muted); }

/* Initial state while GSAP prepares the intro */
.hero-anim [data-hero-item],
.hero-anim [data-hero-title] { opacity: 0; }

/* Browser device */
.device {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.device__bar {
  height: 38px; display: flex; align-items: center; gap: 14px; padding: 0 14px;
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.device__dots { display: inline-flex; gap: 6px; }
.device__dots i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCE8; }
.device__dots i:first-child { background: #E2A79A; }
.device__dots i:nth-child(2) { background: #E8CF95; }
.device__dots i:nth-child(3) { background: #A9CFA4; }
.device__url {
  flex: 1; max-width: 300px; height: 24px; border-radius: 5px; background: var(--surface);
  display: flex; align-items: center; padding: 0 12px;
  font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden;
}
.device__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.device__screen--auto img { animation: pan 28s ease-in-out 2s infinite alternate; }
.device__screen--hover img { transition: object-position 6s ease-in-out; }

.phone {
  position: absolute; border-radius: 26px; padding: 6px; background: #0A1634;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.phone::before {
  content: ""; position: absolute; top: 11px; left: 50%; width: 32%; height: 10px; border-radius: 10px;
  background: #0A1634; transform: translateX(-50%); z-index: 1;
}
.phone img { border-radius: 20px; }

/* ---------- Clients ---------- */
.clients { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients__inner { display: flex; align-items: center; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.clients__label {
  flex: none; padding-right: 40px; border-right: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; line-height: 1.7; text-transform: uppercase; color: var(--muted);
}
.clients__marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.clients__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.clients__marquee:hover .clients__track,
.clients__marquee:focus-within .clients__track { animation-play-state: paused; }
.clients__group { display: flex; align-items: center; flex: none; }
.clients__logo { display: grid; place-items: center; height: 64px; padding: 0 clamp(32px, 4vw, 56px); }
.clients__logo img {
  height: 50px; width: auto;
  filter: grayscale(1) contrast(1.1); opacity: .45;
  transition: filter .5s ease, opacity .5s ease, transform .5s var(--ease);
}
.clients__logo--blend img { height: 36px; mix-blend-mode: multiply; }
.clients__logo:hover img,
.clients__logo:focus-visible img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--ivory { background: var(--ivory); }
.section-header { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-header--center { align-items: center; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Services ---------- */
.svc-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end; gap: 24px clamp(40px, 6vw, 96px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.svc-head__title { display: flex; flex-direction: column; gap: 18px; }
.svc-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.svc-head__aside .lead { font-size: 17px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--blue); }
.arrow-link span { transition: transform .4s var(--ease); }
.arrow-link:hover span { transform: translateX(5px); }

.svc {
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-md); overflow: hidden;
}

/* Tab list */
.svc__tabs {
  display: flex; flex-direction: column; gap: 6px; padding: 16px;
  background: linear-gradient(180deg, var(--ivory), var(--surface));
  border-right: 1px solid var(--line);
}
.svc__tab {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  width: 100%; padding: 18px; border: 1px solid transparent; border-radius: 12px;
  background: transparent; text-align: left; cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .4s var(--ease);
}
.svc__tab:hover { background: var(--surface); }
.svc__tab.is-active { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.svc__tab-num {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--cream); color: var(--blue);
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  transition: background-color .3s ease, color .3s ease;
}
.svc__tab.is-active .svc__tab-num { background: var(--blue); color: #fff; }
.svc__tab-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.svc__tab-title { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.svc__tab-desc { font-size: 13px; color: var(--muted); }
.svc__tab-arrow { width: 18px; height: 18px; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .4s var(--ease), color .3s ease; }
.svc__tab:hover .svc__tab-arrow { opacity: .6; transform: none; }
.svc__tab.is-active .svc__tab-arrow { opacity: 1; transform: none; color: var(--blue); }

/* Panels */
.svc__panels { padding: clamp(24px, 3.4vw, 44px); }
@media (min-width: 981px) {
  .svc__panels { display: grid; align-content: center; min-height: 560px; }
}
.svc__panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: center; }
.svc__panel + .svc__panel { margin-top: 56px; }
.js .svc__panel + .svc__panel { margin-top: 0; }
.svc__panel[hidden] { display: none; }
.svc__content { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.svc__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text);
}
.svc__kicker span { padding: 3px 9px; border-radius: 999px; background: var(--cream); letter-spacing: .04em; }
.svc__title { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; line-height: 1.14; color: var(--ink); text-wrap: balance; }
.svc__text { font-size: 16.5px; line-height: 1.75; }
.svc__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; width: 100%; padding: 6px 0 8px; }
.svc__features li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.svc__features li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream);
}
.svc__features li::after {
  content: ""; position: absolute; left: 7px; top: 6px; width: 6px; height: 10px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg);
}

/* Illustrations */
.svc__art {
  position: relative; border-radius: 16px; padding: clamp(16px, 2vw, 28px);
  background:
    radial-gradient(80% 80% at 70% 30%, rgba(96, 165, 250, 0.16), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--ivory);
  border: 1px solid var(--line);
}
.svc__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.a-card { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; }
.a-shadow { filter: drop-shadow(0 14px 20px rgba(11, 31, 77, 0.12)); }
.a-soft { fill: var(--cream); }
.a-muted, .a-line-f { fill: var(--line-2); }
.a-ink-f { fill: var(--ink); opacity: .75; }
.a-blue, .a-blue-f { fill: var(--blue); }
.a-sky { fill: var(--sky); }
.a-sky-soft { fill: #BFDBFE; }
.a-white-f { fill: #fff; opacity: .9; }
.a-check { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.a-ring { fill: var(--surface); stroke: var(--line-2); stroke-width: 2; }
.a-hl { stroke: var(--blue); stroke-width: 1.5; }
.a-stroke-blue { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.a-stroke-muted { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.art-pop, .art-bar, .art-grow, .art-spin { transform-box: fill-box; }
.art-pop { transform-origin: 50% 50%; }
.art-bar { transform-origin: 50% 100%; }
.art-grow { transform-origin: 0 50%; }
.art-spin { transform-origin: 50% 50%; animation: spin 14s linear infinite; }
.art-float { animation: float 6s ease-in-out infinite; }
:root[data-theme="dark"] .a-sky-soft { fill: rgba(96, 165, 250, 0.35); }
:root[data-theme="dark"] .a-shadow { filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.45)); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 100px); align-items: center; }
.about__visual { position: relative; padding: 0 0 64px 28px; }
.about__stage {
  position: relative; aspect-ratio: 1 / 0.9; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(70% 70% at 55% 45%, rgba(96, 165, 250, 0.14), transparent 70%),
    var(--cream);
  border: 1px solid var(--line);
}
/* Soft concentric rings behind the devices */
.about__stage::before,
.about__stage::after {
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid var(--line-2); transform: translate(-50%, -50%); opacity: .7;
}
.about__stage::before { width: 78%; aspect-ratio: 1; }
.about__stage::after { width: 116%; aspect-ratio: 1; opacity: .45; }

.laptop { position: absolute; left: 8%; top: 11%; width: 74%; z-index: 1; animation: float 8s ease-in-out infinite; }
.laptop__screen {
  aspect-ratio: 16 / 10.4; overflow: hidden;
  border: 10px solid var(--bezel); border-bottom-width: 14px; border-radius: 14px 14px 4px 4px;
  background: var(--surface);
  box-shadow: 0 24px 50px -24px rgba(11, 31, 77, 0.45);
}
.laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; animation: pan 30s ease-in-out 1s infinite alternate; }
.laptop__base {
  position: relative; height: 12px; margin: 0 -8%;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, var(--line-2), var(--line));
  box-shadow: 0 14px 24px -14px rgba(11, 31, 77, 0.5);
}
.laptop__base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px;
  border-radius: 0 0 6px 6px; background: var(--muted); opacity: .35; transform: translateX(-50%);
}
.about-phone {
  position: absolute; right: 9%; bottom: 9%; width: 25%; z-index: 2;
  aspect-ratio: 780 / 1688; overflow: hidden;
  border: 7px solid var(--bezel); border-radius: 26px; background: var(--surface);
  box-shadow: 0 30px 50px -20px rgba(11, 31, 77, 0.55);
  animation: float 7s ease-in-out .8s infinite reverse;
}
.about-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.promise {
  position: absolute; left: 0; bottom: 0; z-index: 3; margin: 0;
  width: min(64%, 320px); padding: 20px 24px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.promise__label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 8px; }
.promise__quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--ink); }

.about__copy { display: flex; flex-direction: column; gap: 22px; }
.about__copy .h2 em { display: block; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; margin-top: 8px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value__icon { flex: none; width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: var(--cream); color: var(--blue); }
.value__icon svg { width: 22px; height: 22px; }
.value__title { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--ink); margin-bottom: 4px; }
.value p { font-size: 14.5px; line-height: 1.65; }

/* ---------- Stats ---------- */
.stats {
  position: relative; overflow: hidden;
  background: var(--deep); color: var(--on-deep);
  padding: clamp(56px, 6vw, 80px) 0;
}
.stats::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 180px; opacity: .6;
  background: url("../img/highlands.svg") center bottom / cover no-repeat;
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 8px 20px; }
.stat + .stat { border-left: 1px solid rgba(96, 165, 250, 0.25); }
.stat__num { font-family: var(--serif); font-size: clamp(48px, 5vw, 68px); font-weight: 700; line-height: 1; color: var(--sky); font-variant-numeric: lining-nums; }
.stat__label { font-size: 14.5px; color: var(--on-deep-muted); }

/* ---------- Work (bento) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.work-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end; gap: 24px clamp(40px, 6vw, 96px);
  margin-bottom: clamp(36px, 4vw, 52px);
}
.work-head__title { display: flex; flex-direction: column; gap: 18px; }
.work-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 6px; }
.work-head__aside p { font-size: 16.5px; line-height: 1.7; max-width: 480px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-text);
  font-size: 13px; font-weight: 700;
}
.live-pill__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.live-pill__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }

.bento {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-rows: auto auto; gap: 20px;
}
.work-card {
  --tint: var(--blue-tint); --accent-c: var(--blue-text);
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px) 0;
  border-radius: 22px; overflow: hidden;
  background: var(--tint); border: 1px solid transparent;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s ease;
}
.work-card--lg { grid-row: span 2; }
.work-card--green { --tint: var(--green-tint); --accent-c: var(--green-text); }
.work-card--peach { --tint: var(--peach-tint); --accent-c: var(--peach-text); }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }

.work-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 6px; }
.work-card__chip {
  padding: 6px 12px; border-radius: 999px; background: var(--surface);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  box-shadow: 0 2px 6px -3px rgba(11, 31, 77, 0.25);
}
.work-card__go {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--deep); color: #fff;
  transition: transform .5s var(--ease), background-color .3s ease;
}
.work-card__go svg { width: 14px; height: 14px; }
.work-card:hover .work-card__go { transform: rotate(45deg); background: var(--blue); }
.work-card__name { font-size: 13.5px; font-weight: 700; color: var(--accent-c); }
.work-card__title { font-family: var(--serif); font-size: clamp(24px, 2.1vw, 30px); font-weight: 600; line-height: 1.18; color: var(--ink); max-width: 30ch; text-wrap: balance; }
.work-card--lg .work-card__title { font-size: clamp(30px, 3vw, 42px); max-width: 21ch; }
.work-card__text { font-size: 15.5px; line-height: 1.7; max-width: 480px; }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 6px; }
.work-card__tags li { padding: 5px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink); }

/* Screenshot area, anchored to the card's bottom edge */
.work-card__shot {
  position: relative; width: 100%; margin-top: auto; padding-top: 12px;
  transition: transform .7s var(--ease);
}
.work-card__shot > * { box-shadow: 0 -2px 0 rgba(255, 255, 255, .4), 0 20px 40px -18px rgba(11, 31, 77, 0.45); }
.work-card__bar {
  display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 12px;
  background: var(--surface); border-radius: 12px 12px 0 0;
  font-size: 11.5px; color: var(--muted);
}
.work-card__dots { display: inline-flex; gap: 5px; }
.work-card__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.work-card__screen { position: relative; height: 340px; overflow: hidden; background: var(--surface); }
.work-card--lg .work-card__screen { height: clamp(300px, 30vw, 400px); }
.work-card__shot--peek .work-card__screen { height: 190px; border-radius: 12px 12px 0 0; }
.work-card__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: object-position 6s ease-in-out; }
.work-card:hover .work-card__screen img { object-position: 50% 100%; }
.work-card:hover .work-card__shot { transform: translateY(-6px); }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}
.steps::after {
  content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 1px;
  background: var(--sky); transform: scaleX(0); transform-origin: left;
  transition: transform 1.8s var(--ease) .3s;
}
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 8px; }
.step__num {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 10px;
  background: var(--surface); border: 1px solid var(--line-2);
  font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--blue);
  box-shadow: 0 0 0 8px var(--bg);
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, transform .5s var(--ease);
}
.step:hover .step__num { background: var(--deep); color: var(--sky); border-color: var(--deep); transform: scale(1.06); }
.step__title { font-family: var(--serif); font-size: 25px; font-weight: 700; color: var(--ink); }
.step p { font-size: 15px; line-height: 1.7; max-width: 260px; }

/* ---------- CTA card ---------- */
.cta { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 7vw, 96px); background: var(--ivory); }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(96, 165, 250, 0.18), transparent 70%),
    var(--cta-bg);
  box-shadow: 0 40px 80px -40px rgba(11, 31, 77, 0.6);
  padding: clamp(64px, 8vw, 104px) clamp(24px, 5vw, 64px);
  text-align: center;
}
/* Fine diagonal line texture */
.cta__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 22px);
}
/* Inset hairline frame */
.cta__card::after {
  content: ""; position: absolute; inset: 10px; border-radius: 20px; pointer-events: none;
  border: 1px solid rgba(147, 197, 253, 0.16);
}
.cta__content { position: relative; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta__ornament { display: inline-flex; align-items: center; gap: 10px; }
.cta__ornament i { width: 36px; height: 1px; background: rgba(147, 197, 253, 0.5); }
.cta__ornament b { width: 7px; height: 7px; border: 1px solid var(--sky); transform: rotate(45deg); }
.cta__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #BFDBFE; margin-top: -6px; }
.cta__title { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); font-weight: 500; line-height: 1.08; color: #fff; text-wrap: balance; }
.cta__title em { color: #93C5FD; }
.cta__text { max-width: 520px; font-size: 16.5px; line-height: 1.7; color: #C7D3EC; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; margin-top: 10px; }
.cta__btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  background: #fff; color: var(--cta-bg); font-size: 15.5px; font-weight: 700;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.5);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s ease;
}
.cta__btn svg { transition: transform .4s var(--ease); }
.cta__btn:hover { transform: translateY(-2px); background: #EFF6FF; box-shadow: 0 18px 36px -14px rgba(96, 165, 250, 0.6); }
.cta__btn:hover svg { transform: translateX(4px); }
.cta__link {
  position: relative; padding: 4px 0; font-size: 15px; font-weight: 600; color: #fff;
}
.cta__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--sky);
  transform-origin: left; transition: transform .5s var(--ease);
}
.cta__link:hover::after { transform: scaleX(.4); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.contact__list { display: flex; flex-direction: column; gap: 22px; margin-top: 14px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--blue); }
.contact__icon svg { width: 22px; height: 22px; }
.contact__list div { display: flex; flex-direction: column; gap: 2px; font-size: 15.5px; color: var(--ink); line-height: 1.55; }
.contact__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.form-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.form-card::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 3px; background: var(--sky); border-radius: 0 0 3px 3px;
}
.form-card__title { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 26px; transition: opacity .5s ease, filter .5s ease; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 6px; background: var(--ivory);
  font-size: 15.5px; color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #94A3B8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AFC0DD; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--surface); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field__error { font-size: 13px; color: #B3261E; }
.field__error:empty { display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B3261E; background: var(--invalid-bg); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card__error {
  margin: -8px 0 16px; padding: 12px 16px; border-radius: 8px;
  background: var(--invalid-bg); border: 1px solid rgba(179, 38, 30, 0.3);
  font-size: 14px; font-weight: 500; color: #B3261E;
}
.form-card__error[hidden] { display: none; }
:root[data-theme="dark"] .form-card__error { color: #FCA5A5; }
.form-card__note { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--muted); transition: opacity .4s ease; }
.btn.is-loading { pointer-events: none; opacity: .75; }

.form-card__done {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 32px; text-align: center; color: var(--body);
}
.form-card__done[hidden] { display: none; }
.form-card__check { width: 64px; height: 64px; fill: none; stroke: var(--blue); stroke-width: 2.5; margin-bottom: 6px; }
.form-card__check circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .9s var(--ease) forwards; }
.form-card__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .6s forwards; }
.form-card__done-title { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--ink); }
.form-card.is-sent > :not(.form-card__done):not(.form-card__title) { opacity: 0; filter: blur(4px); pointer-events: none; }
.form-card.is-sent .form-card__title { opacity: 0; }
.form-card.is-sent .form-card__done > * { animation: rise .8s var(--ease) both; }
.form-card.is-sent .form-card__done > :nth-child(2) { animation-delay: .2s; }
.form-card.is-sent .form-card__done > :nth-child(3) { animation-delay: .3s; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--on-deep-muted); padding-top: clamp(64px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }

.footer__brand p { max-width: 320px; font-size: 15px; line-height: 1.7; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col h3 { font-family: var(--serif); font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer__col a, .footer__legal a { width: fit-content; transition: color .25s ease, transform .3s var(--ease); }
.footer__col a:hover, .footer__legal a:hover { color: var(--sky); }
.footer__col a:hover { transform: translateX(4px); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(96, 165, 250, 0.2);
  font-size: 14px;
}
.footer__legal { display: flex; gap: 24px; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--deep); color: var(--sky); border: 1px solid rgba(96, 165, 250, 0.5);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s ease, transform .4s var(--ease), background-color .3s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--deep-3); }

/* ==========================================================================
   Motion (JS only)
   ========================================================================== */
.js .fade {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s ease var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.js .fade--left { transform: translateX(-36px); }
.js .fade--right { transform: translateX(36px); }
.js .fade--up { transform: translateY(44px); }
.js .fade.is-in { opacity: 1; transform: none; }

@keyframes pan { 0%, 8% { object-position: 50% 0%; } 92%, 100% { object-position: 50% 100%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ring-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .svc { grid-template-columns: 260px minmax(0, 1fr); }
  .svc__panel { grid-template-columns: 1fr; }
  .svc__art { max-width: 480px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .svc-head { grid-template-columns: 1fr; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc__tabs {
    flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    border-right: 0; border-bottom: 1px solid var(--line); padding: 12px;
  }
  .svc__tabs::-webkit-scrollbar { display: none; }
  .svc__tab { flex: none; width: auto; min-width: 220px; scroll-snap-align: start; padding: 14px; }
  .svc__tab-arrow { display: none; }
  .nav, .header__cta { display: none; }
  .burger { display: inline-block; margin-left: 0; }
  .header__inner { gap: 12px; }
  .header__actions { margin-left: auto; }
  .about, .contact { grid-template-columns: 1fr; }
  .work-head { grid-template-columns: 1fr; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .work-card--lg { grid-row: auto; }
  .about__visual { max-width: 620px; }
  .contact__info { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .steps::before, .steps::after { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; }
  .clients__inner { flex-direction: column; gap: 14px; text-align: center; }
  .clients__label { padding-right: 0; border-right: 0; }
  .clients__label br { display: none; }
  .clients__marquee { width: 100%; }
  .clients__logo img { height: 40px; }
  .clients__logo--blend img { height: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .svc__features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats div { padding: 0 16px; }
  .hero__stats dd { font-size: 32px; }
  .about__visual { padding: 0 0 72px 12px; }
  .promise { width: 82%; padding: 16px 18px; }
  .promise__quote { font-size: 18px; }
  .brand__logo, .header.is-scrolled .brand__logo { height: 50px; }
}

@media (hover: none) {
  .work-card__screen img { animation: pan 26s ease-in-out 1s infinite alternate; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .fade { opacity: 1; transform: none; }
  .hero-anim [data-hero-item], .hero-anim [data-hero-title] { opacity: 1; }
}
