/* =========================================================
   KPW Consult — Design tokens
   Earthy, grounded palette: moss green primary, warm stone
   neutrals, subtle ochre accent. Serif display over clean sans.
   ========================================================= */

:root,
[data-theme="light"] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Colors — light */
  --color-bg: oklch(0.98 0.008 85);         /* warm off-white */
  --color-surface: oklch(0.96 0.012 85);
  --color-surface-2: oklch(0.93 0.016 85);  /* muted stone */
  --color-border: oklch(0.88 0.014 85);
  --color-text: oklch(0.22 0.02 145);       /* deep forest ink */
  --color-text-muted: oklch(0.45 0.02 145);
  --color-text-soft: oklch(0.55 0.015 145);

  --color-primary: oklch(0.42 0.08 148);    /* moss green */
  --color-primary-hover: oklch(0.36 0.09 148);
  --color-primary-contrast: oklch(0.98 0.008 85);

  --color-accent: oklch(0.72 0.13 65);      /* warm ochre — accent only */
  --color-dark-surface: oklch(0.22 0.02 145);

  /* Scenery gradients */
  --ridge-a-top: oklch(0.78 0.04 148 / 0.6);
  --ridge-a-bottom: oklch(0.68 0.05 148 / 0.35);
  --ridge-b-top: oklch(0.6 0.06 148 / 0.5);
  --ridge-b-bottom: oklch(0.5 0.07 148 / 0.3);

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 145 / 0.06),
    0 1px 3px oklch(0.2 0.02 145 / 0.04);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 145 / 0.06),
    0 2px 4px oklch(0.2 0.02 145 / 0.05);
  --shadow-lg: 0 20px 40px oklch(0.2 0.02 145 / 0.1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-body: "General Sans", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-display: "Cabinet Grotesk", "General Sans", ui-sans-serif,
    system-ui, sans-serif;
}

[data-theme="dark"] {
  --color-bg: oklch(0.17 0.015 148);
  --color-surface: oklch(0.21 0.018 148);
  --color-surface-2: oklch(0.25 0.02 148);
  --color-border: oklch(0.32 0.02 148);
  --color-text: oklch(0.95 0.008 85);
  --color-text-muted: oklch(0.72 0.012 85);
  --color-text-soft: oklch(0.6 0.012 85);

  --color-primary: oklch(0.72 0.12 148);
  --color-primary-hover: oklch(0.8 0.12 148);
  --color-primary-contrast: oklch(0.17 0.015 148);

  --color-accent: oklch(0.78 0.13 65);
  --color-dark-surface: oklch(0.13 0.015 148);

  --ridge-a-top: oklch(0.32 0.05 148 / 0.7);
  --ridge-a-bottom: oklch(0.24 0.04 148 / 0.5);
  --ridge-b-top: oklch(0.24 0.04 148 / 0.7);
  --ridge-b-bottom: oklch(0.18 0.03 148 / 0.4);

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.35);
  --shadow-md: 0 6px 20px rgb(0 0 0 / 0.35);
  --shadow-lg: 0 20px 50px rgb(0 0 0 / 0.4);
}

/* Auto dark mode when no manual override */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: oklch(0.17 0.015 148);
    --color-surface: oklch(0.21 0.018 148);
    --color-surface-2: oklch(0.25 0.02 148);
    --color-border: oklch(0.32 0.02 148);
    --color-text: oklch(0.95 0.008 85);
    --color-text-muted: oklch(0.72 0.012 85);
    --color-text-soft: oklch(0.6 0.012 85);

    --color-primary: oklch(0.72 0.12 148);
    --color-primary-hover: oklch(0.8 0.12 148);
    --color-primary-contrast: oklch(0.17 0.015 148);

    --color-accent: oklch(0.78 0.13 65);
    --color-dark-surface: oklch(0.13 0.015 148);

    --ridge-a-top: oklch(0.32 0.05 148 / 0.7);
    --ridge-a-bottom: oklch(0.24 0.04 148 / 0.5);
    --ridge-b-top: oklch(0.24 0.04 148 / 0.7);
    --ridge-b-bottom: oklch(0.18 0.03 148 / 0.4);
  }
}

