/* =============================================================
   DP Dynamic Solutions — Design System
   Quality. Risk. Data. Done Right.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand:        #be1e2d;   /* logo crimson — primary */
  --brand-deep:   #9e1824;   /* hover / pressed */
  --brand-bright: #bf213e;   /* palette crimson — accents/gradients */
  --coral:        #d9756c;   /* secondary warm accent */
  --coral-soft:   #f6e3df;   /* coral tint background */

  /* Ink & neutrals */
  --ink:      #14161a;   /* primary text */
  --ink-900:  #0d0d0d;   /* darkest surfaces */
  --ink-800:  #17191d;   /* dark section base */
  --ink-700:  #212429;
  --slate:    #565859;   /* secondary text (7.3:1 on white) */
  --slate-2:  #6d7072;   /* tertiary text */

  --paper:    #ffffff;
  --paper-2:  #fbfaf9;   /* page background (warm off-white) */
  --mist:     #f4f2f0;   /* alt section background */
  --mist-2:   #eeebe8;
  --line:     #e7e4e0;   /* borders / dividers */
  --line-2:   #d9d5d0;

  /* Semantic */
  --bg:            var(--paper-2);
  --surface:       var(--paper);
  --text:          var(--ink);
  --text-muted:    var(--slate);
  --text-subtle:   var(--slate-2);
  --border:        var(--line);
  --accent:        var(--brand);
  --focus:         #1b6dd6;   /* accessible focus ring, distinct from brand red */

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Fluid type scale */
  --fs-eyebrow: 0.75rem;
  --fs-small:   0.9375rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.125rem, 0.9rem + 0.8vw, 1.375rem);
  --fs-h3:      1.25rem;
  --fs-h2:      clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --fs-h1:      clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem);
  --fs-display: clamp(2.6rem, 1.1rem + 5.6vw, 4.75rem);

  /* Spacing scale (8pt) */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  /* Radii */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-xl: 32px;  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(20,22,26,.05);
  --shadow-sm: 0 2px 8px rgba(20,22,26,.06);
  --shadow-md: 0 10px 30px -12px rgba(20,22,26,.16);
  --shadow-lg: 0 30px 60px -22px rgba(20,22,26,.28);
  --shadow-brand: 0 14px 30px -12px rgba(190,30,45,.45);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --header-h: 76px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: 220ms;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  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%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-optical-sizing: auto;
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink-900); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm);
  z-index: 200; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink-900); color: #e9e7e4; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px;
}
.section--ink .eyebrow { color: var(--coral); }
.section--ink .eyebrow::before { background: var(--coral); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: var(--fs-h2); margin-top: var(--sp-4); }
.section-head p { margin-top: var(--sp-4); color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.55; }
.section--ink .section-head p { color: #b9b6b2; }

.lead { font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-deep); box-shadow: 0 18px 36px -14px rgba(190,30,45,.55); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: var(--shadow-md); }
.btn--light:hover { background: #f2efec; }

.btn--on-dark-ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.28); }
.btn--on-dark-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--sm { padding: 0.6rem 1.05rem; min-height: 42px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--brand);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.textlink svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.textlink:hover { color: var(--brand-deep); }
.textlink:hover svg { transform: translateX(3px); }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,249,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
}
.nav__brand { display: flex; align-items: center; flex: none; }
.nav__brand img { height: 34px; width: auto; }
.nav__links {
  display: none;
  align-items: center; gap: clamp(1.1rem, 2vw, 2rem);
}
.nav__links a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 0.35rem 0;
  transition: color var(--dur) var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--brand); border-radius: 2px; transition: width var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--brand); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--brand); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.nav__cta { display: none; }

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: #fff;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background: var(--paper-2);
  padding: var(--sp-6) clamp(1.25rem, 4vw, 2.5rem) var(--sp-8);
  display: flex; flex-direction: column; gap: var(--sp-2);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0.25rem; font-size: 1.2rem; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.m-link svg { width: 20px; height: 20px; color: var(--slate-2); }
.mobile-menu .btn { margin-top: var(--sp-5); }
.mobile-menu .m-contact { margin-top: var(--sp-5); color: var(--text-muted); font-size: var(--fs-small); }
.mobile-menu .m-contact a { color: var(--brand); font-weight: 600; }

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

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6.5rem); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--coral-soft) 0%, rgba(246,227,223,0) 62%),
    radial-gradient(760px 420px at 6% 108%, #f3ece9 0%, rgba(243,236,233,0) 60%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(20,22,26,.045) 1px, transparent 1px);
  background-size: clamp(64px, 8vw, 108px) 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); align-items: center; }

