/* ============================================================
   ENKOMPASS — complete stylesheet (single paste)
   Paste ALL of this into YOOtheme -> Settings -> Custom Code -> CSS.
   Combines: brand tokens + UIkit restyle (custom.css),
   reusable components (styles.css), interior-page components (pages.css).
   Default scheme = ember. Change <html data-scheme="..."> to switch.
   ============================================================ */

/* ---- 1) BRAND CORE + UIKIT RESTYLE ---- */
/* ============================================================
   ENKOMPASS — YOOtheme Pro custom style
   ------------------------------------------------------------
   WHERE THIS GOES:
   YOOtheme → Settings → Custom Code → CSS  (paste all of it)
   or load it from your child theme.

   The whole palette is driven by CSS variables, scoped to a
   [data-scheme] attribute on <html>. Default = "ember".
   To change the active scheme site-wide, set the attribute on
   the <html> tag (Customizer → Advanced → Custom Code, or the
   optional switcher.js), e.g.  <html data-scheme="terra">.
   Schemes: ember · voltage · atelier · terra · signal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Onest:wght@400;500;600&display=swap');

/* ---------- shared tokens ---------- */
:root {
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-pill: 999px;
  --enk-font-display: "Space Grotesk", sans-serif;
  --enk-font-body: "Onest", system-ui, sans-serif;
}

/* default scheme so the site is styled even before an attribute is set */
:root,
html[data-scheme="ember"] {
  --bg:#14100E; --bg-2:#1A1512; --surface:#211A16; --surface-2:#2A211C;
  --border:#3A2E27; --border-2:#4D3D33;
  --fg:#FBF4EE; --fg-muted:#BBAA9E; --fg-faint:#7E6E63;
  --primary:#FF5A36; --primary-2:#FF7A3D; --primary-fg:#1A0C06;
  --primary-tint:rgba(255,90,54,.13);
  --accent:#FFB020; --accent-tint:rgba(255,176,32,.14);
  --logo-mark:#FF5A36; --logo-word:#FBF4EE;
  --hero-glow:radial-gradient(60% 70% at 78% 8%,rgba(255,90,54,.22),transparent 70%),radial-gradient(50% 60% at 8% 92%,rgba(255,176,32,.10),transparent 70%);
  --on-primary-grid:rgba(26,12,6,.16);
  color-scheme:dark;
}
html[data-scheme="voltage"] {
  --bg:#0A0C0A; --bg-2:#10130F; --surface:#141813; --surface-2:#1B201A;
  --border:#29301F; --border-2:#3A4530;
  --fg:#ECF6E6; --fg-muted:#A2B49A; --fg-faint:#66745D;
  --primary:#C6FF34; --primary-2:#B0F520; --primary-fg:#0A0C0A;
  --primary-tint:rgba(198,255,52,.12);
  --accent:#5BE8FF; --accent-tint:rgba(91,232,255,.14);
  --logo-mark:#C6FF34; --logo-word:#ECF6E6;
  --hero-glow:radial-gradient(58% 66% at 82% 6%,rgba(198,255,52,.18),transparent 70%),radial-gradient(48% 58% at 4% 96%,rgba(91,232,255,.12),transparent 70%);
  --on-primary-grid:rgba(10,12,10,.14);
  color-scheme:dark;
}
html[data-scheme="atelier"] {
  --bg:#F4EEE5; --bg-2:#ECE4D7; --surface:#FFFFFF; --surface-2:#FBF6EE;
  --border:#E2D8C9; --border-2:#D2C5B1;
  --fg:#1E1A17; --fg-muted:#6B6155; --fg-faint:#9C9285;
  --primary:#5B2A86; --primary-2:#6E36A0; --primary-fg:#FFFFFF;
  --primary-tint:rgba(91,42,134,.10);
  --accent:#D6336C; --accent-tint:rgba(214,51,108,.12);
  --logo-mark:#5B2A86; --logo-word:#1E1A17;
  --hero-glow:radial-gradient(55% 65% at 80% 4%,rgba(91,42,134,.12),transparent 70%),radial-gradient(48% 56% at 4% 96%,rgba(214,51,108,.08),transparent 70%);
  --on-primary-grid:rgba(255,255,255,.14);
  color-scheme:light;
}
html[data-scheme="terra"] {
  --bg:#F1ECE2; --bg-2:#E7DFD1; --surface:#FFFFFF; --surface-2:#FAF5EC;
  --border:#DCD2C0; --border-2:#C9BBA3;
  --fg:#20231C; --fg-muted:#5E6356; --fg-faint:#8E9382;
  --primary:#166A4E; --primary-2:#1C7E5D; --primary-fg:#FFFFFF;
  --primary-tint:rgba(22,106,78,.10);
  --accent:#C2502E; --accent-tint:rgba(194,80,46,.12);
  --logo-mark:#166A4E; --logo-word:#20231C;
  --hero-glow:radial-gradient(55% 65% at 80% 4%,rgba(22,106,78,.12),transparent 70%),radial-gradient(48% 56% at 4% 96%,rgba(194,80,46,.08),transparent 70%);
  --on-primary-grid:rgba(255,255,255,.14);
  color-scheme:light;
}
html[data-scheme="signal"] {
  --bg:#0D1117; --bg-2:#121922; --surface:#151D27; --surface-2:#1D2733;
  --border:#283441; --border-2:#37485A;
  --fg:#F2F6FB; --fg-muted:#9DB0C4; --fg-faint:#61748A;
  --primary:#3399FF; --primary-2:#4FA8FF; --primary-fg:#04111F;
  --primary-tint:rgba(51,153,255,.13);
  --accent:#4EEA8F; --accent-tint:rgba(78,234,143,.14);
  --logo-mark:#3399FF; --logo-word:#F2F6FB;
  --hero-glow:radial-gradient(60% 70% at 80% 6%,rgba(51,153,255,.20),transparent 70%),radial-gradient(48% 58% at 4% 95%,rgba(78,234,143,.10),transparent 70%);
  --on-primary-grid:rgba(4,17,31,.16);
  color-scheme:dark;
}

