/* ==========================================================================
   MARVEN — main stylesheet
   Light blue + white identity. No frameworks, no external requests.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallback to minimise layout shift while fonts load */
@font-face {
  font-family: "Inter Tight Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 94%;
  ascent-override: 102%;
  descent-override: 26%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --ink: #0b1a2c;
  --ink-2: #26374b;
  --muted: #56677c;
  --line: #e3ebf3;
  --line-strong: #d3e1ee;
  --tint: #f5f9fe;

  --blue-50: #f1f8fe;
  --blue-100: #e3f1fd;
  --blue-200: #c9e4fb;
  --blue-300: #a6d3f8;
  --blue-400: #7cbff4;
  --blue-500: #52a8ee;
  --blue-600: #2787d6;
  --blue-700: #1668ab;

  --font-sans: "Inter Tight", "Inter Tight Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(11, 26, 44, .04), 0 2px 8px rgba(11, 26, 44, .04);
  --shadow: 0 2px 4px rgba(11, 26, 44, .03), 0 12px 32px -8px rgba(22, 104, 171, .14);
  --shadow-lg: 0 4px 8px rgba(11, 26, 44, .03), 0 30px 70px -20px rgba(22, 104, 171, .28);

  --ease: cubic-bezier(.2, .7, .15, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --section-y: clamp(88px, 11vw, 160px);

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 560; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; }
::selection { background: var(--blue-200); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 500;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.h2 {
  font-size: clamp(2.1rem, 1.35rem + 2.9vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -.032em;
}
.h2 em, .hero__title em, .final-cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--blue-600);
}
.lead {
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -.012em;
}
.label, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-700);
}
.label { margin-bottom: 22px; }
.label::before {
  content: ""; width: 22px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
}
.eyebrow { color: var(--muted); letter-spacing: .12em; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--ink-2);
  font-size: .86rem; font-weight: 500;
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
  animation: pulse 2.6s var(--ease) infinite;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  color: var(--blue-700); font-weight: 560;
}
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 560; font-size: .98rem; letter-spacing: -.005em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: scale(.98); }

