/* ==========================================================================
   tgNABS Technologies — Design System
   Palette derived from tgnabs.com (teal #008170 on deep ink) — lightened
   for a welcoming, practical feel. Dark "ink" used for hero + accent bands.
   ========================================================================== */

:root {
  /* Brand */
  --teal-900: #062a28;
  --teal-800: #0a3b38;
  --teal-700: #00695c;
  --teal-600: #008170;   /* original tgnabs.com accent */
  --teal-500: #0a9c87;
  --teal-300: #5fd6c1;
  --teal-100: #d7f3ee;
  --teal-50:  #eefaf7;

  --ink-950: #070d0e;
  --ink-900: #0c1517;
  --ink-800: #142124;
  --ink-700: #22312f;

  --amber-500: #f2a33a;  /* warm highlight for small moments */
  --amber-100: #fdf0dc;

  /* Neutrals */
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-2: #f0f2ef;
  --line: #e2e6e2;
  --text: #15201f;
  --text-2: #4a5856;
  --text-3: #6f7c7a;

  /* Type */
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + .4vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.6vw, 4.25rem);

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 30, 28, .06), 0 2px 8px rgba(10, 30, 28, .04);
  --shadow: 0 2px 6px rgba(10, 30, 28, .05), 0 12px 32px rgba(10, 30, 28, .08);
  --shadow-lg: 0 24px 60px rgba(6, 30, 28, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::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-body);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--teal-600); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 2.5rem + 3vw, 5rem); }
.section--alt { background: var(--surface); }
.section--ink { background: var(--ink-900); color: #e8efee; }
.section--ink .lead, .section--ink p { color: #b6c4c2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--ink .eyebrow, .hero .eyebrow { color: var(--teal-300); }

.lead { font-size: var(--fs-lg); color: var(--text-2); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.grid { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal-600); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--teal-700); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 129, 112, .28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink-900); }
.btn--light:hover { background: var(--teal-100); color: var(--ink-900); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); color: var(--text); border-color: var(--teal-500); box-shadow: none; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); border-color: var(--teal-300); color: #fff; box-shadow: none; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--teal-700); text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(247, 247, 244, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(10, 30, 28, .05); }
.site-header--overlay { position: fixed; inset: 0 0 auto 0; background: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--overlay.is-scrolled { background: rgba(9, 18, 19, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: rgba(255,255,255,.06); }

.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--teal-500), var(--teal-800));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 6px 14px rgba(0, 105, 92, .3);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.brand__name b { color: var(--teal-600); font-weight: 800; }
.site-header--overlay .brand__name b { color: var(--teal-300); }
.brand__tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .62; margin-top: 4px; font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav__links a {
  display: inline-block; padding: .55rem .85rem; border-radius: 999px;
  font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600;
  color: inherit; text-decoration: none; opacity: .82; transition: opacity .2s, background .2s;
}
.nav__links a:hover { opacity: 1; background: rgba(0, 129, 112, .08); }
.site-header--overlay .nav__links a:hover { background: rgba(255,255,255,.08); }
.nav__links a[aria-current="page"] { opacity: 1; color: var(--teal-700); background: var(--teal-50); }
.site-header--overlay .nav__links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.nav__cta { margin-left: .5rem; min-height: 44px; padding: .6rem 1.1rem; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; color: var(--text);
}
.site-header--overlay .nav__toggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink-900); color: #fff;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 2rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mobile-nav ul { list-style: none; }
.mobile-nav li + li { border-top: 1px solid rgba(255,255,255,.08); }
.mobile-nav a.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 0; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em;
  color: #fff; text-decoration: none;
}
.mobile-nav a.mobile-nav__link[aria-current="page"] { color: var(--teal-300); }
.mobile-nav a.mobile-nav__link svg { width: 22px; height: 22px; opacity: .5; }
.mobile-nav__foot { margin-top: auto; display: grid; gap: .75rem; }
.mobile-nav__foot p { color: #9fb1ae; font-size: var(--fs-sm); margin: 0; text-align: center; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: var(--ink-900); color: #fff; border-color: rgba(255,255,255,.06); }
body.nav-open .site-header .brand__name b { color: var(--teal-300); }
body.nav-open .nav__toggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (min-width: 961px) { .mobile-nav { display: none; } }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-950); color: #fff;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 2rem + 4vw, 5.5rem));
  padding-bottom: clamp(4rem, 3rem + 5vw, 7rem);
}
.hero::before { /* teal glow, echoing tgnabs.com gradient */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(0, 129, 112, .45), transparent 65%),
    radial-gradient(45% 55% at 0% 100%, rgba(12, 87, 87, .5), transparent 70%),
    linear-gradient(160deg, #070d0e 0%, #0b1a1b 55%, #082826 100%);
}
.hero::after { /* subtle circuit grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(rgba(95, 214, 193, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 214, 193, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero__pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .9rem .4rem .45rem; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: var(--fs-xs); font-weight: 600; color: #cfe0dd; margin-bottom: 1.5rem;
}
.hero__pill .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(95, 214, 193, .16); display: grid; place-items: center; }
.hero__pill .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 0 rgba(95,214,193,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95,214,193,.55); } 70% { box-shadow: 0 0 0 9px rgba(95,214,193,0); } 100% { box-shadow: 0 0 0 0 rgba(95,214,193,0); } }

.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 .strike { position: relative; color: #8fa3a0; white-space: nowrap; }
.hero h1 .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em; border-radius: 4px;
  background: var(--amber-500); transform-origin: left; transform: scaleX(0) rotate(-2deg);
  animation: strike .7s .6s var(--ease) forwards;
}
@keyframes strike { to { transform: scaleX(1) rotate(-2deg); } }
.hero h1 .grow { background: linear-gradient(90deg, var(--teal-300), #a8f0e1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #b9c9c6; margin-bottom: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.08); list-style: none; }
.hero__trust li { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); color: #cfdcda; font-weight: 500; }
.hero__trust svg { width: 18px; height: 18px; color: var(--teal-300); flex: none; }

/* Hero visual: advisor-and-owner photo + floating "calm IT" status cards */
.hero__visual { position: relative; max-width: 540px; justify-self: end; width: 100%; }
.hero__photo {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1);
  background: #0e1d1e;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0, 105, 92, .12), transparent 45%, rgba(5, 14, 15, .18)); pointer-events: none; }

.status-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .7rem;
  padding: .75rem .95rem; border-radius: 16px;
  background: rgba(255,255,255,.96); color: var(--text);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  font-size: var(--fs-xs); line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.status-card strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--ink-900); }