/* ============================================================
   1 · BASE  (maps Enkompass tokens onto YOOtheme / UIkit)
   ============================================================ */
body { display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--bg); color: var(--fg); font-family: var(--enk-font-body); }
h1,h2,h3,h4,h5,h6,
.uk-heading-2xlarge,.uk-heading-xlarge,.uk-heading-large,.uk-heading-medium,
.uk-h1,.uk-h2,.uk-h3,.uk-h4 {
  font-family: var(--enk-font-display); color: var(--fg);
  letter-spacing: -0.02em; font-weight: 600;
}
.is-layout-flex { margin: 100px 60px; }
.uk-text-lead { color: var(--fg-muted); }
.uk-text-muted { color: var(--fg-muted) !important; }
.uk-text-primary { color: var(--primary) !important; }
a, .uk-link { color: var(--primary); }
a:hover, .uk-link:hover { color: var(--primary-2); }
hr, .uk-hr { border-color: var(--border); }

/* ============================================================
   2 · SECTIONS
   ============================================================ */
.uk-section-default { background: var(--bg); }
.uk-section-muted { background: var(--bg-2); }
.uk-section-secondary { background: var(--surface); color: var(--fg); }
.uk-section-primary { background: var(--primary); color: var(--primary-fg); }
.uk-section-primary h1,.uk-section-primary h2,.uk-section-primary h3 { color: var(--primary-fg); }

/* ============================================================
   3 · BUTTONS  (streamlined — pill, compact, no lift)
   ============================================================ */
a:hover { color: var(--fg);}

.uk-button {
  font-family: var(--enk-font-display);
  font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
  text-transform: none; border-radius: var(--r-pill);
  padding: 9px 16px; line-height: 1.3; min-height: 0;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, filter .18s ease;
}
.uk-button-large { padding: 11px 20px; font-size: 14.5px; }
.uk-button-primary { background: var(--primary); color: var(--primary-fg); }
.uk-button-primary:hover,
.uk-button-primary:focus { background: var(--primary-2); color: var(--primary-fg); }
.uk-button-default { background: transparent; color: var(--fg); border-color: var(--border-2); }
.uk-button-default:hover,
.uk-button-default:focus { border-color: var(--fg-muted); background: color-mix(in srgb, var(--fg) 6%, transparent); color: var(--fg); }
.uk-button-text { color: var(--fg-muted); font-family: var(--enk-font-display); text-transform: none; }
.uk-button-text:hover { color: var(--fg); }
/* trailing-arrow nudge: add class .enk-cta to forward buttons */
.enk-cta svg, .enk-cta .uk-icon { transition: transform .2s ease; }
.enk-cta:hover svg, .enk-cta:hover .uk-icon { transform: translateX(3px); }
/* inverted button for use on .uk-section-primary */
.enk-btn-invert { background: var(--primary-fg); color: var(--primary); }
.enk-btn-invert:hover { filter: brightness(.93); color: var(--primary); }

/* ============================================================
   4 · CARDS / PANELS
   ============================================================ */
.uk-card-default {
  background: var(--surface); color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: none;
}
.uk-card-default:hover { border-color: var(--border-2); }
.uk-card-default.uk-card-hover:hover { box-shadow: 0 24px 50px -30px rgba(0,0,0,.5); }
.uk-card-muted { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); }
.uk-card-primary { background: var(--primary); color: var(--primary-fg); border-radius: var(--r-md); }
.uk-card-title { font-family: var(--enk-font-display); color: var(--fg); }

/* ============================================================
   5 · HEADER / NAVBAR
   ============================================================ */
.tm-header, .uk-navbar-container:not(.uk-navbar-transparent) {
  background: color-mix(in srgb, var(--bg) 78%, transparent) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.uk-navbar-nav > li > a {
  font-family: var(--enk-font-display);
  font-weight: 500; font-size: 14.5px; text-transform: none;
  color: var(--fg-muted); min-height: 72px;
}
.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li.uk-active > a { color: var(--fg); }
.uk-logo { color: var(--fg); }

/* recolorable inline logo (when the SVG is inlined with class .enk-logo) */
.enk-logo .lk-word { fill: var(--logo-word); }
.enk-logo .lk-mark { fill: var(--logo-mark); }
.enk-logo { height: 28px; width: auto; }

/* ============================================================
   6 · ENKOMPASS HELPER CLASSES
   (use inside Builder "HTML" / "Code" elements, or as CSS
    classes on standard elements)
   ============================================================ */
.enk-eyebrow {
  font-family: var(--enk-font-display);
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--primary);
  display: inline-flex; align-items: center; gap: 10px;
}
.enk-eyebrow::before { content:""; width:26px; height:2px; background: currentColor; border-radius:2px; }