.btn--primary {
  --btn-bg: var(--blue-400);
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  background: linear-gradient(180deg, #92cbf6 0%, var(--blue-400) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(22, 104, 171, .18), 0 8px 22px -8px rgba(39, 135, 214, .55);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #a3d4f8 0%, var(--blue-500) 100%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 2px rgba(22, 104, 171, .2), 0 14px 30px -10px rgba(39, 135, 214, .6);
}
.btn--primary:hover::after { opacity: 1; }

.btn--ghost { --btn-bg: rgba(255, 255, 255, .8); }
.btn--ghost:hover { --btn-bd: var(--blue-300); --btn-bg: var(--blue-50); transform: translateY(-1px); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); box-shadow: 0 12px 30px -12px rgba(11, 26, 44, .5); }
.btn--dark:hover { --btn-bg: #13283f; transform: translateY(-1px); }
.btn--light { --btn-bg: var(--white); --btn-bd: rgba(255, 255, 255, .9); box-shadow: 0 10px 26px -14px rgba(11, 26, 44, .35); }
.btn--light:hover { --btn-bg: var(--blue-50); transform: translateY(-1px); }

.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--xs { min-height: 36px; padding: 0 14px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn.is-disabled { cursor: default; color: var(--muted); --btn-bg: transparent; }
.btn.is-disabled:hover { transform: none; --btn-bd: var(--line-strong); --btn-bg: transparent; }
.btn__meta {
  padding: 3px 8px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-700);
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--white);
  color: var(--ink);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease), color .3s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--blue-300); background: var(--blue-50); color: var(--blue-700); transform: translateY(-1px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .menu-open .header {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: rgba(211, 225, 238, .7);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, var(--blue-300), var(--blue-500));
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 16px -6px rgba(39, 135, 214, .7);
  transition: transform .5s var(--ease-out);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.brand__word { font-weight: 650; font-size: 1.05rem; letter-spacing: .22em; margin-right: -.22em; }
.brand--lg .brand__mark { width: 40px; height: 40px; border-radius: 12px; }
.brand--lg .brand__word { font-size: 1.2rem; }

.nav { margin-inline: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; padding: 8px 14px; border-radius: 999px;
  font-size: .94rem; font-weight: 500; color: var(--ink-2);
  transition: color .25s, background-color .25s;
}
.nav__link:hover { color: var(--ink); background: var(--blue-50); }
.nav__link.is-active { color: var(--blue-700); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header__actions { margin-left: 0; }

/* Language selector */
.lang { position: relative; }
.lang__button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 12px 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  font-size: .88rem; font-weight: 600; letter-spacing: .04em; color: var(--ink);
  transition: border-color .25s, background-color .25s;
}
.lang__button:hover, .lang__button[aria-expanded="true"] { border-color: var(--blue-300); background: var(--blue-50); }
.lang__button .icon { width: 17px; height: 17px; color: var(--blue-600); }
.lang__button .lang__chevron { width: 14px; height: 14px; color: var(--muted); transition: transform .3s var(--ease); }
.lang__button[aria-expanded="true"] .lang__chevron { transform: rotate(180deg); }
.lang__list {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 10;
  min-width: 212px; padding: 6px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform-origin: top right;
  animation: pop .22s var(--ease-out);
}
.lang__list[hidden] { display: none; }
.lang__item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px; border-radius: 10px;
  font-size: .94rem; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.lang__item:hover, .lang__item:focus-visible { background: var(--blue-50); color: var(--ink); outline: none; }
.lang__code { font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.lang__item[aria-checked="true"] { color: var(--blue-700); font-weight: 560; }
.lang__item[aria-checked="true"] .lang__code { color: var(--blue-600); }
.lang__item[aria-checked="true"] .lang__code::before { content: "✓  "; }

/* Menu toggle */
.menu-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .75);
  place-items: center;
}
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: calc(100% - 1.6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 4.2px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 4.2px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 90;
  background: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__inner { padding-top: 12px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); display: grid; gap: 36px; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.6rem, 6.5vw, 2.1rem); font-weight: 520; letter-spacing: -.025em; color: var(--ink);
}
.mobile-menu__num { font-size: .78rem; font-weight: 600; color: var(--blue-600); letter-spacing: .06em; min-width: 22px; }
.mobile-menu__buttons { display: grid; gap: 10px; margin-top: 14px; }
.mobile-menu__handles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.lang-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lang-pills a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: .94rem; color: var(--ink-2);
}
.lang-pills a[aria-current="true"] { border-color: var(--blue-400); background: var(--blue-50); color: var(--blue-700); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px));
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero__glow--a {
  width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  top: -34%; right: -18%;
  background: radial-gradient(closest-side, rgba(124, 191, 244, .42), rgba(166, 211, 248, .18) 55%, transparent);
}
.hero__glow--b {
  width: 48vw; height: 48vw; max-width: 640px; max-height: 640px;
  top: 30%; left: -22%;
  background: radial-gradient(closest-side, rgba(201, 228, 251, .6), transparent);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(39, 135, 214, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(39, 135, 214, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, #000 20%, transparent 75%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-size: clamp(2.7rem, 1.45rem + 4.6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.042em;
  font-weight: 560;
}
.hero__title em { font-size: 1.08em; letter-spacing: -.02em; }
.hero__subtitle {
  max-width: 36rem;
  margin-top: 28px;
  font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero__direct {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  margin-top: 30px; font-size: .92rem;
}
.hero__direct-label { color: var(--muted); }
.hero__direct-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink); font-weight: 520;
  background-image: linear-gradient(var(--blue-400), var(--blue-400));
  background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .45s var(--ease), color .25s;
}
.hero__direct-link .icon { color: var(--blue-600); }
.hero__direct-link:hover { background-size: 100% 1.5px; color: var(--blue-700); }

.hero__points {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--blue-600); width: 18px; height: 18px; }

