/* =========================================================
   SQLServerSpecialist.nl — site.css
   Brand: crimson #A61E2A (the "specialist" mark), warm stone paper,
   charcoal panels, a gold accent for the verified badge only.
   Type: Source Serif 4 (display), Source Sans 3 (body),
         JetBrains Mono (code & figures).
   ========================================================= */

:root {
  /* brand */
  --brand: #A61E2A;
  --accent: #A61E2A;          /* links, eyebrows, icons */
  --accent-strong: #7E1520;   /* hover */
  --btn: #A61E2A;
  --btn-hover: #8A1823;
  --gold: #B8892E;            /* badge only */

  /* ground & surfaces */
  --paper: #F6F4F0;
  --surface: #FFFFFF;
  --surface-2: #EFECE6;
  --tint: #F8EFED;
  --panel: #1A1C22;           /* dark panels, footer */
  --panel-2: #23262E;
  --panel-text: #F4F2EE;
  --panel-muted: #A8ABB3;
  --panel-line: #34373F;

  /* text */
  --heading: #15171C;
  --ink: #262932;
  --slate: #5C6170;
  --muted: #868B98;

  /* lines */
  --line: #DEDAD2;
  --line-strong: #C4BFB4;

  /* status */
  --ok: #1E8E52;
  --warn: #C8820A;
  --crit: #C9302C;
  --ok-bg: #E4F4EA;
  --warn-bg: #FAF0DA;
  --crit-bg: #FBE5E3;

  /* code */
  --code-bg: #1A1C22;
  --code-line: #2E313A;
  --code-text: #E6E4DF;
  --code-muted: #8F939E;

  --shadow: 0 16px 40px rgba(21, 23, 28, .10);
  --shadow-soft: 0 2px 10px rgba(21, 23, 28, .06);
  --radius: 4px;

  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #E4626E;
    --accent-strong: #F08A93;
    --btn: #C2333F;
    --btn-hover: #D24450;
    --gold: #D2A64A;
    --paper: #121317;
    --surface: #191B21;
    --surface-2: #1F2229;
    --tint: #241A1C;
    --panel: #0E0F13;
    --panel-2: #16181E;
    --panel-text: #F4F2EE;
    --panel-muted: #A8ABB3;
    --panel-line: #2A2D36;
    --heading: #F1EFEA;
    --ink: #DCDAD4;
    --slate: #A6A9B3;
    --muted: #80848F;
    --line: #2C2F38;
    --line-strong: #3E4250;
    --ok: #3FC27A;
    --warn: #F0AB2E;
    --crit: #F0685C;
    --ok-bg: #123322;
    --warn-bg: #3A2A0C;
    --crit-bg: #3E1814;
    --code-bg: #0E0F13;
    --code-line: #262932;
    --shadow: 0 16px 40px rgba(0, 0, 0, .5);
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent: #E4626E;
  --accent-strong: #F08A93;
  --btn: #C2333F;
  --btn-hover: #D24450;
  --gold: #D2A64A;
  --paper: #121317;
  --surface: #191B21;
  --surface-2: #1F2229;
  --tint: #241A1C;
  --panel: #0E0F13;
  --panel-2: #16181E;
  --panel-text: #F4F2EE;
  --panel-muted: #A8ABB3;
  --panel-line: #2A2D36;
  --heading: #F1EFEA;
  --ink: #DCDAD4;
  --slate: #A6A9B3;
  --muted: #80848F;
  --line: #2C2F38;
  --line-strong: #3E4250;
  --ok: #3FC27A;
  --warn: #F0AB2E;
  --crit: #F0685C;
  --ok-bg: #123322;
  --warn-bg: #3A2A0C;
  --crit-bg: #3E1814;
  --code-bg: #0E0F13;
  --code-line: #262932;
  --shadow: 0 16px 40px rgba(0, 0, 0, .5);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
code, pre, kbd { font-family: var(--font-mono); }
strong { font-weight: 600; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.012em;
  font-weight: 600;
}
h1 { font-size: clamp(38px, 5vw, 62px); font-weight: 700; line-height: 1.04; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.18; }
h4 { font-size: 20px; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--slate); max-width: 62ch; }
.measure { max-width: 65ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 13.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--panel-muted); }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--tint { background: var(--tint); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--slate); font-size: 18px; margin: 0; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 32px; }
.section-head--split p { max-width: 52ch; }
@media (max-width: 800px) { .section-head--split { grid-template-columns: 1fr; } }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.note { font-size: 14.5px; color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--btn); color: #fff; padding: 8px 14px; border-radius: 4px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--btn); color: #fff; }
.btn--primary:hover { background: var(--btn-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: #15171C; }
.btn--light:hover { background: #F0ECE4; color: #15171C; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn .ico { width: 18px; height: 18px; flex: none; }
.textlink { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.textlink .arrow { transition: transform .15s ease; }
.textlink:hover .arrow { transform: translateX(3px); }

/* ---------- logo ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--heading); text-decoration: none; line-height: 1;
}
.logo:hover { color: var(--heading); }
.logo__mark { width: var(--mark-size, 40px); height: var(--mark-size, 40px); flex: none; display: block; }
.logo__text { display: grid; gap: 3px; }
.logo__word { font-family: var(--font-display); font-weight: 700; font-size: var(--word-size, 22px); letter-spacing: -.015em; color: var(--heading); white-space: nowrap; }
.logo__word em { font-style: normal; color: var(--accent); }
.logo__sub { font-family: var(--font-body); font-size: var(--sub-size, 11.5px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.logo--light, .logo--light:hover, .logo--light .logo__word { color: #fff; }
.logo--light .logo__word em { color: #E4626E; }
.logo--light .logo__sub { color: var(--panel-muted); }
@media (max-width: 420px) { .logo__sub { display: none; } .logo { --word-size: 19px; --mark-size: 34px; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; position: relative; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-block; padding: 10px 13px; border-radius: 4px;
  color: var(--ink); font-weight: 500; font-size: 15.5px;
}
.nav a:hover { color: var(--accent); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 4px;
  background: transparent; color: var(--heading); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    display: none; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; border-left: 3px solid var(--accent); padding-left: 12px; }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}
@media (min-width: 961px) { .nav .btn { display: none; } }

/* ---------- language switcher ---------- */
.lang { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; }
.lang a { display: inline-block; padding: 8px 10px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--slate); line-height: 1; }
.lang a + a { border-left: 1px solid var(--line-strong); }
.lang a:hover { color: var(--accent); background: var(--surface-2); }
.lang a[aria-current="true"] { color: #fff; background: var(--btn); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 88% 12%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 55%),
    radial-gradient(ellipse at 10% 100%, color-mix(in srgb, var(--surface-2) 90%, transparent), transparent 50%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 104px); }
.hero__copy h1 { margin-bottom: 22px; }
.hero__copy h1 em { font-style: italic; color: var(--accent); }
.hero__copy .lead { margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.proof { display: grid; gap: 8px; list-style: none; color: var(--slate); font-size: 15.5px; }
.proof li { display: flex; align-items: flex-start; gap: 10px; }
.proof li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: .35em; border-radius: 3px; background: var(--accent); clip-path: polygon(14% 44%, 0 65%, 40% 100%, 100% 22%, 84% 5%, 40% 66%); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- profile card (hero) ---------- */
.profile {
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 8px;
  box-shadow: var(--shadow); padding: 28px; display: grid; gap: 18px;
}
.profile__head { display: flex; align-items: center; gap: 18px; }
.profile__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.profile__name { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--heading); }
.profile__role { font-size: 14.5px; color: var(--accent); font-weight: 600; margin-top: 6px; }
.profile__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate); margin-top: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; position: relative; }
.dot--live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: .6; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.profile__facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; font-size: 15px; padding: 16px 0; border-block: 1px solid var(--line); }
.profile__facts dt { color: var(--muted); }
.profile__facts dd { margin: 0; color: var(--heading); font-weight: 500; }
.profile__cta { display: grid; gap: 10px; }
.profile__cta .note { text-align: center; margin: 0; }

