/* ============================================================
   AGAPI — "Soft UI Evolution" (2026 refresh)
   Premium managed-engineering brand. Refined slate navy + a
   confident blue, soft layered depth, generous whitespace.
   Satoshi (display) · General Sans (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  /* Surfaces — clean slate-tinted light */
  --paper:    #F7F9FC;   /* page background */
  --paper-2:  #EEF2F8;   /* recessed bands (footer / trust bar) */
  --surface:  #FFFFFF;   /* cards / panels */
  --surface-2:#FFFFFF;
  --muted:    #EFF3F9;   /* subtle fills, tracks */

  /* Ink — deep slate navy */
  --ink:      #0F172A;   /* slate-900 */
  --ink-soft: #334155;   /* slate-700 — body */
  --ink-faint:#55647B;   /* muted labels (AA ≥4.5 on light) */

  /* Hairlines */
  --line:        rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.16);
  --grid:        rgba(15, 23, 42, 0.020);

  /* Brand blue — the one accent (CTAs, links, markers, focus) */
  --accent:      #2563EB;   /* blue-600 */
  --accent-deep: #1D4ED8;   /* blue-700 */
  --accent-bright:#3B82F6;  /* blue-500 (gradient top) */
  --accent-soft: rgba(37, 99, 235, 0.09);
  --ink-on-accent: #FFFFFF;
  --blueprint:   #2563EB;   /* schematic linework */

  /* Gradients (premium accents) */
  --grad-accent: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-deep) 100%);
  --grad-ink:    linear-gradient(165deg, #0B1220 0%, #16233D 55%, #1E2F4F 100%);

  /* Layout */
  --maxw: 1200px;
  --header-h: 76px;

  /* Radii — soft, modern */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Soft UI Evolution shadows — softer than flat, layered, slate-tinted */
  --ring:      0 0 0 1px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 2px 6px rgba(15,23,42,0.05);
  --shadow:    0 2px 6px rgba(15,23,42,0.05), 0 14px 30px rgba(15,23,42,0.08);
  --shadow-lg: 0 6px 14px rgba(15,23,42,0.07), 0 28px 60px rgba(15,23,42,0.13);
  --shadow-accent: 0 6px 16px rgba(37,99,235,0.28), 0 2px 5px rgba(37,99,235,0.18);

  /* Type */
  --font-display: "Satoshi", "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

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

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Premium gradient backdrop — soft brand glows, no ruled grid */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(900px 620px at 88% -8%, rgba(37,99,235,0.10), transparent 62%),
    radial-gradient(820px 560px at -6% 4%, rgba(59,130,246,0.07), transparent 58%),
    radial-gradient(1100px 700px at 50% 116%, rgba(37,99,235,0.05), transparent 60%);
}
/* Whisper-faint grid for texture (masked, barely-there) */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(130% 90% at 50% 0%, #000 24%, transparent 74%);
          mask-image: radial-gradient(130% 90% at 50% 0%, #000 24%, transparent 74%);
}

/* Subtle film grain for premium texture */
.grain {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(28, 73, 255,0.20); color: var(--accent-deep); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 34px; }
.section { padding: 116px 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.section--tight { padding: 78px 0; scroll-margin-top: calc(var(--header-h) + 20px); }

/* Divider — soft hairline that fades at the edges */
.divider {
  height: 1px; border: 0; max-width: var(--maxw); margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}

/* Section marker (eyebrow) — small mono tag with an accent dot */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
  display: inline-block; flex: none;
}
.eyebrow.center { justify-content: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(31px, 4.6vw, 52px);
  letter-spacing: -0.028em; line-height: 1.06;
  margin: 20px 0 18px;
}
.section-lead { font-size: 18.5px; color: var(--ink-soft); max-width: 660px; line-height: 1.6; }
.section-head { margin-bottom: 60px; max-width: 760px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons (premium, soft) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .22s var(--ease-out), box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .22s var(--ease-out); }
.btn-primary { background: var(--grad-accent); color: var(--ink-on-accent); box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,99,235,0.36), 0 3px 8px rgba(37,99,235,0.22); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }

/* Leader link */
.ulink {
  position: relative; color: var(--accent); font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font); font-size: 15px; letter-spacing: -0.01em;
}
.ulink svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.ulink::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.ulink:hover::after { transform: scaleX(1); transform-origin: left; }
.ulink:hover svg { transform: translateX(4px); }

/* ---------- Cards (soft elevated panels) ---------- */
.card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  box-shadow: var(--ring), var(--shadow-sm);
  transition: border-color .25s ease, transform .25s var(--ease-out), box-shadow .25s ease;
}
.card:hover { border-color: rgba(37,99,235,0.28); transform: translateY(-4px); box-shadow: var(--ring), var(--shadow-lg); }

/* ---------- Text utilities ---------- */
.grad-text { color: var(--ink); }
.accent-text {
  background: linear-gradient(120deg, var(--accent-bright), var(--accent-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent-deep);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 249, 252, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(247,249,252,0.9); box-shadow: 0 1px 0 rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo-link { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: block; flex: none; }
/* recolor the inline logo to ink + accent apex via CSS (overrides SVG attrs) */
.logo-mark path { stroke: var(--ink); }
.logo-mark circle { fill: var(--surface); stroke: var(--ink); }
.logo-mark circle:first-of-type { fill: var(--accent); stroke: var(--accent); }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.34rem; letter-spacing: -0.01em; color: var(--ink); }

.nav-links { display: flex; gap: 32px; font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: -0.005em; color: var(--ink-soft); }
.nav-links a { position: relative; transition: color .16s ease; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.header-cta { font-size: 12px; padding: 11px 20px; }
.header-right { display: flex; align-items: center; gap: 18px; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.6px; background: var(--ink);
  transform: translate(-50%,-50%); transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle span::before { transform: translate(-50%,-7px); }
.nav-toggle span::after  { transform: translate(-50%,5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translate(-50%,-50%) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translate(-50%,-50%) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  background: rgba(236,239,242,0.98); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; padding: 38px 34px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease);
}
body.nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a { font-family: var(--font-display); font-weight: 700; font-size: 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 28px; justify-content: center; }

/* ============================================================
   FOOTER — title block
   ============================================================ */
.site-footer { border-top: 1px solid var(--line-strong); background: var(--paper-2); padding: 64px 0 28px; margin-top: 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 44px; flex-wrap: wrap; padding-bottom: 46px; }
.footer-brand { max-width: 300px; }
.footer-brand p { color: var(--ink-soft); margin-top: 16px; font-size: 15px; }
.footer-cols { display: flex; gap: 0; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.footer-cols > div { padding: 22px 30px; border-left: 1px solid var(--line-strong); min-width: 190px; }
.footer-cols > div:first-child { border-left: 0; }
.footer-cols h4 { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-faint); margin-bottom: 16px; font-weight: 500; }
.footer-cols a { display: block; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 11px; transition: color .15s ease, transform .15s ease; }
.footer-cols a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-top: 26px; margin-top: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-faint); flex-wrap: wrap; gap: 10px;
}
.footer-domain { color: var(--ink-soft); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding: 92px 0 30px; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 5.6vw, 62px); letter-spacing: -0.025em; line-height: 1.04;
  margin: 22px 0 22px;
}
.page-hero p { font-size: 19px; color: var(--ink-soft); max-width: 650px; line-height: 1.6; }

/* ============================================================
   HOME — HERO (cover sheet)
   ============================================================ */
.hero { padding: 84px 0 92px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(42px, 6vw, 72px); letter-spacing: -0.03em; line-height: 1.0;
  margin: 24px 0 26px; display: flex; flex-direction: column;
}
.hero-title .accent-text { color: var(--accent); }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 12px; font-family: var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.hero-trust .pip { width: 7px; height: 7px; background: var(--accent); flex: none; }