/* Hero visual */
.hero__visual { position: relative; aspect-ratio: 1 / .92; }
.mock {
  position: absolute; top: 9%; right: 0; width: 94%;
  border-radius: 18px; overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(211, 225, 238, .9);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .5);
  animation: float 9s ease-in-out infinite;
}
.mock__bar {
  display: flex; align-items: center; gap: 14px;
  height: 36px; padding: 0 14px;
  background: var(--tint); border-bottom: 1px solid var(--line);
}
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock__url {
  flex: 1; max-width: 220px; margin-inline: auto;
  padding: 3px 10px; border-radius: 999px; background: var(--white);
  font-size: .68rem; color: var(--muted); text-align: center; letter-spacing: .01em;
}
.mock__page { padding: 16px 18px 20px; }
.mock__nav { display: flex; align-items: center; gap: 12px; }
.mock__logo { font-size: .7rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.mock__links { display: flex; gap: 8px; margin-left: auto; }
.mock__links i { width: 26px; height: 5px; border-radius: 4px; background: var(--line); }
.mock__navbtn { width: 46px; height: 16px; border-radius: 999px; background: var(--blue-200); }
.mock__hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px; margin-top: 20px; align-items: stretch; }
.mock__text { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.mock__kicker { width: 44%; height: 6px; border-radius: 4px; background: var(--blue-200); }
.mock__headline {
  font-size: clamp(.95rem, .7rem + .9vw, 1.45rem); line-height: 1.08; font-weight: 580; letter-spacing: -.03em; color: var(--ink);
  margin: 4px 0 4px;
}
.mock__line { width: 92%; height: 5px; border-radius: 4px; background: var(--line); }
.mock__line--short { width: 64%; }
.mock__btn {
  align-self: flex-start; margin-top: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--blue-400); color: var(--ink);
  font-size: .64rem; font-weight: 600;
}
.mock__image {
  position: relative; overflow: hidden;
  min-height: 150px; border-radius: 12px;
  background: linear-gradient(160deg, var(--blue-100), var(--blue-300) 70%, var(--blue-400));
}
.mock__orb {
  position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%;
  top: 14%; right: 12%;
  background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, .15) 70%);
  opacity: .8;
}
.mock__arch {
  position: absolute; left: 12%; bottom: 0; width: 44%; height: 62%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .35));
}
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mock__cards i { height: 46px; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); }

.phone {
  position: absolute; right: -2%; bottom: 0;
  width: 27%; aspect-ratio: 9 / 18.5;
  padding: 7px; border-radius: 28px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  animation: float 9s ease-in-out -3s infinite;
}
.phone__screen {
  position: relative; display: flex; flex-direction: column; gap: 7px;
  height: 100%; padding: 26px 10px 12px; border-radius: 22px;
  background: var(--white); overflow: hidden;
}
.phone__notch { position: absolute; top: 7px; left: 50%; width: 34%; height: 10px; border-radius: 999px; background: var(--ink); transform: translateX(-50%); }
.phone__img { height: 38%; border-radius: 12px; background: linear-gradient(160deg, var(--blue-100), var(--blue-300)); }
.phone__line { height: 5px; width: 86%; border-radius: 4px; background: var(--line); }
.phone__line--short { width: 58%; }
.phone__slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; margin-top: 4px; }
.phone__slots i { height: 16px; border-radius: 6px; border: 1px solid var(--line); }
.phone__slots i.is-active { background: var(--blue-100); border-color: var(--blue-300); }
.phone__btn { margin-top: auto; height: 20px; border-radius: 999px; background: var(--blue-400); }

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(211, 225, 238, .9);
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip__icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--blue-100); color: var(--blue-700);
}
.chip__icon svg { width: 18px; height: 18px; }
.chip__body { display: grid; line-height: 1.25; }
.chip__body strong { font-size: .8rem; font-weight: 600; color: var(--ink); }
.chip__body small { font-size: .7rem; color: var(--muted); }
.chip__check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-500); color: var(--white); margin-left: 4px; }
.chip__check svg { width: 12px; height: 12px; }
.chip--a { top: 0; left: -2%; animation-delay: -1s; }
.chip--b { top: 60%; left: -4%; animation-delay: -4s; }
.chip--c { bottom: 5%; left: 30%; animation-delay: -2.5s; }