.enk-entry-title {font-size: clamp(36px, 5vw, 60px); margin-top: 20px;}

.enk-hero-bg { position:absolute; inset:0; background: var(--hero-glow); pointer-events:none; }
.enk-mark-wm { color: var(--primary); opacity:.05; }

.enk-statbox { background: var(--surface-2); border:1px solid var(--border); border-radius: var(--r-md); padding:20px; }
.enk-statbox .n { font-family: var(--enk-font-display); font-weight:700; font-size:34px; letter-spacing:-0.03em; }
.enk-statbox .n.is-primary { color: var(--primary); }
.enk-statbox .n.is-accent { color: var(--accent); }
.enk-statbox .l { font-size:13px; color: var(--fg-muted); margin-top:4px; }

.enk-metric { text-align:center; padding:52px 28px; border-left:1px solid var(--border); }
.enk-metric .n { font-family: var(--enk-font-display); font-weight:700; font-size:clamp(36px,4vw,52px); letter-spacing:-0.03em; color: var(--primary); }
.enk-metric .l { margin-top:8px; font-size:14.5px; color: var(--fg-muted); }

.enk-cta-panel {
  position:relative; overflow:hidden; background: var(--primary); color: var(--primary-fg);
  border-radius: var(--r-lg); padding:72px 56px; text-align:center;
}
.enk-cta-panel::before {
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(var(--on-primary-grid) 1px,transparent 1px),linear-gradient(90deg,var(--on-primary-grid) 1px,transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:radial-gradient(70% 90% at 50% 0%,#000,transparent 75%);
          mask-image:radial-gradient(70% 90% at 50% 0%,#000,transparent 75%);
}

/* logo cloud */
.enk-cloud span { font-family: var(--enk-font-display); font-weight:600; font-size:21px; color: var(--fg-faint); opacity:.8; }

/* dotted background utility for hero */
.enk-grid-bg::after {
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(75% 60% at 50% 30%,#000,transparent 80%);
          mask-image:radial-gradient(75% 60% at 50% 30%,#000,transparent 80%);
  opacity:.35; pointer-events:none;
}

/* posts category chooser */
ul.enk-cat-chooser {
  display: flex;
  gap: 12px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
ul.enk-cat-chooser li a {
  padding: 10px 20px;    display: inline-flex; 
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
  padding: 9px 16px;
  background-color: var(--primary);
  color: var(--fg);
  border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, filter .18s ease;
  white-space: nowrap;
}

ul.enk-cat-chooser li a:hover {
  background-color: var(--primary-2);
}

/* WP Styles */
h2.wp-block-heading, h2.wp-block-post-title {
  color: var(--primary) !important;
}

a.wp-block-latest-posts__post-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-top: 20px;
	text-align: center;
	left: 50%;
    transform: translate(-50%, -50%);
}


/* ============================================================
   7 · FOOTER
   ============================================================ */
.tm-footer, .uk-section.tm-footer { background: var(--bg-2); border-top:1px solid var(--border); }
.tm-footer a { color: var(--fg-muted); }
.tm-footer a:hover { color: var(--fg); }


/* ---- ensure container width token exists ---- */
:root { --maxw: 1200px; }

/* ---- 2) REUSABLE COMPONENTS (nav/hero/cards/buttons/footer/etc.) ---- */
/* ============================================================
   ENKOMPASS — landing page styles (theme-template flavored)
   All color comes from var(--*) tokens defined in schemes.css.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Onest", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .5s ease, color .5s ease;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- logo lockup ---------- */
.logo { height: 26px; width: auto; aspect-ratio: 861.62 / 116.37; }
.logo--lg { height: 38px; }
.mark { aspect-ratio: 1 / 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
  padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
/* forward CTAs: the trailing arrow eases right on hover */
.btn--primary svg:last-child,
.btn--invert svg:last-child { transition: transform .2s ease; }
.btn--primary:hover svg:last-child,
.btn--invert:hover svg:last-child { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: var(--primary-fg); }
.btn--primary:hover { background: var(--primary-2); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--fg-muted); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.btn--lg { padding: 11px 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background .5s ease, border-color .5s ease;
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav__links { display: flex; gap: 30px; margin-left: 8px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--fg-muted);
  font-family: "Space Grotesk", sans-serif; transition: color .18s ease;
}
.nav__links a:hover { color: var(--fg); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav__signin { font-family: "Space Grotesk", sans-serif; font-size: 14.5px; font-weight: 500; color: var(--fg-muted); }
.nav__signin:hover { color: var(--fg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; transition: background .5s ease; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 30%, #000 0%, transparent 80%);
          mask-image: radial-gradient(75% 60% at 50% 30%, #000 0%, transparent 80%);
  opacity: .35;
}
.hero__watermark {
  position: absolute; right: -120px; top: -80px; width: 620px; color: var(--primary);
  opacity: .05; pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); margin: 22px 0 0; }
.hero h1 .accent { color: var(--primary); }
.hero__sub { margin-top: 22px; font-size: 19px; color: var(--fg-muted); max-width: 30em; }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin-top: 40px; display: flex; align-items: center; gap: 16px; color: var(--fg-faint); font-size: 13.5px; }
.hero__trust .avatars { display: flex; }
.hero__trust .avatars span {
  width: 30px; height: 30px; border-radius: 50%; margin-left: -8px;
  border: 2px solid var(--bg); background: var(--surface-2);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--fg-muted);
  font-family: "Space Grotesk", sans-serif;
}
.hero__trust .avatars span:first-child { margin-left: 0; }
.hero__trust b { color: var(--fg); }

/* ---------- product card mock ---------- */
.app {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.55), 0 0 0 1px var(--border) inset;
  transform: perspective(1600px) rotateY(-8deg) rotateX(2deg);
  transition: transform .5s ease;
}
.app:hover { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); }
.app__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.app__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.app__bar .tag { margin-left: auto; font-size: 11.5px; font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--fg-faint); letter-spacing: .12em; }
.app__body { display: grid; grid-template-columns: 92px 1fr; min-height: 320px; }
.app__rail { border-right: 1px solid var(--border); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; background: var(--surface-2); }
.app__rail .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; color: var(--fg-faint); }
.app__rail .ic.active { background: var(--primary-tint); color: var(--primary); }
.app__rail .ic svg { width: 17px; height: 17px; }
.app__main { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.conv { display: flex; gap: 11px; align-items: flex-start; padding: 11px 12px; border-radius: var(--r-sm); border: 1px solid transparent; }
.conv .sel { background: var(--primary-tint); border-color: color-mix(in srgb, var(--primary) 35%, transparent); }
.conv .pill { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--primary-tint); padding: 5px 10px; border-radius: var(--r-pill); font-family: "Space Grotesk", sans-serif; }
.conv .av { width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--bg-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--accent); font-family: "Space Grotesk", sans-serif; }
.conv .av.a2 { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--primary-tint); padding: 5px 10px; border-radius: var(--r-pill); font-family: "Space Grotesk", sans-serif; }
.conv .meta { flex: 1; min-width: 0; }
.conv .meta .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.conv .name { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.conv .time { font-size: 11px; color: var(--prim); flex: none; }
.conv .snip { font-size: 12.5px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.conv .chan { display: inline-block; margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.conv.sel .chan { color: var(--primary); }
.app__route { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--r-md); background: var(--bg-2); border: 1px solid var(--border); }
.app__route .compass { width: 30px; height: 30px; color: var(--primary); flex: none; }
.app__route .txt { font-size: 12.5px; color: var(--fg-muted); }
.app__route .txt b { color: var(--fg); display: block; font-size: 13px; font-family: "Space Grotesk", sans-serif; }
.app__route .pill { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-tint); padding: 5px 10px; border-radius: var(--r-pill); font-family: "Space Grotesk", sans-serif; }

/* ---------- logo cloud ---------- */
.cloud { padding: 18px 0 8px; }
.cloud p { text-align: center; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-faint); font-family: "Space Grotesk", sans-serif; }
.cloud__row { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 52px; }
.cloud__row span { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 21px; color: var(--fg-faint); letter-spacing: -0.01em; opacity: .8; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section__head { max-width: 40em; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 16px; }
.section__head p { margin-top: 18px; font-size: 18px; color: var(--fg-muted); }
.section__head.center { margin: 0 auto; text-align: center; }
.section__head.center .eyebrow { justify-content: center; }

/* ---------- feature cards ---------- */
.features { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 30px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 24px 50px -30px rgba(0,0,0,.5); }
.card__ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--primary-tint); color: var(--primary); margin-bottom: 22px;
}
.card__ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; }
.card p { margin-top: 11px; color: var(--fg-muted); font-size: 15.5px; }
.card--wide { grid-column: span 3; }