/* ---- Dark full-bleed photographic hero ---- */
.hero--dark {
  padding: 0; position: relative; overflow: hidden;
  min-height: clamp(580px, 80vh, 800px);
  display: flex; align-items: center; background: var(--grad-ink);
}
.hero--dark .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero--dark .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; opacity: 0.55; }
.hero--dark .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9,14,26,0.94) 0%, rgba(9,14,26,0.84) 36%, rgba(11,19,36,0.5) 66%, rgba(11,19,36,0.32) 100%),
    radial-gradient(680px 520px at 82% 42%, rgba(37,99,235,0.28), transparent 66%),
    linear-gradient(0deg, rgba(8,12,22,0.9) 0%, rgba(8,12,22,0) 38%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 64px 0; }
.hero--dark .hero-copy { max-width: 650px; }
.hero--dark .eyebrow { color: #A8C2FF; }
.hero--dark .eyebrow::before { background: #A8C2FF; box-shadow: 0 0 0 3px rgba(168,194,255,0.18); }
.hero--dark .hero-title { color: #FFFFFF; }
.hero--dark .hero-title .accent-text {
  background: linear-gradient(118deg, #A8C2FF 0%, #D7E3FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero--dark .hero-sub { color: rgba(226,232,240,0.88); }
.hero--dark .hero-trust { color: rgba(226,232,240,0.68); }
.hero--dark .hero-trust .pip { background: #A8C2FF; box-shadow: 0 0 12px rgba(168,194,255,0.7); }

.btn-ondark { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.34); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ondark:hover { background: rgba(255,255,255,0.18); border-color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

.hero-badge--float {
  position: absolute; left: auto; right: 0; bottom: 44px; z-index: 3;
  display: flex; align-items: center; gap: 14px; max-width: 318px;
  background: rgba(14,22,36,0.5); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 16px 20px;
}
.hero-badge--float .glyph { flex: none; width: 50px; height: 50px; }
.hero-badge--float .bd-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #829afb; }
.hero-badge--float .bd-sub { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; line-height: 1.2; margin-top: 4px; }
@media (max-width: 980px) { .hero-badge--float { display: none; } }

.hero-art { position: relative; }

/* ============================================================
   HERO SHOWCASE — a floating glass "operations" dashboard that
   stands in for the software we build. Bars grow and status chips
   drift in on reveal; the panel idle-floats. Dark + luminous.
   ============================================================ */
.hero-inner--split {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 40px; align-items: center;
}
.hero-inner--split .hero-copy { max-width: 600px; }

.hero-showcase { position: relative; padding: 22px 10px; isolation: isolate; }

/* ambient glow behind the panel */
.showcase-glow {
  position: absolute; z-index: -1; inset: 8% 4% 12% 4%;
  background: radial-gradient(60% 60% at 62% 34%, rgba(59,130,246,0.42), transparent 70%),
              radial-gradient(50% 55% at 28% 78%, rgba(116,230,196,0.24), transparent 72%);
  filter: blur(26px); opacity: 0; transition: opacity 1s ease 0.15s;
}
.hero-showcase.is-visible .showcase-glow { opacity: 1; }

/* glass panel */
.showcase-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -24px rgba(4,10,22,0.72), inset 0 1px 0 rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 20px 22px 22px;
}
.hero-showcase.is-visible .showcase-panel { animation: showcaseFloat 7s ease-in-out infinite 0.6s; }
@keyframes showcaseFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* panel header */
.sp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sp-dots { display: inline-flex; gap: 5px; }
.sp-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.28); }
.sp-dots i:first-child { background: #F87171; } .sp-dots i:nth-child(2) { background: #FBBF24; } .sp-dots i:nth-child(3) { background: #34D399; }
.sp-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(226,232,240,0.72); }
.sp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #6EE7B7; }
.sp-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,0.6); animation: spLive 2.4s ease-out infinite; }
@keyframes spLive { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } }

/* KPI */
.sp-kpi { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 0 16px; }
.sp-kpi-label { font-size: 12.5px; color: rgba(226,232,240,0.62); margin: 0 0 4px; }
.sp-kpi-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; color: #fff; margin: 0; letter-spacing: -0.02em; }
.sp-kpi-num span { color: #A8C2FF; }
.sp-trend { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 13px; color: #6EE7B7; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.28); padding: 5px 10px; border-radius: var(--r-pill); }
.sp-trend svg { width: 15px; height: 15px; }

/* bar chart */
.sp-chart { display: flex; align-items: flex-end; gap: 9px; height: 116px; padding: 4px 0 18px; }
.sp-bar {
  flex: 1; height: 0; align-self: flex-end; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(168,194,255,0.9), rgba(59,130,246,0.5));
  transition: height 0.9s var(--ease-out); transition-delay: var(--bd, 0s);
}
.hero-showcase.is-visible .sp-bar { height: var(--h); }
.sp-bar--peak { background: linear-gradient(180deg, #BFE0FF, #3B82F6); box-shadow: 0 0 16px rgba(96,165,250,0.6); }

/* synced rows */
.sp-rows { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 11px; }
.sp-rows li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(226,232,240,0.9); }
.sp-rows em { font-style: normal; margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: #6EE7B7; }
.sp-check { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(52,211,153,0.16); color: #6EE7B7; }
.sp-check svg { width: 12px; height: 12px; }

/* floating status chips */
.showcase-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: #EAF1FF; white-space: nowrap;
  background: rgba(16,28,50,0.72); border: 1px solid rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 10px 14px; border-radius: var(--r-pill);
  box-shadow: 0 14px 30px -12px rgba(4,10,22,0.8);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.7s var(--ease-out);
}
.hero-showcase.is-visible .showcase-chip { opacity: 1; transform: translateY(0); }
.chip-a { top: 6px; left: -14px; transition-delay: 0.55s; }
.chip-b { bottom: -14px; right: 18px; transition-delay: 0.75s; }
.hero-showcase.is-visible .chip-a { animation: showcaseFloat 6.4s ease-in-out infinite 1.2s; }
.hero-showcase.is-visible .chip-b { animation: showcaseFloat 5.6s ease-in-out infinite 0.9s; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip-dot--ok { background: #34D399; box-shadow: 0 0 8px rgba(52,211,153,0.8); }
.chip-dot--run { background: #A8C2FF; box-shadow: 0 0 8px rgba(168,194,255,0.85); animation: spLive 1.8s ease-out infinite; }


/* ---- Photographic hero + media ---- */
.hero-figure { position: relative; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: block; }
.hero-figure::after { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,0.30); border-radius: var(--r); pointer-events: none; }
.hero-badge {
  position: absolute; left: -22px; bottom: -24px; z-index: 3;
  display: flex; align-items: center; gap: 14px; max-width: 310px;
  background: rgba(247,249,251,0.8); backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.85); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 16px 20px;
}
.hero-badge .glyph { flex: none; width: 50px; height: 50px; }
.hero-badge .bd-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hero-badge .bd-sub { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.2; margin-top: 4px; }

/* Reusable rounded media */
.media-img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow); display: block; object-fit: cover; }
.page-banner { margin-top: 14px; position: relative; }
.page-banner img { width: 100%; height: auto; aspect-ratio: 24 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); display: block; }
.page-banner .figure-tag {
  position: absolute; left: 18px; bottom: 18px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(18,32,54,0.6); backdrop-filter: blur(6px); padding: 7px 14px;
}
@media (max-width: 720px) {
  .hero-badge { left: 0; right: 0; bottom: -20px; max-width: none; margin: 0 12px; }
  .page-banner img { aspect-ratio: 16 / 10; }
}

/* ---- Problem ---- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.problem-title { margin: 0; }
.problem-body p { color: var(--ink-soft); font-size: 18px; margin-bottom: 18px; }
.problem-body strong { color: var(--ink); }
.problem-kicker { color: var(--ink) !important; font-weight: 600; font-size: 19px !important; border-left: 2px solid var(--accent); padding-left: 18px; }

/* ---- The Agapi Method — drafted phases ---- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 30px; }
.steps-line { position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: var(--line-strong); }
.step { position: relative; }
.step-num {
  font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--accent);
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper);
  margin-bottom: 24px; transition: border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.step:hover .step-num { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.step h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.step p { color: var(--ink-soft); }

/* ---- Outcomes ---- */
.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.outcome { display: flex; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.outcome-icon {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), background .3s ease, border-color .3s ease;
}
.outcome:hover .outcome-icon { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); transform: translateY(-3px); }
.outcome-icon svg { width: 19px; height: 19px; }
.outcome-problem { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.outcome-services { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 7px 0 9px; }
.outcome-body { color: var(--ink-soft); font-size: 15px; }

.learn-more { margin-top: 48px; text-align: center; }

/* ---- Why + cost ---- */
.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 66px; align-items: center; }
.why-points { margin-top: 38px; display: flex; flex-direction: column; gap: 28px; }
.why-item { display: flex; gap: 16px; }
.why-dot { flex: none; width: 10px; height: 10px; background: var(--accent); margin-top: 9px; transform: rotate(45deg); }
.why-item h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.why-item p { color: var(--ink-soft); font-size: 15.5px; }

.cost-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; position: relative; box-shadow: var(--shadow); }
.cost-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-faint); margin-bottom: 30px; }
.cost-row { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.cost-row:last-child { margin-bottom: 0; }
.cost-meta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cost-meta strong { font-family: var(--font-display); font-size: 27px; font-weight: 700; }
.cost-meta em { font-style: normal; font-size: 13.5px; color: var(--ink-soft); }
.cost-bar { height: 14px; width: 100%; border-radius: var(--r-pill); background: rgba(18,32,54,0.07); overflow: hidden; }
.cost-bar > span { border-radius: var(--r-pill); }
.cost-bar > span { display: block; height: 100%; width: 0; transition: width 1.2s var(--ease); }
.cost-bar--full > span { background: var(--ink-faint); }
.cost-bar--us   > span { background: var(--accent); }
.cost-card.is-visible .cost-bar--full > span { width: 100%; }
.cost-card.is-visible .cost-bar--us   > span { width: 32%; }

/* ---- Trust bar — dimension strip ---- */
.trust-bar { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: var(--paper-2); }
.trust-inner { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 0; align-items: stretch; }
.trust-statement { padding: 40px 30px 40px 0; }
.trust-statement .eyebrow { margin-bottom: 12px; }
.trust-statement p { color: var(--ink-soft); font-size: 14.5px; }
.trust-statement a { display: inline-block; margin-top: 8px; }
.trust-stat { border-left: 1px solid var(--line-strong); padding: 40px 0 40px 28px; }
.trust-stat .t-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.trust-stat .t-num span { color: var(--accent); }
.trust-stat .t-label { color: var(--ink-soft); font-size: 13px; margin-top: 12px; line-height: 1.45; }

/* ---- Stats (generic) ---- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.03em; line-height: 1; }
.stat-label { color: var(--ink-soft); font-size: 15px; margin-top: 14px; }
.stat-sub { color: var(--ink-faint); font-size: 13px; margin-top: 4px; }

/* ---- Results / case plates ---- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(28, 73, 255,0.28); }
.case-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.03); transition: transform .6s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.05); }
.case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,32,54,0) 45%, rgba(18,32,54,0.42)); }
.case-tag {
  position: absolute; left: 14px; top: 14px; z-index: 2; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-on-accent); background: var(--accent); padding: 6px 13px; box-shadow: var(--shadow-sm);
}
.case-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-metric { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1; color: var(--accent); }
.case-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.28; }
.case-desc { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.case-foot { margin-top: 4px; }
.illustrative-note { margin-top: 28px; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.04em; }

/* ---- Proof ---- */
.proof { text-align: center; }
.proof-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-faint); margin-bottom: 34px; }
.logo-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.logo-chip {
  width: 158px; height: 60px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--surface);
  display: flex; align-items: center; justify-content: center; color: var(--ink-faint);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  transition: border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.logo-chip:hover { box-shadow: var(--shadow-sm); }
