/* ==========================================================================
   Orbivo — site styles
   Plain CSS, no build step. Sections:
   1. Tokens  2. Base  3. Layout  4. Buttons & links  5. Header & nav
   6. Heroes  7. Sections & cards  8. Page components  9. Forms
   10. Footer  11. Motion  12. Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy-950: #06111d;
  --navy-900: #0a1929;
  --navy-800: #0f2338;
  --navy-700: #183552;

  --ink: #0c1b2a;
  --body: #344556;
  --muted: #5d6f82;
  --line: #e1e8ef;
  --line-strong: #cbd8e4;

  --surface: #ffffff;
  --surface-2: #f3f7fb;
  --ice: #e7f2fc;

  --primary: #1f6fe5;
  --primary-600: #1559c4;
  --sky: #5cc8ff;
  --aurora: #34e0c0;
  --red: #e0242f;

  --on-dark: rgba(255, 255, 255, 0.74);
  --on-dark-muted: rgba(255, 255, 255, 0.56);
  --on-dark-line: rgba(255, 255, 255, 0.12);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10, 25, 41, 0.06), 0 1px 3px rgba(10, 25, 41, 0.08);
  --shadow: 0 18px 40px -18px rgba(10, 25, 41, 0.22);
  --shadow-lg: 0 30px 70px -24px rgba(6, 17, 29, 0.45);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --header-h: 76px;
  --ridge-fill: #ffffff;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-600); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.3rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
address { font-style: normal; }
.prose address { margin: 0 0 1em; padding-left: 16px; border-left: 3px solid var(--line-strong); }
.contact-line address { color: var(--ink); font-weight: 600; line-height: 1.5; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

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

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, 780px); margin-inline: auto; }
@media (max-width: 600px) {
  .container, .container-narrow { width: calc(100% - 32px); }
}

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--surface-2); }
.section-dark {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-950); color: var(--on-dark);
}
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head .lead, .lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.section-dark .lead { color: var(--on-dark); }

.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head-row .section-head { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 88px); align-items: center;
}
.split.top { align-items: start; }
.split.wide-left { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 900px) {
  .split, .split.wide-left { grid-template-columns: 1fr; }
}

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.45em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 111, 229, 0.7); }
.btn-primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ice); color: var(--ink); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-outline { color: var(--ink); border-color: var(--line-strong); background: #fff; }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: 0.6em 1.1em; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; text-decoration: none; color: var(--primary);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.section-dark .link-arrow, .on-dark .link-arrow { color: var(--sky); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin: 0 0 1rem; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .on-dark .eyebrow { color: var(--sky); }
.eyebrow.no-rule::before { display: none; }

/* 5. Header & navigation --------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled, .nav-open .site-header {
  background: rgba(6, 17, 29, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--on-dark-line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-logo { display: block; width: auto; height: 34px; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 12px; border-radius: 8px;
  color: rgba(255, 255, 255, 0.8); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s;
}
.site-nav > ul > li > a:hover, .site-nav > ul > li > a[aria-current="page"] { color: #fff; }
.site-nav > ul > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--aurora));
}
.has-sub > a .chev { width: 14px; height: 14px; opacity: 0.7; transition: transform 0.2s; }
.has-sub:hover > a .chev, .has-sub:focus-within > a .chev { transform: rotate(180deg); }

.sub {
  position: absolute; top: calc(100% + 10px); left: -16px; width: 360px;
  list-style: none; margin: 0; padding: 10px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sub a:hover { background: var(--surface-2); color: var(--ink); }
.sub .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--ice); color: var(--primary); display: grid; place-items: center; flex: none; }
.sub .ico svg { width: 20px; height: 20px; }
.sub strong { display: block; font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.sub small { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.45; margin-top: 2px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: transparent; color: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle .bar { width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s; }
.nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 12px 20px 40px; overflow-y: auto; background: var(--navy-950);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li > a {
    width: 100%; padding: 16px 4px; font-size: 1.15rem; border-radius: 0;
    border-bottom: 1px solid var(--on-dark-line);
  }
  .site-nav > ul > li > a[aria-current="page"]::after { left: 4px; right: auto; width: 28px; bottom: 8px; }
  .has-sub > a .chev { display: none; }
  .sub {
    position: static; width: auto; padding: 6px 0 10px; background: transparent; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .sub::before { display: none; }
  .sub a { color: #fff; padding: 10px 4px; align-items: center; }
  .sub a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
  .sub .ico { width: 34px; height: 34px; background: rgba(255, 255, 255, 0.08); color: var(--sky); }
  .sub strong { font-weight: 500; }
  .sub small { display: none; }
  .nav-cta { width: 100%; }
}

/* 6. Heroes ---------------------------------------------------------------- */
.hero, .page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-950); color: var(--on-dark);
}
.hero h1, .page-hero h1 { color: #fff; }

.hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 104px)) 0 clamp(120px, 13vw, 190px); }
.page-hero { padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0 clamp(110px, 11vw, 160px); }