/* =========================================================
   Base
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  color: var(--color-text);
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
  width: min(100% - var(--space-8), 1160px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  position: relative;
}

.section--muted {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.section--dark {
  background: var(--color-dark-surface);
  color: oklch(0.95 0.008 85);
}
.section--dark h2 {
  color: oklch(0.98 0.008 85);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

.section-kicker {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}

.section-kicker--on-dark {
  color: oklch(0.78 0.13 65);
  border-bottom-color: oklch(0.4 0.02 148);
}

.section-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
  max-width: 20ch;
}

.section-title--on-dark {
  color: oklch(0.98 0.008 85);
  max-width: 16ch;
}

.section-lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-primary);
  font-weight: 600;
}

.brand-mark {
  width: 116px;
  height: auto;
  color: var(--color-text);
  display: block;
}

.brand-mark--footer {
  width: 100px;
  color: var(--color-text);
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.brand-word-primary {
  font-weight: 800;
}

.brand-word-secondary {
  font-weight: 500;
  color: var(--color-text-muted);
}

.site-nav {
  display: none;
  gap: var(--space-8);
}

.site-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.site-nav a:hover {
  color: var(--color-text);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1139px) {
  .site-header.nav-open .site-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: var(--space-2) var(--space-6) var(--space-4);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .site-header.nav-open .site-nav a {
    font-size: var(--text-base);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
  }
  .site-header.nav-open .site-nav a:last-child {
    border-bottom: 0;
  }
  .site-header.nav-open .site-nav a::after {
    display: none;
  }
}

@media (min-width: 1140px) {
  .site-nav {
    display: inline-flex;
    gap: clamp(var(--space-4), 1.6vw, var(--space-8));
  }
  .site-nav a {
    white-space: nowrap;
  }
  .menu-toggle {
    display: none;
  }
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding-top: clamp(var(--space-16), 8vw, var(--space-24));
  padding-bottom: clamp(var(--space-24), 12vw, var(--space-32));
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent) 20%, transparent);
}

.hero-title {
  font-size: var(--text-2xl);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  max-width: 20ch;
}

.accent-word {
  color: var(--color-primary);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 500;
}

.hero-lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 58ch;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  max-width: 780px;
}

@media (min-width: 640px) {
  .hero-meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero-meta-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.hero-meta-label {
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  letter-spacing: 0.02em;
}

.hero-scenery {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 240px;
  z-index: 1;
  pointer-events: none;
}

.hero-scenery svg {
  width: 100%;
  height: 100%;
}

/* =========================================================
   Pillars (What we do)
   ========================================================= */

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: clamp(var(--space-12), 6vw, var(--space-20));
}

@media (min-width: 780px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.pillar:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--color-primary) 40%, var(--color-border));
  box-shadow: var(--shadow-md);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.15;
}

.pillar-lede {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  gap: var(--space-3);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

.pillar-list li {
  padding-left: var(--space-5);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 2px;
  background: var(--color-primary);
}

/* =========================================================
   Apps grid (family of products)
   ========================================================= */

.apps-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 680px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.app-card {
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--color-primary) 40%, var(--color-border));
  box-shadow: var(--shadow-md);
}

.app-card--live {
  background: linear-gradient(
    140deg,
    color-mix(in oklab, var(--color-primary) 8%, var(--color-bg)) 0%,
    var(--color-bg) 60%
  );
  border-color: color-mix(in oklab, var(--color-primary) 30%, var(--color-border));
}

.app-card-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.app-card-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-soft);
}

.status-dot--live {
  background: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 20%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.app-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.15;
}

.app-card-tag {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 500;
  font-style: italic;
}

.app-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.app-card-actions {
  margin-top: var(--space-2);
}

.apps-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 60ch;
  margin: var(--space-6) auto 0;
}

.apps-note a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* =========================================================
   Leadership card
   ========================================================= */

.leadership-head {
  max-width: 640px;
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

.leader-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

@media (min-width: 900px) {
  .leader-card {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

.leader-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.leader-role {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
}

.leader-bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  max-width: 60ch;
}

.leader-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.leader-facts {
  list-style: none;
  padding: var(--space-6);
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
}

.leader-facts li {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-4);
  border-bottom: 1px dashed var(--color-border);
}

.leader-facts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.fact-label {
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* =========================================================
   Project header (current project) — kept for compatibility
   ========================================================= */

.project-header {
  max-width: 780px;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  margin-top: var(--space-6);
  margin-bottom: var(--space-5);
}

.project-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 20%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.project-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-3);
  max-width: 22ch;
}

.project-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 62ch;
  line-height: 1.6;
}

/* =========================================================
   Future projects grid
   ========================================================= */

.future-projects {
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  padding-top: clamp(var(--space-10), 5vw, var(--space-16));
  border-top: 1px solid var(--color-border);
}

.future-projects-head {
  max-width: 640px;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

.future-projects-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  max-width: 20ch;
}

.future-projects-lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
}

.future-projects-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 700px) {
  .future-projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.future-project {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.future-project:hover {
  border-color: color-mix(in oklab, var(--color-primary) 45%, var(--color-border));
  border-style: solid;
  background: color-mix(in oklab, var(--color-primary) 4%, var(--color-surface));
}

.future-project-status {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.future-project h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0;
}

.future-project p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* =========================================================
   Features grid (landscaping app)
   ========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: clamp(var(--space-12), 6vw, var(--space-20));
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .feature-card--wide {
    grid-column: span 2;
  }
}

.feature-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--color-primary) 40%, var(--color-border));
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--color-primary) 12%, transparent);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
}

