/* ── ACTIVATE CONSULTING — Design System CSS ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Space+Grotesk:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --green: #C4FF47;
  --orange: #FF5020;
  --blue: #1B4DFF;
  --black: #0D0D0C;
  --white: #F5F5ED;
  --gray: #7A7A72;
  --gray-light: #E8E8E0;
  --gray-dark: #1e1e1c;
  --fs-display: clamp(56px, 7vw, 112px);
  --fs-h1: clamp(36px, 4.5vw, 72px);
  --fs-h2: clamp(28px, 3vw, 48px);
  --fs-h3: clamp(20px, 2vw, 28px);
  --fs-body: clamp(15px, 1.1vw, 18px);
  --fs-label: clamp(10px, 0.75vw, 13px);
  --max-w: 1280px;
  --pad: clamp(24px, 5vw, 80px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img, iframe, video { max-width: 100%; }

/* ── NAV ── */
.ac-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  display: flex; align-items: center;
  padding: 0 var(--pad);
  background: rgba(13,13,12,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-dark);
}
.ac-nav-inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.ac-nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.ac-nav-logo-name {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 18px; letter-spacing: -0.01em; color: var(--white);
}
.ac-nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.ac-nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #999; text-decoration: none; transition: color 0.15s;
}
.ac-nav-links a:hover, .ac-nav-links a.active { color: var(--white); }
.ac-nav-right { display: flex; align-items: center; gap: 16px; }
.ac-lang-toggle {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; color: #666; background: none;
  border: 1px solid #333; padding: 6px 12px; cursor: pointer;
  transition: all 0.15s;
}
.ac-lang-toggle:hover { color: var(--white); border-color: #666; }
.ac-nav-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--black); background: var(--green);
  padding: 10px 20px; text-decoration: none;
  display: inline-block; transition: opacity 0.15s;
}
.ac-nav-cta:hover { opacity: 0.85; }
.ac-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 110;
}
.ac-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}
.ac-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ac-hamburger.active span:nth-child(2) { opacity: 0; }
.ac-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer — desktop hides it. The element also carries a `hidden`
   HTML attribute so it stays hidden if the stylesheet hasn't loaded yet. */
.ac-mobile-menu { display: none; }
.ac-mobile-menu[hidden] { display: none !important; }

/* ── UTILS ── */
.ac-container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.ac-label {
  font-family: 'Space Mono', monospace;
  font-size: var(--fs-label); letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green);
  display: flex; align-items: center; gap: 12px;
}
.ac-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--green); }
.ac-label.dark { color: var(--gray); }
.ac-label.dark::before { background: var(--gray); }
.ac-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--black); background: var(--green);
  padding: 16px 32px; border: none; cursor: pointer;
  text-decoration: none; transition: opacity 0.15s;
}
.ac-btn:hover { opacity: 0.85; }
.ac-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #aaa; background: none;
  border: 1px solid #444; padding: 16px 32px;
  cursor: pointer; text-decoration: none; transition: all 0.15s;
}
.ac-btn-ghost:hover { color: var(--white); border-color: #888; }
.ac-btn-ghost.dark { color: var(--gray); border-color: var(--gray-light); }
.ac-btn-ghost.dark:hover { color: var(--black); border-color: var(--black); }

/* ── SECTION BASE ── */
.ac-section { padding: 120px var(--pad); }

/* ── PAGE HERO (shared) ── */
.ac-page-hero {
  background: var(--black);
  padding: 160px var(--pad) 80px;
}
.ac-page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.ac-page-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: var(--fs-display); letter-spacing: -0.04em;
  color: var(--white); line-height: 0.92; margin-top: 24px;
  text-transform: uppercase;
  overflow-wrap: break-word; word-break: break-word; hyphens: auto;
}
.ac-page-title .acc { color: var(--green); }
.ac-page-sub {
  font-size: clamp(17px, 1.5vw, 22px); color: #aaa;
  max-width: 560px; line-height: 1.65; margin-top: 32px;
}

