/* === Brand tokens === */
  :root {
    --yellow: #FFEB00;
    --midnight: #0A0A0A;
    --dark: #1A1A1A;
    --bone: #FAF9F6;
    --bone-alt: #F4F1EA;
    --steel: #6B6B6B;
    --line: rgba(10,10,10,0.08);
    --line-strong: rgba(10,10,10,0.14);
    --pad-x: clamp(20px, 4vw, 56px);
    --pad-section: clamp(34px, 4.2vw, 64px);
  }

  /* === Reset & base === */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bone);
    color: var(--midnight);
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  img { max-width: 100%; display: block; }

  /* === Type === */
  h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
  .display { font-size: clamp(48px, 8vw, 132px); font-weight: 500; letter-spacing: -0.035em; line-height: 0.98; }
  .display .accent {
    font-style: italic; font-weight: 300;
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.12em;
  }
  .h2 { font-size: clamp(32px, 4.4vw, 64px); letter-spacing: -0.025em; line-height: 1.05; }
  .h3 { font-size: clamp(20px, 1.8vw, 28px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
  .body-lg { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; color: var(--steel); }
  .mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.04em; }
  .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--steel);
    display: inline-flex; align-items: center; gap: 12px;
  }
  .eyebrow::before {
    content: ""; display: inline-block;
    width: 28px; height: 4px;
    background: var(--yellow);
    flex-shrink: 0;
  }

  /* === Layout === */
  .container { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad-x); }
  section { padding: var(--pad-section) 0; position: relative; }

  /* === Chrome strip (mono meta bar) === */
  .chrome-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    background: var(--bone);
  }
  .chrome-strip .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .chrome-strip span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--steel);
  }

  /* === Buttons === */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
    border-radius: 2px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
  }
  .btn .arrow { font-size: 14px; transition: transform 0.3s cubic-bezier(.2,.8,.2,1); }
  .btn:hover .arrow { transform: translate(3px, -3px); }
  .btn-primary { background: var(--yellow); color: var(--midnight); }
  .btn-primary:hover { background: var(--midnight); color: var(--yellow); }
  .btn-dark { background: var(--midnight); color: var(--bone); }
  .btn-dark:hover { background: var(--yellow); color: var(--midnight); }
  .btn-ghost { background: transparent; color: var(--midnight); border: 1px solid var(--line-strong); }
  .btn-ghost:hover { background: var(--midnight); color: var(--bone); border-color: var(--midnight); }
  .btn .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--midnight);
    flex-shrink: 0;
  }
  .btn-dark .dot, .btn-primary .dot { background: var(--yellow); }
  .btn-dark:hover .dot { background: var(--midnight); }
  .btn-primary:hover .dot { background: var(--yellow); }

  /* === Tag (clip-path corner) === */
  .tag {
    display: inline-block;
    padding: 6px 14px 6px 12px;
    background: var(--midnight); color: var(--bone);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  }

  /* === Nav === */
  .nav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px var(--pad-x);
    background: color-mix(in srgb, var(--bone) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, padding 0.3s;
  }
  .nav.scrolled { border-bottom-color: var(--line); padding: 14px var(--pad-x); }
  .nav-logo {
    display: flex; align-items: center; gap: 14px;
    height: 88px;
  }
  .nav-logo img { height: 100%; width: auto; display: block; }
  .nav-logo-tag {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.005em;
    color: var(--midnight);
    border-left: 1px solid var(--line-strong);
    padding-left: 14px;
    line-height: 1.1;
    display: inline-block;
  }
  .nav.scrolled .nav-logo-tag { color: var(--steel); }
  .nav-links {
    display: flex; gap: 32px;
    font-size: 14px; font-weight: 500;
  }
  .nav-links a { padding: 6px 0; transition: opacity 0.2s; opacity: 0.85; }
  .nav-links a:hover { opacity: 1; color: var(--midnight); }
  .nav-right { display: flex; align-items: center; gap: 16px; }
  .nav-toggle {
    display: none;
    width: 36px; height: 36px;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 1.5px; background: var(--midnight);
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* === Hero === */
  .hero {
    position: relative;
    min-height: 86vh;
    padding: clamp(60px, 9vw, 140px) 0 clamp(60px, 8vw, 120px);
    overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: -40px 0 0 0;
    background-image: url('/assets/hero.jpg');
    background-size: cover;
    background-position: 100% 55%;
    z-index: 0;
  }
  .hero-wash {
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
      var(--bone) 0%,
      color-mix(in srgb, var(--bone) 85%, transparent) 40%,
      color-mix(in srgb, var(--bone) 45%, transparent) 70%,
      transparent 100%);
    z-index: 1;
  }
  .hero-wash-bottom {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bone) 40%, transparent) 0%, transparent 35%, transparent 65%, var(--bone) 100%);
    z-index: 1;
  }
  .hero .container { position: relative; z-index: 2; }
  .hero-eyebrow { margin-bottom: 28px; }
  .hero h1 {
    max-width: 14ch;
    text-shadow: 0 1px 30px color-mix(in srgb, var(--bone) 75%, transparent);
  }
  .hero .lead {
    margin-top: 32px; max-width: 52ch;
    font-size: clamp(17px, 1.35vw, 21px);
    color: var(--steel);
    text-shadow: 0 1px 12px color-mix(in srgb, var(--bone) 80%, transparent);
  }
  .hero-actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
  .hero-note {
    margin-top: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.04em;
    color: var(--steel);
    display: flex; align-items: center; gap: 10px;
  }
  .hero-note::before {
    content: ""; width: 14px; height: 1px; background: var(--steel); opacity: 0.5;
  }
  .hero-meta {
    display: flex; gap: 56px; margin-top: clamp(24px, 4vw, 48px);
    padding-top: 20px; border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .hero-meta-block .mono { color: var(--steel); margin-bottom: 8px; display: block; }
  .hero-meta-block .h3 { letter-spacing: -0.02em; }

  /* === Scene break === */
  .scene {
    position: relative; padding: 0;
    min-height: 76vh; overflow: hidden;
  }
  .scene-bg {
    position: absolute; inset: -10% 0;
    background-image: url('/assets/scene-meeting.jpg');
    background-size: cover; background-position: center 45%;
    filter: contrast(0.98) saturate(0.85);
  }
  .scene-wash {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.15) 40%, rgba(10,10,10,0.75) 100%);
  }
  .scene .container {
    position: relative; height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 76vh;
    padding-bottom: 5vh;
    color: var(--bone-alt);
  }
  .scene .eyebrow { color: var(--yellow); }
  .scene .eyebrow::before { background: var(--yellow); }
  .scene blockquote {
    margin: 24px 0 0;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 500; letter-spacing: -0.025em;
    line-height: 1.1; max-width: 22ch;
    text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  }
  .scene .attr {
    margin-top: 20px; color: var(--yellow); letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
  }

  /* === Process === */
  .process-intro {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 64px; align-items: end;
    margin-bottom: 46px;
  }
  .process-figure {
    aspect-ratio: 4/3;
    border-radius: 2px; overflow: hidden;
    background: #111;
  }
  .process-figure img { width: 100%; height: 100%; object-fit: cover; }
  .process-grid { border-top: 1px solid var(--line-strong); }
  .process-row {
    display: grid; grid-template-columns: 100px 1fr 1.5fr;
    gap: 32px; padding: 28px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
  }
  .process-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; color: var(--steel); letter-spacing: 0.08em;
  }
  .process-title { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.015em; }
  .process-desc { color: var(--steel); font-size: 15px; line-height: 1.55; max-width: 56ch; }

  /* === Services === */
  .services-bg { background: var(--bone-alt); position: relative; overflow: hidden; }
  .services-bg-img {
    position: absolute; inset: 0;
    background-image: url('/assets/services-bg.jpg');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 46% auto;
    z-index: 0;
  }
  .services-wash {
    position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(180deg, var(--bone-alt) 0%, transparent 12%, transparent 88%, var(--bone-alt) 100%),
      linear-gradient(90deg,
        color-mix(in srgb, var(--bone-alt) 68%, transparent) 0%,
        color-mix(in srgb, var(--bone-alt) 60%, transparent) 24%,
        color-mix(in srgb, var(--bone-alt) 80%, transparent) 40%,
        var(--bone-alt) 52%,
        var(--bone-alt) 100%);
  }
  .services-bg .container { position: relative; z-index: 2; }
  .services-intro h2, .services-intro p { text-shadow: 0 0 5px var(--bone-alt), 0 0 14px var(--bone-alt), 0 2px 26px color-mix(in srgb, var(--bone-alt) 92%, transparent); }
  .services-intro { max-width: 920px; margin-bottom: 42px; }
  .services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
  .service-card {
    background: var(--bone-alt);
    padding: 40px 36px;
    display: flex; flex-direction: column; gap: 12px;
    min-height: 280px;
    position: relative;
    cursor: default;
    transition: background 0.35s ease, transform 0.35s ease;
  }
  .service-card::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--yellow);
    transform: scaleY(0); transform-origin: top;
    transition: transform 0.4s ease;
  }
  .service-card:hover {
    background: var(--bone);
    transform: translateY(-3px);
  }
  .service-card:hover::before { transform: scaleY(1); }
  .service-card:hover .sc-title { color: var(--midnight); }
  .service-card:hover .sc-num { color: var(--midnight); }
  .service-card .sc-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--steel); letter-spacing: 0.08em;
    transition: color 0.3s ease;
  }
  .service-card .sc-title {
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 500; letter-spacing: -0.02em;
    line-height: 1.1; margin-top: 4px;
    transition: color 0.3s ease;
  }
  .service-card .sc-desc { color: var(--steel); font-size: 15px; line-height: 1.55; margin-top: 4px; }

  /* === Dashboard === */
  .dashboard-bg {
    background: var(--bone-alt);
    position: relative; overflow: hidden;
  }
  .dashboard-bg::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--yellow) 14%, transparent), transparent 60%),
      radial-gradient(700px 400px at 0% 100%, color-mix(in srgb, var(--yellow) 7%, transparent), transparent 60%);
    pointer-events: none;
  }
  .dashboard-bg .container { position: relative; }
  .dashboard-head {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 64px; align-items: end;
    margin-bottom: 32px;
  }
  .dashboard-lead { max-width: 48ch; margin: 0; }
  .dm-frame {
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--bone);
    overflow: hidden;
    box-shadow: 0 60px 100px -50px rgba(10,10,10,0.18), 0 2px 0 rgba(10,10,10,0.04);
  }
  .dm-chrome {
    display: flex; align-items: center; gap: 16px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bone-alt);
  }
  .dm-dots { display: flex; gap: 6px; }
  .dm-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
  .dm-url { flex: 1; text-align: center; font-size: 11px; color: var(--steel); letter-spacing: 0.08em; font-family: 'JetBrains Mono', monospace; }
  .dm-pulse {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--steel);
    font-family: 'JetBrains Mono', monospace;
  }
  .dm-pulse-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #2cd07a;
    box-shadow: 0 0 0 4px color-mix(in srgb, #2cd07a 25%, transparent);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, #2cd07a 35%, transparent); }
    50% { box-shadow: 0 0 0 6px color-mix(in srgb, #2cd07a 0%, transparent); }
  }
  .hub { display: grid; grid-template-columns: 220px 1fr; min-height: 520px; }
  .hub-side {
    background: var(--midnight); color: var(--bone-alt);
    padding: 22px 16px;
    display: flex; flex-direction: column; gap: 24px;
  }
  .hub-brand { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--yellow); }
  .hub-nav { display: flex; flex-direction: column; gap: 2px; }
  .hub-nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 12px; border-radius: 4px;
    font-size: 13px; color: rgba(244,241,234,0.55);
  }
  .hub-nav-item.active { background: rgba(255,235,0,0.1); color: var(--bone-alt); }
  .hub-nav-item.active .hub-nav-dot { background: var(--yellow); }
  .hub-nav-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(244,241,234,0.25); flex-shrink: 0; }
  .hub-side-foot { margin-top: auto; }
  .hub-side-foot-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.16em; color: rgba(244,241,234,0.4); margin-bottom: 6px; }
  .hub-side-foot-name { font-size: 13px; letter-spacing: -0.01em; }
  .hub-main {
    padding: 28px 28px 32px;
    display: flex; flex-direction: column; gap: 24px;
    background: var(--bone);
  }
  .hub-mainhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .hub-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.12em; color: var(--steel); margin-bottom: 6px;
  }
  .hub-title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
  .hub-meta {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.08em; color: var(--steel);
  }
  .hub-meta-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #2cd07a;
    box-shadow: 0 0 0 4px color-mix(in srgb, #2cd07a 20%, transparent);
  }
  .hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hub-tile {
    background: var(--bone-alt);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px 18px 14px;
    display: flex; flex-direction: column; gap: 6px;
  }
  .hub-tile-top { display: flex; justify-content: space-between; align-items: center; }
  .hub-tile-num { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--steel); letter-spacing: 0.12em; }
  .hub-tile-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; letter-spacing: 0.12em;
  }
  .hub-tile-status-dot { width: 6px; height: 6px; border-radius: 50%; }
  .hub-tile-status.live .hub-tile-status-dot { background: #2cd07a; }
  .hub-tile-status.live { color: #1f7a4a; }
  .hub-tile-status.testing .hub-tile-status-dot { background: var(--yellow); }
  .hub-tile-status.testing { color: #8a7400; }
  .hub-tile-tag { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--steel); letter-spacing: 0.12em; margin-top: 8px; }
  .hub-tile-title { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; margin-top: 2px; }
  .hub-tile-sub { font-size: 11px; color: var(--steel); }
  .hub-tile-bar { height: 2px; background: var(--line); border-radius: 1px; margin-top: 12px; overflow: hidden; }
  .hub-tile-bar span { display: block; height: 100%; background: var(--yellow); }
  .hub-nav-item { cursor: pointer; user-select: none; }
  .hub-nav-item:hover { color: var(--bone-alt); background: rgba(255,235,0,0.05); }
  .hub-panel { display: none; flex-direction: column; gap: 18px; }
  .hub-panel.active { display: flex; }
  .hub-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hub-stat { background: var(--bone-alt); border: 1px solid var(--line); border-radius: 4px; padding: 18px; }
  .hub-stat-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.16em; color: var(--steel); text-transform: uppercase; }
  .hub-stat-value { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; margin-top: 8px; line-height: 1; }
  .hub-stat-delta { font-size: 11px; color: #1f7a4a; margin-top: 6px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
  .hub-feed { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .hub-feed-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 12px 0; align-items: center; border-bottom: 1px solid var(--line); font-size: 13px; }
  .hub-feed-time { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--steel); letter-spacing: 0.08em; }
  .hub-feed-text { color: var(--midnight); }
  .hub-feed-text b { font-weight: 500; }
  .hub-feed-tag { font-family: 'JetBrains Mono', monospace; font-size: 9px; padding: 3px 8px; border-radius: 999px; background: rgba(255,235,0,0.2); color: #8a7400; letter-spacing: 0.1em; }
  .hub-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .hub-list-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hub-list-name { font-size: 14px; font-weight: 500; }
  .hub-list-sub { font-size: 11px; color: var(--steel); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; margin-top: 3px; }
  .hub-list-status { font-size: 11px; align-self: center; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 6px; }
  .hub-list-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2cd07a; }
  .hub-list-status.warn::before { background: var(--yellow); }
  .hub-list-status.warn { color: #8a7400; }
  .hub-list-status.off::before { background: var(--steel); }
  .hub-list-status.off { color: var(--steel); }
  .hub-toggles { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .hub-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hub-toggle-name { font-size: 14px; font-weight: 500; }
  .hub-toggle-sub { font-size: 11px; color: var(--steel); margin-top: 4px; }
  .hub-toggle { width: 36px; height: 20px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background 0.25s; flex-shrink: 0; margin-left: 16px; }
  .hub-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform 0.25s; }
  .hub-toggle.on { background: var(--yellow); }
  .hub-toggle.on::after { transform: translateX(16px); }

  /* === Cases === */
  .cases-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 40px; margin-bottom: 38px; flex-wrap: wrap;
  }
  .cases-head .text-right { max-width: 420px; }
  .cases-list { border-top: 1px solid var(--line); }
  .case-row {
    display: grid; grid-template-columns: 96px 1.1fr 1.5fr;
    gap: 32px; padding: 32px 24px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    margin: 0 -24px;
    transition: background 0.35s ease;
    cursor: default;
  }
  .case-row:hover { background: var(--bone-alt); }
  .case-row:hover .case-title { color: var(--midnight); }
  .case-title { transition: color 0.3s ease; }
  .case-logo {
    width: 80px; height: 80px; border-radius: 6px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    background: #0a0a0a;
  }
  .case-logo img { width: 100%; height: 100%; object-fit: contain; }
  .case-text { display: flex; flex-direction: column; gap: 8px; }
  .case-title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
  .case-tag { font-size: 13px; color: var(--steel); }
  .case-summary { font-size: 15px; line-height: 1.55; color: var(--steel); max-width: 58ch; }

  /* === Stats === */
  .stats-split {
    display: grid; grid-template-columns: 1fr 1px 1fr;
    gap: 48px; align-items: stretch;
  }
  .stats-divider { background: var(--line); width: 1px; }
  .stats-group { display: flex; flex-direction: column; gap: 28px; }
  .stats-group-label {
    font-family: 'JetBrains Mono', monospace;
    display: flex; align-items: center; gap: 12px;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--steel);
  }
  .stats-group-label::before {
    content: ""; display: inline-block;
    width: 28px; height: 1px; background: var(--midnight); opacity: 0.5;
  }
  .stats-group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-num {
    font-size: clamp(40px, 5.6vw, 88px);
    font-weight: 500; letter-spacing: -0.04em; line-height: 1;
  }
  .stat-label { color: var(--steel); font-size: 14px; margin-top: 12px; max-width: 22ch; }

  /* === Team / About === */
  .about-bg { background: var(--bone-alt); }
  .about-header {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 64px; align-items: end;
    margin-bottom: 42px;
  }
  .about-banner {
    aspect-ratio: 16/10; overflow: hidden; border-radius: 2px;
    background: #111;
  }
  .about-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: contrast(0.98) saturate(0.9); }
  .team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .tc-img {
    aspect-ratio: 4/5; background: #ddd;
    border-radius: 2px; overflow: hidden; position: relative;
    cursor: default;
  }
  .tc-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s ease, filter 0.45s ease;
  }
  .tc-img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,10,10,0.65) 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
  }
  .tc-img:hover img { transform: scale(1.04); filter: brightness(0.85); }
  .tc-img:hover::after { opacity: 1; }
  .tc-name { font-size: 16px; font-weight: 500; margin-top: 14px; letter-spacing: -0.01em; transition: color 0.3s ease; }
  .tc-role { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--steel); letter-spacing: 0.08em; margin-top: 4px; }
  .tc-bio { font-size: 13px; color: var(--steel); line-height: 1.5; margin-top: 10px; }
  .team-card:hover .tc-name { color: var(--midnight); }

  /* === Contact === */
  .contact {
    background: var(--midnight); color: var(--bone);
  }
  .contact .eyebrow { color: color-mix(in srgb, var(--bone) 60%, transparent); }
  .contact .eyebrow::before { background: var(--yellow); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
  .contact h2 { color: var(--bone); margin-top: 24px; }
  .contact .body-lg { color: color-mix(in srgb, var(--bone) 70%, transparent); margin-top: 24px; max-width: 48ch; }
  .contact-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 480px; margin-top: 48px; }
  .contact-detail .mono { color: color-mix(in srgb, var(--bone) 55%, transparent); margin-bottom: 6px; display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; }
  .footer-logo { width: 56px; height: 56px; margin-bottom: 28px; }
  .form-row { margin-bottom: 22px; }
  .form-row label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: color-mix(in srgb, var(--bone) 55%, transparent);
    margin-bottom: 8px;
  }
  .form-row input {
    width: 100%; padding: 14px 0;
    font-family: inherit; font-size: 18px;
    color: var(--bone);
    background: transparent;
    border: none; border-bottom: 1px solid color-mix(in srgb, var(--bone) 25%, transparent);
    outline: none;
    transition: border-color 0.2s;
  }
  .form-row input:focus { border-bottom-color: var(--yellow); }
  .chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
  .chip {
    padding: 8px 14px; font-size: 12px;
    border: 1px solid color-mix(in srgb, var(--bone) 22%, transparent);
    border-radius: 999px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: pointer;
    color: color-mix(in srgb, var(--bone) 75%, transparent);
  }
  .chip:hover { border-color: color-mix(in srgb, var(--bone) 50%, transparent); color: var(--bone); }
  .chip.active { background: var(--yellow); color: var(--midnight); border-color: var(--yellow); }
  .submitted { padding: 48px 0; color: var(--yellow); font-size: clamp(22px, 2vw, 32px); font-weight: 500; letter-spacing: -0.015em; }
  .footer-bottom {
    border-top: 1px solid color-mix(in srgb, var(--bone) 12%, transparent);
    margin-top: 80px; padding-top: 32px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.06em;
    color: color-mix(in srgb, var(--bone) 50%, transparent);
  }

  /* === Tablet (max-width 960px) === */
  @media (max-width: 960px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bone); padding: 24px var(--pad-x); gap: 16px; border-bottom: 1px solid var(--line); font-size: 18px; }
    .nav.open .nav-links { display: flex; }
    .nav-toggle { display: flex; }
    .nav-logo { height: 64px; }
    .nav-logo-tag { display: none; }
    .hero-meta { flex-direction: column; gap: 24px; }
    .process-intro, .dashboard-head, .about-header { grid-template-columns: 1fr; gap: 32px; }
    .process-row { grid-template-columns: 56px 1fr; }
    .process-row .process-desc { grid-column: 1 / -1; padding-top: 0; }
    .services-grid { grid-template-columns: 1fr; }
    .hub { grid-template-columns: 1fr; min-height: 0; }
    .hub-side { flex-direction: row; gap: 16px; padding: 14px 18px; overflow-x: auto; }
    .hub-side-foot { display: none; }
    .hub-nav { flex-direction: row; flex: 1; }
    .hub-nav-item { flex-shrink: 0; padding: 6px 10px; font-size: 11px; }
    .hub-grid { grid-template-columns: 1fr 1fr; }
    .hub-main { padding: 20px; gap: 18px; }
    .case-row { grid-template-columns: 60px 1fr; gap: 16px; padding: 24px 0; }
    .case-logo { width: 56px; height: 56px; padding: 0; }
    .case-summary { grid-column: 1 / -1; }
    .stats-split { grid-template-columns: 1fr; gap: 40px; }
    .stats-divider { width: 100%; height: 1px; }
    .stats-group-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  }

  /* === Phone (max-width 640px) === */
  @media (max-width: 640px) {
    :root {
      --pad-x: 22px;
      --pad-section: clamp(40px, 11vw, 64px);
    }
    /* Versterk de hero-wash op smal scherm, anders concurreert het
       achtergrond-logo met de body-tekst. */
    .hero-wash {
      background: linear-gradient(180deg,
        var(--bone) 0%,
        color-mix(in srgb, var(--bone) 92%, transparent) 55%,
        color-mix(in srgb, var(--bone) 70%, transparent) 75%,
        transparent 100%);
    }
    .hero h1 { text-shadow: 0 1px 14px var(--bone), 0 1px 30px var(--bone); }
    .hero .lead {
      color: #4A4A4A;
      text-shadow: 0 1px 10px var(--bone), 0 0 4px var(--bone);
    }
    .hero-note { text-shadow: 0 0 4px var(--bone); }
    .display { font-size: clamp(40px, 11vw, 56px); line-height: 1.02; }
    .h2 { font-size: clamp(28px, 7.5vw, 40px); }
    .h3 { font-size: 18px; }
    .body-lg { font-size: 16px; }
    .nav { padding: 12px var(--pad-x); }
    .nav-logo { height: 52px; }
    .nav-right .btn { display: none; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 22px; min-height: 48px; font-size: 15px; }
    .hero .lead { margin-top: 20px; font-size: 16px; }
    .hero h1 { max-width: 100%; }
    .hero-eyebrow { margin-bottom: 18px; }
    .btn { min-height: 44px; }
    .hub-grid { grid-template-columns: 1fr; }
    .stats-group-grid { grid-template-columns: 1fr; gap: 16px; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .tc-bio { display: none; }
    .case-row { padding: 22px 0; margin: 0; grid-template-columns: 56px 1fr; gap: 16px; }
    .case-row .case-logo { width: 48px; height: 48px; padding: 0; }
    .case-title { font-size: 18px; }
    .case-summary { font-size: 14px; }
    .service-card { padding: 28px 22px; min-height: auto; }
    .service-card .sc-title { font-size: 22px; }
    .form-row input { font-size: 16px; }
    .contact-detail { grid-template-columns: 1fr; gap: 24px; }
    .chip { padding: 9px 14px; font-size: 12px; }
    section { padding: var(--pad-section) 0; }
    .scene { min-height: 70vh; }
    .scene .container { min-height: 70vh; padding-bottom: 40px; padding-top: 30px; }
    .scene + section { padding-top: calc(var(--pad-section) + 16px); }
    .footer-logo { width: 44px; height: 44px; margin-bottom: 20px; }
    .chrome-strip { display: none; }
    body { -webkit-tap-highlight-color: rgba(255,235,0,0.2); }
  }

  /* Small phone (max-width 380px) — beperk overflow van display-tekst */
  @media (max-width: 380px) {
    .display { font-size: 38px; }
    .h2 { font-size: 26px; }
    .team-grid { grid-template-columns: 1fr; }
  }

/* ============================================================
   SEO-subpagina's (Fase 1, 2026-06-04) - gedeelde chrome
   ============================================================ */
.breadcrumb { font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel); padding-top:26px; }
.breadcrumb a { opacity:.8; } .breadcrumb a:hover { opacity:1; color:var(--midnight); }
.breadcrumb .sep { margin:0 8px; opacity:.5; }