/* Marquee */
.marquee {
  margin-top: clamp(40px, 5vw, 64px);
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--white), var(--tint) 50%, var(--white));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font-size: clamp(1.1rem, .95rem + .6vw, 1.5rem); font-weight: 480; letter-spacing: -.02em; color: var(--ink-2);
  white-space: nowrap;
}
.marquee__list li::after {
  content: ""; width: 10px; height: 10px; flex: none;
  background: var(--blue-400);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* Hero entrance */
.anim { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
[data-anim="1"] { --i: 1; } [data-anim="2"] { --i: 2; } [data-anim="3"] { --i: 3; }
[data-anim="4"] { --i: 4; } [data-anim="5"] { --i: 5; } [data-anim="6"] { --i: 6; }
.hero__visual.anim { animation-name: rise-scale; animation-duration: 1.4s; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--tint::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head__intro { margin-top: 22px; max-width: 34rem; font-size: 1.1rem; color: var(--muted); }
.section-head--split {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end;
}
.section-head--split .section-head__intro { margin-top: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-head__intro { margin-inline: auto; }

/* Reveal on scroll (only when JS is running) */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
}
.about__body { display: grid; gap: 20px; color: var(--muted); }
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: clamp(56px, 7vw, 96px);
}
.pillar {
  position: relative; padding: 32px 28px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--white), var(--blue-50));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.pillar__num { display: block; margin-bottom: 44px; font-family: var(--font-serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--blue-500); }
.pillar__title { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 1rem; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.service__top { display: flex; align-items: center; gap: 14px; margin-bottom: 38px; }
.service__num { font-size: .8rem; font-weight: 600; color: var(--blue-700); letter-spacing: .08em; }
.service__line { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.service__line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-200));
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.service:hover .service__line::after { transform: scaleX(1); }
.service__title { font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.15; }
.service__text { margin-top: 12px; margin-bottom: 26px; color: var(--muted); font-size: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags li {
  padding: 7px 12px; border-radius: 999px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  font-size: .84rem; font-weight: 500; color: var(--ink-2);
  transition: background-color .25s, border-color .25s, color .25s;
}
.tags li:hover { background: var(--blue-100); border-color: var(--blue-200); color: var(--ink); }
.tags--sm li { padding: 5px 10px; font-size: .78rem; }

/* ---------- Industries ---------- */
.industry-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.industry {
  position: relative;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; grid-template-rows: auto auto;
  column-gap: 12px; row-gap: 6px; align-content: start;
  padding: 26px 8px 26px 0;
  border-top: 1px solid var(--line);
  isolation: isolate;
}
.industry:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
.industry::before {
  content: ""; position: absolute; inset: 0 -16px; z-index: -1; border-radius: 16px;
  background: linear-gradient(90deg, var(--blue-50), rgba(241, 248, 254, 0));
  opacity: 0; transition: opacity .4s var(--ease);
}
.industry:hover::before { opacity: 1; }
.industry__num { grid-row: 1 / span 2; padding-top: 7px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--blue-600); }
.industry__name { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); letter-spacing: -.025em; line-height: 1.2; font-weight: 540; transition: transform .45s var(--ease); }
.industry__text { grid-column: 2; color: var(--muted); font-size: .98rem; max-width: 30rem; }
.industry__arrow {
  grid-column: 3; grid-row: 1; width: 22px; height: 22px; margin-top: 6px;
  color: var(--line-strong); transition: color .35s, transform .45s var(--ease);
}
.industry:hover .industry__name { transform: translateX(4px); }
.industry:hover .industry__arrow { color: var(--blue-600); transform: rotate(45deg); }

/* ---------- Work / Portfolio ---------- */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.work-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.work-card:nth-child(even) { transform: translateY(0); }
@media (min-width: 900px) { .work__grid .work-card:nth-child(even) { margin-top: 72px; } .work__grid { padding-bottom: 0; } }
.work-card:hover { box-shadow: var(--shadow-lg); }
.work-card__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue-50), var(--blue-200));
}
.work-card__media--b { background: linear-gradient(200deg, var(--blue-100), var(--blue-300)); }
.work-card__media--c { background: linear-gradient(140deg, #f4faff, var(--blue-200) 80%); }
.work-card__media--d { background: linear-gradient(170deg, var(--blue-50), var(--blue-100) 40%, var(--blue-300)); }
.work-card__caption {
  position: absolute; bottom: 16px; right: 18px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); opacity: .8;
}
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); border: 1px dashed var(--blue-400);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700);
}
.badge--soft { position: static; }