/* ── INSIGHTS / BLOG LIST ── */
.insights-filter-bar {
  background: var(--black);
  border-bottom: 1px solid #1e1e1c;
  padding: 0 var(--pad);
  position: sticky; top: 72px; z-index: 50;
}
.insights-filter-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; gap: 0; align-items: stretch;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.insights-filter-inner::-webkit-scrollbar { display: none; }
.insights-filter-tab {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #555; background: none; border: none;
  padding: 20px 28px; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap; flex-shrink: 0;
}
.insights-filter-tab:hover { color: #aaa; }
.insights-filter-tab.active { color: var(--green); border-bottom-color: var(--green); }

/* featured video */
.insights-featured { background: var(--black); padding: 80px var(--pad) 60px; }
.insights-featured-inner { max-width: var(--max-w); margin: 0 auto; }
.insights-section-label {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #444; margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.insights-section-label::before { content: ''; display: block; width: 28px; height: 1px; background: #444; }
.fvc {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #111; border: 1px solid #1e1e1c; overflow: hidden;
}
.fvc-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; }
.fvc-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.fvc-content { padding: 48px 44px; display: flex; flex-direction: column; justify-content: space-between; }
.fvc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--black); background: var(--green);
  padding: 5px 12px; align-self: flex-start; margin-bottom: 20px;
}
.fvc-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(20px, 2.5vw, 32px); letter-spacing: -0.02em;
  color: var(--white); line-height: 1.15; margin-bottom: 16px;
}
.fvc-desc { font-size: 15px; line-height: 1.7; color: #666; margin-bottom: 32px; flex: 1; }
.fvc-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid #1e1e1c; flex-wrap: wrap; gap: 12px;
}
.fvc-dur { font-family: 'Space Mono', monospace; font-size: 11px; color: #555; }
.fvc-link {
  font-family: 'Space Grotesk', sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: gap 0.15s;
}
.fvc-link:hover { gap: 14px; }

/* content grid */
.insights-grid-section { background: var(--white); padding: 80px var(--pad) 120px; }
.insights-grid-inner { max-width: var(--max-w); margin: 0 auto; }
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--gray-light);
}
.cc {
  display: flex; flex-direction: column;
  padding: 36px 32px; text-decoration: none;
  position: relative; overflow: hidden; transition: background 0.15s;
}
.cc[data-type="article"] { background: var(--white); }
.cc[data-type="video"] { background: var(--black); }
.cc[data-type="article"]:hover { background: #f0f0e8; }
.cc[data-type="video"]:hover { background: #161614; }
.cc-thumb { position: relative; margin-bottom: 20px; background: #000; aspect-ratio: 16/9; overflow: hidden; }
.cc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.45); transition: background 0.15s; }
.cc:hover .cc-play { background: rgba(0,0,0,0.25); }
.cc-play-btn { width: 44px; height: 44px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cc-play-btn::after { content: ''; border-style: solid; border-width: 7px 0 7px 14px; border-color: transparent transparent transparent var(--black); margin-left: 2px; }
.cc-type {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.cc[data-type="article"] .cc-type { color: var(--gray); }
.cc[data-type="video"] .cc-type { color: var(--green); }
.cc-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.cc[data-type="article"] .cc-dot { background: var(--gray-light); }
.cc[data-type="video"] .cc-dot { background: var(--green); }
.cc-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -0.01em;
  line-height: 1.2; margin-bottom: 12px; flex: 1;
}
.cc[data-type="article"] .cc-title { color: var(--black); }
.cc[data-type="video"] .cc-title { color: var(--white); }
.cc-excerpt { font-size: 14px; line-height: 1.65; margin-bottom: 24px; }
.cc[data-type="article"] .cc-excerpt { color: var(--gray); }
.cc[data-type="video"] .cc-excerpt { color: #666; }
.cc-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.cc[data-type="article"] .cc-meta { border-top: 1px solid var(--gray-light); }
.cc[data-type="video"] .cc-meta { border-top: 1px solid #1e1e1c; }
.cc-date { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.08em; }
.cc[data-type="article"] .cc-date { color: #bbb; }
.cc[data-type="video"] .cc-date { color: #444; }
.cc-arrow { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; transition: gap 0.15s; }
.cc[data-type="article"] .cc-arrow { color: var(--black); }
.cc[data-type="video"] .cc-arrow { color: var(--green); }
.cc:hover .cc-arrow { gap: 10px; }
.cc.hidden { display: none; }

/* newsletter */
.ac-newsletter { background: var(--green); padding: 80px var(--pad); }
.ac-newsletter-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.nl-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 44px); letter-spacing: -0.02em; color: var(--black); line-height: 1.05; }
.nl-sub { font-size: 16px; color: rgba(0,0,0,0.5); margin-top: 8px; }
.nl-form { display: flex; gap: 0; flex-wrap: wrap; }
.nl-input { font-family: 'Space Grotesk', sans-serif; font-size: 15px; padding: 16px 20px; border: none; outline: none; background: rgba(0,0,0,0.12); color: var(--black); min-width: 280px; flex: 1; }
.nl-input::placeholder { color: rgba(0,0,0,0.4); }
.nl-submit { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: var(--black); color: var(--green); border: none; padding: 16px 28px; cursor: pointer; white-space: nowrap; }

/* ── BLOG SINGLE ── */
.post-hero { background: var(--black); padding: 160px var(--pad) 80px; }
.post-hero-inner { max-width: 860px; margin: 0 auto; }
.post-meta-top { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.post-cat { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--black); background: var(--green); padding: 5px 12px; }
.post-date-label { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: #555; }
.post-read-time { font-family: 'Space Mono', monospace; font-size: 11px; color: #444; }
.post-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.03em; line-height: 1.0; color: var(--white); margin-bottom: 28px; }
.post-title .acc { color: var(--green); }
.post-excerpt { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.65; color: #888; max-width: 640px; }

.post-cover-band { background: var(--black); padding: 0 var(--pad); }
.post-cover-inner { max-width: 860px; margin: 0 auto; border-top: 1px solid #1e1e1c; }
.post-cover { background: #111; border: 1px solid #1e1e1c; overflow: hidden; }
.post-cover img { width: 100%; display: block; }

.post-body-section { background: var(--white); padding: 80px var(--pad) 120px; }
.post-body-inner { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1fr 200px; gap: 80px; align-items: start; }
.post-content { min-width: 0; }
.post-content h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(22px, 2.5vw, 32px); letter-spacing: -0.02em; color: var(--black); margin: 56px 0 20px; line-height: 1.15; }
.post-content h2:first-child { margin-top: 0; }
.post-content h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.01em; color: var(--black); margin: 40px 0 14px; }
.post-content p { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.8; color: #333; margin-bottom: 24px; }
.post-content ul, .post-content ol { margin: 0 0 24px 0; padding-left: 0; list-style: none; }
.post-content ul li, .post-content ol li { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.75; color: #333; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--gray-light); position: relative; }
.post-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.post-content ol { counter-reset: ol-counter; }
.post-content ol li::before { content: counter(ol-counter, decimal-leading-zero); counter-increment: ol-counter; position: absolute; left: 0; font-family: 'Space Mono', monospace; font-size: 11px; color: var(--green); top: 14px; }
.post-content blockquote { border-left: 3px solid var(--green); padding: 20px 28px; background: #f5f5ed; margin: 40px 0; }
.post-content blockquote p { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.4; color: var(--black); margin: 0; }
.post-content strong { font-weight: 700; color: var(--black); }
.post-content a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--green); }

.post-sidebar { position: sticky; top: 100px; }
.sidebar-toc { border: 1px solid var(--gray-light); padding: 24px; }
.sidebar-toc-label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-bottom: 20px; }
.sidebar-toc-links { display: flex; flex-direction: column; gap: 12px; }
.sidebar-toc-links a { font-family: 'Space Grotesk', sans-serif; font-size: 13px; color: var(--gray); text-decoration: none; line-height: 1.4; transition: color 0.15s; padding-left: 12px; border-left: 2px solid transparent; }
.sidebar-toc-links a:hover { color: var(--black); border-left-color: var(--green); }
.share-block { margin-top: 24px; }
.share-label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.share-links { display: flex; flex-direction: column; gap: 8px; }
.share-link { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 500; color: var(--gray); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.15s; }
.share-link:hover { color: var(--black); }
.share-link::before { content: '↗'; font-size: 11px; }

.post-author-section { background: var(--white); border-top: 1px solid var(--gray-light); padding: 60px var(--pad); }
.post-author-inner { max-width: 860px; margin: 0 auto; display: flex; gap: 32px; align-items: flex-start; }
.author-avatar { width: 64px; height: 64px; flex-shrink: 0; background: var(--black); display: flex; align-items: center; justify-content: center; }
.author-initials { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; color: var(--green); }
.author-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; color: var(--black); margin-bottom: 4px; }
.author-role { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; }
.author-bio { font-size: 15px; line-height: 1.65; color: var(--gray); }

.post-cta-band { background: var(--green); padding: 80px var(--pad); }
.post-cta-inner { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.post-cta-label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(0,0,0,0.5); margin-bottom: 12px; }
.post-cta-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.02em; color: var(--black); line-height: 1.1; }

/* ── VIDEO SINGLE ── */
.video-hero { background: var(--black); padding: 140px var(--pad) 60px; }
.video-hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.video-embed-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; }
.video-embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-info {}
.video-cat { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.video-cat::before { content: '▶'; }
.video-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 44px); letter-spacing: -0.03em; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.video-desc { font-size: 16px; line-height: 1.75; color: #888; margin-bottom: 32px; }
.video-meta { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #1e1e1c; }
.video-meta-item { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: #555; }

/* ── CV ── */
.cv-hero { background: var(--black); padding: 140px var(--pad) 80px; }
.cv-hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.cv-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(48px, 7vw, 100px); letter-spacing: -0.05em; line-height: 0.88; color: var(--white); text-transform: uppercase; margin-top: 20px; }
.cv-name .acc { color: var(--green); }
.cv-role { font-size: clamp(16px, 1.4vw, 20px); color: #888; margin-top: 20px; line-height: 1.5; }
.cv-hero-right { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.cv-dl-btn { display: inline-flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--black); background: var(--green); padding: 16px 28px; border: none; cursor: pointer; text-decoration: none; transition: opacity 0.15s; }
.cv-dl-btn:hover { opacity: 0.85; }
.cv-contact-links { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.cv-contact-link { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: #555; text-decoration: none; transition: color 0.15s; }
.cv-contact-link:hover { color: var(--green); }

.cv-profile { background: var(--white); padding: 80px var(--pad); border-bottom: 1px solid var(--gray-light); }
.cv-profile-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: start; }
.cv-profile-text p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.8; color: #333; margin-bottom: 20px; }
.cv-profile-text strong { color: var(--black); font-weight: 600; }
.cv-sidebar-label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.cv-sidebar-block { margin-bottom: 32px; }
.cv-sidebar-items { display: flex; flex-direction: column; gap: 8px; }
.cv-sidebar-item { font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: #333; display: flex; align-items: center; gap: 10px; }
.cv-sidebar-item::before { content: ''; width: 6px; height: 6px; background: var(--green); flex-shrink: 0; }
.cv-sidebar-item a { color: #333; text-decoration: none; transition: color 0.15s; }
.cv-sidebar-item a:hover { color: var(--black); }

.cv-section { padding: 80px var(--pad); }
.cv-section.dark { background: var(--black); }
.cv-section.light { background: var(--white); }
.cv-section-inner { max-width: var(--max-w); margin: 0 auto; }
.cv-section-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1.05; margin-top: 16px; margin-bottom: 48px; }
.cv-section.dark .cv-section-title { color: var(--white); }
.cv-section.light .cv-section-title { color: var(--black); }

.cv-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #1e1e1c; }
.cv-service-item { background: #111; padding: 36px 32px; }
.cv-si-num { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.cv-si-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--white); margin-bottom: 12px; line-height: 1.2; }
.cv-si-desc { font-size: 14px; line-height: 1.65; color: #666; }

.exp-timeline { margin-top: 0; display: flex; flex-direction: column; gap: 0; }

/* Each experience is a clearly bounded card-like row. Generous padding and a
   solid divider make the page scannable — readers can find the right role
   at a glance instead of scanning prose. */
.exp-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 56px 0;
  border-top: 2px solid var(--black);
  position: relative;
  transition: background 0.15s ease;
}
.exp-item:first-of-type { border-top: 3px solid var(--black); }
.exp-item:last-of-type  { border-bottom: 2px solid var(--black); }
.exp-item:hover { background: rgba(196, 255, 71, 0.06); }

/* "Current role" gets a subtle acid-green left rail so it stands out. */
.exp-item:has(.exp-current) {
  border-left: 3px solid var(--green);
  padding-left: 28px;
  margin-left: -28px;
}

.exp-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Company logo: a clean 56px-tall container that holds whatever asset is
   available (svg, png) without distorting it. Falls back gracefully when
   no logo is set on the role. */
.exp-logo {
  width: auto;
  max-width: 140px;
  height: 56px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}
.exp-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.exp-period {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.4;
  font-weight: 700;
}
.exp-current {
  display: inline-block;
  background: var(--green);
  color: var(--black);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: 1px;
}
.exp-company {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.exp-location {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--gray);
  margin-top: 2px;
}
.exp-role {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.1;
}
.exp-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 18px;
}
.exp-desc p { margin: 0 0 12px 0; }
.exp-desc p:last-child { margin-bottom: 0; }
.exp-desc strong { color: var(--black); font-weight: 600; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 4px 10px;
  background: transparent;
}

/* Mobile: stack the columns, drop the heavy left rail. */
@media (max-width: 720px) {
  .exp-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0;
  }
  .exp-item:has(.exp-current) {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    border-top-color: var(--green);
  }
  .exp-logo { height: 44px; margin-bottom: 8px; }
  .exp-company { font-size: 19px; }
  .exp-role { font-size: 22px; }
}

.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #1e1e1c; }
.skills-group { background: #111; padding: 36px 32px; }
.sg-title { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 24px; }
.sg-items { display: flex; flex-direction: column; gap: 14px; }
.sg-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sg-name { font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: #aaa; }
.sg-dots { display: flex; gap: 4px; flex-shrink: 0; }
.sg-dot { width: 7px; height: 7px; }
.sg-dot.on { background: var(--green); }
.sg-dot.off { background: #2a2a27; }

.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--gray-light); }
.edu-item { background: var(--white); padding: 36px 32px; }
.edu-year { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.edu-degree { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; color: var(--black); margin-bottom: 4px; }
.edu-school { font-size: 14px; color: var(--gray); }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--gray-light); margin-top: 32px; }
.cert-item { background: var(--white); padding: 24px; }
.cert-year { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--green); margin-bottom: 8px; }
.cert-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: var(--black); line-height: 1.3; }

.cv-cta { background: var(--green); padding: 80px var(--pad); }
.cv-cta-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cv-cta-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(24px, 3.5vw, 52px); letter-spacing: -0.03em; color: var(--black); line-height: 1.0; }
.cv-cta-sub { font-size: 16px; color: rgba(0,0,0,0.5); margin-top: 8px; }

/* ── FOOTER ── */
.ac-footer { background: var(--black); padding: 80px var(--pad) 48px; border-top: 1px solid var(--gray-dark); }
.ac-footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.ac-footer-brand-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--white); }
.ac-footer-tagline { font-family: 'Space Grotesk', sans-serif; font-size: 15px; line-height: 1.6; color: #888; max-width: 300px; margin-top: 8px; }
.ac-footer-col h4 { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #555; margin-bottom: 20px; }
.ac-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ac-footer-col ul a { font-family: 'Space Grotesk', sans-serif; font-size: 15px; color: #888; text-decoration: none; transition: color 0.15s; }
.ac-footer-col ul a:hover { color: var(--white); }
.ac-footer-bottom { max-width: var(--max-w); margin: 60px auto 0; padding-top: 32px; border-top: 1px solid #1e1e1c; display: flex; justify-content: space-between; align-items: center; }
.ac-footer-bottom p { font-family: 'Space Mono', monospace; font-size: 11px; color: #444; letter-spacing: 0.08em; }
.ac-footer-bottom a { color: #444; text-decoration: none; }

/* ── MODAL ── */
.ac-modal-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.ac-modal-overlay.active { display: flex; }
.ac-modal { background: var(--black); border: 1px solid #1e1e1c; max-width: 680px; width: calc(100% - 48px); max-height: 90vh; overflow-y: auto; position: relative; }
.ac-modal-header { padding: 24px 28px; border-bottom: 1px solid #1e1e1c; display: flex; align-items: center; justify-content: space-between; }
.ac-modal-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; color: var(--white); }
.ac-modal-close { background: none; border: none; color: #555; font-size: 24px; cursor: pointer; line-height: 1; padding: 4px; transition: color 0.15s; }
.ac-modal-close:hover { color: var(--white); }
.ac-modal-body { padding: 0; }
.ac-modal-body .meetings-iframe-container { background: var(--white); padding: 0; border-radius: 0; }

/* ── PRINT ── matches the website's structure (timeline cards, logos, skill
   dots, tags, brand accents) but renders all sections on white backgrounds
   so it works on paper or as a downloaded PDF. window.print() drives the
   "Download CV (PDF)" button, so this stylesheet IS the PDF output. */
@media print {
  /* === Page setup =================================================== */
  @page {
    size: A4;
    margin: 14mm 12mm;
  }

  /* === Reset shadow / animation noise =============================== */
  *, *::before, *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
    animation: none !important;
  }
  html, body {
    background: #fff !important;
    color: var(--black) !important;
    font-size: 10pt !important;
    line-height: 1.45 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* === Hide chrome that's never useful in a printed CV ============== */
  .ac-nav,
  .ac-mobile-menu,
  .ac-footer,
  .cv-cta,
  .cv-dl-btn,
  .cv-hero-right,
  .cv-version-switcher,
  #cookieBanner,
  #acModal,
  .ac-modal-overlay,
  .hero-scroll,
  .hero-bg,
  .hero-bg-text {
    display: none !important;
  }

  /* === Force ALL section backgrounds to white. Dark sections on paper
     waste ink and look bad; we keep their structure, just invert. ==== */
  .cv-hero,
  .cv-section,
  .cv-section.dark,
  .cv-section.light,
  .cv-profile,
  .cv-service-item,
  .skills-group {
    background: #fff !important;
    color: var(--black) !important;
  }
  .cv-section, .cv-profile {
    padding: 14pt 0 !important;
    page-break-inside: auto;
  }
  .cv-section-inner,
  .cv-profile-inner {
    max-width: none !important;
    padding: 0 !important;
  }

  /* === Hero (name + role line) ====================================== */
  .cv-hero {
    padding: 0 0 12pt 0 !important;
    margin-bottom: 14pt !important;
    border-bottom: 1.5pt solid var(--black) !important;
  }
  .cv-hero-inner {
    display: block !important;
    padding: 0 !important;
    max-width: none !important;
  }
  .cv-name {
    font-size: 30pt !important;
    line-height: 0.92 !important;
    color: var(--black) !important;
    margin: 4pt 0 6pt 0 !important;
  }
  .cv-name br { display: none; }
  .cv-name .acc { color: var(--green) !important; }
  .cv-name .acc::before { content: " "; }
  .cv-role {
    font-size: 11pt !important;
    color: #444 !important;
    margin: 0 !important;
  }

  /* === Section eyebrows + titles (match site visual hierarchy) ===== */
  .ac-label, .ac-label.dark, .cv-sidebar-label {
    color: var(--gray) !important;
    font-size: 8pt !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 4pt !important;
    display: block !important;
  }
  .ac-label::before, .ac-label.dark::before {
    background: var(--gray) !important;
    width: 14pt !important;
    display: inline-block !important;
    vertical-align: middle;
  }
  .cv-section-title {
    font-size: 18pt !important;
    line-height: 1.05 !important;
    color: var(--black) !important;
    margin: 0 0 12pt 0 !important;
    page-break-after: avoid;
  }
  .cv-section-title br { display: block; }

  /* === Profile + sidebar (keep two-col on print) ==================== */
  .cv-profile-inner {
    display: grid !important;
    grid-template-columns: 1fr 130pt !important;
    gap: 24pt !important;
  }
  .cv-profile-text { font-size: 10pt; }
  .cv-profile-text p { margin: 0 0 6pt 0; }
  .cv-profile-text strong { color: var(--black); }
  .cv-sidebar-block { margin-bottom: 10pt; page-break-inside: avoid; }
  .cv-sidebar-items { font-size: 9pt; }
  .cv-sidebar-item { display: block; padding: 1pt 0; color: var(--black) !important; }
  .cv-sidebar-item a { color: var(--black) !important; text-decoration: none; }

  /* === Services — keep the 3-card grid =============================== */
  .cv-services-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 10pt !important;
  }
  .cv-service-item {
    border: 0.5pt solid #ccc !important;
    padding: 10pt !important;
    page-break-inside: avoid;
  }
  .cv-si-num {
    color: var(--green) !important;
    font-size: 8.5pt !important;
    margin-bottom: 4pt !important;
  }
  .cv-si-title {
    font-size: 11pt !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    margin-bottom: 4pt;
    line-height: 1.2;
  }
  .cv-si-desc {
    font-size: 9pt !important;
    color: #444 !important;
    line-height: 1.45 !important;
  }

  /* === Experience timeline (keeps cards, logos, tags) =============== */
  .exp-timeline { display: block !important; }
  .exp-item {
    display: grid !important;
    grid-template-columns: 110pt 1fr !important;
    gap: 16pt !important;
    padding: 12pt 0 !important;
    border-top: 1pt solid var(--black) !important;
    page-break-inside: avoid;
    background: transparent !important;
  }
  .exp-item:first-of-type { border-top: 1.5pt solid var(--black) !important; }
  .exp-item:last-of-type { border-bottom: 1pt solid var(--black) !important; }
  /* Current role keeps its acid-green left rail to stand out at a glance. */
  .exp-item:has(.exp-current) {
    border-left: 2pt solid var(--green) !important;
    padding-left: 8pt !important;
    margin-left: -8pt !important;
  }
  .exp-left { display: block !important; }
  .exp-logo {
    height: 28pt !important;
    max-width: 90pt !important;
    margin-bottom: 6pt !important;
    display: flex !important;
    align-items: center;
  }
  .exp-logo img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  .exp-period {
    font-size: 8.5pt !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    line-height: 1.4 !important;
  }
  .exp-current {
    background: var(--green) !important;
    color: var(--black) !important;
    font-size: 7pt !important;
    padding: 1pt 4pt !important;
    margin-left: 4pt;
    display: inline-block !important;
  }
  .exp-company {
    font-size: 12pt !important;
    font-weight: 800 !important;
    color: var(--black) !important;
    line-height: 1.1 !important;
    margin-top: 3pt !important;
  }
  .exp-location {
    font-size: 8.5pt !important;
    color: var(--gray) !important;
  }
  .exp-role {
    font-size: 13pt !important;
    font-weight: 800 !important;
    color: var(--black) !important;
    margin-bottom: 6pt !important;
    line-height: 1.1 !important;
  }
  .exp-desc {
    font-size: 9.5pt !important;
    line-height: 1.5 !important;
    color: #222 !important;
    margin-bottom: 6pt !important;
  }
  .exp-desc p { margin: 0 0 4pt 0 !important; }
  .exp-desc p:last-child { margin: 0 !important; }
  .exp-tags { margin-top: 4pt !important; display: flex; flex-wrap: wrap; gap: 3pt !important; }
  .exp-tag {
    font-size: 7.5pt !important;
    color: var(--black) !important;
    border: 0.5pt solid var(--black) !important;
    padding: 1pt 5pt !important;
    background: transparent !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
  }

  /* === Skills (keeps dot ratings, three columns) ==================== */
  .skills-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 12pt 18pt !important;
  }
  .skills-group { padding: 0 !important; page-break-inside: avoid; }
  .sg-title {
    font-size: 9pt !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4pt;
  }
  .sg-items { display: block !important; }
  .sg-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 9pt !important;
    padding: 1.5pt 0 !important;
    color: var(--black) !important;
    border: 0 !important;
  }
  .sg-name { color: var(--black) !important; }
  .sg-dots { display: inline-flex !important; gap: 2pt !important; }
  .sg-dot {
    width: 5pt !important;
    height: 5pt !important;
    border-radius: 50% !important;
    border: 0.5pt solid var(--gray) !important;
    background: #fff !important;
  }
  .sg-dot.on {
    background: var(--green) !important;
    border-color: var(--green) !important;
  }

  /* === Education + certificates ===================================== */
  .edu-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8pt 18pt !important;
  }
  .edu-item {
    page-break-inside: avoid;
    padding: 3pt 0 !important;
    background: transparent !important;
    border: 0 !important;
  }
  .edu-year { font-size: 8.5pt !important; color: var(--gray) !important; }
  .edu-degree { font-size: 10pt !important; font-weight: 700 !important; color: var(--black) !important; }
  .edu-school { font-size: 9pt !important; color: #444 !important; }

  .certs-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3pt 18pt !important;
    margin-top: 8pt;
  }
  .cert-item {
    display: grid !important;
    grid-template-columns: 50pt 1fr !important;
    padding: 1.5pt 0 !important;
    background: transparent !important;
    border: 0 !important;
    page-break-inside: avoid;
  }
  .cert-year { font-size: 8.5pt !important; color: var(--gray) !important; }
  .cert-name { font-size: 9.5pt !important; color: var(--black) !important; }

  /* === Page-break hygiene =========================================== */
  h1, h2, h3, .cv-section-title, .sg-title, .exp-role, .exp-company {
    page-break-after: avoid;
  }
  p, li { orphans: 3; widows: 3; }

  /* === External links: print the URL alongside the visible text ===== */
  a[href^="http"]:not([href*="activateconsulting"])::after {
    content: " (" attr(href) ")";
    color: var(--gray);
    font-size: 8pt;
    word-break: break-all;
  }
  a { color: var(--black) !important; text-decoration: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .fvc { grid-template-columns: 1fr; }
  .video-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ac-nav-links, .ac-lang-toggle, .ac-nav-cta { display: none; }
  .ac-hamburger { display: flex; }

  /* Drawer slides down from under the fixed nav (72px).
     Explicit height (rather than top+bottom) is reliable when the body has
     overflow-x:hidden, which can otherwise collapse a fixed element's height.
     Note: the `hidden` HTML attribute (managed by the JS toggle) outranks the
     `display: flex` here, so when JS removes `hidden`, the drawer becomes
     visible at flex layout. */
  .ac-mobile-menu:not([hidden]) {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    background: var(--black);
    flex-direction: column;
    padding: 48px var(--pad) 40px;
    z-index: 99;
    overflow-y: auto;
    transform: translateY(-110%);
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: hidden;
  }
  .ac-mobile-menu.active {
    transform: translateY(0);
    visibility: visible;
  }
  .ac-mobile-menu-links {
    list-style: none; margin: 0; padding: 0; flex: 1;
    display: flex; flex-direction: column; gap: 4px;
  }
  .ac-mobile-menu-links li { border-bottom: 1px solid var(--gray-dark); }
  .ac-mobile-menu-links li:last-child { border-bottom: 0; }
  .ac-mobile-menu-links a {
    display: block;
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(28px, 8vw, 40px);
    letter-spacing: -0.02em; text-transform: uppercase;
    color: var(--white); text-decoration: none;
    padding: 18px 0;
  }
  .ac-mobile-menu-links a.active { color: var(--green); }
  .ac-mobile-menu-cta {
    margin-top: 32px;
    padding: 20px 28px;
    background: var(--green); color: var(--black);
    border: 0; cursor: pointer;
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
    font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .ac-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cv-hero-inner { grid-template-columns: 1fr; }
  .cv-hero-right { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .cv-profile-inner { grid-template-columns: 1fr; }
  .cv-services-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .exp-item { grid-template-columns: 1fr; gap: 12px; }
  .exp-left { display: flex; gap: 24px; flex-wrap: wrap; align-items: baseline; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .cv-cta-inner { flex-direction: column; align-items: flex-start; }
  .post-body-inner { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .post-cta-inner { flex-direction: column; align-items: flex-start; }
  .post-author-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .ac-nav { padding: 0 20px; }
  .ac-nav-cta { padding: 7px 11px; font-size: 11px; }
  .ac-nav-logo-name { font-size: 16px; }
}
@media (max-width: 640px) {
  .insights-grid { grid-template-columns: 1fr; }
  .insights-filter-tab { padding: 16px 18px; font-size: 10px; letter-spacing: 0.1em; }
  .ac-page-hero { padding: 120px var(--pad) 60px; }
  .ac-page-title { font-size: clamp(36px, 11vw, 56px); letter-spacing: -0.03em; }
  .ac-page-sub { font-size: 16px; margin-top: 24px; }
  .insights-grid-section { padding: 56px var(--pad) 80px; }
  .ac-newsletter-inner { flex-direction: column; align-items: flex-start; }
  .nl-input { min-width: 100%; }
  .ac-footer-inner { grid-template-columns: 1fr; }
  .cv-services-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .ac-section { padding: 80px var(--pad); }
}

/* ── MATURITY SCAN — multi-step form ── */
/* Desktop: white section, form sits as a black card. */
.ms-section {
  background: var(--white);
  padding: 80px var(--pad) 120px;
}

.ms-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 60px; flex-wrap: wrap;
}
.ms-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(28px, 3.5vw, 52px);
  letter-spacing: -0.03em; color: var(--black); line-height: 1.05;
}
.ms-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.ms-tag {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--black);
  background: var(--green); padding: 6px 14px;
}

.ms-form {
  background: var(--black); color: var(--white);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--gray-dark);
}

.ms-progress { margin-bottom: 36px; }
.ms-progress-track {
  height: 4px; background: #1e1e1c; position: relative; overflow: hidden;
}
.ms-progress-fill {
  height: 100%; background: var(--green); width: 0%;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ms-progress-label {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray);
  margin-top: 10px;
}

.ms-step { border: 0; padding: 0; min-width: 0; }
.ms-step-legend {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.02em;
  color: var(--white); text-transform: uppercase;
  display: flex; align-items: baseline; gap: 12px;
  width: 100%;          /* constrain native <legend> to parent width */
  max-width: 100%;
  min-width: 0;
  margin-bottom: 32px;
}
.ms-step-num { color: var(--green); flex: 0 0 auto; }
.ms-step-title {
  flex: 1 1 0;
  min-width: 0;
  overflow-wrap: anywhere;  /* fallback for ridiculously long single words */
}

.ms-question { padding: 24px 0; border-top: 1px solid var(--gray-dark); }
.ms-question:first-of-type { border-top: 0; padding-top: 0; }
.ms-question-text {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45;
  color: var(--white); margin-bottom: 18px;
}

.ms-scale {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px;
}
.ms-scale-option {
  position: relative; cursor: pointer;
  flex: 0 0 auto; min-width: 56px;
}
.ms-scale-option input { position: absolute; opacity: 0; pointer-events: none; }
.ms-scale-num {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px;
  color: var(--white); background: transparent;
  border: 1px solid var(--gray-dark);
  transition: all 0.15s;
}
.ms-scale-option:hover .ms-scale-num { border-color: var(--gray); color: var(--white); }
.ms-scale-option input:checked + .ms-scale-num {
  background: var(--green); color: var(--black);
  border-color: var(--green);
}
.ms-scale-option input:focus-visible + .ms-scale-num {
  outline: 2px solid var(--green); outline-offset: 3px;
}

.ms-scale-legend {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 4px;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px;
  color: var(--gray); line-height: 1.5;
}
.ms-scale-legend li span {
  font-family: 'Space Mono', monospace; color: var(--green);
  font-size: 11px; letter-spacing: 0.08em; margin-right: 8px;
}

.ms-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 24px;
}
.ms-field { display: flex; flex-direction: column; gap: 6px; }
.ms-field span {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
}
.ms-field span em { font-style: normal; color: #555; text-transform: none; letter-spacing: 0; font-size: 11px; }
.ms-field input {
  background: transparent; border: 0; border-bottom: 1px solid var(--gray-dark);
  padding: 12px 0; color: var(--white);
  font-family: 'Space Grotesk', sans-serif; font-size: 16px;
  transition: border-color 0.15s;
}
.ms-field input:focus { outline: none; border-bottom-color: var(--green); }

.ms-consent {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; line-height: 1.55;
  color: #bdbdb6; margin: 18px 0 24px 0;
}
.ms-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: var(--green); }

.ms-actions {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-top: 36px; flex-wrap: wrap;
}
.ms-btn {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 28px; border: none; cursor: pointer;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
}
.ms-btn-primary { background: var(--green); color: var(--black); }
.ms-btn-primary:hover { opacity: 0.88; }
.ms-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.ms-btn-ghost { background: transparent; color: var(--gray); border: 1px solid var(--gray-dark); }
.ms-btn-ghost:hover { color: var(--white); border-color: var(--gray); }

.ms-error {
  margin-top: 20px; padding: 14px 18px;
  background: rgba(255, 80, 32, 0.1); color: var(--orange);
  border-left: 3px solid var(--orange);
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; line-height: 1.5;
}

.ms-success {
  background: var(--black); color: var(--white);
  padding: 64px clamp(28px, 4vw, 56px);
  border: 1px solid var(--gray-dark);
  text-align: left;
}
.ms-success-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; background: var(--green); color: var(--black);
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 28px;
  margin-bottom: 24px;
}
.ms-success-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(28px, 3.5vw, 48px); letter-spacing: -0.02em;
  color: var(--white); text-transform: uppercase;
  margin-bottom: 16px;
}
.ms-success-body {
  font-family: 'Space Grotesk', sans-serif; font-size: 17px; line-height: 1.65;
  color: #bdbdb6; max-width: 540px;
}

/* ── Contact + Fit-check forms (Phase 2) ───────────────────────────────
 * Variant of the .ms-field pattern, but laid out as a single column inside
 * the dark sidebar card on /contact and /fitcheck. */
.ac-form { display: flex; flex-direction: column; gap: 18px; }
.ac-form-field { display: flex; flex-direction: column; gap: 6px; }
.ac-form-field span {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
}
.ac-form-field span em {
  font-style: normal; color: #555; text-transform: none;
  letter-spacing: 0; font-size: 11px;
}
.ac-form-field input,
.ac-form-field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--gray-dark);
  padding: 12px 0; color: var(--white);
  font-family: 'Space Grotesk', sans-serif; font-size: 15px;
  transition: border-color 0.15s; resize: vertical;
}
.ac-form-field input:focus,
.ac-form-field textarea:focus { outline: none; border-bottom-color: var(--green); }
.ac-form-field textarea { min-height: 110px; }
.ac-form-consent {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1.55;
  color: #bdbdb6;
}
.ac-form-consent input {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--green);
}
.ac-form-error {
  padding: 12px 14px;
  background: rgba(255, 80, 32, 0.1); color: var(--orange);
  border-left: 3px solid var(--orange);
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; line-height: 1.5;
}