.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.6;
}
.aurora::before {
  width: 62vw; height: 62vw; max-width: 860px; max-height: 860px; left: -14%; top: -38%;
  background: radial-gradient(circle at 35% 35%, rgba(52, 224, 192, 0.55), transparent 62%);
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora::after {
  width: 58vw; height: 58vw; max-width: 800px; max-height: 800px; right: -16%; top: -18%;
  background: radial-gradient(circle at 60% 40%, rgba(47, 140, 255, 0.62), rgba(118, 86, 255, 0.24) 45%, transparent 66%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}
.aurora .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 25%, transparent 72%);
}
@keyframes drift { to { transform: translate3d(7%, 9%, 0) scale(1.08); } }

.ridge {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1;
  width: 100%; height: clamp(70px, 10vw, 150px);
}
.ridge .front { fill: var(--ridge-fill); }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { color: var(--on-dark); font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); max-width: 600px; margin-bottom: 2rem; }
.grad {
  background: linear-gradient(92deg, var(--sky) 10%, var(--aurora) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--on-dark-line);
  color: #fff; font-size: 0.875rem; font-weight: 500;
}
.hero-badge .pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: rgba(52, 224, 192, 0.14); color: var(--aurora); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-badge .pill svg { width: 12px; height: 12px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(48px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--on-dark-line);
}
.hero-stats .num { display: block; color: #fff; font: 800 clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem)/1 var(--font-display); letter-spacing: -0.03em; margin-bottom: 8px; }
.hero-stats .label { font-size: 0.95rem; color: var(--on-dark-muted); }
@media (max-width: 760px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }

/* Hero visual (decorative glass cards) */
.hero-visual { position: relative; min-height: 440px; }
.glass {
  position: absolute; padding: 18px 20px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.65);
  color: #fff; font-size: 0.875rem; line-height: 1.45;
}
.glass p { color: var(--on-dark-muted); margin: 2px 0 0; font-size: 0.82rem; }
.glass strong { color: #fff; }
.glass-head { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.glass-head .tag { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: rgba(92, 200, 255, 0.16); color: var(--sky); font: 600 0.75rem var(--font-mono); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 0 4px rgba(52, 224, 192, 0.18); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 78px; margin: 16px 0 14px; }
.bars span { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, rgba(92, 200, 255, 0.95), rgba(92, 200, 255, 0.18)); }
.bars span:last-child { background: linear-gradient(180deg, var(--aurora), rgba(52, 224, 192, 0.2)); }
.glass-foot { display: flex; justify-content: space-between; color: var(--on-dark-muted); font-size: 0.82rem; }
.glass-foot strong { font-family: var(--font-mono); }

.card-deploy { top: 0; right: 0; width: min(100%, 370px); }
.card-agent { top: 214px; left: 0; width: min(92%, 330px); animation: float 7s ease-in-out infinite; }
.card-team { bottom: 0; right: 4%; width: min(88%, 310px); animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

.agent-row { display: flex; gap: 12px; align-items: flex-start; }
.agent-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--aurora), var(--primary)); color: #fff; }
.agent-icon svg { width: 18px; height: 18px; }
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); margin-top: 14px; overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--aurora), var(--sky)); }