.status-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--teal-50); color: var(--teal-600); }
.status-card .ic svg { width: 19px; height: 19px; }
.status-card .ok { color: var(--teal-600); font-weight: 600; }
/* Cards sit over the wall (top right), the jacket (left) and the desk (bottom right),
   never over faces, and never further outside the frame than the column gap allows. */
.status-card--a { top: 6%; right: 5%; }
.status-card--b { top: 60%; left: -7%; animation-delay: -2s; }
.status-card--c { bottom: 6%; right: 5%; animation-delay: -4s; }
.status-card--c .ic { background: var(--amber-100); color: #b26b08; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 480px; margin-top: 1rem; }
  .status-card--b { left: 12px; }
}
@media (max-width: 520px) {
  .hero__visual { padding-inline: 4px; }
  .status-card { padding: .55rem .7rem; gap: .55rem; border-radius: 13px; }
  .status-card .ic { width: 30px; height: 30px; }
  .status-card strong { font-size: .8rem; }
  .status-card span { font-size: .7rem; }
  .status-card--a { top: 4%; right: 4%; }
  .status-card--b { left: 8px; }
  .status-card--c { bottom: 4%; right: 4%; }
  .hero__trust { gap: .65rem 1.1rem; }
}

/* ---------- Partner marquee ---------- */
.partners { background: var(--ink-950); border-top: 1px solid rgba(255,255,255,.06); color: #8fa3a0; padding-block: 1.6rem; overflow: hidden; }
.partners__inner { display: flex; align-items: center; gap: 2rem; }
.partners__label { flex: none; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: #6f8582; max-width: 150px; line-height: 1.4; }
.marquee { flex: 1; 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; gap: 3.25rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: #b7c6c3; white-space: nowrap; opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .partners__inner { flex-direction: column; align-items: flex-start; gap: .9rem; } .partners__label { max-width: none; } .marquee { width: 100%; } }

/* ==========================================================================
   Home: "Fighting vs Growing" toggle
   ========================================================================== */
.shift { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.toggle {
  display: inline-grid; grid-template-columns: 1fr 1fr; position: relative;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 1.5rem;
  width: 100%; max-width: 440px;
}
.toggle button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: .7rem .75rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  color: var(--text-2); transition: color .25s; min-height: 44px;
}
.toggle button[aria-selected="true"] { color: #fff; }
.toggle__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink-900); transition: transform .4s var(--ease), background .4s; box-shadow: var(--shadow-sm); }
.toggle[data-state="grow"] .toggle__thumb { transform: translateX(100%); background: var(--teal-600); }

.compare { list-style: none; display: grid; gap: .75rem; }
.compare li {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.compare .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; transition: background .35s, color .35s; }
.compare .ic svg { width: 22px; height: 22px; }
.compare strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: .15rem; }
.compare p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); }
.compare [data-grow] { display: none; }
.compare[data-state="fight"] .ic { background: #fbe9e6; color: #c2412d; }
.compare[data-state="grow"] .ic { background: var(--teal-50); color: var(--teal-600); }
.compare[data-state="grow"] li { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.compare[data-state="grow"] [data-fight] { display: none; }
.compare[data-state="grow"] [data-grow] { display: block; }
.compare li { animation: none; }
.compare.is-swapping li { animation: swapIn .45s var(--ease) both; }
.compare.is-swapping li:nth-child(2) { animation-delay: .05s; }
.compare.is-swapping li:nth-child(3) { animation-delay: .1s; }
.compare.is-swapping li:nth-child(4) { animation-delay: .15s; }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .shift { grid-template-columns: 1fr; } }

/* ==========================================================================
   Service pillars
   ========================================================================== */
.pillar {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--ink-800); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.04); }
.pillar__num { position: absolute; top: 1rem; left: 1rem; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-xs); letter-spacing: .08em; background: rgba(7, 13, 14, .7); color: #fff; padding: .35rem .65rem; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pillar__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pillar__body > p { color: var(--text-2); font-size: var(--fs-sm); }
.checks { list-style: none; display: grid; gap: .55rem; margin: .25rem 0 1.4rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-sm); font-weight: 500; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008170' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pillar .text-link { margin-top: auto; }