/* ── Booking widget (Phase 4) ──────────────────────────────────────── */
.ac-booking { color: var(--white); }
.ac-booking-frame { background: #0a0a09; border: 1px solid #1e1e1c; overflow: hidden; }
.ac-booking-header {
  background: #111; border-bottom: 1px solid #1e1e1c;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
}
.ac-booking-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #555;
}
.ac-booking-dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%; display: block;
}
.ac-booking-body { padding: 24px; max-height: 70vh; overflow-y: auto; }
.ac-booking-empty {
  color: #888; font-size: 13px; padding: 16px 0;
  font-family: 'Space Grotesk', sans-serif;
}
.ac-booking-day { margin-bottom: 20px; }
.ac-booking-day-heading {
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
  margin: 0 0 10px 0; font-weight: 600;
}
.ac-booking-slot-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.ac-booking-slot {
  background: transparent; border: 1px solid var(--gray-dark); color: var(--white);
  padding: 10px 8px; font-family: 'Space Grotesk', sans-serif; font-size: 13px;
  cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ac-booking-slot:hover { border-color: var(--green); color: var(--green); }
.ac-booking-slot.selected { background: var(--green); color: var(--black); border-color: var(--green); }
.ac-booking-chosen {
  font-size: 14px; color: var(--white); padding: 14px;
  background: rgba(200, 255, 0, 0.06); border-left: 3px solid var(--green);
  margin: 0 0 16px 0;
}
.ac-booking-back {
  background: transparent; border: 0; color: var(--gray);
  font-family: 'Space Mono', monospace; font-size: 11px;
  letter-spacing: 0.08em; cursor: pointer; padding: 4px 0; margin-bottom: 16px;
}
.ac-booking-back:hover { color: var(--green); }
.ac-booking-success-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: var(--green); color: var(--black);
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 24px; margin-bottom: 16px;
}
.ac-booking-success-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 24px; letter-spacing: -0.02em; color: var(--white);
  margin: 0 0 12px 0;
}
.ac-booking-success-body {
  font-family: 'Space Grotesk', sans-serif; font-size: 14px;
  line-height: 1.65; color: #aaa; margin: 0;
}
.ac-booking-confirmation { color: var(--white); }
.ac-booking-confirmation h2 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 32px; letter-spacing: -0.02em; margin: 0 0 16px 0;
}
.ac-booking-confirmation h2.muted { color: var(--gray); }
.ac-booking-confirmation p { font-size: 15px; line-height: 1.6; color: #aaa; margin: 0 0 24px 0; }

/* ── Booking calendar grid ───────────────────────────────────────────── */
.ac-booking-cal-mount { display: flex; flex-direction: column; gap: 6px; }
.ac-booking-cal-header {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  margin-bottom: 4px;
}
.ac-booking-cal-dow {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
  text-align: center; padding: 6px 0;
}
.ac-booking-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.ac-booking-cal-cell {
  position: relative; aspect-ratio: 1 / 1;
  background: transparent; border: 1px solid var(--gray-dark);
  color: var(--white); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 500;
  padding: 0; transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.ac-booking-cal-cell.empty { border: 0; cursor: default; pointer-events: none; }
.ac-booking-cal-cell.no-slots {
  color: #444; cursor: not-allowed; border-color: #1e1e1c;
}
.ac-booking-cal-cell.has-slots:hover {
  border-color: var(--green); color: var(--green); background: rgba(200, 255, 0, 0.05);
}
.ac-booking-cal-cell.today { box-shadow: inset 0 0 0 1px var(--gray); }
.ac-booking-cal-cell .ac-booking-cal-num { line-height: 1; }
.ac-booking-cal-cell .ac-booking-cal-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); margin-top: 4px;
}
.ac-booking-cal-cell.no-slots .ac-booking-cal-dot { display: none; }
.ac-booking-cal-hint {
  font-size: 11px; color: #666; font-family: 'Space Mono', monospace;
  letter-spacing: 0.06em; margin-top: 14px; line-height: 1.55;
}