.feature-card--wide {
  background: linear-gradient(
    140deg,
    color-mix(in oklab, var(--color-primary) 8%, var(--color-surface)) 0%,
    var(--color-surface) 60%
  );
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Callout below feature grid */
.callout {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

@media (min-width: 800px) {
  .callout {
    grid-template-columns: minmax(0, 2fr) auto;
  }
}

.callout-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.callout-body p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 60ch;
}

/* =========================================================
   Services grid
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-border);
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service {
  padding: var(--space-8) var(--space-6);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: background 0.25s ease;
}

.service:hover {
  background: var(--color-surface);
}

.service-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent);
}

.service h3 {
  font-size: var(--text-lg);
}

.service p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* =========================================================
   Approach
   ========================================================= */

.approach-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: start;
}

@media (min-width: 900px) {
  .approach-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.approach-copy p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  max-width: 62ch;
}

.approach-list {
  list-style: none;
  padding: 0;
  margin: var(--space-8) 0 0;
  display: grid;
  gap: var(--space-4);
}

.approach-list li {
  padding-left: var(--space-6);
  position: relative;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.approach-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 2px;
  background: var(--color-primary);
}

.approach-list strong {
  color: var(--color-text);
  font-weight: 600;
}

.approach-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: sticky;
  top: 96px;
}

.approach-card-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  font-family: var(--font-body);
}

.approach-dl {
  margin: 0;
  display: grid;
  gap: var(--space-4);
}

.approach-dl > div {
  padding-bottom: var(--space-4);
  border-bottom: 1px dashed var(--color-border);
  display: grid;
  gap: var(--space-1);
}

.approach-dl > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.approach-dl dt {
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.approach-dl dd {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
}

/* =========================================================
   Contact
   ========================================================= */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: end;
}

@media (min-width: 800px) {
  .contact-inner {
    grid-template-columns: minmax(0, 1.4fr) auto;
  }
}

.contact-lede {
  font-size: var(--text-base);
  color: oklch(0.85 0.012 85);
  max-width: 55ch;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

@media (min-width: 800px) {
  .contact-actions {
    align-items: flex-end;
  }
}

.contact-note {
  font-size: var(--text-xs);
  color: oklch(0.7 0.012 85);
  max-width: 24ch;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-brand .brand-mark {
  width: 92px;
  height: auto;
}

.footer-meta {
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  max-width: 60ch;
}

.footer-links {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  white-space: nowrap;
}
.footer-links a {
  color: var(--color-text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-links a:hover { color: var(--color-text); }

/* =========================================================
   Cookie consent
   ========================================================= */

.consent {
  position: fixed;
  left: 50%;
  bottom: var(--space-4);
  transform: translate(-50%, 16px);
  width: min(calc(100% - 2rem), 760px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.consent.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.consent-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.consent-text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
}
.consent-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}
@media (min-width: 720px) {
  .consent-inner {
    flex-direction: row;
    align-items: center;
  }
  .consent-actions { flex-shrink: 0; }
}

/* =========================================================
   Simple text pages (privacy)
   ========================================================= */

.text-page {
  padding-block: var(--space-12) var(--space-16);
}
.text-page .container { max-width: 760px; }
.text-page h1 { margin-bottom: var(--space-4); }
.text-page h2 { margin-top: var(--space-8); margin-bottom: var(--space-3); font-size: var(--text-xl); }
.text-page p, .text-page li { color: var(--color-text-soft); line-height: 1.65; }
.text-page ul { padding-left: 1.2rem; }
.text-page li + li { margin-top: var(--space-2); }
.text-page a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.text-page .lede { font-size: var(--text-lg); color: var(--color-text); }

/* =========================================================
   Contact form
   ========================================================= */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
  }
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .contact-form {
    padding: 2.25rem 2.5rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-body);
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
}

.form-optional {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.form-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #f4f0e6;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--font-body);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23a89b83' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px 8px;
  padding-right: 2.2rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #a89b83;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 3px rgba(168, 155, 131, 0.18);
}

.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #d97a5a;
  box-shadow: 0 0 0 3px rgba(217, 122, 90, 0.18);
}

.form-field--catch {
  background: rgba(168, 155, 131, 0.08);
  border: 1px dashed rgba(168, 155, 131, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.form-field--catch .form-label {
  color: #e8e0cf;
}

.form-field--catch input {
  max-width: 200px;
}

/* Honeypot - hide from humans, keep in DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.form-actions .contact-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  max-width: 32ch;
  margin: 0;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  min-height: 1.2em;
}

.form-status.is-error {
  color: #f0b39a;
}

.form-status a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status.is-success {
  color: #9dc9a1;
}

.form-fallback {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.form-fallback a {
  color: #d9c9a3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-fallback a:hover {
  color: #f4f0e6;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  max-width: 780px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px -18px rgba(47, 74, 46, 0.35);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 200ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: transform 200ms ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: var(--color-surface-muted);
}

.faq-item p {
  padding: 0 1.4rem 1.35rem;
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.65;
  max-width: 68ch;
}

/* =========================================================
   Motion — respect reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =========================================================
   v2: featured cyber card, cyber section, AI steps, sectors
   ========================================================= */
.pillar--feature {
  background: var(--color-dark-surface);
  border-color: transparent;
  color: oklch(0.95 0.008 85);
}
.pillar--feature h3 { color: oklch(0.98 0.008 85); }
.pillar--feature .pillar-lede,
.pillar--feature .pillar-list li { color: oklch(0.85 0.01 85); }
.pillar-link {
  margin-top: auto;
  padding-top: var(--space-3);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-accent);
  text-decoration: none;
}
.pillar-link:hover { text-decoration: underline; }

.section--cyber {
  background:
    radial-gradient(1200px 500px at 85% 0%, oklch(0.32 0.06 148 / 0.55), transparent 60%),
    var(--color-dark-surface);
  color: oklch(0.95 0.008 85);
}
.cyber-inner {
  display: grid;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: start;
}
@media (min-width: 960px) {
  .cyber-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
.cyber-lede {
  color: oklch(0.85 0.01 85);
  font-size: var(--text-base);
  line-height: 1.65;
  max-width: 60ch;
  margin-top: var(--space-4);
}
.cyber-copy .hero-actions { margin-top: var(--space-8); }
.cyber-panel {
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
}
.cyber-proof {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .cyber-proof { grid-template-columns: 1fr 1fr; } }
.cyber-proof li {
  display: flex; flex-direction: column; gap: var(--space-1);
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-accent);
}
.cyber-proof strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: oklch(0.98 0.008 85);
}
.cyber-proof span { font-size: var(--text-xs); color: oklch(0.78 0.01 85); line-height: 1.5; }
.cyber-panel-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: var(--space-8) 0 var(--space-3);
}
.cyber-services {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-2) var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .cyber-services { grid-template-columns: 1fr 1fr; } }
.cyber-services li {
  font-size: var(--text-sm);
  color: oklch(0.88 0.01 85);
  padding-left: var(--space-5);
  position: relative;
}
.cyber-services li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 2px;
  background: oklch(0.72 0.12 148);
}