.hero h1 { font-size: var(--fs-display); margin-top: var(--sp-5); max-width: 15ch; }
.hero h1 .accent { color: var(--brand); font-style: italic; }
.hero__sub { margin-top: var(--sp-5); font-size: var(--fs-lead); color: var(--text-muted); max-width: 52ch; line-height: 1.55; }
.hero__actions { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__reassure { margin-top: var(--sp-5); display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-small); color: var(--text-subtle); }
.hero__reassure svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* Hero visual card */
.hero__panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  overflow: hidden;
}
.hero__panel-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-4);
}
.hero__panel-top .label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); }
.hero__panel-top .status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; color: #1a7a4a; }
.hero__panel-top .status .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22a35c; box-shadow: 0 0 0 0 rgba(34,163,92,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(34,163,92,.5);} 70%{box-shadow:0 0 0 8px rgba(34,163,92,0);} 100%{box-shadow:0 0 0 0 rgba(34,163,92,0);} }

.hero__panel-rows { display: grid; gap: 0.65rem; }
.hpr {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.8rem;
  padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper-2);
}
.hpr .ic {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--brand);
}
.hpr .ic svg { width: 18px; height: 18px; }
.hpr .t { display: block; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.hpr .s { display: block; font-size: 0.78rem; color: var(--slate-2); }
.hpr .tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); padding: 0.2rem 0.5rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); }
.hpr .tag.ok { color: #1a7a4a; border-color: #bfe3cd; background: #eefaf1; }

.hero__panel-foot { margin-top: var(--sp-4); display: flex; align-items: center; justify-content: space-between; }
.hero__ekg { width: 120px; height: 34px; }
.hero__ekg path { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__panel-foot .pct { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); }
.hero__panel-foot .pct span { font-size: 0.8rem; color: var(--slate-2); font-family: var(--font-mono); display: block; letter-spacing: .04em; }

@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.08fr 0.92fr; }
}

/* =============================================================
   TRUST BAR
   ============================================================= */
.trustbar { border-block: 1px solid var(--line); background: var(--surface); }
.trustbar__inner { padding-block: clamp(1.75rem, 3vw, 2.5rem); display: grid; gap: var(--sp-5); align-items: center; }
.trustbar__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2); }
.trustbar__items { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; align-items: center; }
.trustbar__item { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.98rem; color: var(--slate); }
.trustbar__item svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
@media (min-width: 900px) {
  .trustbar__inner { grid-template-columns: auto 1fr; gap: var(--sp-7); }
}

/* =============================================================
   PILLARS  (Quality · Risk · Data · Done Right)
   ============================================================= */
.pillars__grid { grid-template-columns: 1fr; }
.pillar {
  position: relative; padding: var(--sp-6) var(--sp-5);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.pillar__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; color: var(--slate-2); }