.logo-chip:hover { border-color: var(--accent); color: var(--ink-soft); }
.testimonial {
  position: relative; max-width: 820px; margin: 0 auto;
  font-family: var(--font-display); font-size: clamp(23px, 3vw, 32px);
  font-weight: 600; letter-spacing: -0.018em; line-height: 1.34; color: var(--ink);
}
.quote-mark { color: var(--accent); font-size: 1.5em; line-height: 0; vertical-align: -0.3em; margin-right: 4px; }
.testimonial cite { display: block; margin-top: 24px; font-family: var(--mono); font-size: 12px; font-weight: 500; font-style: normal; color: var(--ink-faint); letter-spacing: 0.05em; }

/* ---- CTA block ---- */
.cta-box {
  position: relative; overflow: hidden; text-align: center; border-radius: var(--r-lg);
  background: radial-gradient(120% 140% at 50% 0%, #1B2D49 0%, var(--ink) 55%, #0C1626 100%);
  color: var(--paper); padding: 88px 40px; box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-box > * { position: relative; }
.cta-box h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 16px; color: #fff; }
.cta-box p { color: rgba(236,239,242,0.74); max-width: 560px; margin: 0 auto 30px; font-size: 18px; }
.cta-box .grad-text, .cta-box .accent-text { color: #fff; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.gc-callout { padding: 44px; max-width: 880px; }
.gc-callout h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.02em; line-height: 1.16; margin-bottom: 16px; }
.gc-callout p { color: var(--ink-soft); font-size: 18px; }

.steps-rows { display: flex; flex-direction: column; }
.step-row { display: flex; gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); }
.step-row:first-child { border-top: 0; }
.step-n { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--accent); flex: none; width: 64px; }
.step-main { flex: 1; }
.step-main h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 20px; }
.step-split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.who { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.who::before { content: ""; width: 7px; height: 7px; }
.who-you { color: var(--ink-faint); }
.who-you::before { background: var(--ink-faint); }
.who-us { color: var(--accent); }
.who-us::before { background: var(--accent); }
.step-col p { color: var(--ink-soft); font-size: 15.5px; }

.poc { max-width: 790px; }

.models { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.model h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-bottom: 12px; }
.model p { color: var(--ink-soft); font-size: 16px; }
.model-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 14px; }