.ai-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
  counter-reset: none;
}
@media (min-width: 640px) { .ai-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ai-steps { grid-template-columns: repeat(4, 1fr); } }
.ai-step {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.ai-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-primary); color: var(--color-primary-contrast);
  font-family: var(--font-display); font-weight: 700;
  margin-bottom: var(--space-2);
}
.ai-step h3 { font-family: var(--font-display); font-size: var(--text-lg); }
.ai-step p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; }

.sector-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector-grid li {
  display: flex; flex-direction: column; gap: var(--space-1);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.sector-grid strong { font-family: var(--font-display); font-size: var(--text-lg); }
.sector-grid span { color: var(--color-text-muted); font-size: var(--text-sm); }

.contact-lede a { color: var(--color-accent); font-weight: 600; }
.callout { margin-top: clamp(var(--space-8), 4vw, var(--space-12)); }
.pillars { margin-bottom: 0; }
@media (min-width: 780px) {
  .pillar--feature { grid-column: span 2; }
  .pillar--feature .pillar-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-6); }
}

.pillar--accent {
  border-color: color-mix(in oklab, var(--color-accent) 55%, var(--color-border));
  background: color-mix(in oklab, var(--color-accent) 8%, var(--color-surface));
}

/* =========================================================
   Blog
   ========================================================= */
.section-head--row {
  max-width: none;
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  align-items: end; justify-content: space-between;
}
.post-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--color-primary) 40%, var(--color-border));
  box-shadow: var(--shadow-md);
}
.post-card h3 { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.25; }
.post-card h3 a { color: var(--color-text); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; }
.post-meta {
  display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap;
  font-size: var(--text-xs); color: var(--color-text-soft);
}
.post-tag {
  display: inline-block;
  padding: 2px 10px; border-radius: 999px;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em;
  background: color-mix(in oklab, var(--color-primary) 14%, transparent);
  color: var(--color-primary);
  text-decoration: none;
}
.post-card .post-more { margin-top: auto; font-weight: 600; font-size: var(--text-sm); color: var(--color-primary); }

.blog-hero { padding-block: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-10); }
.blog-hero .hero-title { font-size: var(--text-2xl); max-width: 22ch; }
.blog-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.blog-filters button {
  font: inherit; font-size: var(--text-sm); font-weight: 600;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-muted);
}
.blog-filters button[aria-pressed="true"] { background: var(--color-primary); color: var(--color-primary-contrast); border-color: transparent; }

