/* ============================================================
   WE-CONSULT — flattened stylesheet for deployment
   Built from the We-Consult design system:
   tokens (colors, typography, spacing, elevation, base)
   + component styles + site-level layout helpers.
   Fonts (Newsreader, Hanken Grotesk, Geist Mono) are loaded
   via a Google Fonts <link> in index.html.
   ============================================================ */

/* ════════ from tokens/colors.css ════════ */
/* ============================================================
   WE-CONSULT · COLOR
   Brand blue (#4078AC) + warm charcoal ink (#383431) + warm paper.
   Restrained, editorial. No loud accent — tone carries the brand.
   ============================================================ */
:root {
  /* ---- Brand blue scale ---- */
  --blue-50:  #f0f5fb;   /* from profile light-blue fill */
  --blue-100: #d8e6f4;   /* from profile rule color (#d0dff0 family) */
  --blue-200: #b4cde8;
  --blue-300: #88aed6;
  --blue-400: #5e8fc2;
  --blue-500: #4078ac;   /* BRAND BLUE — profile #4078AC */
  --blue-600: #356291;
  --blue-700: #2c4f74;
  --blue-800: #243f5b;
  --blue-900: #1d3146;
  --blue-950: #142434;

  /* ---- Warm ink / charcoal scale (client accent #383431) ---- */
  --ink-50:   #faf8f4;   /* warm paper */
  --ink-100:  #efece5;
  --ink-200:  #ddd8cd;
  --ink-300:  #c3bcae;
  --ink-400:  #9c9486;
  --ink-500:  #756d61;
  --ink-600:  #575047;
  --ink-700:  #45403a;
  --ink-800:  #383431;   /* CLIENT ACCENT — warm near-black */
  --ink-900:  #2a2724;
  --ink-950:  #1c1a18;

  /* ---- Pure neutrals ---- */
  --white:    #ffffff;
  --paper:    #faf8f4;   /* warm off-white page */
  --black:    #161412;

  /* ---- Semantic: text ---- */
  --text-strong:    var(--ink-900);
  --text-body:      var(--ink-800);
  --text-muted:     var(--ink-500);
  --text-subtle:    var(--ink-400);
  --text-on-dark:   var(--paper);
  --text-on-dark-muted: #b9b1a4;
  --text-brand:     var(--blue-600);
  --text-link:      var(--blue-600);

  /* ---- Semantic: surfaces ---- */
  --surface-page:   var(--paper);
  --surface-card:   var(--white);
  --surface-tint:   var(--blue-50);
  --surface-sunken: var(--ink-100);
  --surface-ink:    var(--ink-800);   /* dark sections */
  --surface-ink-deep: var(--ink-950);
  --surface-brand:  var(--blue-500);
  --surface-brand-deep: var(--blue-900);

  /* ---- Semantic: borders / lines ---- */
  --border-hairline: #e8e3da;
  --border-soft:    var(--ink-200);
  --border-strong:  var(--ink-300);
  --border-brand:   var(--blue-200);
  --border-on-dark: rgba(250, 248, 244, 0.16);

  /* ---- Interactive ---- */
  --accent:         var(--blue-500);
  --accent-hover:   var(--blue-600);
  --accent-press:   var(--blue-700);
  --focus-ring:     var(--blue-400);

  /* ---- Feedback ---- */
  --success: #3f7d5a;
  --warning: #b07d2e;
  --danger:  #b04a3e;
}

/* ════════ from tokens/typography.css ════════ */
/* ============================================================
   WE-CONSULT · TYPOGRAPHY
   Display/headline: Newsreader (editorial serif, optical sizing)
   Body/UI:          Hanken Grotesk (clean grotesque)
   Labels/meta:      Geist Mono (technical, for eyebrows & numbers)
   ============================================================ */