.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.safe-item { display: flex; gap: 14px; }
.check { flex: none; width: 32px; height: 32px; border-radius: var(--r-pill); border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.safe-item h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.safe-item p { color: var(--ink-soft); font-size: 15px; }

/* ============================================================
   WHAT WE DO
   ============================================================ */
.svc-list { display: flex; flex-direction: column; }
.svc { display: flex; gap: 28px; padding: 42px 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-index { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); padding-top: 8px; letter-spacing: 0.05em; }
.svc-icon { flex: none; width: 58px; height: 58px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); color: var(--accent); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), background .3s ease, color .3s ease, border-color .3s ease; }
.svc:hover .svc-icon { transform: translateY(-4px); background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.svc-icon svg { width: 25px; height: 25px; }
.svc-problem { color: var(--ink-faint); font-size: 15px; font-style: italic; margin-bottom: 8px; }
.svc-body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 31px); letter-spacing: -0.015em; margin-bottom: 13px; }
.svc-desc { color: var(--ink-soft); font-size: 17px; max-width: 740px; }

.note { padding: 28px 32px; max-width: 820px; margin: 0 auto; border-left: 3px solid var(--accent); }
.note p { color: var(--ink-soft); font-size: 18px; }
.note strong { color: var(--ink); }

/* ============================================================
   ABOUT
   ============================================================ */