.article { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.article-inner { max-width: 720px; margin-inline: auto; }
.article-back { font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); text-decoration: none; }
.article h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--text-2xl); line-height: 1.1; letter-spacing: -0.02em;
  margin: var(--space-4) 0 var(--space-4);
}
.article-lede { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.5; margin-bottom: var(--space-6); }
.article .post-meta { padding-bottom: var(--space-6); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-8); }
.prose { font-size: var(--text-base); line-height: 1.75; color: var(--color-text); }
.prose > * + * { margin-top: var(--space-5); }
.prose h2 { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; margin-top: var(--space-12); }
.prose h3 { font-family: var(--font-display); font-size: var(--text-lg); margin-top: var(--space-8); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: var(--space-2); }
.prose a { color: var(--color-primary); text-underline-offset: 3px; }
.prose strong { color: var(--color-text); }
.prose blockquote {
  border-left: 3px solid var(--color-accent); padding: var(--space-2) var(--space-5);
  color: var(--color-text-muted); background: var(--color-surface); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-cta {
  margin-top: var(--space-16);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--color-dark-surface);
  color: oklch(0.95 0.008 85);
}
.article-cta h2 { font-family: var(--font-display); font-size: var(--text-lg); color: oklch(0.98 0.008 85); margin-bottom: var(--space-2); }
.article-cta p { color: oklch(0.82 0.01 85); font-size: var(--text-sm); margin-bottom: var(--space-5); }
.article-related { margin-top: var(--space-16); }
.article-related h2 { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--space-5); }

/* =========================================================
   Front-page slideshow
   ========================================================= */
.hero-show {
  position: relative;
  height: clamp(560px, 86vh, 780px);
  overflow: hidden;
  background: #142114;
  color: #fff;
  isolation: isolate;
}
.show-slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
  display: flex; align-items: center;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; }
.slide-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.08);
  z-index: -1;
}
.slide.is-active .slide-img { transform: scale(1); transition: transform 8s ease-out; }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(14, 26, 14, 0.9) 0%, rgba(14, 26, 14, 0.7) 38%, rgba(14, 26, 14, 0.15) 75%),
    linear-gradient(0deg, rgba(14, 26, 14, 0.75) 0%, rgba(14, 26, 14, 0) 35%);
}
.slide-copy { position: relative; z-index: 1; padding-top: var(--space-16); padding-bottom: var(--space-24); }
.slide-copy > * { max-width: 620px; }
.slide-copy > .slide-title { max-width: 780px; }
.slide-tag {
  display: inline-block;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #1b1405; background: var(--color-accent);
  padding: 6px 12px; border-radius: 999px; margin-bottom: var(--space-5);
}
.slide-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.02em;
  margin-bottom: var(--space-5); color: #fff;
}
.slide-text {
  font-size: var(--text-lg); line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: var(--space-8); max-width: 52ch;
}
.slide.is-active .slide-tag,
.slide.is-active .slide-title,
.slide.is-active .slide-text,
.slide.is-active .hero-actions { animation: slideUp 0.8s cubic-bezier(.2,.7,.2,1) both; }
.slide.is-active .slide-title { animation-delay: 0.08s; }
.slide.is-active .slide-text { animation-delay: 0.16s; }
.slide.is-active .hero-actions { animation-delay: 0.24s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.btn-on-dark { background: var(--color-accent); color: #1b1405; border-color: transparent; }
.btn-on-dark:hover { background: color-mix(in oklab, var(--color-accent) 85%, white); color: #1b1405; }
.btn-glass {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.show-top { position: absolute; top: var(--space-6); left: 0; right: 0; z-index: 2; pointer-events: none; }
.show-h1 {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85);
  margin: 0;
}
.show-h1 .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); flex: none; }

.show-nav {
  position: absolute; left: 0; right: 0; bottom: var(--space-6); z-index: 2;
  display: flex; align-items: end; justify-content: space-between; gap: var(--space-4);
}
.show-dots { display: flex; gap: var(--space-2); flex: 1; max-width: 860px; }
.show-dot {
  flex: 1; min-width: 0; background: none; border: 0; padding: var(--space-2) 0 0;
  color: rgba(255,255,255,0.6); text-align: left; cursor: pointer;
  font: 500 var(--text-xs)/1.2 var(--font-body);
}
.show-dot span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
.show-dot i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.25); overflow: hidden; position: relative; }
.show-dot i::after { content: ""; position: absolute; inset: 0; background: var(--color-accent); transform: scaleX(0); transform-origin: left; }
.show-dot.is-active { color: #fff; }
.show-dot.is-active i::after { animation: dotFill var(--show-ms, 6500ms) linear forwards; }
.hero-show.is-paused .show-dot.is-active i::after { animation-play-state: paused; }
.show-dot:hover { color: #fff; }
@keyframes dotFill { to { transform: scaleX(1); } }
.show-arrows { display: flex; gap: var(--space-2); }
.show-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.show-btn:hover { background: rgba(255,255,255,0.2); }
.show-btn:focus-visible, .show-dot:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

@media (max-width: 720px) {
  .hero-show { height: clamp(600px, 92svh, 720px); }
  .slide { align-items: flex-end; }
  .slide::before { background: linear-gradient(0deg, rgba(14,26,14,0.95) 0%, rgba(14,26,14,0.75) 50%, rgba(14,26,14,0.25) 100%); }
  .slide-copy { padding-bottom: 110px; }
  .slide-text { font-size: var(--text-base); }
  .show-dot span { display: none; }
  .show-arrows .show-btn[data-prev], .show-arrows .show-btn[data-next] { display: none; }
}

/* Trust bar */
.trust-bar { background: var(--color-primary); color: #fff; }
.trust-list {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-6); padding-block: var(--space-6); margin: 0 auto;
}
.trust-list li { display: flex; flex-direction: column; gap: 2px; padding-left: var(--space-4); border-left: 2px solid var(--color-accent); }
.trust-list strong { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; }
.trust-list span { font-size: var(--text-xs); color: rgba(255,255,255,0.78); }
@media (min-width: 760px) { .trust-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .trust-list { grid-template-columns: repeat(5, 1fr); } }

/* Problem cards marquee */
.help-section { overflow: hidden; }
.help-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.help-track {
  list-style: none; display: flex; gap: var(--space-5); width: max-content;
  padding: var(--space-2) 0 var(--space-6); margin: 0;
  animation: marquee 70s linear infinite;
}
.help-marquee:hover .help-track, .help-marquee:focus-within .help-track, .help-marquee.is-paused .help-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--space-5) / 2)); } }
.help-card {
  width: 320px; flex: none; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.help-card img { width: 100%; height: 190px; max-width: none; object-fit: cover; display: block; }
.help-card-body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.help-q { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.2; color: var(--color-text); }
.help-a { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }
.help-link { font-weight: 600; font-size: var(--text-sm); color: var(--color-primary); margin-top: var(--space-2); }
.help-link:hover { text-decoration: underline; }

.steps-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); margin-top: var(--space-10); }
.steps-mini { list-style: none; display: grid; gap: var(--space-5); grid-template-columns: 1fr; margin: 0; padding: 0; flex: 1; }
@media (min-width: 900px) { .steps-mini { grid-template-columns: repeat(3, 1fr); } }
.steps-mini li { display: flex; gap: var(--space-4); align-items: flex-start; }
.steps-mini li > span {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.steps-mini strong { display: block; font-family: var(--font-display); font-size: var(--text-base); }
.steps-mini p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 2px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide-img { transition: none !important; }
  .slide.is-active .slide-img { transform: none; }
  .slide.is-active * { animation: none !important; }
  .help-track { animation: none; }
  .help-marquee { overflow-x: auto; scroll-snap-type: x mandatory; }
  .help-card { scroll-snap-align: start; }
  .help-card[aria-hidden="true"] { display: none; }
}