/* Placeholder "screens" */
.ph {
  position: relative; width: 72%; aspect-ratio: 16 / 11;
  border-radius: 14px; background: var(--white);
  box-shadow: 0 30px 60px -24px rgba(22, 104, 171, .45);
  overflow: hidden;
  transition: transform .9s var(--ease-out);
}
.work-card:hover .ph { transform: translateY(-6px) scale(1.02); }
.ph::before { content: ""; position: absolute; inset: 0 0 auto; height: 16px; background: var(--tint); border-bottom: 1px solid var(--line); }
.ph i { position: absolute; border-radius: 6px; background: var(--blue-100); }
.ph--a i:nth-child(1) { left: 8%; top: 22%; width: 40%; height: 8%; background: var(--ink); opacity: .85; }
.ph--a i:nth-child(2) { left: 8%; top: 36%; width: 32%; height: 5%; }
.ph--a i:nth-child(3) { right: 7%; top: 20%; width: 40%; height: 66%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--blue-100), var(--blue-400)); }
.ph--a i:nth-child(4) { left: 8%; top: 52%; width: 18%; height: 9%; border-radius: 999px; background: var(--blue-400); }
.ph--b i:nth-child(1) { inset: 16px 0 auto; height: 58%; border-radius: 0; background: linear-gradient(180deg, var(--blue-300), var(--blue-100)); }
.ph--b i:nth-child(2) { left: 50%; top: 30%; width: 44%; height: 10%; transform: translateX(-50%); background: var(--white); opacity: .9; }
.ph--b i:nth-child(3) { left: 8%; bottom: 8%; width: 40%; height: 16%; background: var(--tint); border: 1px solid var(--line); }
.ph--b i:nth-child(4) { right: 8%; bottom: 8%; width: 40%; height: 16%; background: var(--blue-400); }
.ph--c i:nth-child(1) { left: 6%; top: 24%; width: 27%; height: 46%; background: var(--blue-100); }
.ph--c i:nth-child(2) { left: 36.5%; top: 24%; width: 27%; height: 46%; background: var(--blue-200); }
.ph--c i:nth-child(3) { left: 67%; top: 24%; width: 27%; height: 46%; background: var(--blue-100); }
.ph--c i:nth-child(4) { left: 6%; top: 78%; width: 88%; height: 7%; background: var(--line); }
.ph--d i:nth-child(1) { left: 8%; top: 24%; width: 46%; height: 9%; background: var(--ink); opacity: .85; }
.ph--d i:nth-child(2) { left: 8%; top: 38%; width: 38%; height: 5%; }
.ph--d i:nth-child(3) { left: 8%; top: 54%; width: 84%; height: 30%; background: linear-gradient(90deg, var(--blue-50), var(--blue-200)); }
.ph--d i:nth-child(4) { right: 8%; top: 22%; width: 22%; height: 22%; border-radius: 50%; background: var(--blue-300); }

.work-card__body { display: flex; flex-direction: column; gap: 10px; padding: 28px 30px 32px; flex: 1; }
.work-card__industry { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.work-card__name { font-size: 1.6rem; letter-spacing: -.025em; }
.work-card__desc { color: var(--muted); font-size: .98rem; }
.work-card__services-label { margin-top: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); }
.work-card .tags { margin-top: 0; }
.work-card .btn { align-self: flex-start; margin-top: 18px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; counter-reset: step; }
.step { position: relative; }
.step__num {
  display: block; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(2.8rem, 2.2rem + 1.5vw, 3.6rem); line-height: 1; color: var(--blue-400);
}
.step__bar { display: block; height: 1px; margin: 22px 0 24px; background: var(--line); position: relative; overflow: hidden; }
.step__bar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-200));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease-out); transition-delay: calc(var(--d, 0ms) + 250ms);
}
.step.is-visible .step__bar::after, html:not(.js) .step__bar::after { transform: scaleX(1); }
.step__title { font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; max-width: 22rem; }