:root {
  /* ---- Families ---- */
  --font-serif: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans:  'Hanken Grotesk', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:  'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* ---- Weights ---- */
  --fw-light: 300;      /* @kind other */
  --fw-regular: 400;    /* @kind other */
  --fw-medium: 500;     /* @kind other */
  --fw-semibold: 600;   /* @kind other */
  --fw-bold: 700;       /* @kind other */

  /* ---- Fluid display scale (serif) ---- */
  --display-2xl: clamp(3.25rem, 1.6rem + 6.5vw, 6.5rem); /* @kind other */
  --display-xl:  clamp(2.75rem, 1.6rem + 4.6vw, 5rem); /* @kind other */
  --display-lg:  clamp(2.25rem, 1.5rem + 3vw, 3.75rem); /* @kind other */
  --display-md:  clamp(1.875rem, 1.4rem + 1.9vw, 2.75rem); /* @kind other */
  --display-sm:  clamp(1.5rem, 1.25rem + 1vw, 2rem); /* @kind other */

  /* ---- Body scale (sans) ---- */
  --text-xl:   1.375rem;   /* 22 — lead paragraphs */
  --text-lg:   1.125rem;   /* 18 */
  --text-base: 1rem;       /* 16 */
  --text-sm:   0.875rem;   /* 14 */
  --text-xs:   0.8125rem;  /* 13 */

  /* ---- Eyebrow / mono label ---- */
  --label: 0.75rem;        /* 12 */

  /* ---- Line heights ---- */
  --lh-tight: 1.04;        /* @kind other */
  --lh-snug:  1.18;        /* @kind other */
  --lh-base:  1.6;         /* @kind other */
  --lh-relaxed: 1.72;      /* @kind other */

  /* ---- Tracking ---- */
  --track-tight:  -0.02em;  /* @kind other */
  --track-snug:   -0.011em; /* @kind other */
  --track-normal: 0em;      /* @kind other */
  --track-label:  0.18em;   /* uppercase eyebrows */
  --track-wide:   0.04em;   /* @kind other */
}

/* ---- Optional element resets (consumers may use or ignore) ---- */
.wc-serif { font-family: var(--font-serif); font-optical-sizing: auto; }
.wc-sans  { font-family: var(--font-sans); }
.wc-mono  { font-family: var(--font-mono); }

/* Eyebrow label — used above section headings */
.wc-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: var(--fw-medium);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-brand);
}

/* ════════ from tokens/spacing.css ════════ */
/* ============================================================
   WE-CONSULT · SPACING, RADII, LAYOUT
   8px base rhythm. Generous editorial whitespace.
   ============================================================ */
:root {
  /* ---- Spacing scale (8px base) ---- */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4 */
  --space-2: 0.5rem;    /* 8 */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.5rem;    /* 24 */
  --space-6: 2rem;      /* 32 */
  --space-7: 3rem;      /* 48 */
  --space-8: 4rem;      /* 64 */
  --space-9: 6rem;      /* 96 */
  --space-10: 8rem;     /* 128 */
  --space-11: 10rem;    /* 160 */

  /* ---- Section rhythm ---- */
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem); /* @kind spacing */
  --section-y-tight: clamp(3rem, 2rem + 4vw, 5.5rem); /* @kind spacing */

  /* ---- Container widths ---- */
  --container: 1240px;
  --container-narrow: 920px;
  --container-prose: 680px;
  --gutter: clamp(1.25rem, 0.5rem + 3.5vw, 4rem); /* @kind spacing */

  /* ---- Radii ---- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;
}

/* ════════ from tokens/elevation.css ════════ */
/* ============================================================
   WE-CONSULT · ELEVATION & MOTION
   Soft, warm-tinted shadows. Editorial easing — no bounce.
   ============================================================ */
:root {
  /* ---- Shadows (warm-tinted, low + diffuse) ---- */
  --shadow-xs: 0 1px 2px rgba(40, 39, 36, 0.06);
  --shadow-sm: 0 2px 6px rgba(40, 39, 36, 0.06), 0 1px 2px rgba(40, 39, 36, 0.05);
  --shadow-md: 0 10px 24px -10px rgba(40, 39, 36, 0.18), 0 2px 6px rgba(40, 39, 36, 0.06);
  --shadow-lg: 0 26px 50px -22px rgba(36, 63, 91, 0.30), 0 6px 14px -8px rgba(40, 39, 36, 0.10);
  --shadow-blue: 0 22px 44px -20px rgba(44, 79, 116, 0.45);
  --shadow-inset-hair: inset 0 0 0 1px var(--border-hairline);

  /* ---- Easing ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */

  /* ---- Durations ---- */
  --dur-fast: 160ms;   /* @kind other */
  --dur-base: 280ms;   /* @kind other */
  --dur-slow: 560ms;   /* @kind other */
  --dur-reveal: 820ms; /* @kind other */
}