.story { max-width: 790px; }
.story p { color: var(--ink-soft); font-size: 18px; margin-bottom: 22px; }
.lead-para { color: var(--ink) !important; font-size: 21px !important; line-height: 1.55; font-weight: 500; }
.name-note { font-size: 17px !important; padding: 22px 26px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.name-note strong { color: var(--ink); }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 50px; }
.value { display: flex; gap: 16px; }
.value-dot { flex: none; width: 10px; height: 10px; margin-top: 9px; background: var(--accent); transform: rotate(45deg); }
.value h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.value p { color: var(--ink-soft); font-size: 15.5px; }

.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cap-icon { width: 50px; height: 50px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.cap-icon svg { width: 22px; height: 22px; }
.cap h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.cap p { color: var(--ink-soft); font-size: 15.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-top: 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 66px; align-items: start; }
.contact-intro h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.02; margin: 22px 0 22px; }
.contact-intro h1 .accent-text { color: var(--accent); }
.contact-lead { color: var(--ink-soft); font-size: 18px; max-width: 470px; }
.contact-points { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 15px; }
.contact-points li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 15.5px; }
.contact-points .dot { width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); flex: none; }

.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 13px 15px; color: var(--ink); font-family: var(--font); font-size: 15px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-status { margin-top: 14px; font-size: 14.5px; min-height: 1em; font-family: var(--mono); }
.form-status.success { color: #1F7A4D; }
.form-status.error { color: var(--accent-deep); }
.form-status.sending { color: var(--ink-soft); }

/* ============================================================
   BLOG
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; gap: 13px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tags span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); border: 1px solid var(--line-strong); padding: 4px 10px; }
.post-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.015em; line-height: 1.2; }
.post-desc { color: var(--ink-soft); font-size: 15px; flex: 1; }
.post-meta { font-family: var(--mono); color: var(--ink-faint); font-size: 12px; letter-spacing: 0.04em; }
.post-read { font-family: var(--mono); color: var(--accent); font-weight: 500; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; }
.post-card:hover .post-read { text-decoration: underline; }

.article { padding: 80px 0 24px; }
.article-inner { max-width: 720px; }
.back-link { font-family: var(--mono); color: var(--ink-soft); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.back-link:hover { color: var(--accent); }
.article .post-tags { margin: 30px 0 18px; }
.article h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(31px, 4.8vw, 48px); letter-spacing: -0.025em; line-height: 1.05; }
.article-meta { font-family: var(--mono); color: var(--ink-faint); font-size: 12.5px; margin-top: 16px; letter-spacing: 0.04em; }

.prose { margin-top: 46px; font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.015em; color: var(--ink); margin: 46px 0 14px; line-height: 1.2; }
.prose h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); margin: 32px 0 10px; }
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin: 0 0 22px 1.2em; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 26px 44px 26px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.3vw, 22px);
  letter-spacing: -0.01em; color: var(--ink); transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 13px;
  background: var(--accent);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
          mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  transform: translateY(-50%); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq-item .faq-answer { padding: 0 44px 26px 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.faq-item .faq-answer p { margin-bottom: 12px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ============================================================
   NAV DROPDOWN (Services)
   ============================================================ */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-trigger svg { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.nav-item:hover .nav-trigger svg, .nav-item:focus-within .nav-trigger svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 16px; min-width: 360px; z-index: 70;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .25s var(--ease);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
.dropdown-inner {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column; gap: 2px;
}
.dropdown a { display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: var(--r-sm); text-transform: none; letter-spacing: 0; transition: background .15s ease; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--paper-2); }
.dropdown .d-name { font-family: var(--font); font-weight: 600; font-size: 14px; color: var(--ink); }
.dropdown .d-desc { font-family: var(--font); font-size: 12px; color: var(--ink-faint); line-height: 1.4; text-transform: none; letter-spacing: 0; }
.dropdown .d-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; color: var(--accent); }