.pillar__ic { width: 48px; height: 48px; margin: var(--sp-4) 0; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, #fff, var(--coral-soft)); border: 1px solid var(--line); color: var(--brand); }
.pillar__ic svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.4rem; }
.pillar p { margin-top: var(--sp-3); font-size: 0.98rem; color: var(--text-muted); line-height: 1.55; }
.pillar__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform var(--dur) var(--ease); }
.pillar:hover .pillar__bar { transform: scaleY(1); }
@media (min-width: 640px) { .pillars__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pillars__grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   SERVICES
   ============================================================= */
.services__grid { grid-template-columns: 1fr; }
.svc {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.svc__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-900); color: #fff; margin-bottom: var(--sp-5); }
.svc__ic svg { width: 24px; height: 24px; }
.svc h3 { font-size: 1.35rem; }
.svc p { margin-top: var(--sp-3); color: var(--text-muted); font-size: 0.98rem; line-height: 1.55; flex: 1; }
.svc__tags { margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: 0.4rem; }
.svc__tags span {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .04em;
  color: var(--slate); background: var(--mist); border: 1px solid var(--line);
  padding: 0.28rem 0.6rem; border-radius: var(--r-pill);
}
@media (min-width: 680px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   COMBINATION PRODUCTS SPOTLIGHT (dark)
   ============================================================= */
.combo { position: relative; overflow: hidden; }
.combo__bg {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 80% 0%, #000, transparent 70%);
          mask-image: radial-gradient(120% 100% at 80% 0%, #000, transparent 70%);
}
.combo .container { position: relative; z-index: 2; }
.combo__inner { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); align-items: center; }
.combo h2 { color: #fff; font-size: var(--fs-h2); margin-top: var(--sp-4); }
.combo__lead { margin-top: var(--sp-4); color: #bcb9b5; font-size: var(--fs-lead); line-height: 1.55; }
.combo__list { margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.combo__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
.combo__list .ck { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(217,117,108,.16); color: var(--coral); border: 1px solid rgba(217,117,108,.35); }
.combo__list .ck svg { width: 15px; height: 15px; }
.combo__list b { color: #fff; font-weight: 600; }
.combo__list span { color: #a9a6a2; display: block; font-size: 0.95rem; }

/* Constituent diagram */
.combo__diagram {
  background: linear-gradient(160deg, var(--ink-700), var(--ink-900));
  border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.combo__diagram .d-title { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .16em; text-transform: uppercase; color: #8f8c88; }
.constituents { margin-top: var(--sp-5); display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.75rem; align-items: stretch; }
.const-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: 1.1rem 1rem; text-align: center; }
.const-card .ci { width: 44px; height: 44px; margin: 0 auto var(--sp-3); border-radius: 12px; display: grid; place-items: center; background: rgba(190,30,45,.18); color: #f0a3a9; border: 1px solid rgba(190,30,45,.35); }
.const-card .ci svg { width: 22px; height: 22px; }
.const-card.is-device .ci { background: rgba(217,117,108,.18); color: var(--coral); border-color: rgba(217,117,108,.4); }
.const-card b { color: #fff; font-size: 0.98rem; }
.const-card span { display: block; margin-top: 2px; font-size: 0.78rem; color: #9a9793; }
.const-plus { align-self: center; font-family: var(--font-display); font-size: 1.5rem; color: var(--coral); }
.combo__diagram .d-foot {
  margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1);
  display: grid; gap: 0.5rem;
}
.d-foot .df-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; }
.d-foot .df-row span { color: #9a9793; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; }
.d-foot .df-row b { color: #fff; font-weight: 600; }
.d-foot .df-row b.reg { color: var(--coral); }
@media (min-width: 980px) { .combo__inner { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   PROCESS
   ============================================================= */
.process__grid { grid-template-columns: 1fr; counter-reset: step; }
.step {
  position: relative; padding: var(--sp-6) var(--sp-5) var(--sp-6) var(--sp-6);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
}
.step__n {
  font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; color: var(--coral);
  line-height: 1; letter-spacing: -.02em;
}
.step h3 { font-size: 1.25rem; margin-top: var(--sp-4); }
.step p { margin-top: var(--sp-3); color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.step__arrow { display: none; }
@media (min-width: 680px) { .process__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .process__grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   STATS
   ============================================================= */
.stats__grid { grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--surface); padding: clamp(1.5rem, 3vw, 2.25rem); }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.stat__num .u { color: var(--brand); }
.stat__label { margin-top: var(--sp-3); font-size: 0.92rem; color: var(--text-muted); font-weight: 500; }
@media (min-width: 860px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   INDUSTRIES
   ============================================================= */
.industries__grid { grid-template-columns: 1fr; }
.ind {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ind:hover { border-color: var(--brand); transform: translateX(4px); }
.ind__ic { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--coral-soft); color: var(--brand); }
.ind__ic svg { width: 22px; height: 22px; }
.ind b { font-size: 1.02rem; color: var(--ink); }
.ind span { display: block; font-size: 0.86rem; color: var(--text-subtle); margin-top: 1px; }
@media (min-width: 640px) { .industries__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .industries__grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   ABOUT / FOUNDER TEASER
   ============================================================= */
.about__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.about__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm);
}
.about__badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.about__profile { display: flex; align-items: center; gap: var(--sp-5); }
.about__portrait { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.about__profile-meta { display: flex; flex-direction: column; gap: 0.25rem; }
.about__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 550; letter-spacing: -0.01em; color: var(--ink); line-height: 1.15; }
.about__org { font-size: 0.92rem; color: var(--text-subtle); }
.about__card blockquote { margin-top: var(--sp-4); font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--ink); font-weight: 480; }
.about__card .about__profile + blockquote { margin-top: var(--sp-6); }
.about__sig { margin-top: var(--sp-5); display: flex; align-items: center; gap: var(--sp-4); }
.about__avatar { width: 54px; height: 54px; border-radius: 50%; flex: none; object-fit: cover; display: block; background: var(--mist-2); border: 1px solid var(--line); }
.about__sig b { display: block; font-size: 1rem; color: var(--ink); }
.about__sig span { font-size: 0.86rem; color: var(--text-subtle); }
.about__points { margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.about__points li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; color: var(--text-muted); }
.about__points .ck { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--coral-soft); color: var(--brand); }
.about__points .ck svg { width: 14px; height: 14px; }
.about__points b { color: var(--ink); }
@media (min-width: 900px) { .about__inner { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   TESTIMONIAL
   ============================================================= */
.quote-block { max-width: 900px; margin-inline: auto; text-align: center; }
.quote-block .qmark { font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--coral); }
.quote-block blockquote { font-family: var(--font-display); font-weight: 480; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.32; color: var(--ink); letter-spacing: -.01em; margin-top: var(--sp-4); }
.quote-block .qmeta { margin-top: var(--sp-6); font-size: 0.95rem; color: var(--text-muted); }
.quote-block .qmeta b { color: var(--ink); }

/* =============================================================
   CTA BAND
   ============================================================= */
.cta-band { position: relative; overflow: hidden; background: var(--ink-900); color: #fff; }
.cta-band__bg { position: absolute; inset: 0; opacity: .8;
  background: radial-gradient(700px 360px at 85% 15%, rgba(190,30,45,.4) 0%, transparent 60%),
              radial-gradient(600px 300px at 10% 90%, rgba(217,117,108,.22) 0%, transparent 62%); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band__inner { display: grid; gap: var(--sp-6); align-items: center; text-align: center; justify-items: center; }
.cta-band h2 { color: #fff; font-size: var(--fs-h1); max-width: 16ch; }
.cta-band h2 .accent { color: var(--coral); font-style: italic; }
.cta-band p { color: #c9c6c2; font-size: var(--fs-lead); max-width: 54ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.cta-band__note { font-size: var(--fs-small); color: #98948f; display: inline-flex; align-items: center; gap: 0.5rem; }
.cta-band__note svg { width: 16px; height: 16px; color: var(--coral); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--mist); color: var(--text-muted); border-top: 1px solid var(--line); }
.footer__top { padding-block: clamp(3rem, 5vw, 4.5rem); display: grid; gap: var(--sp-7); }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin-top: var(--sp-4); font-size: 0.95rem; color: var(--text-muted); max-width: 34ch; line-height: 1.6; }
.footer__brand .tag { margin-top: var(--sp-4); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.footer__col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.footer__col ul { margin-top: var(--sp-4); display: grid; gap: 0.7rem; }
.footer__col a { font-size: 0.95rem; color: var(--text-muted); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--brand); }
.footer__cta {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem); background: var(--surface); box-shadow: var(--shadow-sm);
}
.footer__cta h4 { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); letter-spacing: -.01em; text-transform: none; }
.footer__cta p { margin-top: var(--sp-3); font-size: 0.92rem; color: var(--text-muted); }
.footer__cta .btn { margin-top: var(--sp-5); }
.footer__contact { margin-top: var(--sp-5); display: grid; gap: 0.6rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: var(--text-muted); transition: color var(--dur) var(--ease); }
.footer__contact a:hover { color: var(--brand); }
.footer__contact a svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.footer__bottom {
  border-top: 1px solid var(--line); padding-block: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start;
  font-size: 0.85rem; color: var(--text-subtle);
}
.footer__bottom .fb-links { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.footer__bottom a:hover { color: var(--brand); }
.footer__disclaimer { font-size: 0.8rem; color: var(--text-subtle); line-height: 1.6; max-width: 70ch; }

@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-8); }
  .footer__cta { grid-column: auto; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 1040px) {
  .footer__top { grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr; }
}

/* =============================================================
   SUB-PAGE: page hero + content blocks
   ============================================================= */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 4vw, 3.5rem); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; background: radial-gradient(720px 360px at 88% -20%, var(--coral-soft), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-subtle); margin-bottom: var(--sp-5); font-family: var(--font-mono); letter-spacing: .02em; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 14px; height: 14px; }
.page-hero h1 { font-size: var(--fs-h1); max-width: 18ch; }
.page-hero p { margin-top: var(--sp-4); font-size: var(--fs-lead); color: var(--text-muted); max-width: 60ch; }
.page-hero__actions { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Detailed service rows */
.svc-detail { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail__head { display: flex; gap: var(--sp-4); align-items: flex-start; }
.svc-detail__ic { width: 56px; height: 56px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--ink-900); color: #fff; }
.svc-detail__ic svg { width: 26px; height: 26px; }
.svc-detail__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; color: var(--slate-2); }
.svc-detail h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: 0.4rem; }
.svc-detail__body p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.6; }
.svc-detail__list { margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }
.svc-detail__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-size: 0.98rem; }
.svc-detail__list .ck { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--coral-soft); color: var(--brand); margin-top: 2px; }
.svc-detail__list .ck svg { width: 13px; height: 13px; }
.svc-detail__list b { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .svc-detail { grid-template-columns: 1fr 1fr; } }

/* Value / approach cards for About */
.value-grid { grid-template-columns: 1fr; }
.value-card { padding: var(--sp-6) var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.value-card .vc-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--coral-soft); color: var(--brand); margin-bottom: var(--sp-4); }
.value-card .vc-ic svg { width: 23px; height: 23px; }
.value-card h3 { font-size: 1.25rem; }
.value-card p { margin-top: var(--sp-3); color: var(--text-muted); font-size: 0.96rem; line-height: 1.55; }
@media (min-width: 700px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

.credentials { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
.cred { display: flex; align-items: center; gap: 0.75rem; padding: var(--sp-4) var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); font-weight: 500; }
.cred svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
@media (min-width: 640px) { .credentials { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .credentials { grid-template-columns: repeat(3, 1fr); } }

/* Timeline (about) */
.timeline { display: grid; gap: 0; position: relative; }
.tl-item { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); padding-bottom: var(--sp-6); position: relative; }
.tl-marker { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); flex: none; margin-top: 5px; }
.tl-line { width: 2px; flex: 1; background: var(--line); margin-top: 4px; }
.tl-item:last-child .tl-line { display: none; }
.tl-item h3 { font-size: 1.15rem; }
.tl-item .tl-year { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; color: var(--brand); }
.tl-item p { margin-top: var(--sp-2); color: var(--text-muted); font-size: 0.96rem; }

/* =============================================================
   LEGAL / PROSE PAGES
   ============================================================= */
.legal { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.legal__wrap { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.legal__meta { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); }
.legal__intro { margin-top: var(--sp-4); font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.6; }

.legal__toc { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: var(--sp-5); }
.legal__toc h2 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); font-weight: 500; }
.legal__toc ol { list-style: none; counter-reset: toc; margin-top: var(--sp-4); display: grid; gap: 0.55rem; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 0.6rem; align-items: baseline; font-size: 0.9rem; color: var(--text-muted); transition: color var(--dur) var(--ease); }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.72rem; color: var(--brand); flex: none; }
.legal__toc a:hover { color: var(--brand); }

.legal-section { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal-section + .legal-section { margin-top: clamp(2rem, 4vw, 2.75rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--line); }
.legal-section h2 { font-size: 1.5rem; display: flex; gap: 0.75rem; align-items: baseline; }
.legal-section h2 .n { font-family: var(--font-mono); font-size: 0.9rem; color: var(--brand); font-weight: 500; flex: none; }
.legal-section h3 { font-size: 1.05rem; margin-top: var(--sp-5); font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.legal-section p { margin-top: var(--sp-4); color: var(--text-muted); line-height: 1.7; }
.legal-section ul { margin-top: var(--sp-4); display: grid; gap: 0.6rem; }
.legal-section ul li { position: relative; padding-left: 1.5rem; color: var(--text-muted); line-height: 1.6; }
.legal-section ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.legal-section a { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.legal-section a:hover { color: var(--brand-deep); }
.legal-section strong { color: var(--ink); font-weight: 600; }
.legal__note { margin-top: clamp(2rem, 4vw, 3rem); padding: var(--sp-5); border: 1px solid var(--line); border-left: 3px solid var(--coral); border-radius: var(--r-sm); background: var(--mist); font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.legal__note strong { color: var(--ink); }

@media (min-width: 900px) {
  .legal__wrap { grid-template-columns: 250px 1fr; gap: clamp(2.5rem, 4vw, 4rem); }
  .legal__toc { position: sticky; top: calc(var(--header-h) + 1rem); }
}

/* =============================================================
   Reveal-on-scroll
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .06s; }
[data-reveal][data-delay="2"] { transition-delay: .12s; }
[data-reveal][data-delay="3"] { transition-delay: .18s; }
[data-reveal][data-delay="4"] { transition-delay: .24s; }
[data-reveal][data-delay="5"] { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .btn:hover, .pillar:hover, .svc:hover, .ind:hover { transform: none !important; }
}