/* ==========================================================================
   Trifecta
   ========================================================================== */
.trifecta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.venn { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto; }
.venn__c {
  position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 12%;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(.85rem, .7rem + .5vw, 1.05rem); line-height: 1.2;
  border: 1.5px solid rgba(95, 214, 193, .45); background: rgba(0, 129, 112, .14); color: #e6f6f2;
  mix-blend-mode: screen; transition: background .3s, transform .4s var(--ease);
}
.venn__c small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72em; color: #9fc1bb; margin-top: .3rem; }
.venn__c--1 { top: 0; left: 21%; padding-bottom: 22%; }
.venn__c--2 { bottom: 4%; left: 0; padding-right: 20%; padding-top: 18%; }
.venn__c--3 { bottom: 4%; right: 0; padding-left: 20%; padding-top: 18%; }
.venn__c:hover { background: rgba(0, 129, 112, .32); }
.venn__core {
  position: absolute; left: 50%; top: 53%; transform: translate(-50%, -50%);
  width: 19%; aspect-ratio: 1; border-radius: 50%; background: var(--teal-500); display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(10, 156, 135, .18), 0 0 40px rgba(95, 214, 193, .5);
}
.venn__core svg { width: 46%; color: #fff; }
.tri-list { list-style: none; display: grid; gap: 1.25rem; margin-top: 2rem; }
.tri-list li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; }
.tri-list .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(95, 214, 193, .1); border: 1px solid rgba(95, 214, 193, .2); color: var(--teal-300); display: grid; place-items: center; }
.tri-list .ic svg { width: 22px; height: 22px; }
.tri-list strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.1rem; margin-bottom: .2rem; }
.tri-list p { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 900px) { .trifecta { grid-template-columns: 1fr; } .venn { max-width: 360px; } }

/* ==========================================================================
   Story / veteran band
   ========================================================================== */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.story__media { position: relative; }
.story__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; box-shadow: var(--shadow); }
.story__badge {
  position: absolute; right: -14px; bottom: -22px; max-width: 250px;
  background: var(--surface); border-radius: var(--radius); padding: 1rem 1.15rem; box-shadow: var(--shadow);
  display: flex; gap: .8rem; align-items: center; border: 1px solid var(--line);
}
.story__badge .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--amber-100); color: #a25f05; display: grid; place-items: center; flex: none; }
.story__badge .ic svg { width: 22px; height: 22px; }
.story__badge strong { display: block; font-family: var(--font-head); font-size: .95rem; line-height: 1.2; }
.story__badge span { font-size: var(--fs-xs); color: var(--text-3); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__badge { right: 12px; bottom: -24px; } .story__media { margin-bottom: 1.5rem; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat { padding: 1.1rem 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.3rem); font-weight: 800; letter-spacing: -.04em; color: var(--teal-600); line-height: 1.05; }
.stat span { font-size: var(--fs-xs); color: var(--text-2); font-weight: 500; line-height: 1.35; display: block; margin-top: .35rem; }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; } .stats .stat:last-child { grid-column: span 2; } }

/* ==========================================================================
   Process
   ========================================================================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal-100) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__n {
  counter-increment: step; position: relative; z-index: 1;
  width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--teal-100); color: var(--teal-600);
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 6px var(--bg);
}
.step:first-child .step__n { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { font-size: var(--fs-sm); color: var(--text-2); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 10px; bottom: 10px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--teal-100) 0 8px, transparent 8px 14px); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; text-align: left; padding: 0 0 1.75rem; }
  .step__n { margin: 0; }
  .step:last-child { padding-bottom: 0; }
}

/* ==========================================================================
   IT Health Check (interactive)
   ========================================================================== */