/* mobile services sub-links */
.mobile-nav .m-sub { font-family: var(--font); font-weight: 600; font-size: 17px; padding: 12px 0 12px 18px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.mobile-nav .m-sub::before { content: "↳"; color: var(--accent); margin-right: 10px; }

/* ============================================================
   AREAS OF EXPERTISE — card grid (Galvanize-inspired)
   ============================================================ */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* "More areas of expertise" lists the OTHER 4 services — 2x2 so there's no orphan
   (the responsive rules below collapse it to 2-up then 1-up on smaller screens). */
.expertise-grid--related { grid-template-columns: repeat(2, 1fr); }
.exp-card {
  position: relative; display: flex; flex-direction: column; gap: 13px; padding: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.exp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(28, 73, 255,0.3); }
.exp-icon { width: 48px; height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--accent); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .25s ease, color .25s ease; }
.exp-card:hover .exp-icon { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.exp-icon svg { width: 23px; height: 23px; }
.exp-problem { font-size: 13px; font-style: italic; color: var(--ink-faint); }
.exp-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.012em; line-height: 1.22; }
.exp-desc { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.exp-more { margin-top: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.exp-more svg { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.exp-card:hover .exp-more svg { transform: translateX(4px); }

/* Wayfinding card ("Not sure which you need?") — reads as a prompt, not a service */
.exp-card--cta { background: var(--accent-soft); border-color: rgba(28, 73, 255, 0.22); }
.exp-card--cta .exp-icon { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.exp-card--cta:hover { border-color: rgba(28, 73, 255, 0.45); }

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.svc-detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.svc-detail-grid .media-img { aspect-ratio: 4 / 3; }
.svc-lede { font-size: 18px; color: var(--ink-soft); margin-bottom: 22px; }
.svc-lede strong { color: var(--ink); }
.cap-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.cap-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-soft); font-size: 15.5px; }
.cap-list li .ck { flex: none; width: 20px; height: 20px; margin-top: 2px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent); font-size: 11px; font-weight: 700; }
.svc-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); }
.svc-fact .eyebrow { margin-bottom: 14px; }
.svc-fact p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 920px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .svc-detail-grid, .svc-twocol { grid-template-columns: 1fr; gap: 30px; }
}
@media (min-width: 921px) and (max-width: 1080px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MOTION — reveals + entrances
   ============================================================ */
[data-reveal], [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible, [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 270ms; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 360ms; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 450ms; }



/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-art { max-width: 460px; margin: 16px auto 0; }
  .hero-inner--split { grid-template-columns: 1fr; gap: 18px; }
  .hero-inner--split .hero-copy { max-width: none; }
  .hero-showcase { max-width: 460px; margin: 10px auto 0; padding: 18px 6px; }
  .hero--dark { min-height: 0; }
  .hero-inner { padding: 56px 0 48px; }
  /* On a single column the copy + luminous scene drift over the lighter part
     of the photo. Dim the photo to a faint texture over solid navy so the
     white copy and the glowing scene always read. */
  .hero--dark .hero-bg img { opacity: 0.3; }
  .hero--dark .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(9,15,26,0.55) 0%, rgba(9,15,26,0.42) 45%, rgba(9,15,26,0.6) 100%);
  }
  .problem-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .outcome-grid { grid-template-columns: 1fr; gap: 0; }
  .steps { grid-template-columns: 1fr; gap: 38px; }
  .steps-line { display: none; }
  .step-split, .models, .safe-grid, .values-grid, .cap-grid, .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-grid, .case-grid { grid-template-columns: 1fr; gap: 22px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-statement { grid-column: 1 / -1; padding-right: 0; border-bottom: 1px solid var(--line-strong); }
  .trust-stat:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  .section { padding: 82px 0; }
  .section--tight { padding: 58px 0; }
  .section-head { margin-bottom: 46px; }
  .container { padding: 0 26px; }
  .cta-box { padding: 58px 26px; }
  .footer-cols { width: 100%; }
  .footer-cols > div { border-left: 0; border-top: 1px solid var(--line-strong); width: 100%; }
  .footer-cols > div:first-child { border-top: 0; }
  .grain { margin: 7px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cost-bar > span { transition: none !important; }
  /* Hero showcase: show fully populated, no motion */
  .hero-showcase .sp-bar { transition: none !important; height: var(--h) !important; }
  .hero-showcase .showcase-chip { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-showcase .showcase-glow { opacity: 1 !important; }
  .hero-showcase .showcase-panel, .hero-showcase .showcase-chip,
  .hero-showcase .sp-live-dot, .hero-showcase .chip-dot--run { animation: none !important; }
  * { scroll-behavior: auto !important; }
}