/* Leader photo */
.leader-photo {
  margin: 0;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.leader-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
@media (min-width: 640px) and (max-width: 1099px) {
  .leader-card--photo { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: start; }
  .leader-card--photo .leader-facts { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .leader-card--photo { grid-template-columns: 260px minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
  .leader-photo { align-self: start; }
}

/* =========================================================
   Guided contact form
   ========================================================= */
.contact-form--guided { gap: 1.25rem; }
.form-progress { display: flex; gap: 6px; }
.form-progress-step {
  flex: 1; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.45); padding-top: 10px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.form-progress-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.15); }
.form-progress-step.is-active { color: #fff; }
.form-progress-step.is-active::before, .form-progress-step.is-done::before { background: var(--color-accent); }
.form-progress-step.is-done { color: rgba(255,255,255,0.75); }

.form-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step.is-active { display: flex; flex-direction: column; gap: 1.1rem; animation: slideUp 0.35s ease both; }
.form-step-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: #fff; padding: 0; margin-bottom: 0.25rem; }

.choice-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice > span {
  display: flex; flex-direction: column; gap: 2px; min-height: 100%;
  padding: 0.85rem 1rem; border-radius: var(--radius-md);
  background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.16);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.choice strong { font-size: 0.95rem; color: #fff; }
.choice small { font-size: var(--text-xs); color: rgba(255,255,255,0.6); }
.choice:hover > span { border-color: rgba(255,255,255,0.4); }
.choice input:checked + span { border-color: var(--color-accent); background: color-mix(in oklab, var(--color-accent) 18%, rgba(0,0,0,0.25)); }
.choice input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.form-q { display: flex; flex-direction: column; gap: 0.5rem; }
.form-q[hidden] { display: none; }
.form-q .form-label + .chip-group { margin-bottom: 0.4rem; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip > span {
  display: inline-block; padding: 0.45rem 0.85rem; border-radius: 999px; font-size: var(--text-sm); font-weight: 500;
  color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.18);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.chip:hover > span { border-color: rgba(255,255,255,0.45); }
.chip input:checked + span { background: var(--color-accent); border-color: var(--color-accent); color: #1b1405; }
.chip--urgent input:checked + span { background: #d9534f; border-color: #d9534f; color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.contact-form input[type="tel"] {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem; color: #f4f0e6;
  background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-sm); padding: 0.7rem 0.85rem;
}
.contact-form input[type="tel"]:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent) 30%, transparent); }

.form-nav { display: flex; gap: 10px; justify-content: flex-end; align-items: center; margin-top: 0.25rem; }
.form-nav--final { justify-content: space-between; }
.btn-on-dark-ghost { color: #fff; border-color: rgba(255,255,255,0.35); background: transparent; }
.btn-on-dark-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.contact-form--guided .contact-note { margin: 0; }

/* =========================================================
   Free tools
   ========================================================= */
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 700px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tool-grid { grid-template-columns: repeat(4, 1fr); } }
.tool-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.tool-card-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: var(--radius-md); background: color-mix(in oklab, var(--color-primary) 10%, var(--color-surface)); color: var(--color-primary); }
.tool-card h3 { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.25; }
.tool-card h3 a { color: var(--color-text); text-decoration: none; }
.tool-card h3 a::after { content: ""; position: absolute; inset: 0; }
.tool-card p { color: var(--color-text-muted); font-size: var(--text-sm); flex: 1; }