/* feature spanning variants */
.features--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- split showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media {
  border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface);
  padding: 26px; box-shadow: 0 40px 80px -50px rgba(0,0,0,.55);
}
.statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.statbox { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; }
.statbox .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 34px; letter-spacing: -0.03em; }
.statbox .n.p { color: var(--primary); }
.statbox .n.a { color: var(--accent); }
.statbox .l { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.checklist { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; list-style: none; font-size: 15.5px; color: var(--fg-muted); }
.checklist { padding: 0; }
.checklist .ck { width: 24px; height: 24px; border-radius: 50%; flex: none; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; margin-top: 1px; }
.checklist .ck svg { width: 14px; height: 14px; }
.checklist b { color: var(--fg); font-weight: 600; }

/* ---------- metrics band ---------- */
.metrics { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 52px 28px; text-align: center; border-left: 1px solid var(--border); }
.metric:first-child { border-left: none; }
.metric .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.03em; color: var(--primary); }
.metric .l { margin-top: 8px; font-size: 14.5px; color: var(--fg-muted); }

/* ---------- testimonial ---------- */
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote {
  margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.28; letter-spacing: -0.02em;
}
.quote blockquote .mk { color: var(--primary); }
.quote__by { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 13px; }
.quote__by .av { width: 46px; height: 46px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--primary); }
.quote__by .who { text-align: left; }
.quote__by .who b { font-size: 15px; }
.quote__by .who span { display: block; font-size: 13px; color: var(--fg-faint); }