/* ---------- Why (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.bento__item {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.bento__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.bento__item::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; margin-bottom: 18px;
  background: var(--blue-400); box-shadow: 0 0 0 5px var(--blue-50);
}
.bento__item--wide { grid-column: span 2; }
.bento__item--feature {
  grid-column: span 2; grid-row: span 2;
  padding: 36px 34px;
  background: linear-gradient(155deg, var(--blue-50) 0%, var(--blue-100) 45%, var(--blue-300) 100%);
  border-color: var(--blue-200);
}
.bento__item--feature::before { display: none; }
.bento__glyph { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--white); color: var(--blue-500); box-shadow: var(--shadow-sm); }
.bento__glyph svg { width: 24px; height: 24px; }
.bento__title { font-size: 1.18rem; letter-spacing: -.02em; line-height: 1.25; }
.bento__item--feature .bento__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; max-width: 16ch; }
.bento__item p { color: var(--muted); font-size: .96rem; }
.bento__item--feature p { color: var(--ink-2); font-size: 1.06rem; max-width: 30rem; }
.bento__art { position: relative; flex: 1; min-height: 170px; margin: 24px -34px -36px; overflow: hidden; }
.bento__art i {
  position: absolute; bottom: -48px; width: 24%; max-width: 170px; aspect-ratio: 4 / 5; border-radius: 14px;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
  transition: transform .8s var(--ease-out);
}
.bento__art i:nth-child(1) { left: 20%; transform: rotate(-8deg); }
.bento__art i:nth-child(2) { left: 38%; bottom: -24px; z-index: 1; background: var(--white); }
.bento__art i:nth-child(3) { left: 56%; transform: rotate(8deg); }
.bento__art i:nth-child(2)::before { content: ""; position: absolute; inset: 12px 12px 55%; border-radius: 8px; background: linear-gradient(160deg, var(--blue-100), var(--blue-300)); }
.bento__item--feature:hover .bento__art i:nth-child(1) { transform: rotate(-12deg) translateX(-6px); }
.bento__item--feature:hover .bento__art i:nth-child(3) { transform: rotate(12deg) translateX(6px); }
.bento__item--feature:hover .bento__art i:nth-child(2) { transform: translateY(-8px); }

/* ---------- Capabilities ---------- */
.caps__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.caps__head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.caps__panel {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.caps__filter-label { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.caps__filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.filter {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: background-color .25s, border-color .25s, color .25s;
}
.filter:hover { border-color: var(--blue-300); background: var(--blue-50); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.caps__list { display: flex; flex-wrap: wrap; gap: 10px; }
.cap {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 13px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--tint);
  font-size: .93rem; font-weight: 500; color: var(--ink);
  transition: opacity .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.cap__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-300); transition: background-color .4s, box-shadow .4s; }
.cap.is-dim { opacity: .32; }
.cap.is-match { background: var(--blue-50); border-color: var(--blue-300); transform: translateY(-1px); }
.cap.is-match .cap__dot { background: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-100); }
.caps__note { margin-top: 24px; font-size: .88rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  display: flex; flex-direction: column; gap: 24px;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--blue-200);
  background: rgba(255, 255, 255, .7);
}
.quote__top { display: flex; align-items: center; justify-content: space-between; }
.quote__mark { width: 36px; height: 36px; color: var(--blue-300); }
.quote blockquote p { font-size: 1.15rem; line-height: 1.5; color: var(--muted); letter-spacing: -.01em; font-style: italic; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(145deg, var(--blue-100), var(--blue-200)); border: 1.5px dashed var(--blue-300); }
.quote figcaption strong { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; }
.quote figcaption small { display: block; color: var(--muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); font-weight: 540; letter-spacing: -.015em; color: var(--ink);
  cursor: pointer; list-style: none;
  transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-700); }