/* ---- Scroll-reveal utility (used across UI kit) ---- */
@media (prefers-reduced-motion: no-preference) {
  .wc-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity var(--dur-reveal) var(--ease-out),
                transform var(--dur-reveal) var(--ease-out);
    will-change: opacity, transform;
  }
  .wc-reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* ════════ from tokens/base.css ════════ */
/* ============================================================
   WE-CONSULT · BASE
   Light reset + element defaults. Opt-in via these tokens;
   consumers can scope to a wrapper if they prefer.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  color: var(--text-body);
  background: var(--surface-page);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: var(--fw-regular);
  color: var(--text-strong);
  letter-spacing: var(--track-tight);
  line-height: var(--lh-tight);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--text-link); text-decoration: none; }

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

::selection { background: var(--blue-200); color: var(--ink-900); }

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

/* Shared layout helpers */
.wc-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wc-container--narrow { max-width: var(--container-narrow); }
.wc-container--prose  { max-width: var(--container-prose); }

/* ════════ from components/components.css ════════ */
/* ============================================================
   WE-CONSULT · COMPONENT STYLES
   Class-based styling for the React primitives. Ships to
   consumers via styles.css. JSX components emit these classes.
   ============================================================ */

/* ---------- Button ---------- */
.wc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.92em 1.5em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  background: var(--accent);
  color: var(--white);
  transition: background var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-fast) var(--ease-smooth),
              color var(--dur-fast) var(--ease-smooth);
}
.wc-btn:hover { transform: translateY(-1px); }
.wc-btn:active { transform: translateY(0); }
.wc-btn .wc-btn__icon { display: inline-flex; transition: transform var(--dur-base) var(--ease-out); }
.wc-btn:hover .wc-btn__icon--trailing { transform: translateX(3px); }

.wc-btn--primary { background: var(--accent); color: var(--white); box-shadow: var(--shadow-sm); }
.wc-btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-blue); }
.wc-btn--primary:active { background: var(--accent-press); }

.wc-btn--ink { background: var(--ink-800); color: var(--paper); box-shadow: var(--shadow-sm); }
.wc-btn--ink:hover { background: var(--ink-900); box-shadow: var(--shadow-md); }

.wc-btn--secondary { background: transparent; color: var(--ink-800); border-color: var(--border-strong); }
.wc-btn--secondary:hover { border-color: var(--ink-800); background: var(--ink-50); }

.wc-btn--ghost { background: transparent; color: var(--accent); padding-inline: 0.6em; }
.wc-btn--ghost:hover { color: var(--accent-hover); background: var(--blue-50); }

/* on dark surfaces */
.wc-btn--on-dark.wc-btn--secondary { color: var(--paper); border-color: var(--border-on-dark); }
.wc-btn--on-dark.wc-btn--secondary:hover { border-color: var(--paper); background: rgba(250,248,244,0.08); }

.wc-btn--lg { font-size: var(--text-base); padding: 1.05em 1.85em; }
.wc-btn--sm { font-size: var(--text-xs); padding: 0.7em 1.15em; }
.wc-btn[disabled], .wc-btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* ---------- ArrowLink ---------- */
.wc-arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-smooth), gap var(--dur-base) var(--ease-out);
}
.wc-arrowlink svg { transition: transform var(--dur-base) var(--ease-out); }
.wc-arrowlink:hover { color: var(--accent-hover); }
.wc-arrowlink:hover svg { transform: translateX(4px); }
.wc-arrowlink--on-dark { color: var(--blue-200); }
.wc-arrowlink--on-dark:hover { color: var(--white); }

/* ---------- Eyebrow ---------- */
.wc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: var(--fw-medium);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-brand);
  margin: 0;
}
.wc-eyebrow::before {
  content: "";
  width: 1.8em; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.wc-eyebrow--bare::before { display: none; }
.wc-eyebrow--on-dark { color: var(--blue-200); }

/* ---------- Tag ---------- */
.wc-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
  color: var(--ink-600);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 0.32em 0.8em;
  background: transparent;
  white-space: nowrap;
}
.wc-tag--solid { background: var(--blue-50); color: var(--blue-700); border-color: transparent; }
.wc-tag--ink { background: var(--ink-100); color: var(--ink-700); border-color: transparent; }