/* ---------- CTA band ---------- */
.cta { padding: 0 0 96px; }
.cta__panel {
  position: relative; overflow: hidden;
  background: var(--primary); color: var(--primary-fg);
  border-radius: var(--r-lg); padding: 72px 56px; text-align: center;
}
.cta__panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--on-primary-grid) 1px, transparent 1px),
                    linear-gradient(90deg, var(--on-primary-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 75%);
}
.cta__wm { position: absolute; right: -60px; bottom: -90px; width: 360px; color: var(--primary-fg); opacity: .12; }
.cta__panel h2 { position: relative; font-size: clamp(32px, 4vw, 50px); }
.cta__panel p { position: relative; margin: 18px auto 0; max-width: 30em; font-size: 18px; opacity: .82; }
.cta__panel .actions { position: relative; margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn--invert { background: var(--primary-fg); color: var(--primary); }
.btn--invert:hover { filter: brightness(.93); }
.btn--outline-on { background: transparent; color: var(--primary-fg); border-color: color-mix(in srgb, var(--primary-fg) 40%, transparent); }
.btn--outline-on:hover { background: color-mix(in srgb, var(--primary-fg) 12%, transparent); border-color: color-mix(in srgb, var(--primary-fg) 60%, transparent); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 36px; background: var(--bg-2); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; color: var(--fg-muted); font-size: 14.5px; max-width: 26em; }
.footer__col h4 { font-family: "Space Grotesk", sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--fg-muted); transition: color .15s ease; }
.footer__col a:hover { color: var(--fg); }
.footer__bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--fg-faint); font-size: 13.5px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--fg-muted); transition: all .18s ease; }
.footer__social a:hover { color: var(--primary); border-color: var(--primary); }
.footer__social svg { width: 16px; height: 16px; }

/* ---------- reveal on load (only hides when JS is active) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { order: -1; }
  .app { transform: none; }
  .features, .features--4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .metrics__grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .features, .features--4, .metrics__grid, .footer__top { grid-template-columns: 1fr; }
  .metric { border-left: none; border-top: 1px solid var(--border); }
  .metric:first-child { border-top: none; }
  .cta__panel { padding: 48px 24px; }
  .section { padding: 68px 0; }
}


/* ---- 3) INTERIOR PAGE COMPONENTS ---- */
/* ============================================================
   ENKOMPASS — interior page components
   Builds on schemes.css (tokens) + styles.css (chrome).
   All color via var(--*); everything recolors per data-scheme.
   ============================================================ */

/* ---------- shared injected chrome helpers ---------- */
.nav__links a.is-active { color: var(--fg); }
main { display: block; }

/* ---------- page hero (compact interior header) ---------- */
.phero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.phero__bg { position: absolute; inset: 0; background: var(--hero-glow); opacity: .8; pointer-events: none; }
.phero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, #000 0%, transparent 80%);
          mask-image: radial-gradient(70% 70% at 50% 20%, #000 0%, transparent 80%);
  opacity: .3;
}
.phero__inner { position: relative; z-index: 1; max-width: 46rem; }
.phero__inner.center { margin: 0 auto; text-align: center; }
.phero__inner.center .eyebrow { justify-content: center; }
.phero h1 { font-size: clamp(36px, 5vw, 60px); margin-top: 20px; }
.phero h1 .accent { color: var(--primary); }
.phero__sub { margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--fg-muted); max-width: 36em; }
.phero__inner.center .phero__sub { margin-left: auto; margin-right: auto; }
.phero__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.phero__inner.center .phero__actions { justify-content: center; }

/* breadcrumb */
.crumbs { display: flex; align-items: center; gap: 9px; font-family: "Space Grotesk", sans-serif; font-size: 13px; color: var(--fg-faint); margin-bottom: 6px; }
.crumbs a { color: var(--fg-faint); transition: color .15s ease; }
.crumbs a:hover { color: var(--fg); }
.crumbs .sep { opacity: .6; }

/* ---------- generic section helpers ---------- */
.lede { font-size: 18px; color: var(--fg-muted); max-width: 42em; }
.eyebrow.center { justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.muted { color: var(--fg-muted); }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- service / offering rows ---------- */
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 64px 0; border-top: 1px solid var(--border); }
.srow:first-of-type { border-top: 0; }
.srow.flip .srow__media { order: -1; }
.srow__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.srow__kicker .num { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-size: 13px; }
.srow h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 18px; }
.srow p { margin-top: 16px; color: var(--fg-muted); font-size: 16.5px; }
.srow .checklist { margin-top: 22px; }
.srow__media .app { transform: none; }

/* offering card (icon + title + desc + list) */
.offer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 52px; }
.offer__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 32px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.offer__card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 24px 50px -30px rgba(0,0,0,.5); }
.offer__ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); margin-bottom: 22px; }
.offer__ic svg { width: 25px; height: 25px; }
.offer__card h3 { font-size: 21px; }
.offer__card > p { margin-top: 12px; color: var(--fg-muted); font-size: 15.5px; }
.offer__list { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.offer__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--fg-muted); }
.offer__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-top: 8px; flex: none; }