.qa__icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color .3s, border-color .3s, transform .45s var(--ease);
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.6px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%);
  transition: transform .45s var(--ease), background-color .3s;
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--blue-100); border-color: var(--blue-300); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { padding: 0 64px 28px 0; color: var(--muted); }
.qa::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .5s var(--ease), content-visibility .5s allow-discrete;
}
.qa[open]::details-content { block-size: auto; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--blue-50), transparent 70%); }
.contact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1080px; margin-inline: auto; }
.contact__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.contact-card {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(26px, 3.2vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.contact-card--ig {
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(150deg, var(--blue-300), var(--line) 45%) border-box;
  border: 1.5px solid transparent;
}
.contact-card__head { display: flex; align-items: center; gap: 16px; }
.contact-card__icon {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 18px;
  background: linear-gradient(145deg, var(--blue-100), var(--blue-300));
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card__title { font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.2; }
.contact-card__handle { display: inline-block; margin-top: 2px; color: var(--blue-700); font-weight: 520; }
.contact-card__handle:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-card__text { color: var(--muted); }
.contact-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }

.message { padding: 18px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.message__label { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.message__bubble {
  position: relative; display: inline-block;
  padding: 12px 16px; border-radius: 18px 18px 18px 6px;
  background: linear-gradient(145deg, var(--blue-200), var(--blue-300));
  color: var(--ink); font-weight: 500; line-height: 1.45;
  -webkit-user-select: all; user-select: all;
}

.email-display {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--tint); border: 1px solid var(--line);
  transition: border-color .3s, background-color .3s;
}
.email-display:hover { border-color: var(--blue-300); background: var(--blue-50); }
.email-display__addr { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 560; letter-spacing: -.02em; color: var(--ink); overflow-wrap: anywhere; }
.email-display .icon { color: var(--blue-600); width: 22px; height: 22px; transition: transform .4s var(--ease); }
.email-display:hover .icon { transform: translate(2px, -2px); }

/* ---------- Final CTA ---------- */
.final-cta { padding-bottom: var(--section-y); }
.final-cta__panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px);
  border-radius: clamp(24px, 3vw, 40px);
  text-align: center;
  background: linear-gradient(160deg, #eaf5fe 0%, var(--blue-200) 45%, var(--blue-400) 100%);
}
.final-cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final-cta__bg span { position: absolute; border-radius: 50%; }
.final-cta__bg span:first-child {
  width: 70%; aspect-ratio: 1; left: -20%; top: -60%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .85), transparent);
}
.final-cta__bg span:last-child {
  width: 60%; aspect-ratio: 1; right: -18%; bottom: -70%;
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .08), 0 0 0 120px rgba(255, 255, 255, .06);
  animation: spin 60s linear infinite;
}
.label--on-blue { color: var(--ink-2); }
.label--on-blue::before { background: var(--ink-2); }
.final-cta__title {
  max-width: 14ch; margin-inline: auto;
  font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); line-height: 1.02; letter-spacing: -.04em;
}
.final-cta__title em { color: var(--ink); }
.final-cta__subtitle { max-width: 32rem; margin: 24px auto 0; font-size: 1.12rem; color: var(--ink-2); }
.final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.final-cta__handles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 28px; font-size: .95rem; font-weight: 520; color: var(--ink-2); }
.final-cta__handles a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--white), var(--tint)); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__desc { margin-top: 22px; max-width: 24rem; color: var(--muted); font-size: .98rem; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__title { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.footer__title--spaced { margin-top: 32px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--muted); font-size: .96rem; transition: color .25s; }
.footer__col a:hover { color: var(--blue-700); }
.footer__contact { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact .icon { color: var(--blue-600); }
.footer__langs { display: flex !important; flex-wrap: wrap; gap: 6px !important; }
.footer__langs a {
  display: inline-flex; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: .8rem !important; font-weight: 600; letter-spacing: .06em;
}
.footer__langs a[aria-current="true"] { border-color: var(--blue-400); background: var(--blue-50); color: var(--blue-700); }
.footer__wordmark {
  margin-top: clamp(56px, 8vw, 96px);
  font-size: clamp(4.5rem, 21vw, 19.5rem); line-height: .8; font-weight: 700; letter-spacing: -.02em;
  text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, var(--blue-200), rgba(201, 228, 251, 0) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-user-select: none; user-select: none;
  margin-bottom: -.12em;
}
.footer__bottom {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a:hover { color: var(--blue-700); }
.footer__top-link { display: inline-flex; align-items: center; gap: 6px; }
.footer__top-link .icon { transform: rotate(-90deg); width: 16px; height: 16px; }

/* ---------- Mobile quick-contact bar ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
  display: none; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 24px)); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s;
}
.mobile-bar.is-visible { transform: none; opacity: 1; }
.mobile-bar--single { grid-template-columns: 1fr; }
.mobile-bar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 14px;
  background: var(--tint); border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem; color: var(--ink);
}
.mobile-bar__btn--ig { background: linear-gradient(180deg, #92cbf6, var(--blue-400)); border-color: transparent; }

/* ---------- Dialog ---------- */
.dialog {
  width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--radius-xl);
  background: var(--white); color: var(--ink-2);
  box-shadow: 0 40px 100px -20px rgba(11, 26, 44, .35);
  overflow: auto;
}
.dialog::backdrop { background: rgba(11, 26, 44, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog[open] { animation: pop .35s var(--ease-out); }
.dialog[open]::backdrop { animation: fade .35s var(--ease); }
.dialog__box { position: relative; display: grid; gap: 18px; padding: 32px 28px 28px; }
.dialog__close { position: absolute; top: 16px; right: 16px; }
.dialog__title { font-size: 1.6rem; letter-spacing: -.025em; line-height: 1.15; padding-right: 40px; }
.dialog__text { color: var(--muted); font-size: .98rem; }
.dialog__steps { display: grid; gap: 10px; }
.dialog__steps li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--ink-2); }
.dialog__steps li span:first-child {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-700); font-size: .8rem; font-weight: 650;
}
.dialog__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.dialog__handle { text-align: center; font-size: .9rem; color: var(--muted); }

/* ---------- Language suggestion ---------- */
.suggest {
  position: fixed; right: 16px; bottom: 16px; z-index: 85;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start;
  width: min(360px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 18px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: pop .4s var(--ease-out);
}
.suggest[hidden] { display: none; }
.suggest > .icon { color: var(--blue-600); width: 22px; height: 22px; margin-top: 1px; }
.suggest__text { font-size: .94rem; color: var(--ink); font-weight: 500; }
.suggest__actions { grid-column: 2; display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.suggest__dismiss { font-size: .88rem; color: var(--muted); padding: 8px 2px; }
.suggest__dismiss:hover { color: var(--ink); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 300;
  max-width: calc(100% - 32px);
  padding: 13px 20px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-size: .92rem; font-weight: 500; text-align: center;
  box-shadow: 0 16px 40px -12px rgba(11, 26, 44, .5);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-out), opacity .3s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rise-scale { from { opacity: 0; transform: translateY(36px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--blue-100); } 50% { box-shadow: 0 0 0 7px rgba(227, 241, 253, .4); } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__link { padding: 8px 10px; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header__actions { margin-left: auto !important; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 760px; }
  .hero__visual { width: 100%; max-width: 640px; margin: 8px auto 0; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--feature { grid-row: span 1; }
  .bento__art { min-height: 140px; }
  .caps__layout, .faq__layout { grid-template-columns: 1fr; }
  .caps__head, .faq__head { position: static; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .pillars, .quotes { grid-template-columns: 1fr; }
  .pillar__num { margin-bottom: 24px; }
  .industry-list { grid-template-columns: 1fr; }
  .industry:nth-last-child(2) { border-bottom: 0; }
  .work__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .mobile-bar { display: grid; }
  .footer__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .suggest { bottom: calc(88px + env(safe-area-inset-bottom)); left: 16px; right: 16px; width: auto; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .header__cta { display: none; }
  .lang__button { height: 44px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__direct { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__points { gap: 12px 20px; }
  .hero__points li { flex: 1 1 40%; }
  .hero__visual { aspect-ratio: 1 / 1.02; }
  .mock { width: 100%; }
  .mock__cards { display: none; }
  .mock__image { min-height: 118px; }
  .phone { width: 32%; right: 0; bottom: 0; }
  .chip { padding: 8px 10px 8px 8px; gap: 8px; }
  .chip__icon { width: 28px; height: 28px; border-radius: 8px; }
  .chip__body strong { font-size: .72rem; }
  .chip__body small { font-size: .64rem; }
  .chip--a { top: 0; left: 2%; }
  .chip--b { top: 62%; left: 0; }
  .chip--c { left: 4%; bottom: 1%; }

  .services__grid, .bento, .steps { grid-template-columns: 1fr; }
  .bento__item--wide, .bento__item--feature { grid-column: auto; }
  .steps { gap: 40px; }
  .work-card__body { padding: 24px 22px 26px; }
  .ph { width: 80%; }
  .caps__panel { padding: 22px 18px; border-radius: var(--radius-lg); }
  .filter { min-height: 44px; }
  .cap { font-size: .88rem; padding: 9px 14px 9px 12px; }
  .qa__a { padding-right: 0; }
  .contact-card__actions, .dialog__actions { grid-template-columns: 1fr; }
  .final-cta__actions .btn { flex: 1 1 100%; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__top > .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .dialog { margin: auto auto 0; width: 100%; max-width: none; border-radius: 28px 28px 0 0; }
  .dialog__box { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .brand__word { font-size: .95rem; letter-spacing: .18em; }
  .chip--b { display: none; }
}

@media (hover: none) {
  .service:hover, .pillar:hover, .bento__item:hover, .contact-card:hover { transform: none; }
}

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

@media print {
  .header, .mobile-bar, .suggest, .toast, .marquee, .hero__visual, .footer__wordmark { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Simple pages (legal, 404) ---------- */
.simple-page { min-height: 100vh; display: grid; align-items: center; padding-block: 64px; background: radial-gradient(ellipse 70% 50% at 70% 0%, var(--blue-100), transparent 70%); }
.simple-page__inner { display: grid; gap: 24px; max-width: 760px; }
.simple-page__inner .brand { margin-bottom: 24px; }
.simple-page__inner .badge { justify-self: start; }
.simple-page__inner a:not(.btn):not(.brand) { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