/* ---------- SectionHeading ---------- */
.wc-heading { display: flex; flex-direction: column; gap: var(--space-4); }
.wc-heading__title {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: var(--fw-regular);
  font-size: var(--display-lg);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  color: var(--text-strong);
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.wc-heading__title em { font-style: italic; color: var(--blue-600); }
.wc-heading--center { align-items: center; text-align: center; }
.wc-heading--center .wc-heading__title { max-width: 24ch; }
.wc-heading--on-dark .wc-heading__title { color: var(--paper); }
.wc-heading__lede {
  font-size: var(--text-xl);
  line-height: var(--lh-snug);
  color: var(--text-muted);
  max-width: 52ch;
  font-weight: var(--fw-regular);
  margin: 0;
}
.wc-heading--on-dark .wc-heading__lede { color: var(--text-on-dark-muted); }

/* ---------- Card ---------- */
.wc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-smooth);
}
.wc-card--interactive { cursor: pointer; }
.wc-card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-soft);
}
.wc-card--tint { background: var(--surface-tint); border-color: transparent; }
.wc-card--ink { background: var(--surface-ink); border-color: transparent; color: var(--text-on-dark); }
.wc-card--flat { box-shadow: none; }

/* ---------- ServiceCard ---------- */
.wc-service {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  gap: var(--space-4);
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-smooth);
}
.wc-service::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--dur-base) var(--ease-out);
}
.wc-service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-soft); }
.wc-service:hover::after { transform: scaleY(1); }
.wc-service__num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--blue-400);
  letter-spacing: 0.04em;
}
.wc-service__title {
  font-family: var(--font-serif);
  font-size: var(--display-sm);
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-snug);
  color: var(--text-strong);
  margin: 0;
}
.wc-service__desc { font-size: var(--text-base); line-height: var(--lh-base); color: var(--text-muted); margin: 0; }
.wc-service__foot { margin-top: auto; padding-top: var(--space-3); }

/* ---------- FeatureItem (the "difference") ---------- */
.wc-feature { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--border-hairline); }
.wc-feature__icon { color: var(--accent); width: 28px; height: 28px; }
.wc-feature__title { font-family: var(--font-sans); font-weight: var(--fw-semibold); font-size: var(--text-lg); color: var(--text-strong); margin: 0; letter-spacing: -0.01em; }
.wc-feature__desc { font-size: var(--text-base); line-height: var(--lh-base); color: var(--text-muted); margin: 0; }
.wc-feature--on-dark { border-top-color: var(--border-on-dark); }
.wc-feature--on-dark .wc-feature__title { color: var(--paper); }
.wc-feature--on-dark .wc-feature__desc { color: var(--text-on-dark-muted); }
.wc-feature--on-dark .wc-feature__icon { color: var(--blue-300); }

/* ---------- Avatar ---------- */
.wc-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  background: var(--blue-100); color: var(--blue-700);
  font-family: var(--font-sans); font-weight: var(--fw-semibold); font-size: var(--text-sm);
  overflow: hidden; flex: none;
}
.wc-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- NavBar: layout, mega menu, mobile menu ---------- */
.wc-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 74px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.wc-nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.wc-nav__burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: none; border-radius: 10px;
  color: var(--ink-800); cursor: pointer;
}
.wc-nav__burger:hover { background: var(--ink-50); }