@media (max-width: 640px) {
  /* Page hero on small screens: shrink the display title so long accent
     words ("Maturity") stop overflowing past the viewport. */
  .ac-page-title { font-size: clamp(40px, 11vw, 64px); line-height: 0.95; }
  .ac-page-sub { font-size: 16px; line-height: 1.55; max-width: 100%; }

  /* On mobile, drop the white-card pattern: the entire section becomes black,
     visually continuous with the hero above. The form goes edge-to-edge with
     no separate border, so the focus is on the questions, not on a frame. */
  .ms-section {
    background: var(--black);
    padding: 32px 0 60px;
  }
  .ms-container { padding: 0 16px; }

  /* Section header now sits on the dark background — invert text colours. */
  .ms-header { gap: 16px; margin-bottom: 28px; }
  .ms-title { color: var(--white); font-size: clamp(24px, 8vw, 40px); }

  /* Form has no separate box on mobile — it IS the section. */
  .ms-form {
    background: transparent;
    border: 0;
    padding: 0;
  }
  .ms-success {
    background: transparent;
    border: 0;
    padding: 32px 0;
  }

  /* Section title — shrink + tighter gap so short titles ("Strategie")
     fit on one line and long titles ("Datakwaliteit en governance") wrap
     at word boundaries (not mid-word). */
  .ms-step-legend {
    font-size: clamp(18px, 5vw, 26px);
    line-height: 1.1;
    gap: 8px;
    margin-bottom: 24px;
  }

  /* Scale: 5 equal-width buttons that fill the row — never wrap. */
  .ms-scale { gap: 6px; flex-wrap: nowrap; }
  .ms-scale-option { flex: 1 1 0; min-width: 0; }
  .ms-scale-num {
    width: 100%;
    height: 52px;
    font-size: 18px;
  }

  /* Question spacing tighter, type slightly smaller. */
  .ms-question { padding: 18px 0; }
  .ms-question-text { font-size: 16px; line-height: 1.4; margin-bottom: 14px; }
  .ms-scale-legend { font-size: 13px; }

  /* Identity step: stack fields one per row. */
  .ms-fields { grid-template-columns: 1fr; gap: 14px; }
  .ms-consent { font-size: 13px; }

  /* Actions: full-width, primary CTA on top, ghost (Vorige) below. */
  .ms-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
    margin-top: 28px;
  }
  .ms-actions .ms-btn { width: 100%; padding: 18px 24px; }

  /* Progress label can be a touch smaller. */
  .ms-progress-label { font-size: 10px; }
}

/* Very small phones (iPhone SE 1st gen etc.) — squeeze further. */
@media (max-width: 360px) {
  .ms-form { padding: 20px 12px; }
  .ms-scale-num { height: 48px; font-size: 16px; }
  .ms-step-legend { font-size: 20px; }
}