.page-hero { padding: clamp(28px,4vw,52px) 0 clamp(8px,2vw,20px); }
.page-hero h1 { font-size: clamp(34px,5.2vw,68px); font-weight:500; letter-spacing:-0.035em; line-height:1.02; margin-top:22px; max-width:18ch; }
.page-hero .lead { margin-top:24px; max-width:62ch; font-size:clamp(17px,1.35vw,21px); line-height:1.55; color:var(--steel); }

.prose { padding-top: clamp(8px,2vw,20px); }
.prose-col { max-width: 760px; }
.prose h2 { font-size: clamp(26px,3vw,40px); letter-spacing:-0.025em; line-height:1.08; margin-top: clamp(40px,5vw,64px); }
.prose h3 { font-size: clamp(18px,1.7vw,23px); font-weight:500; letter-spacing:-0.015em; margin-top:30px; }
.prose p { margin-top:16px; font-size:16.5px; line-height:1.7; color:#34322d; max-width:68ch; }
.prose ul { margin-top:18px; padding-left:20px; max-width:66ch; }
.prose li { margin-top:9px; font-size:16px; line-height:1.6; color:#34322d; }
.prose li::marker { color: var(--steel); }
.prose a.inline { text-decoration:underline; text-decoration-color:var(--yellow); text-decoration-thickness:2px; text-underline-offset:3px; }
.prose a.inline:hover { color:#000; }
.prose .lead-p { font-size:19px; line-height:1.6; color:var(--steel); max-width:64ch; }

/* feature/checklist cards op subpagina's */
.tile-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); margin-top:28px; border:1px solid var(--line); }
.tile { background:var(--bone); padding:26px 24px; }
.tile .t-num { font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--steel); letter-spacing:0.08em; }
.tile h3 { margin-top:6px; font-size:19px; font-weight:500; letter-spacing:-0.015em; }
.tile p { margin-top:8px; font-size:14.5px; line-height:1.55; color:var(--steel); }