/* Mega menu — full-width panel under the header */
.wc-mega {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-lg);
  animation: wcMegaIn 200ms var(--ease-out);
}
@keyframes wcMegaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.wc-mega__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 30px var(--gutter) 34px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 44px;
  align-items: start;
}
.wc-mega__intro { padding-top: 6px; }
.wc-mega__lede {
  font-family: var(--font-serif);
  font-size: 21px; line-height: 1.3;
  color: var(--text-strong);
  margin: 14px 0 18px;
  text-wrap: pretty;
}
.wc-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 14px; }
.wc-mega__item {
  display: flex; gap: 12px; align-items: baseline;
  min-height: 44px; padding: 10px 12px;
  border-radius: 10px; text-decoration: none;
  transition: background var(--dur-fast) var(--ease-smooth);
}
.wc-mega__item:hover { background: var(--blue-50); }
.wc-mega__num { font-family: var(--font-mono); font-size: 12px; color: var(--blue-400); flex: none; transition: color var(--dur-fast) var(--ease-smooth); }
.wc-mega__item:hover .wc-mega__num { color: var(--accent); }
.wc-mega__label { display: block; font-family: var(--font-sans); font-weight: var(--fw-semibold); font-size: 14.5px; line-height: 1.3; color: var(--text-strong); }
.wc-mega__item:hover .wc-mega__label { color: var(--accent); }
.wc-mega__desc {
  margin-top: 3px;
  font-family: var(--font-sans); font-size: 12.5px; line-height: 1.45;
  color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Full-screen mobile menu */
.wc-nav__mobile {
  position: fixed;
  /* Explicit viewport height (not bottom:0) so the panel fills the screen
     even though the header's backdrop-filter makes it the containing block
     for this fixed element — bottom:0 would otherwise collapse it to the
     74px header height. */
  top: 74px; left: 0; right: 0; height: calc(100dvh - 74px);
  z-index: 49;
  background: var(--paper);
  overflow-y: auto;
  padding: 8px var(--gutter) 44px;
  animation: wcMegaIn 200ms var(--ease-out);
}
.wc-nav__mlink {
  display: flex; align-items: center;
  min-height: 54px;
  font-family: var(--font-serif); font-size: 23px;
  color: var(--text-strong); text-decoration: none;
  border-bottom: 1px solid var(--border-hairline);
}
.wc-nav__msub { padding: 4px 0 14px; border-bottom: 1px solid var(--border-hairline); }
.wc-nav__mtoggle {
  width: 100%;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-hairline);
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: var(--text-strong);
}
.wc-nav__mtoggle svg { color: var(--text-muted); flex: none; transition: transform var(--dur-fast) var(--ease-smooth); }
.wc-nav__mtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.wc-nav__msub { animation: wcMegaIn 200ms var(--ease-out); }
.wc-nav__msublink {
  display: flex; align-items: center; gap: 12px;
  min-height: 44px;
  font-family: var(--font-sans); font-size: 15.5px; font-weight: 500;
  color: var(--ink-700); text-decoration: none;
}
.wc-nav__msublink span { font-family: var(--font-mono); font-size: 12px; color: var(--blue-400); }
.wc-nav__mcta { margin-top: 24px; width: 100%; justify-content: center; box-sizing: border-box; }

@media (max-width: 920px) {
  .wc-nav { gap: 16px; }
  .wc-nav__links { display: none; }
  .wc-nav__burger { display: inline-flex; }
  .wc-mega { display: none; }
}
@media (min-width: 921px) {
  .wc-nav__mobile { display: none; }
}

/* ---------- Footer: responsive columns ---------- */
.wc-footer__cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) { .wc-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .wc-footer__cols { grid-template-columns: 1fr; } }

/* Footer top row: brand block + link columns */
.wc-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) {
  .wc-footer__top { grid-template-columns: 1fr 1fr; }
  .wc-footer__top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 540px) { .wc-footer__top { grid-template-columns: 1fr; } }

/* Footer services band: compact wrapping pills instead of a long list */
.wc-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth),
              border-color var(--dur-fast) var(--ease-smooth),
              background var(--dur-fast) var(--ease-smooth);
}
.wc-footer__pill span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-300);
}
.wc-footer__pill:hover {
  border-color: var(--blue-300);
  color: var(--paper);
  background: rgba(250, 248, 244, 0.06);
}

/* ════════ site-level styles (from website index.html) ════════ */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface-page); }
/* Lucide <i> sizing */
[data-lucide] svg { width: 1em; height: 1em; }
@keyframes wcFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- Responsive layout helpers (site-level) ----
   Classes own grid-template-columns; gaps/alignment stay inline. */
.wc-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.wc-split { display: grid; grid-template-columns: 1fr 1fr; }
.wc-approach { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.wc-explorer { display: grid; grid-template-columns: 0.85fr 1.4fr; }
.wc-detail-split { display: grid; grid-template-columns: 1.1fr 1fr; }
.wc-values-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.wc-domain-rail { display: grid; grid-template-columns: repeat(8, 1fr); }
.wc-lenses { display: flex; }
.wc-contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.wc-form-row { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 1100px) {
  .wc-domain-rail { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1020px) {
  .wc-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .wc-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .wc-approach, .wc-explorer, .wc-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .wc-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wc-lenses { flex-direction: column; }
  .wc-detail-split { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wc-cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wc-domain-rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wc-form-row, .wc-values-grid { grid-template-columns: 1fr; }
}