/* ---------- situations ("when people call") ---------- */
.why { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why a {
  display: grid; gap: 10px; padding: 24px 24px 22px; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: inherit;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.why a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-soft); color: inherit; }
.why__q { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--heading); }
.why__q::before { content: "“"; color: var(--accent); margin-right: 2px; }
.why__q::after { content: "”"; color: var(--accent); margin-left: 2px; }
.why__a { color: var(--slate); font-size: 15px; margin: 0; }
.why .textlink { font-size: 14.5px; margin-top: auto; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- services grid ---------- */
.svc { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.svc li { border-top: 2px solid var(--line-strong); padding: 22px 0 28px; display: grid; gap: 8px; align-content: start; }
.svc li:nth-child(-n+3) { border-top-color: var(--accent); }
.svc__num { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
.svc h3 { font-size: 23px; }
.svc p { margin: 0; color: var(--slate); font-size: 15.5px; }
.svc .textlink { font-size: 15px; margin-top: 6px; }
@media (max-width: 900px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc li:nth-child(-n+3) { border-top-color: var(--line-strong); } .svc li:nth-child(-n+2) { border-top-color: var(--accent); } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } .svc li:nth-child(-n+2) { border-top-color: var(--line-strong); } .svc li:first-child { border-top-color: var(--accent); } }

/* ---------- fixed-price offer ---------- */
.offer {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 8px;
  padding: 26px 30px; box-shadow: var(--shadow-soft);
}
.offer__kicker { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.offer__title { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--heading); line-height: 1.1; margin-bottom: 10px; }
.offer__facts { list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--slate); }
.offer__facts li { display: flex; align-items: flex-start; gap: 8px; }
.offer__facts li::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: .4em; border-radius: 3px; background: var(--accent); clip-path: polygon(14% 44%, 0 65%, 40% 100%, 100% 22%, 84% 5%, 40% 66%); }
.offer__price { text-align: right; display: grid; gap: 10px; justify-items: end; }
.offer__amount { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--heading); font-variant-numeric: tabular-nums; }
.offer__amount small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) { .offer { grid-template-columns: 1fr; } .offer__price { text-align: left; justify-items: start; } }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: step; display: grid; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-weight: 500; font-size: 26px; line-height: 1.2; color: var(--accent); }
.steps h3 { font-size: 24px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--slate); }
.steps--compact li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
.steps--compact li:first-child { border-top: 0; padding-top: 4px; }
.steps--compact li::before { font-size: 20px; }
.steps--compact h3 { font-size: 19px; margin-bottom: 3px; }
.steps--compact p { font-size: 14.5px; }
/* column variant: number above the text, one column per step, full width */
.steps--cols { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 32px; }
.steps--cols li, .steps--cols li:first-child { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0 6px; border-top: 2px solid var(--line-strong); }
.steps--cols li::before { font-size: 17px; line-height: 1; }
.steps--cols h3 { font-size: 21px; margin-bottom: 4px; }
.steps--cols p { font-size: 15px; }
@media (max-width: 640px) { .steps--cols { grid-template-columns: 1fr; gap: 0; } .steps--cols li { border-top-width: 1px; padding: 16px 0; } }