.check {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.check__intro { padding: clamp(1.75rem, 1rem + 3vw, 3rem); background: linear-gradient(160deg, var(--teal-800), var(--ink-900)); color: #fff; position: relative; overflow: hidden; }
.check__intro::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -140px; border-radius: 50%; border: 50px solid rgba(95, 214, 193, .08); }
.check__intro h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); color: #fff; }
.check__intro p { color: #b8cbc8; }
.gauge { position: relative; width: 150px; height: 150px; margin-top: 1.75rem; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge .track { stroke: rgba(255,255,255,.1); }
.gauge .bar { stroke: var(--teal-300); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset .8s var(--ease), stroke .4s; }
.gauge__val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-head); }
.gauge__val b { font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; display: block; line-height: 1; }
.gauge__val span { font-size: .72rem; color: #a9c0bc; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

.check__body { padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); }
.q { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.q:first-child { padding-top: 0; }
.q p { margin: 0; font-weight: 600; font-size: var(--fs-sm); line-height: 1.45; }
.q small { display: block; font-weight: 400; color: var(--text-3); font-size: var(--fs-xs); margin-top: .15rem; }
.yn { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; border: 1px solid var(--line); }
.yn label { position: relative; cursor: pointer; }
.yn input { position: absolute; opacity: 0; pointer-events: none; }
.yn span { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 38px; padding: 0 .7rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; font-family: var(--font-head); color: var(--text-2); transition: background .2s, color .2s; }
.yn input:checked + span { background: var(--teal-600); color: #fff; }
.yn input[value="0"]:checked + span { background: var(--ink-800); }
.yn input:focus-visible + span { outline: 3px solid var(--teal-300); outline-offset: 1px; }
.check__result { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--teal-50); border: 1px solid var(--teal-100); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.check__result p { margin: 0; font-size: var(--fs-sm); flex: 1 1 260px; }
.check__result strong { font-family: var(--font-head); }
@media (max-width: 900px) { .check { grid-template-columns: 1fr; } .gauge { width: 120px; height: 120px; } .check__intro { display: grid; grid-template-columns: 1fr; } }
@media (max-width: 420px) { .q { grid-template-columns: 1fr; gap: .6rem; } }

/* ==========================================================================
   Blog cards
   ========================================================================== */
.post {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-800); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post__meta { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-xs); color: var(--text-3); font-weight: 500; }
.tag { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-weight: 700; font-size: .72rem; letter-spacing: .02em; }
.post h3 { font-size: 1.12rem; line-height: 1.35; margin: 0; }
.post p { font-size: var(--fs-sm); color: var(--text-2); margin: 0; }
.post .text-link { margin-top: auto; padding-top: .5rem; }

.post--feature { display: grid; grid-template-columns: 1.15fr 1fr; }
.post--feature .post__media { aspect-ratio: auto; min-height: 320px; }
.post--feature .post__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); justify-content: center; }
.post--feature h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
@media (max-width: 800px) { .post--feature { grid-template-columns: 1fr; } .post--feature .post__media { min-height: 0; aspect-ratio: 16 / 10; } }

.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .55rem 1rem; min-height: 42px; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs); cursor: pointer; color: var(--text-2); transition: all .2s; }
.chip:hover { border-color: var(--teal-500); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.post[hidden] { display: none; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px; padding: clamp(2rem, 1.25rem + 4vw, 4.5rem);
  background: linear-gradient(130deg, var(--teal-700) 0%, var(--teal-800) 50%, var(--ink-900) 100%); color: #fff;
  display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: center;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 100% 0%, rgba(95,214,193,.3), transparent 70%); }