.team-row { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  margin-left: -8px; border: 2px solid var(--navy-800);
  font: 700 0.7rem var(--font-sans); color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(1) { background: #2f8cff; }
.avatars span:nth-child(2) { background: #14b8a6; }
.avatars span:nth-child(3) { background: #8b5cf6; }
.avatars span:nth-child(4) { background: #334155; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; display: grid; gap: 14px; max-width: 520px; }
  .glass { position: relative; inset: auto; width: auto; animation: none; }
}
@media (max-width: 560px) { .card-team { display: none; } }

/* Page hero (inner pages) */
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { color: var(--on-dark); max-width: 660px; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.28rem); }
.page-hero .btn-row { margin-top: 32px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin: 0 0 22px; padding: 0; list-style: none; font-size: 0.875rem; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* 7. Sections & cards ------------------------------------------------------ */
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 2.5vw, 32px);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card.hover:hover, a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card p { color: var(--muted); }
a.card { display: block; text-decoration: none; color: inherit; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ice), #d5eaff); color: var(--primary); margin-bottom: 20px;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.sm { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; }
.icon-tile.sm svg { width: 22px; height: 22px; }
.section-dark .icon-tile, .on-dark .icon-tile { background: rgba(92, 200, 255, 0.1); color: var(--sky); border: 1px solid rgba(92, 200, 255, 0.18); }

/* Service cards */
.service-card { display: flex; flex-direction: column; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--aurora));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 1.3rem; }
.service-card .link-arrow { margin-top: auto; padding-top: 8px; }

.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; line-height: 1.5; color: var(--body); }
.checklist li::before {
  content: ""; flex: none; width: 19px; height: 19px; margin-top: 2px; border-radius: 50%;
  background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fe5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section-dark .checklist li, .on-dark .checklist li, .checklist.on-dark li { color: var(--on-dark); }
.section-dark .checklist li::before, .on-dark .checklist li::before, .checklist.on-dark li::before {
  background-color: rgba(52, 224, 192, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334e0c0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.checklist.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
@media (max-width: 560px) { .checklist.two-col { grid-template-columns: 1fr; } }

/* Feature (icon + text) */
.feature h3 { margin-bottom: 0.4em; }
.feature p { color: var(--muted); font-size: 0.98rem; }
.section-dark .feature p { color: var(--on-dark-muted); }
.feature-row { display: flex; gap: 18px; align-items: flex-start; }
.feature-row .icon-tile { margin-bottom: 0; }

/* Case study cards */
.case-card {
  display: flex; flex-direction: column; overflow: hidden; padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.case-visual {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; color: #fff;
  display: flex; align-items: flex-end; padding: 18px 20px;
  background: var(--case-bg, linear-gradient(135deg, #1f6fe5, #0a1929));
}
.case-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1.2px);
  background-size: 18px 18px; opacity: 0.55;
  -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 90%);
  mask-image: linear-gradient(120deg, transparent 20%, #000 90%);
}
.case-visual .big-icon { position: absolute; right: -14px; top: -10px; width: 52%; height: auto; opacity: 0.2; stroke-width: 1.1; transition: transform 0.6s ease; }
.case-card:hover .big-icon { transform: rotate(-6deg) scale(1.05); }
.case-tag {
  position: relative; padding: 5px 12px; border-radius: 999px;
  background: rgba(6, 17, 29, 0.38); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.v-finance { --case-bg: linear-gradient(135deg, #1f6fe5 0%, #2a3fb8 55%, #101c4a 100%); }
.v-health { --case-bg: linear-gradient(135deg, #14b8a6 0%, #0e7490 55%, #0b2a3d 100%); }
.v-energy { --case-bg: linear-gradient(135deg, #f59e0b 0%, #d9480f 55%, #3b1a0b 100%); }
.v-logistics { --case-bg: linear-gradient(135deg, #64748b 0%, #1e4b7a 55%, #0b1a2b 100%); }
.v-public { --case-bg: linear-gradient(135deg, #e0242f 0%, #9f1239 55%, #2a0a17 100%); }
.v-retail { --case-bg: linear-gradient(135deg, #22c55e 0%, #0f766e 55%, #0a2622 100%); }

.case-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.case-meta { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.case-body h3 { font-size: 1.2rem; }
.case-body > p { color: var(--muted); font-size: 0.97rem; }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: auto 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); }
.results li { display: flex; flex-direction: column; }
.results strong { font: 800 1.45rem/1.1 var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.results span { font-size: 0.85rem; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.case-body .results { margin-top: auto; }
.case-body > p + .results { margin-top: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.tag-list li { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.78rem; font-weight: 500; color: var(--body); }

/* AI section */
.ai-pillars { display: grid; gap: 22px; margin: 32px 0 36px; }
.terminal {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #0d1f33, #081524);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: var(--shadow-lg);
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.terminal-bar i:nth-child(1) { background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: 10px; font: 500 0.8rem var(--font-mono); color: var(--on-dark-muted); }
.terminal pre { margin: 0; padding: 22px 22px 26px; overflow-x: auto; font: 0.86rem/1.85 var(--font-mono); color: #cfe3f5; }
.terminal .c-prompt { color: var(--sky); }
.terminal .c-ok { color: var(--aurora); }
.terminal .c-dim { color: rgba(207, 227, 245, 0.45); }
.terminal .c-warn { color: #fbbf24; }
.terminal .c-str { color: #f9a8d4; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.stat { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { display: block; font: 800 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--ink); margin-bottom: 10px; }
.stat .num em { font-style: normal; color: var(--primary); }
.stat p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* Two-column stat grid (About page) */
.stat-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-grid.two .stat { border-right: 1px solid var(--line); border-bottom: 0; }
.stat-grid.two .stat:nth-child(2n) { border-right: 0; }
.stat-grid.two .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

/* Testimonial */
.quote-card {
  position: relative; margin: clamp(40px, 5vw, 64px) 0 0; padding: clamp(32px, 4.5vw, 56px);
  border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: start;
}
.quote-card .qmark { width: clamp(44px, 5vw, 64px); height: auto; color: var(--primary); opacity: 0.9; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font: 600 clamp(1.2rem, 1rem + 0.8vw, 1.6rem)/1.45 var(--font-display); color: var(--ink); letter-spacing: -0.015em; }
.quote-card figcaption { margin-top: 22px; font-size: 0.95rem; color: var(--muted); }
.quote-card figcaption strong { display: block; color: var(--ink); }
@media (max-width: 640px) { .quote-card { grid-template-columns: 1fr; } }

/* Logo marquee (placeholder client wordmarks) */
.marquee {
  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 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-word {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font: 800 1.35rem/1 var(--font-display); letter-spacing: -0.025em; color: #8a9bb0;
}
.logo-word svg { width: 26px; height: 26px; }
.logo-word.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 0; }
.logo-word.light { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 1.05rem; }

/* Industry chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; color: var(--ink);
}
.chips svg { width: 18px; height: 18px; color: var(--primary); }

/* Insight cards */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .post-top { height: 8px; background: linear-gradient(90deg, var(--primary), var(--aurora)); }
.post-card.alt .post-top { background: linear-gradient(90deg, var(--red), #f97316); }
.post-card.alt2 .post-top { background: linear-gradient(90deg, #7c3aed, var(--sky)); }
.post-card .post-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.post-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.post-meta .cat { padding: 3px 10px; border-radius: 999px; background: var(--ice); color: var(--primary); font-weight: 600; }
.post-card h3 { font-size: 1.2rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 10px; }

/* Events */
.events { display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 24px; align-items: center;
  padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.event:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.event-date { text-align: center; padding: 10px 0; border-radius: 14px; background: var(--navy-950); color: #fff; }
.event-date .m { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.event-date .d { display: block; font: 800 1.9rem/1.1 var(--font-display); }
.event h3 { margin: 0 0 6px; font-size: 1.15rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; color: var(--muted); }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .event { grid-template-columns: 72px 1fr; padding: 18px; gap: 16px; }
  .event .btn { grid-column: 1 / -1; justify-self: start; }
}

/* CTA band */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(40px, 6vw, 80px); border-radius: clamp(20px, 2.5vw, 32px);
  background: var(--navy-900); color: var(--on-dark);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.35em; }
.cta-band p { font-size: 1.15rem; max-width: 560px; }
.cta-band .aurora::before { left: -20%; top: -80%; }
.cta-band .aurora::after { right: -25%; top: -40%; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* 8. Page components ------------------------------------------------------- */
.pill-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.pill-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--on-dark-line);
  color: #fff; text-decoration: none; font-size: 0.92rem; font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s;
}
.pill-nav a:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.pill-nav svg { width: 16px; height: 16px; color: var(--sky); }

.service-block + .service-block { border-top: 1px solid var(--line); }
.service-block .icon-tile { margin-bottom: 24px; }

.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cap {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.section-alt .cap { background: #fff; }
.cap svg { width: 22px; height: 22px; color: var(--primary); margin-top: 2px; }
.cap h4 { margin: 0 0 4px; font-size: 1rem; }
.cap p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; counter-increment: step; padding-top: 64px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font: 800 0.95rem var(--font-display); color: var(--primary); background: var(--ice); border: 1px solid #cfe4fb;
}
.steps li::after { content: ""; position: absolute; top: 23px; left: 58px; right: -12px; height: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.1rem; margin-bottom: 0.35em; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.steps .dur { display: inline-block; margin-top: 6px; font-size: 0.8rem; font-weight: 600; color: var(--primary); }
.section-dark .steps li::before { background: rgba(92, 200, 255, 0.1); border-color: rgba(92, 200, 255, 0.25); color: var(--sky); }
.section-dark .steps li::after { background: var(--on-dark-line); }
.section-dark .steps p { color: var(--on-dark-muted); }
@media (max-width: 900px) {
  .steps, .steps.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps, .steps.three { grid-template-columns: 1fr; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 0.9rem var(--font-display); color: var(--ink); background: var(--surface-2); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .hl { background: rgba(31, 111, 229, 0.05); color: var(--ink); font-weight: 500; }
.compare thead .hl { background: var(--primary); color: #fff; }

/* Time-zone overlap visual */
.tz { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.tz-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; }
.tz-label { font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.tz-label small { display: block; font-weight: 400; color: var(--muted); }
.tz-track { position: relative; height: 30px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--surface-2) 0 calc(100% / 24 - 1px), var(--line) calc(100% / 24 - 1px) calc(100% / 24)); }
.tz-bar { position: absolute; top: 4px; bottom: 4px; left: calc(var(--s) / 24 * 100%); width: calc((var(--e) - var(--s)) / 24 * 100%); border-radius: 6px; background: var(--primary); }
.tz-bar.you { background: var(--navy-700); }
.tz-bar.ours { background: linear-gradient(90deg, var(--primary), var(--aurora)); }
.tz-bar.off { background: #cbd5e1; }
.tz-window { position: absolute; top: -6px; bottom: -6px; left: calc(9 / 24 * 100%); width: calc(8 / 24 * 100%); border: 2px dashed rgba(31, 111, 229, 0.35); border-radius: 10px; pointer-events: none; }
.tz-axis { display: flex; justify-content: space-between; font: 500 0.75rem var(--font-mono); color: var(--muted); }
.tz-note { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
@media (max-width: 640px) {
  .tz-row { grid-template-columns: 1fr; gap: 6px; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font: 700 1.05rem/1.4 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fe5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff;
  font: 500 0.92rem var(--font-sans); color: var(--body); cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-status { font-size: 0.9rem; color: var(--muted); margin: -20px 0 28px; }

/* Article / prose */
.prose { color: var(--body); font-size: 1.075rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--primary); }
.prose code { padding: 2px 6px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font: 0.88em var(--font-mono); color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--primary); font-size: 1.15rem; color: var(--ink); }
.prose .note { padding: 16px 20px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.article + .article { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 18px; font-size: 0.9rem; color: var(--muted); }
.article-meta .cat { padding: 3px 10px; border-radius: 999px; background: var(--ice); color: var(--primary); font-weight: 600; font-size: 0.82rem; }
.back-top { display: inline-flex; margin-top: 28px; font-size: 0.92rem; font-weight: 600; text-decoration: none; }

/* Roles */
.roles { display: grid; gap: 12px; }
.role {
  display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center;
  padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.role:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.role h3 { margin: 0 0 6px; font-size: 1.1rem; }
.role-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; color: var(--muted); }
.role-meta span { display: inline-flex; align-items: center; gap: 6px; }
.role-meta svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .role { grid-template-columns: 1fr; } .role .btn { justify-self: start; } }

/* Offices */
.office { display: flex; flex-direction: column; }
.office .city { font: 800 1.35rem/1.2 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.office .prov { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }

/* Value / perk cards */
.value-num { font: 800 0.9rem var(--font-display); color: var(--primary); letter-spacing: 0.08em; margin-bottom: 12px; display: block; }

/* 9. Forms ----------------------------------------------------------------- */
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--red); }
.field .hint { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6f82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31, 111, 229, 0.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field .error { display: none; font-size: 0.84rem; color: var(--red); }
.field.invalid .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--body); line-height: 1.5; cursor: pointer; }
.field label.check { font-weight: 400; color: var(--body); font-size: 0.92rem; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot small { color: var(--muted); max-width: 420px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: 0.95rem; }
.form-status.is-success { display: block; background: rgba(20, 184, 166, 0.1); color: #0f5f56; border: 1px solid rgba(20, 184, 166, 0.35); }
.form-status.is-error { display: block; background: rgba(224, 36, 47, 0.07); color: #9f1239; border: 1px solid rgba(224, 36, 47, 0.3); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1.45fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 20px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line svg { width: 20px; height: 20px; color: var(--primary); margin-top: 3px; }
.contact-line a { font-weight: 600; text-decoration: none; }
.contact-line small { display: block; color: var(--muted); font-size: 0.85rem; }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 40px 32px; }
.footer-brand p { margin: 18px 0 0; max-width: 320px; }
.site-footer h2 { font: 700 0.8rem var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 3px; color: var(--sky); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--on-dark-line); font-size: 0.875rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-contact-col { grid-column: 1 / -1; } }

/* 11. Motion --------------------------------------------------------------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { width: auto; }
  .marquee-group { flex-wrap: wrap; justify-content: center; gap: 28px 48px; padding-right: 0; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* 12. Utilities ------------------------------------------------------------ */
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }
.mb-0 { margin-bottom: 0; }
.maxw-sm { max-width: 560px; }
.stack-sm > * + * { margin-top: 12px; }