/* ---------- bio ---------- */
.bio { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.bio__portrait { margin: 0; display: grid; gap: 14px; }
.bio__portrait img { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.bio__portrait figcaption { font-size: 14.5px; color: var(--slate); line-height: 1.5; }
.bio__portrait figcaption strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--heading); line-height: 1.1; margin-bottom: 4px; }
.bio__text h2 { margin-bottom: 18px; }
.bio__text p { max-width: 64ch; }
.bio__sign { margin-top: 24px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--heading); line-height: 1.2; }
.bio__sign small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14.5px; color: var(--slate); margin-top: 4px; }
.bio__quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 0 0 22px; font-family: var(--font-display); font-size: clamp(20px, 2vw, 25px); line-height: 1.35; color: var(--heading); font-style: italic; max-width: 32ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; font-weight: 600; color: var(--heading); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } }

/* ---------- timeline ---------- */
.timeline { list-style: none; display: grid; }
.timeline li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline b { font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--accent); padding-top: 3px; }
.timeline h3 { font-size: 20px; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--slate); font-size: 15.5px; }

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); margin: 0; }
.facts div { padding: 22px 24px 20px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.facts dd { margin: 0; font-size: 17px; font-weight: 500; color: var(--heading); }
.facts dd small { display: block; font-weight: 400; font-size: 14px; color: var(--slate); margin-top: 4px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts div { border-right: 0; border-bottom: 1px solid var(--line); } .facts div:last-child { border-bottom: 0; } }

/* ---------- credentials ---------- */
.cred { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.cred__badges { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.cred__badges figure { margin: 0; width: 150px; text-align: center; font-size: 13px; color: var(--slate); line-height: 1.35; }
.cred__badges img { width: 110px; height: 110px; object-fit: contain; border-radius: 8px; display: block; margin: 0 auto 8px; background: #fff; }
.cred__badges .cred__tool { width: 110px; height: 110px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; background: var(--panel); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
@media (max-width: 900px) { .cred { grid-template-columns: 1fr; } .cred__badges { justify-content: flex-start; } }

/* ---------- code snippet ---------- */
.snippet {
  margin: 0; padding: 16px 18px; border-radius: 6px; overflow-x: auto;
  background: var(--code-bg); color: var(--code-text); border: 1px solid var(--code-line);
  font-size: 12.5px; line-height: 1.6; font-family: var(--font-mono);
}
.snippet .c { color: var(--code-muted); }
.snippet .k { color: #F0A5AB; }
.snippet .s { color: #F5C26B; }
.snippet__cap { font-family: var(--font-body); font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- case studies ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.case__meta { font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.case__meta span + span:not(.draft-tag)::before { content: "·"; margin-right: 10px; color: var(--muted); }
.case h3 { font-size: 26px; }
.case dl { margin: 0; display: grid; gap: 10px; }
.case dt { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.case dd { margin: 0 0 4px; color: var(--ink); font-size: 15.5px; }
.case__numbers { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.case__numbers li { background: var(--tint); border-radius: 6px; padding: 14px 14px 12px; }
.case__numbers strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--heading); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.case__numbers span { font-size: 13px; color: var(--slate); line-height: 1.35; display: block; }
.case__quote { border-left: 3px solid var(--line-strong); padding-left: 14px; margin: 0; font-size: 15px; color: var(--slate); font-style: italic; }
.case__quote cite { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .case__numbers { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 26px; color: var(--accent); font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); margin: 0 0 18px; max-width: 65ch; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--panel); color: var(--panel-text); border-block: 1px solid var(--panel-line);
  background-image: radial-gradient(ellipse at 88% 30%, color-mix(in srgb, var(--brand) 50%, transparent), transparent 55%);
}
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: var(--panel-muted); margin: 0; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--panel); color: var(--panel-muted); padding: clamp(48px, 6vw, 72px) 0 28px; font-size: 14.5px; }
.site-footer a { color: var(--panel-text); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--panel-line); }
.footer-grid h4 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--panel-muted); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-brand p { margin: 16px 0 0; max-width: 36ch; }
.footer-address { font-style: normal; margin: 16px 0 0; line-height: 1.7; color: var(--panel-muted); }
.footer-address a { color: var(--panel-text); }
.site-version { font-family: var(--font-mono); font-size: 12.5px; color: var(--panel-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 22px; font-size: 13.5px; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- subpage header ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 18px; }
.page-hero .lead { margin: 0; }
.page-hero__aside { display: grid; gap: 12px; }
.page-hero--plain .wrap { grid-template-columns: minmax(0, 1fr); }
.page-hero__meta { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.page-hero--dark { background: var(--panel); color: var(--panel-text); border-bottom-color: var(--panel-line); }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: var(--panel-muted); }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* ---------- generic content blocks ---------- */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .cols-2, .cols-3, .cols-main { grid-template-columns: 1fr; } }
.services { display: grid; }
.service { display: grid; gap: 12px; padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service h3 { font-size: 27px; }
.service p { margin: 0; color: var(--slate); }
.service ul { list-style: none; display: grid; gap: 7px; font-size: 15.5px; color: var(--ink); }
.service ul li { display: flex; gap: 10px; }
.service ul li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; border-radius: 3px; background: var(--accent); clip-path: polygon(14% 44%, 0 65%, 40% 100%, 100% 22%, 84% 5%, 40% 66%); }
.service__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); margin-top: 4px; }
.service__meta b { font-weight: 600; color: var(--heading); }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: grid; gap: 12px; }
.aside-card h3 { font-size: 22px; }
.aside-card p { margin: 0; color: var(--slate); font-size: 15.5px; }
.aside-card ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.aside-card--tint { background: var(--tint); border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.aside-card--dark { background: var(--panel); color: var(--panel-text); border-color: var(--panel-line); }
.aside-card--dark h3 { color: #fff; }
.aside-card--dark p { color: var(--panel-muted); }
.aside-card--dark a { color: #fff; text-decoration: underline; }
.aside-stack { display: grid; gap: 18px; }
.sticky { position: static; }
.checklist { list-style: none; display: grid; gap: 9px; font-size: 15.5px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; border-radius: 3px; background: var(--accent); clip-path: polygon(14% 44%, 0 65%, 40% 100%, 100% 22%, 84% 5%, 40% 66%); }
.metrics { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.metrics li { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; font-size: 15px; }
.metrics li strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--heading); margin-bottom: 4px; }
.metrics li span { color: var(--slate); font-size: 14.5px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.pill--ok { color: var(--ok); background: var(--ok-bg); }
.pill--accent { color: var(--accent); background: var(--tint); }

/* ---------- booking page ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.meetings { display: grid; gap: 14px; }
.meeting { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; display: grid; gap: 8px; }
.meeting--featured { border-color: var(--accent); box-shadow: var(--shadow-soft); }
.meeting__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.meeting h3 { font-size: 21px; }
.meeting__dur { font-family: var(--font-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.meeting p { margin: 0; color: var(--slate); font-size: 15px; }
.meeting__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.embed { display: grid; gap: 12px; }
.embed__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; font-size: 14.5px; color: var(--slate); }
.embed__frame { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; min-height: 760px; box-shadow: var(--shadow-soft); }
.embed__frame iframe { display: block; width: 100%; height: 760px; border: 0; }
.embed[hidden], .slots[hidden] { display: none; }
.slots { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.slots h3 { font-size: 24px; }
.slots p { margin: 0; color: var(--slate); }
.slots .form { gap: 16px; }
.slots__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .booking { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .slots__row { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--heading); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__status { font-size: 14.5px; color: var(--slate); }
.form__status[data-state="ok"] { color: var(--ok); font-weight: 600; }
.form__status[data-state="err"] { color: var(--crit); font-weight: 600; }
.contact-lines { list-style: none; display: grid; gap: 14px; }
.contact-lines li { display: grid; gap: 2px; }
.contact-lines .k { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-lines .v { font-size: 17px; font-weight: 500; color: var(--heading); }
.contact-lines .v small { display: block; font-weight: 400; font-size: 14px; color: var(--slate); }

/* ---------- legal & information pages ---------- */
.legal { max-width: 72ch; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 21px; margin: 24px 0 8px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 16px; display: grid; gap: 6px; }
.legal li { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; color: var(--heading); background: var(--surface-2); }
.legal .table-wrap { margin: 0 0 20px; }
.legal address { font-style: normal; }
.toc { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--accent); }
.toc li::before { content: "—"; color: var(--line-strong); margin-right: 8px; }
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.sitemap h2 { font-size: 22px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.sitemap ul { list-style: none; display: grid; gap: 8px; }
.sitemap ul ul { margin: 6px 0 0 16px; gap: 5px; font-size: 14.5px; }
.sitemap a { color: var(--ink); }
.sitemap a:hover { color: var(--accent); }

/* ---------- draft markers (delete the <span class="draft-tag"> elements before go-live) ---------- */
.draft-tag {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; text-transform: none;
  color: var(--warn); background: var(--warn-bg); border: 1px dashed var(--warn); border-radius: 4px; padding: 2px 7px; margin-left: 8px;
}