.cta::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; bottom: -220px; border-radius: 50%; border: 70px solid rgba(255,255,255,.05); }
.cta h2 { color: #fff; margin-bottom: .6rem; }
.cta p { color: #c8dcd8; margin: 0; max-width: 56ch; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }
@media (max-width: 480px) { .cta .btn { width: 100%; } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink-950); color: #fff;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 4.5rem));
  padding-bottom: clamp(3rem, 2.5rem + 3vw, 5rem);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 90% at 90% 10%, rgba(0, 129, 112, .42), transparent 70%), linear-gradient(160deg, #070d0e, #0b1c1d 60%, #082826); }
.page-hero__bg { position: absolute; inset: 0; z-index: -3; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 3.6rem); max-width: 18ch; color: #fff; }
.page-hero .lead { color: #b9c9c6; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-xs); color: #8fa8a4; margin-bottom: 1.25rem; list-style: none; flex-wrap: wrap; }
.crumbs a { color: #cfe0dd; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ==========================================================================
   Services page
   ========================================================================== */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(247,247,244,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: .35rem; list-style: none; overflow-x: auto; padding-block: .65rem; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; white-space: nowrap; padding: .5rem .95rem; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs); text-decoration: none; color: var(--text-2); border: 1px solid transparent; }
.subnav a:hover { color: var(--text); background: var(--surface); border-color: var(--line); }
.subnav a.is-active { background: var(--ink-900); color: #fff; }

.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.svc + .svc { margin-top: clamp(4rem, 3rem + 4vw, 7rem); }
.svc--flip .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
.svc__media .chip-float { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.95); border-radius: 12px; padding: .6rem .85rem; font-size: var(--fs-xs); font-weight: 600; box-shadow: var(--shadow-sm); display: flex; gap: .5rem; align-items: center; }
.svc__media .chip-float svg { width: 16px; height: 16px; color: var(--teal-600); }
.svc__tagline { font-family: var(--font-head); font-weight: 600; color: var(--teal-700); font-size: var(--fs-lg); margin-bottom: 1rem; }
.feature-list { list-style: none; display: grid; gap: .9rem; margin: 1.5rem 0 2rem; }
.feature-list li { display: grid; grid-template-columns: 42px 1fr; gap: .9rem; padding: 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature-list .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; }
.feature-list .ic svg { width: 20px; height: 20px; }
.feature-list strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.feature-list span { font-size: var(--fs-sm); color: var(--text-2); }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc--flip .svc__media { order: 0; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008170' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.25rem 1.25rem; color: var(--text-2); font-size: var(--fs-sm); }
.faq details > div p:last-child { margin: 0; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.portrait { position: sticky; top: calc(var(--header-h) + 2rem); }
.portrait img { border-radius: var(--radius-lg); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.portrait__card { margin-top: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.portrait__card strong { font-family: var(--font-head); font-size: 1.1rem; display: block; }
.portrait__card span { color: var(--text-3); font-size: var(--fs-sm); }
.portrait__links { display: flex; gap: .5rem; margin-top: .9rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); transition: all .2s; }
.icon-btn:hover { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }
.icon-btn svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .about-intro { grid-template-columns: 1fr; } .portrait { position: static; max-width: 460px; } }

.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-2); }
.prose .lead { color: var(--text); }

.timeline { list-style: none; position: relative; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--teal-100); }
.timeline li { position: relative; padding-left: 2.5rem; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--teal-500); }
.timeline strong { display: block; font-family: var(--font-head); }
.timeline span { color: var(--text-2); font-size: var(--fs-sm); }

.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.badge { display: flex; gap: .9rem; align-items: center; padding: 1.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.badge .ic { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: linear-gradient(140deg, var(--teal-500), var(--teal-800)); color: #fff; }
.badge .ic svg { width: 22px; height: 22px; }
.badge strong { display: block; font-family: var(--font-head); font-size: .98rem; line-height: 1.25; }
.badge span { font-size: var(--fs-xs); color: var(--text-3); }

.values .value { padding: 1.6rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.values .value .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(95, 214, 193, .1); color: var(--teal-300); margin-bottom: 1.1rem; }
.values .value .ic svg { width: 22px; height: 22px; }
.values .value h3 { color: #fff; font-size: 1.15rem; }
.values .value p { font-size: var(--fs-sm); margin: 0; }

.gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery figcaption { position: absolute; left: .85rem; bottom: .85rem; background: rgba(7,13,14,.72); color: #fff; padding: .4rem .75rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--teal-500); box-shadow: var(--shadow-sm); color: inherit; }
.contact-card .ic { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--text-3); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { font-family: var(--font-head); font-size: 1.02rem; word-break: break-word; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; font-family: var(--font-head); padding: 0; }
.field label .opt { font-weight: 500; color: var(--text-3); font-family: var(--font-body); font-size: var(--fs-xs); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); font-size: 16px; /* 16px prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5856' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(10, 156, 135, .14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c2412d; }
.field .err { color: #b3361f; font-size: var(--fs-xs); font-weight: 600; min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; min-height: 42px; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: var(--fs-sm); font-weight: 500; transition: all .2s; }
.pills input:checked + span { background: var(--teal-50); border-color: var(--teal-500); color: var(--teal-700); font-weight: 600; }
.pills input:focus-visible + span { outline: 3px solid var(--teal-300); outline-offset: 2px; }
.form__note { font-size: var(--fs-xs); color: var(--text-3); margin: 1rem 0 0; text-align: center; }
.form__success { display: none; text-align: center; padding: 2rem 0; }
.form__success .ic { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.form__success .ic svg { width: 30px; height: 30px; }
.form.is-sent form { display: none; }
.form.is-sent .form__success { display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.map-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 260px; display: grid; align-items: end; }
.map-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,13,14,.1), rgba(7,13,14,.82)); }
.map-band__body { position: relative; z-index: 1; padding: 1.5rem; color: #fff; }
.map-band__body strong { font-family: var(--font-head); font-size: 1.25rem; display: block; }
.map-band__body span { color: #cfe0dd; font-size: var(--fs-sm); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink-950); color: #9fb1ae; padding-top: clamp(3.5rem, 3rem + 3vw, 5rem); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__name b { color: var(--teal-300); }
.site-footer p { max-width: 40ch; }
.site-footer h4 { color: #fff; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: #b9c9c6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.socials a:hover { background: var(--teal-600); border-color: var(--teal-600); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: var(--fs-xs); color: #748986; }
.footer-bottom ul { display: flex; gap: 1.25rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; } .footer-grid > :last-child { grid-column: 1 / -1; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: none; gap: .5rem; padding: .5rem; border-radius: 999px;
  background: rgba(9, 18, 19, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transform: translateY(140%); transition: transform .4s var(--ease);
  padding-bottom: calc(.5rem + env(safe-area-inset-bottom, 0px) * .4);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 46px; }
.mobile-cta .btn--icon { flex: none; width: 46px; padding: 0; }
@media (max-width: 720px) { .mobile-cta { display: flex; } .site-footer { padding-bottom: 80px; } }
body.nav-open .mobile-cta { transform: translateY(140%); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer; background: var(--ink-900); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-600); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .to-top { display: none; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero h1 .strike::after { transform: scaleX(1) rotate(-2deg); }
}

/* ---------- Additions: 3-step process, industries, split heads ---------- */
.steps--3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; }
.steps--3::before { left: 17%; right: 17%; }
@media (max-width: 860px) { .steps--3 { grid-template-columns: 1fr; } .steps--3::before { left: 27px; right: auto; } }

.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section-head--split h2 { margin-bottom: 0; }

.industries { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: .9rem; }
.industries li {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.3;
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.industries li:hover { border-color: var(--teal-500); background: #fff; transform: translateY(-2px); }
.industries .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--teal-600); border: 1px solid var(--line); }
.industries .ic svg { width: 22px; height: 22px; }
.page-contact .mobile-cta { display: none !important; }

/* ---------- Contact form: honeypot, error, busy ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__error { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: 12px; background: #fdecea; border: 1px solid #f5c2bb; color: #8f2a19; font-size: var(--fs-sm); font-weight: 500; }
.form__error a { color: inherit; font-weight: 700; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn[aria-busy="true"] svg { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* ==========================================================================
   Article pages (insights/*.html)
   ========================================================================== */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--teal-500), var(--teal-300)); transform-origin: left; transform: scaleX(0); }

.page-hero--article h1.article-title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); max-width: 24ch; letter-spacing: -.03em; }
.page-hero--article .lead { max-width: 60ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; color: #a9c0bc; font-size: var(--fs-sm); margin-bottom: 1rem; }
.tag--dark { background: rgba(95, 214, 193, .14); color: var(--teal-300); }
.byline { display: flex; align-items: center; gap: .85rem; margin-top: 1.75rem; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 2px solid rgba(255,255,255,.18); }
.byline strong { display: block; font-family: var(--font-head); color: #fff; font-size: .98rem; line-height: 1.2; }
.byline span { font-size: var(--fs-xs); color: #a9c0bc; }

.section--article { padding-top: clamp(2.5rem, 2rem + 3vw, 4rem); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.article-body { max-width: 720px; min-width: 0; font-size: 1.08rem; line-height: 1.75; color: #2a3836; }
.article-body > * + * { margin-top: 1.15em; }
.article-body p { margin-bottom: 0; }
.article-body h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); color: var(--text); margin: 2.2em 0 .1em; scroll-margin-top: calc(var(--header-h) + 24px); }
.article-body h3 { font-size: 1.2rem; color: var(--text); margin: 1.8em 0 .1em; }
.article-body h2 + *, .article-body h3 + * { margin-top: .6em; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--teal-700); font-weight: 500; }
.article-body ul:not([class]), .article-body ol:not([class]) { padding-left: 1.4em; }
.article-body ul:not([class]) li, .article-body ol:not([class]) li { padding-left: .25em; }
.article-body li + li { margin-top: .45em; }
.article-body ul:not([class]) li::marker { color: var(--teal-500); }
.article-body ol:not([class]) li::marker { color: var(--teal-600); font-weight: 700; font-family: var(--font-head); }
.article-body hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.article-body figure { margin: 2em 0; }
.article-body figure img { width: 100%; border-radius: var(--radius); }
.article-body figcaption { font-size: var(--fs-sm); color: var(--text-3); margin-top: .7rem; line-height: 1.5; }
.article-hero { margin-top: 0 !important; }
.article-hero img { border-radius: var(--radius-lg) !important; box-shadow: var(--shadow); }
.article-hero--square { max-width: 520px; }
.article-lead { font-size: 1.25rem; line-height: 1.6; color: var(--text); font-weight: 500; }
.article-source { font-size: var(--fs-sm); color: var(--text-3); }
.cite-link { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: .05rem .45rem; border-radius: 999px; background: var(--teal-50); color: var(--teal-700) !important; vertical-align: .15em; }
.cite-link:hover { background: var(--teal-100); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap thead th { background: var(--surface-2); font-family: var(--font-head); font-weight: 700; color: var(--text); }
.table-wrap td:first-child { font-weight: 600; color: var(--text); }

.pullquote { margin: 2em 0; padding: 1.4rem 1.5rem 1.4rem 1.6rem; border-left: 4px solid var(--teal-500); background: var(--teal-50); border-radius: 0 var(--radius) var(--radius) 0; }
.pullquote p { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.45; font-weight: 600; color: var(--ink-900); letter-spacing: -.01em; }
.pullquote cite { display: block; margin-top: .75rem; font-style: normal; font-size: var(--fs-sm); color: var(--text-2); }
.article-body .stats { list-style: none; padding: 0; margin: 2em 0; }
.article-body .stat span { font-size: var(--fs-xs); }
.article-body .feature-list { margin: 1.5em 0; }
.article-body .feature-list li { margin: 0; }
.ic--emoji { font-size: 1.3rem; }

.article-end { margin-top: 3rem !important; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.share { display: flex; align-items: center; gap: .5rem; }
.share__label { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); margin-right: .25rem; }
.share .icon-btn { cursor: pointer; }
.share__status { font-size: var(--fs-xs); color: var(--teal-700); font-weight: 600; }

.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; }
.toc__label { display: block; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: .6rem; }
.toc ol { list-style: none; display: grid; gap: .15rem; }
.toc a { display: block; padding: .4rem .6rem; border-radius: 8px; font-size: var(--fs-sm); line-height: 1.35; color: var(--text-2); text-decoration: none; border-left: 2px solid transparent; }
.toc a:hover { background: var(--surface-2); color: var(--text); }
.toc a.is-active { color: var(--teal-700); background: var(--teal-50); border-left-color: var(--teal-500); font-weight: 600; }
.aside-cta { background: linear-gradient(160deg, var(--teal-800), var(--ink-900)); color: #d6e5e2; border-radius: var(--radius); padding: 1.35rem; }
.aside-cta .eyebrow { color: var(--teal-300); margin-bottom: .6rem; }
.aside-cta p { font-size: var(--fs-sm); margin-bottom: 1.1rem; }
.aside-cta strong { color: #fff; display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: .3rem; }

@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-body { max-width: none; }
  .article-aside { position: static; }
  .toc { display: none; }
}
@media (max-width: 560px) {
  .article-body { font-size: 1.03rem; }
  .pullquote p { font-size: 1.1rem; }
  .article-end { flex-direction: column; align-items: flex-start; }
}

/* Two-column article tables stack into cards on phones */
@media (max-width: 600px) {
  .table-wrap { overflow: visible; border: 0; background: none; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; }
  .table-wrap tr + tr { margin-top: .6rem; }
  .table-wrap td { display: block; padding: 0; border: 0; }
  .table-wrap td:first-child { margin-bottom: .3rem; font-family: var(--font-head); color: var(--teal-700); }
}

/* ==========================================================================
   AI for Business
   ========================================================================== */
/* Nav highlight */
.nav__ai { display: inline-flex !important; align-items: center; gap: .35rem; }
.nav__ai svg { width: 15px; height: 15px; color: var(--amber-500); }
.badge-new { display: inline-block; margin-left: .45rem; padding: .1rem .45rem; border-radius: 999px; background: var(--amber-500); color: var(--ink-900); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: .3em; }
@media (max-width: 1080px) and (min-width: 961px) { .nav__links a { padding-inline: .6rem; } .nav__cta { padding-inline: .9rem; } }

/* Hero announcement pill */
.hero__pill--link { text-decoration: none; transition: background .2s, border-color .2s; }
.hero__pill--link:hover { background: rgba(255,255,255,.1); border-color: rgba(95,214,193,.4); color: #fff; }
.hero__pill--link b { color: var(--ink-900); background: var(--amber-500); padding: .08rem .45rem; border-radius: 999px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.hero__pill--link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.hero__pill--link:hover svg { transform: translateX(3px); }

.eyebrow__ic { width: 16px; height: 16px; }
.eyebrow:has(.eyebrow__ic)::before { display: none; }

/* Homepage AI band */
.ai-band { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background:
  radial-gradient(60% 80% at 100% 0%, rgba(242, 163, 58, .12), transparent 60%),
  radial-gradient(60% 80% at 0% 100%, rgba(10, 156, 135, .12), transparent 60%),
  linear-gradient(180deg, #f3faf8, var(--bg)); }
.ai-band__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.ai-band .eyebrow { color: #b26b08; }
.ai-band h2 .hl { background: linear-gradient(90deg, var(--teal-600), var(--teal-500) 60%, #c98418); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero--ai .grow { background: linear-gradient(90deg, var(--teal-300), #f5c26b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1.75rem 0 2rem; }
.ai-steps li { position: relative; padding: .9rem .8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ai-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -.6rem; width: .6rem; height: 2px; background: var(--teal-100); }
.ai-steps__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); margin-bottom: .55rem; }
.ai-steps__ic svg { width: 18px; height: 18px; }
.ai-steps li:last-child .ai-steps__ic { background: var(--amber-100); color: #b26b08; }
.ai-steps strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.ai-steps span:not(.ai-steps__ic) { display: block; font-size: var(--fs-xs); color: var(--text-2); line-height: 1.35; margin-top: .15rem; }
@media (max-width: 960px) { .ai-band__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ai-steps { grid-template-columns: 1fr 1fr; } .ai-steps li:nth-child(2)::after { display: none; } }

/* Photo + chat composition (homepage band and AI page hero) */
.ai-visual { position: relative; padding-bottom: 2.5rem; max-width: 560px; width: 100%; justify-self: end; }
.ai-visual__photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow-lg); background: var(--ink-800); }
.ai-visual__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.ai-chat { position: absolute; left: -6%; bottom: 0; width: min(330px, 78%); background: rgba(255,255,255,.97); color: var(--text); border-radius: 18px; padding: .9rem; box-shadow: 0 20px 50px rgba(6, 30, 28, .25); border: 1px solid var(--line); display: grid; gap: .55rem; }
.ai-chat__head { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.ai-chat__dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(140deg, var(--teal-500), var(--teal-800)); color: #fff; }
.ai-chat__dot svg { width: 15px; height: 15px; }
.ai-chat__tag { margin-left: auto; font-family: var(--font-body); font-weight: 600; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); padding: .12rem .45rem; border-radius: 999px; }
.ai-chat__msg { margin: 0; font-size: .82rem; line-height: 1.45; padding: .55rem .75rem; border-radius: 12px; max-width: 92%; }
.ai-chat__msg--me { justify-self: end; background: var(--ink-900); color: #e8efee; border-bottom-right-radius: 4px; }
.ai-chat__msg--ai { background: var(--teal-50); color: var(--text); border-bottom-left-radius: 4px; }
.js .ai-chat__msg--ai { opacity: 0; transform: translateY(6px); }
.js .is-in .ai-chat__msg--ai, .js .page-hero--ai .ai-chat__msg--ai { animation: chatIn .5s .9s var(--ease) forwards; }
@keyframes chatIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .ai-chat__msg--ai { opacity: 1; transform: none; } }
.ai-badge { position: absolute; top: 1.1rem; right: -4%; display: flex; gap: .6rem; align-items: center; background: rgba(255,255,255,.97); border-radius: 14px; padding: .6rem .8rem; box-shadow: var(--shadow); font-size: var(--fs-xs); line-height: 1.3; }
.ai-badge .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.ai-badge .ic svg { width: 17px; height: 17px; }
.ai-badge strong { display: block; font-family: var(--font-head); font-size: .85rem; color: var(--ink-900); }
.ai-badge span span { color: var(--text-2); }
@media (max-width: 960px) {
  .ai-visual { justify-self: center; }
  .ai-chat { left: 12px; }
  .ai-badge { right: 12px; }
}
@media (max-width: 560px) {
  .ai-visual { padding-bottom: 0; }
  .ai-chat { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin: -2.75rem auto 0; }
  .ai-badge { top: .7rem; }
}

/* AI page hero */
.page-hero--ai { padding-bottom: clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.page-hero--ai h1 { max-width: 16ch; }
.ai-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.ai-hero .ai-visual__photo { border: 1px solid rgba(255,255,255,.1); }
@media (max-width: 960px) { .ai-hero { grid-template-columns: 1fr; } }

/* Use cases */
.usecase { padding: 1.5rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.usecase .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); margin-bottom: 1rem; }
.usecase .ic svg { width: 22px; height: 22px; }
.usecase h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.usecase p { margin: 0; color: var(--text-2); font-size: var(--fs-sm); }

/* "Where are you with AI today?" selector */
.pace { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.25rem; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.pace__options { display: grid; gap: .75rem; }
.pace__options button {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; text-align: left;
  padding: 1rem 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--bg); cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s; min-height: 76px;
}
.pace__options button:hover { border-color: var(--teal-500); background: #fff; }
.pace__options button[aria-selected="true"] { border-color: var(--teal-600); background: #fff; box-shadow: var(--shadow); }
.pace__options .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); transition: all .2s; }
.pace__options .ic svg { width: 21px; height: 21px; }
.pace__options button[aria-selected="true"] .ic { background: var(--teal-600); color: #fff; }
.pace__options strong { font-family: var(--font-head); font-size: 1.02rem; }
.pace__options span:not(.ic) { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.4; }
.pace__panel { padding: clamp(1.4rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--teal-800), var(--ink-900)); color: #cfe0dd; animation: swapIn .4s var(--ease); }
.pace__panel h3 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.pace__panel .eyebrow { color: var(--teal-300); }
.pace__panel .checks li { color: #e3eeec; }
.pace__panel .checks li::before { background-color: rgba(95, 214, 193, .16); }
@media (max-width: 860px) { .pace { grid-template-columns: 1fr; } }

/* Learn > Explore > Pilot > Grow path */
.ai-path { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 1040px; margin: 2.25rem auto 0; position: relative; }
.ai-path::before { content: ""; position: absolute; left: 12%; right: 12%; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal-100) 0 8px, transparent 8px 14px); }
.ai-path li { position: relative; text-align: center; padding: 0 .5rem; transition: opacity .3s; opacity: .55; }
.ai-path li.is-on { opacity: 1; }
.ai-path__ic { position: relative; z-index: 1; width: 48px; height: 48px; margin: 0 auto .7rem; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--teal-100); color: var(--teal-600); box-shadow: 0 0 0 6px var(--surface); transition: all .3s; }
.ai-path li.is-on .ai-path__ic { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.ai-path__ic svg { width: 21px; height: 21px; }
.ai-path strong { display: block; font-family: var(--font-head); }
.ai-path span:not(.ai-path__ic) { font-size: var(--fs-sm); color: var(--text-2); }
.ai-path__note { text-align: center; color: var(--text-3); font-size: var(--fs-sm); margin: 1.5rem auto 0; max-width: 60ch; }
@media (max-width: 700px) {
  .ai-path { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
  .ai-path::before { display: none; }
}

/* Two-column feature list */
.feature-list--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1rem; margin: 0; }

/* ---------- Legal pages ---------- */
.page-hero--legal h1 { max-width: none; }
.legal-date { margin: 1rem 0 0; font-size: var(--fs-sm); color: #8fa8a4; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; }
.legal__toc ol { list-style: none; display: grid; gap: .1rem; }
.legal__toc a { display: block; padding: .35rem .55rem; border-radius: 8px; font-size: var(--fs-sm); color: var(--text-2); text-decoration: none; }
.legal__toc a:hover { background: var(--surface-2); color: var(--text); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin-top: 2em; }
.legal__body h2:first-child { margin-top: 0; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; } }
.form__note a { color: inherit; }