/* ---------- process / timeline (approach) ---------- */
.steps { margin-top: 56px; display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 0 0 44px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step__rail { display: flex; flex-direction: column; align-items: center; }
.step__num { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-2); color: var(--primary); font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; z-index: 1; }
.step__line { width: 2px; flex: 1; background: var(--border); margin-top: 6px; }
.step:last-child .step__line { display: none; }
.step__body { padding-top: 8px; }
.step__body h3 { font-size: 23px; }
.step__body .phase { font-family: "Space Grotesk", sans-serif; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.step__body > p { margin-top: 12px; color: var(--fg-muted); font-size: 16px; max-width: 44em; }
.step__meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: "Space Grotesk", sans-serif; font-size: 12.5px; font-weight: 500; color: var(--fg-muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 6px 13px; }

/* ---------- principles / value grid ---------- */
.principles { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.principle { background: var(--bg); padding: 34px; }
.principle__n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: .1em; }
.principle h3 { font-size: 19px; margin-top: 14px; }
.principle p { margin-top: 10px; color: var(--fg-muted); font-size: 14.5px; }

/* ---------- accordion (FAQ) ---------- */
.acc { margin-top: 40px; border-top: 1px solid var(--border); }
.acc__item { border-bottom: 1px solid var(--border); }
.acc__q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 18px; color: var(--fg); letter-spacing: -0.01em; }
.acc__q .ico { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--primary); transition: transform .25s ease, background .2s ease; }
.acc__q .ico svg { width: 14px; height: 14px; }
.acc__item.open .acc__q .ico { transform: rotate(45deg); background: var(--primary-tint); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__a p { padding: 0 4px 24px; color: var(--fg-muted); font-size: 16px; max-width: 50em; }

/* ---------- post / insight listing ---------- */
.post-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.post:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 24px 50px -30px rgba(0,0,0,.5); }
.post__thumb { aspect-ratio: 16 / 10; background: var(--surface-2); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.post__thumb .mark { position: absolute; right: -30px; bottom: -40px; width: 180px; color: var(--primary); opacity: .1; }
.post__thumb .badge { position: absolute; left: 16px; top: 16px; }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.post__body h3 { font-size: 20px; margin-top: 12px; line-height: 1.2; }
.post__body p { margin-top: 11px; color: var(--fg-muted); font-size: 14.5px; flex: 1; }
.post__foot { margin-top: 20px; display: flex; align-items: center; gap: 10px; color: var(--fg-faint); font-size: 13px; font-family: "Space Grotesk", sans-serif; }
.post--feat { grid-column: span 3; flex-direction: row; }
.post--feat .post__thumb { aspect-ratio: auto; width: 46%; border-bottom: 0; border-right: 1px solid var(--border); }
.post--feat .post__body { padding: 40px; justify-content: center; }
.post--feat .post__body h3 { font-size: clamp(24px, 2.6vw, 34px); }
.post--feat .post__body p { font-size: 16px; max-width: 40em; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-family: "Space Grotesk", sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 11px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); color: var(--fg-muted); }
.badge--primary { background: var(--primary-tint); border-color: color-mix(in srgb, var(--primary) 35%, transparent); color: var(--primary); }
.badge--accent { background: var(--accent-tint); border-color: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent); }

/* filter pills */
.filters { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { font-family: "Space Grotesk", sans-serif; font-size: 13.5px; font-weight: 500; color: var(--fg-muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 8px 16px; cursor: pointer; transition: all .15s ease; }
.filters button:hover { border-color: var(--border-2); color: var(--fg); }
.filters button.is-active { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }

/* ---------- case-study listing ---------- */
.cs-grid { margin-top: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cs { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 36px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); overflow: hidden; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.cs:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 30px 60px -34px rgba(0,0,0,.55); }
.cs__bg { position: absolute; inset: 0; background: var(--hero-glow); opacity: .55; }
.cs__mark { position: absolute; right: -40px; top: -50px; width: 230px; color: var(--primary); opacity: .08; }
.cs__top { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: auto; }
.cs__logo { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; color: var(--fg); letter-spacing: -0.01em; }
.cs__body { position: relative; }
.cs__body h3 { font-size: 25px; margin-top: 16px; line-height: 1.18; }
.cs__metrics { position: relative; margin-top: 24px; display: flex; gap: 30px; }
.cs__metrics .m .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -0.03em; color: var(--primary); }
.cs__metrics .m .n.a { color: var(--accent); }
.cs__metrics .m .l { font-size: 12.5px; color: var(--fg-muted); margin-top: 2px; }
.cs__link { position: relative; margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 14px; color: var(--primary); }
.cs__link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.cs:hover .cs__link svg { transform: translateX(3px); }

/* ---------- article / case-study detail body ---------- */
.article { max-width: 720px; margin: 0 auto; }
.prose { color: var(--fg); font-size: 17.5px; line-height: 1.72; }
.prose > * + * { margin-top: 24px; }
.prose h2 { font-size: 28px; margin-top: 52px; }
.prose h3 { font-size: 21px; margin-top: 38px; }
.prose p { color: var(--fg-muted); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 22px; color: var(--fg-muted); display: flex; flex-direction: column; gap: 10px; }
.prose li { padding-left: 6px; }
.prose li::marker { color: var(--primary); }
.prose blockquote { margin: 36px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--primary); font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 22px; line-height: 1.4; color: var(--fg); letter-spacing: -0.01em; }
.prose figure { margin: 36px 0; }
.prose figcaption { margin-top: 12px; font-size: 13.5px; color: var(--fg-faint); text-align: center; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: var(--surface-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; color: var(--accent); }
.prose pre { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 22px; overflow: auto; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; line-height: 1.6; color: var(--fg-muted); }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 44px 0; }