/* CTA-band */
.cta-band { background:var(--midnight); color:var(--bone); border-radius:6px; padding: clamp(30px,4vw,52px); margin-top: clamp(44px,6vw,76px); display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; }
.cta-band h2 { color:var(--bone); font-size: clamp(24px,2.6vw,36px); letter-spacing:-0.02em; max-width:18ch; }
.cta-band p { color: color-mix(in srgb, var(--bone) 70%, transparent); margin-top:12px; max-width:42ch; font-size:15px; line-height:1.55; }

/* gerelateerde links */
.related { margin-top: clamp(40px,5vw,64px); border-top:1px solid var(--line); padding-top:28px; }
.related .eyebrow { margin-bottom:18px; }
.related-list { display:flex; flex-wrap:wrap; gap:10px; }
.related-list a { display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border:1px solid var(--line-strong); border-radius:999px; font-size:14px; transition:background .2s,color .2s; }
.related-list a:hover { background:var(--midnight); color:var(--bone); }

/* standaard site-footer (subpagina's) met volledig NAW-blok */
.site-footer { background:var(--midnight); color:var(--bone); padding: clamp(48px,6vw,72px) 0 40px; }
.site-footer .container { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:48px; }
.site-footer .f-logo { width:52px; height:52px; margin-bottom:20px; }
.site-footer .f-tag { color: color-mix(in srgb, var(--bone) 70%, transparent); font-size:15px; line-height:1.55; max-width:34ch; }
.site-footer h4 { font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:0.16em; text-transform:uppercase; color: color-mix(in srgb, var(--bone) 55%, transparent); font-weight:500; margin-bottom:14px; }
.site-footer ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.site-footer a { color: color-mix(in srgb, var(--bone) 82%, transparent); font-size:14px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer address { font-style:normal; color: color-mix(in srgb, var(--bone) 82%, transparent); font-size:14px; line-height:1.7; }
.site-footer .f-bottom { grid-column:1 / -1; border-top:1px solid color-mix(in srgb, var(--bone) 12%, transparent); margin-top:44px; padding-top:28px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:0.06em; color: color-mix(in srgb, var(--bone) 50%, transparent); }
@media (max-width:960px){ .tile-grid{grid-template-columns:1fr;} .site-footer .container{grid-template-columns:1fr 1fr;} .cta-band{flex-direction:column; align-items:flex-start;} }
@media (max-width:640px){ .site-footer .container{grid-template-columns:1fr;} }