.tool-hero { padding: calc(var(--space-9) + 72px) 0 var(--space-7); background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.tool-hero .container { max-width: 820px; }
.tool-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin: var(--space-3) 0; }
.tool-hero .section-lede { margin: 0 0 var(--space-6); }
.tool-form { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 560px) { .tool-form { flex-direction: row; } }
.tool-form input {
  flex: 1; font-family: var(--font-body); font-size: 1.05rem; padding: 0.85rem 1rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); background: var(--color-bg); color: var(--color-text); min-width: 0;
}
.tool-form input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 25%, transparent); }
.tool-form .btn { white-space: nowrap; }
.tool-small { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-3); }

.tool-result { margin-top: var(--space-6); }
.tool-result:empty { display: none; }
.tool-wait, .tool-error { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--color-bg); border: 1px solid var(--color-border); }
.tool-error { border-color: #d9534f; background: color-mix(in oklab, #d9534f 8%, var(--color-surface)); }
.tool-grade { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-bg); }
.tool-grade > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tool-grade > div strong { font-size: var(--text-lg); overflow-wrap: anywhere; }
.tool-grade > div span { color: var(--color-text-muted); font-size: var(--text-sm); }
.tool-grade-letter { flex: none; width: 64px; height: 64px; border-radius: var(--radius-md); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #fff; background: var(--color-text-muted); }
.tool-grade.is-good .tool-grade-letter { background: var(--color-primary); }
.tool-grade.is-ok .tool-grade-letter { background: var(--color-accent); color: #1b1405; }
.tool-grade.is-bad .tool-grade-letter { background: #c0392b; }
.tool-verdict { font-size: var(--text-lg); line-height: 1.5; margin: var(--space-5) 0 var(--space-4); }
.tool-result h3 { font-family: var(--font-display); font-size: var(--text-md); margin: var(--space-5) 0 var(--space-3); }
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tool-list li { display: grid; gap: 3px; padding: var(--space-4) var(--space-5); padding-left: calc(var(--space-5) + 14px); border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface); position: relative; }
.tool-list li::before { content: ""; position: absolute; left: var(--space-4); top: 1.2rem; width: 8px; height: 8px; border-radius: 50%; background: var(--color-text-muted); }
.tool-list li span { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.55; }
.tool-list--bad li::before, .tool-list li.is-bad::before { background: #c0392b; }
.tool-list--good li::before, .tool-list li.is-good::before { background: var(--color-primary); }
.tool-list li.is-ok::before { background: var(--color-accent); }
.tool-list li.is-warn::before { background: #e08a1e; }
.tool-passes { margin-top: var(--space-4); }
.tool-passes summary { cursor: pointer; color: var(--color-text-muted); font-size: var(--text-sm); }
.tool-passes ul { margin-top: var(--space-3); }
.tool-foot { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-5); line-height: 1.6; }
.tool-cta { margin-top: var(--space-5); display: flex; gap: var(--space-3); flex-wrap: wrap; }

.bb-bars { display: grid; gap: var(--space-4); margin: var(--space-4) 0 var(--space-5); }
.bb-bar-head { display: flex; justify-content: space-between; font-size: var(--text-sm); margin-bottom: 6px; }
.bb-bar-track { height: 10px; border-radius: 10px; background: var(--color-border); overflow: hidden; }
.bb-bar-track i { display: block; height: 100%; border-radius: 10px; background: var(--color-primary); transition: width .6s ease; }
.bb-bar.is-ok .bb-bar-track i { background: var(--color-accent); }
.bb-bar.is-warn .bb-bar-track i { background: #e08a1e; }
.bb-bar.is-bad .bb-bar-track i { background: #c0392b; }
.bb-bar small { display: block; margin-top: 5px; color: var(--color-text-muted); font-size: var(--text-xs); }

.quiz-q { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); margin: 0 0 var(--space-4); background: var(--color-surface); }
.quiz-q legend { float: left; width: 100%; padding: 0; margin-bottom: var(--space-3); line-height: 1.5; }
.quiz-q legend + * { clear: both; }
.quiz-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: var(--text-xs); font-weight: 700; margin-right: 8px; }
.chip--light > span { color: var(--color-text); background: var(--color-bg); border-color: var(--color-border); }
.chip--light input:checked + span { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.tool-body { padding: var(--space-8) 0; }
.tool-body .container { max-width: 820px; }
.tool-explain h2 { font-family: var(--font-display); font-size: var(--text-xl); margin: var(--space-7) 0 var(--space-3); }
.tool-explain p, .tool-explain li { color: var(--color-text-muted); line-height: 1.65; }
.tool-explain p { margin-bottom: var(--space-3); }
.tool-explain ul { padding-left: 1.2rem; display: grid; gap: 6px; }
.tool-explain .faq-item { margin-bottom: var(--space-3); }
.tool-nav { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-7); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 559px) {
  .form-progress-step { white-space: normal; font-size: 0.65rem; line-height: 1.25; }
}

.section--flush { padding-top: 0; }
.container--narrow { max-width: 820px; }
.tool-wrap { margin-top: var(--space-6); }
.tool-cta--spaced { margin-top: var(--space-7); }
.tool-foot--narrow { max-width: 70ch; }

.form-step-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); color: rgba(255,255,255,0.6); margin-top: 4px; }
.choice input:checked + span::after { content: "\2713"; position: absolute; top: 10px; right: 12px; font-size: 0.8rem; font-weight: 700; color: var(--color-accent); }
.choice > span { position: relative; }

/* =========================================================
   KPW Creative page
   ========================================================= */

.creative-hero {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) clamp(var(--space-12), 6vw, var(--space-20));
  background: var(--color-bg);
}
.creative-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
.creative-hero .hero-title { font-size: var(--text-2xl); max-width: 16ch; }
.creative-hero .hero-lede { max-width: 56ch; }
.creative-hero-note { margin-top: var(--space-5); font-size: var(--text-xs); color: var(--color-text-muted); }
.creative-hero-media, .creative-split-media { margin: 0; }
.creative-hero-media img, .creative-split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
@media (min-width: 960px) {
  .creative-hero-inner { grid-template-columns: 1.05fr 1fr; gap: var(--space-16); }
}