/* article meta header */
.amast { max-width: 720px; margin: 0 auto; text-align: center; }
.amast .post__cat { display: block; }
.amast h1 { font-size: clamp(30px, 4.4vw, 50px); margin-top: 16px; }
.amast__meta { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--fg-faint); font-size: 14px; }
.author { display: flex; align-items: center; gap: 11px; }
.author .av { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 14px; color: var(--primary); }
.author .who b { color: var(--fg); font-size: 14px; display: block; font-family: "Space Grotesk", sans-serif; }
.author .who span { font-size: 12.5px; color: var(--fg-faint); }
.afig { max-width: 980px; margin: 0 auto 8px; }
.afig__ph { aspect-ratio: 16 / 8; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.afig__ph .enk-hero-bg, .afig__ph .phero__bg { position: absolute; inset: 0; background: var(--hero-glow); opacity: .7; }
.afig__ph .mark { position: absolute; right: -30px; bottom: -50px; width: 240px; color: var(--primary); opacity: .12; }

/* sidebar for case-study detail */
.cs-detail { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; max-width: 1040px; margin: 0 auto; }
.cs-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.cs-side__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; }
.cs-side__card h4 { font-family: "Space Grotesk", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); margin: 0 0 14px; }
.cs-side dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-side dt { font-size: 12px; color: var(--fg-faint); font-family: "Space Grotesk", sans-serif; letter-spacing: .04em; }
.cs-side dd { margin: 2px 0 0; font-size: 14.5px; color: var(--fg); }
.cs-side .big { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -0.03em; color: var(--primary); }

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.label { font-family: "Space Grotesk", sans-serif; font-size: 13.5px; font-weight: 500; color: var(--fg); }
.label .req { color: var(--primary); }
.input, .textarea, .select {
  width: 100%; font-family: "Onest", system-ui, sans-serif; font-size: 15.5px;
  color: var(--fg); background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--fg-faint); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237E6E63' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.hint { font-size: 12.5px; color: var(--fg-faint); }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--fg-muted); cursor: pointer; }
.check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--primary); flex: none; }
.check a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.form-foot { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--fg-faint); }

/* segmented control for booking step / radio cards */
.optcards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.optcard { position: relative; cursor: pointer; }
.optcard input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.optcard__box { border: 1px solid var(--border); background: var(--bg-2); border-radius: var(--r-md); padding: 18px 20px; transition: all .15s ease; height: 100%; }
.optcard__box h4 { font-size: 16px; font-family: "Space Grotesk", sans-serif; }
.optcard__box p { margin-top: 5px; font-size: 13px; color: var(--fg-muted); }
.optcard input:checked + .optcard__box { border-color: var(--primary); background: var(--primary-tint); box-shadow: 0 0 0 1px var(--primary); }
.optcard input:focus-visible + .optcard__box { box-shadow: 0 0 0 3px var(--primary-tint); }

/* contact info column */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.cinfo { display: flex; flex-direction: column; gap: 14px; }
.cinfo__item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.cinfo__ic { width: 44px; height: 44px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); }
.cinfo__ic svg { width: 21px; height: 21px; }
.cinfo__item h4 { font-size: 16px; font-family: "Space Grotesk", sans-serif; }
.cinfo__item p { margin-top: 4px; font-size: 14.5px; color: var(--fg-muted); }
.cinfo__item a { color: var(--primary); }

/* ---------- booking / scheduler ---------- */
.book-grid { display: grid; grid-template-columns: 360px 1fr; gap: 36px; align-items: start; }
.book-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; position: sticky; top: 96px; }
.book-summary h3 { font-size: 22px; }
.book-summary > p { margin-top: 12px; color: var(--fg-muted); font-size: 15px; }
.book-summary .meta-row { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.book-summary .meta-row .r { display: flex; gap: 13px; align-items: flex-start; }
.book-summary .meta-row .r .ic { width: 22px; height: 22px; color: var(--primary); flex: none; }
.book-summary .meta-row .r b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 14.5px; }
.book-summary .meta-row .r span { font-size: 13.5px; color: var(--fg-muted); }
.book-summary .incl { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }

.scheduler { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; min-height: 480px; }
/* embed slot — drop the real scheduler iframe here */
.embed-slot { position: relative; min-height: 540px; border: 1px dashed var(--border-2); border-radius: var(--r-md); display: grid; place-items: center; text-align: center; background:
  repeating-linear-gradient(45deg, transparent, transparent 12px, color-mix(in srgb, var(--border) 40%, transparent) 12px, color-mix(in srgb, var(--border) 40%, transparent) 13px); }
.embed-slot__inner { max-width: 24em; padding: 30px; }
.embed-slot__inner .ic { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 18px; background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; }
.embed-slot__inner h4 { font-size: 18px; font-family: "Space Grotesk", sans-serif; }
.embed-slot__inner p { margin-top: 10px; font-size: 14px; color: var(--fg-muted); }
.embed-slot__inner code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--surface-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 5px; color: var(--accent); }

/* mock calendar (visual placeholder for the scheduler) */
.cal { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.cal__days { padding: 24px; border-right: 1px solid var(--border); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal__head b { font-family: "Space Grotesk", sans-serif; font-size: 16px; }
.cal__nav { display: flex; gap: 8px; }
.cal__nav button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-2); color: var(--fg-muted); cursor: pointer; display: grid; place-items: center; }
.cal__nav button:hover { color: var(--fg); border-color: var(--border-2); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__grid .dow { text-align: center; font-size: 11px; color: var(--fg-faint); font-family: "Space Grotesk", sans-serif; padding-bottom: 6px; }
.cal__grid .d { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-size: 13.5px; color: var(--fg-muted); cursor: pointer; font-family: "Space Grotesk", sans-serif; }
.cal__grid .d.off { color: var(--fg-faint); opacity: .4; cursor: default; }
.cal__grid .d.avail:hover { background: var(--surface-2); color: var(--fg); }
.cal__grid .d.sel { background: var(--primary); color: var(--primary-fg); font-weight: 600; }
.cal__grid .d.dot { position: relative; }
.cal__grid .d.dot::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
.cal__slots { padding: 24px; }
.cal__slots b { font-family: "Space Grotesk", sans-serif; font-size: 14px; }
.cal__slots .list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow: auto; }
.slot { width: 100%; text-align: center; font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 500; color: var(--fg); background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px; cursor: pointer; transition: all .15s ease; }
.slot:hover { border-color: var(--primary); color: var(--primary); }
.slot.sel { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }

/* ---------- confirmation / centered states (newsletter, unsubscribe) ---------- */
.confirm { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 60px 0; position: relative; overflow: hidden; }
.confirm__bg { position: absolute; inset: 0; background: var(--hero-glow); opacity: .7; pointer-events: none; }
.confirm__card { position: relative; z-index: 1; max-width: 540px; width: 100%; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 52px 44px; box-shadow: 0 40px 90px -50px rgba(0,0,0,.6); }
.confirm__ic { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 26px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); }
.confirm__ic svg { width: 34px; height: 34px; }
.confirm__ic.accent { background: var(--accent-tint); color: var(--accent); }
.confirm h1 { font-size: clamp(28px, 3.4vw, 38px); }
.confirm p { margin-top: 16px; color: var(--fg-muted); font-size: 16.5px; }
.confirm__form { margin-top: 28px; display: flex; gap: 10px; }
.confirm__form .input { flex: 1; }
.confirm__actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.confirm__fine { margin-top: 22px; font-size: 13px; color: var(--fg-faint); }
.confirm__fine a { color: var(--primary); }

/* newsletter perks */
.perks { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.perk { display: flex; flex-direction: column; gap: 8px; }
.perk .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.perk .ic svg { width: 19px; height: 19px; }
.perk b { font-family: "Space Grotesk", sans-serif; font-size: 14px; }
.perk span { font-size: 12.5px; color: var(--fg-muted); line-height: 1.45; }

/* ---------- legal / policy ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; max-width: 1040px; margin: 0 auto; }
.legal__toc { position: sticky; top: 96px; }
.legal__toc h4 { font-family: "Space Grotesk", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); margin: 0 0 16px; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.legal__toc a { display: block; padding: 8px 12px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--fg-muted); transition: all .15s ease; border-left: 2px solid transparent; }
.legal__toc a:hover { color: var(--fg); background: var(--surface); }
.legal__toc a.is-active { color: var(--primary); border-left-color: var(--primary); background: var(--surface); }
.legal__body section { padding-top: 14px; margin-top: 30px; border-top: 1px solid var(--border); }
.legal__body section:first-child { border-top: 0; margin-top: 0; }
.legal__body h2 { font-size: 24px; scroll-margin-top: 90px; }
.legal__body h2 .n { color: var(--primary); font-size: 18px; margin-right: 10px; font-variant-numeric: tabular-nums; }
.legal__body h3 { font-size: 17px; margin-top: 24px; }
.legal__body p, .legal__body li { color: var(--fg-muted); font-size: 15.5px; line-height: 1.7; }
.legal__body p + p { margin-top: 14px; }
.legal__body ul { margin-top: 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal__body li::marker { color: var(--primary); }
.legal__updated { display: inline-flex; align-items: center; gap: 9px; font-family: "Space Grotesk", sans-serif; font-size: 13px; color: var(--fg-faint); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 7px 15px; }
.callout { margin-top: 18px; padding: 18px 20px; border-radius: var(--r-md); background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.callout p { color: var(--fg) !important; font-size: 14.5px !important; }

/* ---------- CTA reuse on interior pages ---------- */
.cta--tight { padding: 0 0 96px; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
    .srow, .grid-2, .contact-grid, .cs-detail, .legal, .book-grid { grid-template-columns: 1fr; gap: 36px; }
    .srow.flip .srow__media { order: 0; }
    .offer, .grid-3, .grid-4, .post-grid, .principles, .cs-grid, .perks { grid-template-columns: 1fr 1fr; }
    .post--feat { flex-direction: column; }
    .post--feat .post__thumb { width: 100%; border-right: 0; border-bottom: 1px solid var(--border); aspect-ratio: 16 / 9; }
    .legal__toc, .cs-side, .book-summary { position: static; }
    .cal { grid-template-columns: 1fr; }
    .cal__days { border-right: 0; border-bottom: 1px solid var(--border); }
    .is-layout-flex { margin: 40px 10px; }
    .wrap {margin-left: -20px; margin-right:-20px;}
    .cinfo { width: 100%; }
    .contact-sidebar { margin-left: -10px; margin-right: -50px; }
	.cal-points { padding-left: 10px; padding-right: 10px;}
}
@media (max-width: 600px) {
    .offer, .grid-3, .grid-4, .post-grid, .principles, .cs-grid, .perks, .form-grid, .optcards { grid-template-columns: 1fr; }
    .post--feat { grid-column: span 1; }
    .form-card, .confirm__card { padding: 28px 22px; }
    .confirm__form { flex-direction: column; }
    .step { grid-template-columns: 48px 1fr; gap: 18px; }
    .is-layout-flex { margin: 30px 10px; }
    .wrap {margin-left: -25px; margin-right:-20px; padding-right: -30px;}
    .cinfo { width: 100%; }
    .contact-sidebar { margin-left: -10px; margin-right: -45px; }
	.cal-points { padding-left: 10px; padding-right: 10px;}	
}