@media (min-width: 960px) {
  .feature-grid--three { grid-template-columns: repeat(3, 1fr); }
}
.feature-card p strong { color: var(--color-text); }

.media-band {
  position: relative;
  min-height: clamp(480px, 60vh, 640px);
  display: flex;
  align-items: flex-end;
  color: oklch(0.97 0.008 85);
  overflow: hidden;
  isolation: isolate;
}
.media-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.media-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 18, 12, 0) 40%, rgba(10, 18, 12, 0.55) 100%),
    linear-gradient(90deg, rgba(10, 18, 12, 0.8) 0%, rgba(10, 18, 12, 0.5) 50%, rgba(10, 18, 12, 0.1) 100%);
}
@media (max-width: 959px) {
  .media-band::before {
    background: linear-gradient(180deg, rgba(10, 18, 12, 0.55) 0%, rgba(10, 18, 12, 0.72) 100%);
  }
}
.media-band-copy {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-12), 6vw, var(--space-20));
}
.media-band-copy > * { max-width: 620px; }
.media-band-copy h2 {
  color: oklch(0.98 0.008 85);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: var(--space-3) 0 var(--space-4);
}
.media-band-copy p { font-size: var(--text-base); line-height: 1.6; color: rgba(255, 255, 255, 0.85); margin-bottom: var(--space-6); }

.creative-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 960px) {
  .creative-split { grid-template-columns: 1fr 1.05fr; gap: var(--space-16); }
}
.check-list {
  list-style: none;
  margin: var(--space-6) 0 var(--space-8);
  padding: 0;
  display: grid;
  gap: var(--space-4);
}
.check-list li {
  position: relative;
  padding-left: 2rem;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
}
.check-list li strong { color: var(--color-text); }
.check-list li a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--color-primary) 14%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f4a2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}

.creative-cta { text-align: left; }
.creative-cta .section-title { max-width: 22ch; }
.creative-cta p { max-width: 56ch; color: rgba(255, 255, 255, 0.8); margin: var(--space-4) 0 var(--space-8); }
