
  :root {
    --font-mono: 'JetBrains Mono', 'JBM Fallback', ui-monospace, Menlo, monospace;
    --font-sans: 'Inter Tight', 'Inter Tight Fallback', -apple-system, system-ui, sans-serif;
    --font-serif: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
    --grid: 8px;
    --r-1: 2px; --r-2: 4px; --r-3: 8px; --r-full: 999px;

    /* Brand — from logo */
    --brand-navy-deep: #0F2A4A;
    --brand-navy: #1A3A6B;
    --brand-navy-mid: #2B5BA0;
    --brand-cyan: #00A8E8;
    --brand-cyan-bright: #3CC4F5;
  }

  /* ============ KHAYAL LIGHT (default) ============ */
  :root,
  [data-theme="khayal-light"] {
    --bg-0: #F2ECDE;           /* warm paper — datasheet feel retained */
    --bg-1: #EAE3CF;
    --bg-2: #FFFFFF;
    --bg-inset: #E8E0CA;

    --fg-1: #0F2A4A;           /* deep brand navy as ink */
    --fg-2: #3E5876;
    --fg-3: #7A8599;
    --fg-4: #B4BAC6;

    --accent: #1A3A6B;         /* primary brand navy */
    --accent-2: #00A8E8;       /* cyan — for highlights */
    --accent-ink: #F2ECDE;
    --accent-soft: #CEDDEF;

    --line-1: rgba(15, 42, 74, 0.10);
    --line-2: rgba(15, 42, 74, 0.22);
    --line-strong: #0F2A4A;
    --grid-line: rgba(15, 42, 74, 0.07);

    --shadow-1: 0 1px 0 rgba(15, 42, 74, 0.08);
    --shadow-2: 0 2px 0 rgba(15, 42, 74, 0.10), 0 1px 2px rgba(15, 42, 74, 0.06);
    --shadow-3: 0 3px 0 rgba(15, 42, 74, 0.14), 0 4px 16px rgba(15, 42, 74, 0.10);

    --brand-gradient: linear-gradient(135deg, #1A3A6B 0%, #00A8E8 100%);
    --brand-gradient-soft: linear-gradient(135deg, rgba(26,58,107,0.08) 0%, rgba(0,168,232,0.08) 100%);
  }

  /* ============ KHAYAL DARK ============ */
  [data-theme="khayal-dark"] {
    --bg-0: #07162A;
    --bg-1: #0B1F3A;
    --bg-2: #112A4E;
    --bg-inset: #0A1D36;

    --fg-1: #E6F4FE;
    --fg-2: #A3C2DE;
    --fg-3: #6A88A8;
    --fg-4: #3E5270;

    --accent: #00A8E8;         /* cyan primary in dark */
    --accent-2: #3CC4F5;
    --accent-ink: #07162A;
    --accent-soft: rgba(0, 168, 232, 0.22);

    --line-1: rgba(0, 168, 232, 0.14);
    --line-2: rgba(0, 168, 232, 0.28);
    --line-strong: #00A8E8;
    --grid-line: rgba(0, 168, 232, 0.08);

    --shadow-1: 0 0 0 1px rgba(0, 168, 232, 0.14);
    --shadow-2: 0 0 14px rgba(0, 168, 232, 0.14), 0 0 0 1px rgba(0, 168, 232, 0.22);
    --shadow-3: 0 0 36px rgba(0, 168, 232, 0.30), 0 0 0 1px rgba(0, 168, 232, 0.35);

    --brand-gradient: linear-gradient(135deg, #00A8E8 0%, #3CC4F5 100%);
    --brand-gradient-soft: linear-gradient(135deg, rgba(0,168,232,0) 0%, rgba(60,196,245,0) 100%);
  }
  [data-theme="khayal-dark"] .hero::before,
  [data-theme="khayal-dark"] .hero-stage::before { display: none; }
  [data-theme="khayal-dark"] .review-featured::after { display: none; }
  [data-theme="khayal-dark"] .cred-panel::before { display: none; }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg-0);
    color: var(--fg-1);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
  }
  .graph-paper {
    background-image:
      linear-gradient(var(--grid-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: var(--grid) var(--grid);
  }
  a { color: inherit; }

  .app { display: flex; flex-direction: column; min-height: 100vh; }
  .container { max-width: 1040px; margin: 0 auto; padding: 0 20px; width: 100%; }

  /* ============ NAV ============ */
  .nav {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg-0) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-1);
    /* Full-width bar; content sits in the 1040-wide container area */
    padding: 14px max(20px, calc((100vw - 1040px) / 2));
    display: flex; align-items: center; gap: 28px;
  }
  .nav-brand {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; flex-shrink: 0;
  }
  .nav-logo {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    position: relative; flex-shrink: 0;
  }
  .nav-logo img {
    width: 36px; height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
  }
  [data-theme="khayal-dark"] .nav-logo img {
    filter: drop-shadow(0 0 8px rgba(0,168,232,0.4));
  }
  .nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; gap: 1px; }
  .nav-brand-name {
    font-family: var(--font-sans);
    font-size: 15px; font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-navy);
  }
  [data-theme="khayal-dark"] .nav-brand-name { color: var(--fg-1); }
  .nav-brand-name .cyan { color: var(--brand-cyan); }
  .nav-brand-meta {
    font-family: var(--font-mono); font-size: 9px;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--fg-3); font-weight: 500;
  }
  .nav-links { display: flex; gap: 22px; margin-left: 12px; }
  .nav-link {
    font-family: var(--font-mono); font-size: 12px;
    color: var(--fg-2); text-decoration: none;
    padding: 4px 0; cursor: pointer; transition: color 120ms;
    letter-spacing: 0.04em;
  }
  .nav-link:hover { color: var(--fg-1); }
  .nav-spacer { flex: 1; }
  .nav-actions { display: flex; align-items: center; gap: 10px; }
  .theme-toggle {
    font-family: var(--font-mono); font-size: 10px;
    padding: 7px 12px;
    background: transparent; border: 1px solid var(--line-2);
    border-radius: 999px; color: var(--fg-2); cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 120ms;
    letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  }
  .theme-toggle:hover { border-color: var(--fg-1); color: var(--fg-1); }
  .theme-dot {
    width: 10px; height: 10px; border-radius: 999px;
    background: var(--brand-gradient);
    box-shadow: 0 0 0 1px var(--line-2), 0 0 8px var(--accent-soft);
  }
  .btn-hire {
    position: relative;
    font-family: var(--font-sans); font-size: 13px; font-weight: 700;
    padding: 10px 18px 10px 16px;
    background: var(--brand-gradient);
    background-size: 200% 100%;
    color: #fff;
    border: none;
    border-radius: var(--r-1); text-decoration: none;
    transition: background-position 400ms, transform 160ms, box-shadow 160ms;
    box-shadow: 0 2px 12px rgba(0,168,232,0.35), 0 0 0 1px rgba(255,255,255,0.15) inset;
    display: inline-flex; align-items: center; gap: 8px;
    overflow: hidden;
    letter-spacing: -0.01em;
  }
  .btn-hire::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 700ms cubic-bezier(.2,.8,.2,1);
  }
  .btn-hire:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,168,232,0.45), 0 0 0 1px rgba(255,255,255,0.2) inset; }
  .btn-hire:hover::after { transform: translateX(120%); }
  .btn-hire .btn-hire-arrow {
    width: 14px; height: 14px;
    transition: transform 180ms cubic-bezier(.2,.8,.2,1);
  }
  .btn-hire:hover .btn-hire-arrow { transform: translateX(3px); }
  .btn-hire .btn-hire-pulse {
    width: 7px; height: 7px; border-radius: 999px;
    background: #10B981;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.3);
    animation: hire-pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
  }
  @keyframes hire-pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(16,185,129,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.0); }
  }

  /* ============ BUTTONS ============ */
  .btn {
    font-family: var(--font-sans); font-size: 14px; font-weight: 600;
    padding: 13px 22px; border-radius: var(--r-1); cursor: pointer;
    transition: all 160ms cubic-bezier(.2,.8,.2,1);
    border: 1px solid transparent; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary {
    background: var(--brand-gradient);
    color: #fff; border: none;
    box-shadow: var(--shadow-1);
  }
  .btn-primary:hover { filter: brightness(1.08); box-shadow: var(--shadow-2); transform: translateY(-1px); }
  .btn-ghost { background: transparent; color: var(--fg-1); border-color: var(--line-2); }
  .btn-ghost:hover { border-color: var(--fg-1); background: var(--bg-inset); }
  .btn-arrow { width: 14px; height: 14px; }

  /* ============ HERO ============ */
  .hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(800px 500px at 100% 0%, var(--brand-gradient-soft), transparent 60%),
      radial-gradient(600px 400px at 0% 100%, var(--brand-gradient-soft), transparent 60%);
    pointer-events: none;
  }
  .hero-grid {
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: 56px; align-items: center; position: relative;
  }
  .hero-lead { max-width: 620px; }
  .hero-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--brand-cyan); font-weight: 600;
    margin-bottom: 16px;
  }
  .hero-kicker::before {
    content: ""; display: inline-block; width: 22px; height: 2px;
    background: var(--brand-gradient);
  }
  .hero-what-we-do {
    margin-top: 24px;
    display: flex; flex-wrap: wrap; gap: 6px 10px;
    font-family: var(--font-mono); font-size: 12px;
    color: var(--fg-2);
  }
  .hero-what-we-do span { display: inline-flex; align-items: center; gap: 6px; }
  .hero-what-we-do span::before {
    content: ""; width: 5px; height: 5px; border-radius: 999px;
    background: var(--brand-cyan);
  }
  .hero-eyebrow-row {
    display: inline-flex; align-items: center; gap: 12px;
    margin-bottom: 32px;
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-2);
    padding: 6px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--bg-2);
  }
  [data-theme="khayal-dark"] .hero-eyebrow-row { background: var(--bg-1); }
  .hero-eyebrow-dot {
    width: 7px; height: 7px; border-radius: 999px;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.22);
  }
  .hero-title {
    font-family: var(--font-sans);
    font-size: 62px; line-height: 1.02;
    letter-spacing: -0.035em; font-weight: 800;
    color: var(--fg-1); margin: 0 0 18px;
  }
  .hero-title .brand-k {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .hero-title em {
    font-family: var(--font-serif); font-style: italic;
    font-weight: 500; color: var(--fg-2);
  }
  .hero-sub {
    font-family: var(--font-sans);
    font-size: 17px; line-height: 1.5;
    color: var(--fg-2); max-width: 520px; margin: 0 0 28px;
  }
  .hero-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

  /* Credibility panel — left side */
  .cred-panel {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-3);
    overflow: hidden;
    max-width: 440px;
    margin-left: auto;
    transition: transform 400ms cubic-bezier(.2,.8,.2,1);
  }
  .cred-panel:hover { transform: translateY(-2px); }
  .cred-panel::before {
    content: ""; position: absolute; inset: -2px;
    background: conic-gradient(from 0deg, transparent 0deg, var(--brand-cyan) 60deg, transparent 120deg, transparent 360deg);
    opacity: 0.5; z-index: 0;
    animation: cred-spin 6s linear infinite;
    filter: blur(8px);
    pointer-events: none;
  }
  .cred-panel > * { position: relative; z-index: 1; }
  @keyframes cred-spin { to { transform: rotate(360deg); } }
  [data-theme="khayal-dark"] .cred-panel { background: var(--bg-1); }
  .cred-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px;
    background: var(--brand-gradient);
    color: #fff;
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.16em; text-transform: uppercase;
    font-weight: 600;
    position: relative; overflow: hidden;
  }
  .cred-head::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: cred-shine 3.5s ease-in-out infinite;
  }
  @keyframes cred-shine { 0%,70% { left: -40%; } 85% { left: 110%; } 100% { left: 110%; } }
  .cred-head .star { color: #fff; font-size: 12px; letter-spacing: 2px; }
  .cred-hero { position: relative; }
  .cred-hero-v { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
  .cred-bars {
    display: flex; gap: 3px; height: 18px; align-items: flex-end;
    margin: 10px auto 0; justify-content: center;
  }
  .cred-bars span {
    width: 4px; background: var(--brand-gradient); border-radius: 1px;
    animation: cred-bar 1.4s ease-in-out infinite;
  }
  .cred-bars span:nth-child(1) { animation-delay: 0s; height: 40%; }
  .cred-bars span:nth-child(2) { animation-delay: 0.15s; height: 70%; }
  .cred-bars span:nth-child(3) { animation-delay: 0.3s; height: 100%; }
  .cred-bars span:nth-child(4) { animation-delay: 0.45s; height: 60%; }
  .cred-bars span:nth-child(5) { animation-delay: 0.6s; height: 85%; }
  .cred-bars span:nth-child(6) { animation-delay: 0.75s; height: 50%; }
  .cred-bars span:nth-child(7) { animation-delay: 0.9s; height: 75%; }
  @keyframes cred-bar { 0%,100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
  .cred-foot .status-dot {
    animation: hire-pulse 1.8s ease-in-out infinite;
  }
  .cred-hero {
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--line-1);
    text-align: center;
  }
  .cred-hero-v {
    font-family: var(--font-sans); font-size: 42px;
    font-weight: 800; letter-spacing: -0.04em;
    color: var(--fg-1); line-height: 1;
    background: var(--brand-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .cred-hero-k {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--fg-3); margin-top: 6px;
    font-weight: 600;
  }
  .cred-list {
    display: grid; grid-template-columns: 1fr 1fr;
  }
  .cred-item {
    padding: 16px 18px;
    border-right: 1px solid var(--line-1);
    border-bottom: 1px solid var(--line-1);
  }
  .cred-item:nth-child(2n) { border-right: none; }
  .cred-item:nth-last-child(-n+2) { border-bottom: none; }
  .cred-item-k {
    font-family: var(--font-mono); font-size: 9px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--fg-3); margin-bottom: 6px; font-weight: 600;
  }
  .cred-item-v {
    font-family: var(--font-sans); font-size: 22px;
    font-weight: 800; color: var(--fg-1);
    letter-spacing: -0.03em; line-height: 1;
  }
  .cred-item-v .unit {
    background: var(--brand-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 14px; font-weight: 700;
  }
  .cred-item-note {
    font-family: var(--font-mono); font-size: 9px;
    color: var(--fg-3); letter-spacing: 0.06em;
    margin-top: 4px;
  }
  .cred-foot {
    padding: 10px 18px;
    background: var(--bg-inset);
    border-top: 1px solid var(--line-1);
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-3);
    display: flex; align-items: center; justify-content: space-between;
  }
  .cred-foot .status-dot-wrap {
    width: 7px; height: 7px; border-radius: 999px;
    background: #10B981;
    display: inline-block; margin-right: 6px;
    vertical-align: middle;
  }

  /* Hero logo stage — now in corner as a compact mark */
  .hero-stage { display: none; }
  .hero-stage-bg {
    position: absolute; inset: 0;
    border-radius: var(--r-3);
    background:
      radial-gradient(closest-side, var(--brand-gradient-soft), transparent 72%);
  }
  .hero-stage-grid {
    position: absolute; inset: 20px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-2);
    background:
      linear-gradient(var(--grid-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 24px 24px;
    background-color: var(--bg-2);
    box-shadow: var(--shadow-3);
  }
  [data-theme="khayal-dark"] .hero-stage-grid { background-color: var(--bg-1); }
  .hero-stage-corner {
    position: absolute; width: 14px; height: 14px;
    border: 2px solid var(--brand-cyan);
    z-index: 2;
  }
  .hero-stage-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
  .hero-stage-corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
  .hero-stage-corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
  .hero-stage-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
  .hero-stage-logo {
    position: absolute; inset: 20px;
    display: grid; place-items: center;
    padding: 24px;
  }
  .hero-stage-logo img {
    width: 82%; height: 82%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(15, 42, 74, 0.22));
  }
  [data-theme="khayal-dark"] .hero-stage-logo img {
    filter: drop-shadow(0 0 24px rgba(0,168,232,0.4)) drop-shadow(0 0 48px rgba(0,168,232,0.2));
  }
  .hero-stage-tag {
    position: absolute; bottom: 36px; left: 36px;
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-3); z-index: 3;
  }
  .hero-stage-rev {
    position: absolute; top: 36px; right: 36px;
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-3); z-index: 3;
  }
  .hero-trace {
    position: absolute; top: 0; left: -30px;
    width: 60px; height: 40%;
    color: var(--brand-cyan);
    opacity: 0.5;
    z-index: 1;
  }

  /* ============ SECTION ============ */
  .section { padding: 72px 0; }
  .section-tight { padding: 36px 0; }
  .section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 44px; padding-bottom: 20px;
    border-bottom: 1px solid var(--line-1);
    gap: 32px; flex-wrap: wrap;
  }
  .section-head-left { flex: 1; min-width: 300px; max-width: 720px; }
  .section-eyebrow {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--brand-cyan); font-weight: 600;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
  }
  .section-eyebrow::before {
    content: ""; display: inline-block;
    width: 22px; height: 2px;
    background: var(--brand-gradient);
  }
  .section-title {
    font-family: var(--font-sans);
    font-size: 44px; font-weight: 800;
    line-height: 1.05; letter-spacing: -0.03em;
    color: var(--fg-1); margin: 0;
  }
  .section-title em {
    font-family: var(--font-serif); font-style: italic; font-weight: 500;
    color: var(--fg-2);
  }
  .section-title .cyan { color: var(--brand-cyan); }
  .section-sub {
    font-family: var(--font-sans); font-size: 16px;
    color: var(--fg-2); line-height: 1.6;
    max-width: 580px; margin: 16px 0 0;
  }
  .section-aside {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.14em; color: var(--fg-3);
    text-transform: uppercase;
    padding: 8px 12px; border: 1px solid var(--line-2);
    border-radius: 999px; flex-shrink: 0;
  }

  /* ============ STATS STRIP ============ */
  .stats-strip {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    background: var(--bg-2);
    box-shadow: var(--shadow-1);
  }
  [data-theme="khayal-dark"] .stats-strip { background: var(--bg-1); }
  .stat-cell {
    padding: 24px 28px;
    border-right: 1px solid var(--line-1);
    font-family: var(--font-sans);
    position: relative;
  }
  .stat-cell::before {
    content: ""; position: absolute;
    top: 0; left: 0; width: 32px; height: 2px;
    background: var(--brand-gradient);
  }
  .stat-cell:last-child { border-right: none; }
  .stat-cell-k {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--fg-3); margin-bottom: 14px;
  }
  .stat-cell-v {
    font-family: var(--font-sans);
    font-size: 52px; font-weight: 800;
    color: var(--fg-1); letter-spacing: -0.04em;
    line-height: 1;
  }
  .stat-cell-v .unit {
    background: var(--brand-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px; font-weight: 700;
  }
  .stat-cell-note {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--fg-3); margin-top: 10px;
    letter-spacing: 0.06em;
  }

  /* ============ SERVICES ============ */
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }
  .service-cell {
    padding: 28px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-2);
    display: flex; flex-direction: column; gap: 14px;
    transition: all 180ms cubic-bezier(.2,.8,.2,1);
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-1);
  }
  [data-theme="khayal-dark"] .service-cell { background: var(--bg-1); }
  .service-cell::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--brand-gradient);
    opacity: 0.7; transition: opacity 180ms;
  }
  .service-cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); border-color: var(--brand-cyan); }
  .service-cell:hover::before { opacity: 1; }
  .service-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 4px;
  }
  .service-pin-num {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--fg-3); letter-spacing: 0.14em;
  }
  .service-pin-icon {
    width: 44px; height: 44px;
    border-radius: var(--r-2);
    background: var(--brand-gradient-soft);
    border: 1px solid var(--line-2);
    display: grid; place-items: center;
    color: var(--brand-navy);
  }
  [data-theme="khayal-dark"] .service-pin-icon { color: var(--brand-cyan); }
  .service-pin-icon svg { width: 22px; height: 22px; }
  .service-cell h3 {
    font-family: var(--font-sans); font-size: 20px;
    font-weight: 700; color: var(--fg-1);
    margin: 0; letter-spacing: -0.02em;
  }
  .service-cell p {
    font-family: var(--font-sans); font-size: 14px;
    line-height: 1.55; color: var(--fg-2); margin: 0;
    flex: 1;
  }
  .service-tags {
    display: flex; gap: 6px; flex-wrap: wrap;
    padding-top: 14px; border-top: 1px dashed var(--line-1);
  }
  .chip {
    font-family: var(--font-mono); font-size: 10px;
    padding: 3px 8px; border-radius: var(--r-1);
    background: var(--bg-inset); color: var(--fg-2);
    border: 1px solid var(--line-1);
    letter-spacing: 0.04em;
  }

  /* ============ WORK GALLERY (2×2 balanced grid) ============ */
  .gallery-banner {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; margin-bottom: 20px;
    background: var(--brand-gradient-soft);
    border: 1px dashed var(--brand-cyan);
    border-radius: var(--r-2);
    font-family: var(--font-mono); font-size: 11px;
    color: var(--fg-2); letter-spacing: 0.04em;
  }
  .gallery-banner::before {
    content: "ⓘ"; color: var(--brand-cyan);
    font-size: 14px;
  }

  .work-gallery {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .work-card {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-2);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: all 180ms cubic-bezier(.2,.8,.2,1);
    box-shadow: var(--shadow-1);
  }
  [data-theme="khayal-dark"] .work-card { background: var(--bg-1); }
  .work-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
    border-color: var(--brand-cyan);
  }
  .work-media {
    aspect-ratio: 16 / 9;
    background: var(--bg-inset);
    position: relative; overflow: hidden;
    border-bottom: 1px solid var(--line-1);
  }
  .work-media-placeholder {
    position: absolute; inset: 0;
    display: grid; place-items: center;
  }
  .work-media-placeholder svg {
    width: 100%; height: 100%;
  }
  .work-media-badge {
    position: absolute; top: 12px; right: 12px;
    font-family: var(--font-mono); font-size: 9px;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 4px 8px;
    background: rgba(15, 42, 74, 0.78);
    color: #fff;
    border-radius: var(--r-1);
    backdrop-filter: blur(6px);
  }
  [data-theme="khayal-dark"] .work-media-badge {
    background: rgba(0, 168, 232, 0.82);
    color: #07162A;
  }
  .work-media-swap {
    position: absolute; bottom: 12px; left: 12px;
    font-family: var(--font-mono); font-size: 9px;
    letter-spacing: 0.10em; text-transform: uppercase;
    padding: 4px 8px;
    background: rgba(255,255,255,0.85);
    color: var(--brand-navy);
    border: 1px dashed var(--brand-navy);
    border-radius: var(--r-1);
  }
  [data-theme="khayal-dark"] .work-media-swap {
    background: rgba(0, 168, 232, 0.12);
    color: var(--brand-cyan);
    border-color: var(--brand-cyan);
  }
  .work-info { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
  .work-meta-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px;
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.12em; color: var(--fg-3);
    text-transform: uppercase;
  }
  .work-idx {
    color: var(--brand-cyan); font-weight: 700;
  }
  .work-year { color: var(--fg-3); }
  .work-info h4 {
    font-family: var(--font-sans); font-size: 22px;
    font-weight: 700; color: var(--fg-1);
    margin: 0 0 8px; letter-spacing: -0.02em;
  }
  .work-info p {
    font-family: var(--font-sans); font-size: 14px;
    line-height: 1.55; color: var(--fg-2); margin: 0 0 16px;
    flex: 1;
  }
  .work-tags {
    display: flex; gap: 6px; flex-wrap: wrap;
  }
  .work-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-mono); font-size: 9px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-2);
  }
  .work-status::before {
    content: ""; width: 6px; height: 6px; border-radius: 999px;
    background: #10B981;
  }
  .work-status.wip::before { background: #F59E0B; }

  /* ============ SKILLS ============ */
  .skills-wrap {
    border: 1px solid var(--line-2);
    border-radius: var(--r-2);
    background: var(--bg-2);
    box-shadow: var(--shadow-1);
    overflow: hidden;
  }
  [data-theme="khayal-dark"] .skills-wrap { background: var(--bg-1); }
  .skills-wrap-head {
    display: grid; grid-template-columns: 240px 1fr;
    gap: 24px; padding: 12px 28px;
    background: var(--brand-gradient-soft);
    border-bottom: 1px solid var(--line-2);
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--fg-3); font-weight: 600;
  }
  .skills-row {
    display: grid; grid-template-columns: 240px 1fr;
    gap: 24px; padding: 20px 28px;
    border-bottom: 1px dashed var(--line-1);
    align-items: center;
  }
  .skills-row:last-child { border-bottom: none; }
  .skills-row-label {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-sans); font-size: 15px;
    color: var(--fg-1); font-weight: 700;
    letter-spacing: -0.01em;
  }
  .skills-row-label .dot {
    width: 8px; height: 8px;
    background: var(--brand-gradient);
    border-radius: 999px; flex-shrink: 0;
  }
  .skills-items {
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .pill {
    font-family: var(--font-mono); font-size: 12px;
    padding: 6px 11px; border-radius: var(--r-1);
    background: var(--bg-0); color: var(--fg-1);
    border: 1px solid var(--line-2);
    letter-spacing: 0.02em;
    transition: all 120ms;
  }
  .pill:hover {
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
    background: var(--bg-inset);
  }

  /* ============ TESTIMONIALS ============ */
  .reviews-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    align-items: stretch;
  }
  .review-featured {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-3);
    padding: 40px 42px 32px;
    overflow: hidden;
    min-height: 340px;
    display: flex; flex-direction: column;
  }
  [data-theme="khayal-dark"] .review-featured { background: var(--bg-1); }
  .review-featured::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--brand-gradient);
  }
  .review-featured::after {
    content: ""; position: absolute; top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0,174,239,0.08), transparent 70%);
    pointer-events: none;
  }
  .review-chrome {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--fg-3);
  }
  .review-chrome-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 10px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 999px;
    color: #10B981;
    font-weight: 600;
  }
  .review-chrome-badge::before {
    content: ""; width: 6px; height: 6px; border-radius: 999px;
    background: #10B981;
  }
  .review-glyph {
    font-family: var(--font-serif); font-size: 96px;
    line-height: 0.6; color: var(--brand-cyan); opacity: 0.22;
    font-style: italic; font-weight: 700;
    margin-bottom: -20px;
  }
  .review-stars-big {
    color: var(--brand-cyan);
    font-size: 18px; letter-spacing: 4px;
    margin-bottom: 18px;
  }
  .review-stars-big span {
    display: inline-block;
    animation: star-in 0.4s ease-out both;
  }
  .review-stars-big span:nth-child(1) { animation-delay: 0.05s; }
  .review-stars-big span:nth-child(2) { animation-delay: 0.12s; }
  .review-stars-big span:nth-child(3) { animation-delay: 0.19s; }
  .review-stars-big span:nth-child(4) { animation-delay: 0.26s; }
  .review-stars-big span:nth-child(5) { animation-delay: 0.33s; }
  @keyframes star-in { from { opacity: 0; transform: scale(0.5) rotate(-45deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
  .review-quote-big {
    font-family: var(--font-serif);
    font-size: 26px; line-height: 1.35;
    font-style: italic; font-weight: 500;
    color: var(--fg-1);
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    flex: 1;
    text-wrap: pretty;
  }
  .review-meta-big {
    display: flex; align-items: center; gap: 16px;
    padding-top: 22px;
    border-top: 1px dashed var(--line-1);
  }
  .review-avatar-big {
    width: 52px; height: 52px; flex-shrink: 0;
    background: var(--brand-gradient);
    color: #fff; border-radius: 999px;
    display: grid; place-items: center;
    font-family: var(--font-mono);
    font-size: 15px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,174,239,0.35);
  }
  .review-name-big {
    font-family: var(--font-sans); font-size: 16px;
    font-weight: 700; color: var(--fg-1);
    letter-spacing: -0.01em;
  }
  .review-role-big {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--fg-3); letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
  }
  .review-project {
    margin-left: auto;
    text-align: right;
    font-family: var(--font-mono); font-size: 10px;
    color: var(--fg-3); letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .review-project strong {
    display: block; color: var(--brand-cyan);
    font-weight: 600; font-size: 11px;
    margin-top: 2px;
  }

  /* side stack */
  .review-side {
    display: flex; flex-direction: column; gap: 12px;
  }
  .review-thumb {
    background: var(--bg-2);
    border: 1px solid var(--line-1);
    border-radius: var(--r-2);
    padding: 16px 18px;
    cursor: pointer;
    transition: all 200ms ease;
    position: relative;
    display: flex; gap: 12px;
    align-items: flex-start;
  }
  [data-theme="khayal-dark"] .review-thumb { background: var(--bg-1); }
  .review-thumb:hover {
    transform: translateX(-4px);
    border-color: var(--brand-cyan);
  }
  .review-thumb.is-active {
    border-color: var(--brand-cyan);
    box-shadow: -4px 0 0 var(--brand-cyan), var(--shadow-1);
  }
  .review-thumb-avatar {
    width: 34px; height: 34px; flex-shrink: 0;
    background: var(--brand-gradient);
    color: #fff; border-radius: 999px;
    display: grid; place-items: center;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700;
  }
  .review-thumb-body { flex: 1; min-width: 0; }
  .review-thumb-stars {
    color: var(--brand-cyan);
    font-size: 10px; letter-spacing: 1.5px;
    margin-bottom: 4px;
  }
  .review-thumb-quote {
    font-family: var(--font-sans);
    font-size: 12.5px; line-height: 1.45;
    color: var(--fg-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
  }
  .review-thumb-name {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--fg-3); letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .review-thumb-name strong {
    color: var(--fg-1); font-weight: 700;
    margin-right: 6px;
  }

  /* legacy grid kept for fallback */
  .testimonial-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .testimonial {
    padding: 30px 26px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-2);
    box-shadow: var(--shadow-1);
    display: flex; flex-direction: column;
    position: relative;
  }
  [data-theme="khayal-dark"] .testimonial { background: var(--bg-1); }
  .testimonial::before {
    content: "";
    position: absolute; top: 0; left: 26px; right: 26px;
    height: 3px; background: var(--brand-gradient);
  }
  .testimonial-stars {
    color: var(--brand-cyan);
    font-size: 14px; letter-spacing: 2px;
    margin-bottom: 14px;
  }
  .testimonial-quote {
    font-family: var(--font-serif); font-size: 17px;
    font-style: italic; font-weight: 500;
    line-height: 1.5; color: var(--fg-1);
    margin: 0 0 24px; text-wrap: pretty;
    flex: 1;
  }
  .testimonial-meta {
    display: flex; align-items: center; gap: 12px;
    padding-top: 16px;
    border-top: 1px dashed var(--line-1);
  }
  .testimonial-avatar {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--brand-gradient);
    color: #fff;
    border-radius: var(--r-1);
    display: grid; place-items: center;
    font-family: var(--font-mono); font-size: 13px;
    font-weight: 700;
  }
  .testimonial-name {
    font-family: var(--font-sans); font-size: 14px;
    font-weight: 700; color: var(--fg-1);
    letter-spacing: -0.01em;
  }
  .testimonial-role {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--fg-3); letter-spacing: 0.06em;
    margin-top: 3px;
  }

  /* ============ TEAM ============ */
  .team-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .team-card {
    padding: 22px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-2);
    display: grid; grid-template-columns: 60px 1fr;
    gap: 16px; align-items: center;
    transition: all 180ms;
    box-shadow: var(--shadow-1);
  }
  [data-theme="khayal-dark"] .team-card { background: var(--bg-1); }
  .team-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-2);
    border-color: var(--brand-cyan);
  }
  .team-avatar {
    width: 60px; height: 60px;
    background: var(--brand-gradient);
    color: #fff;
    border-radius: var(--r-2);
    display: grid; place-items: center;
    font-family: var(--font-sans); font-weight: 700;
    font-size: 20px; letter-spacing: -0.03em;
  }
  .team-info h4 {
    font-family: var(--font-sans); font-size: 16px;
    font-weight: 700; color: var(--fg-1);
    margin: 0 0 3px; letter-spacing: -0.01em;
  }
  .team-role {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--fg-2); letter-spacing: 0.02em;
    display: block; margin-bottom: 6px;
  }
  .team-tag {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--brand-cyan); letter-spacing: 0.08em;
    text-transform: uppercase; font-weight: 600;
  }

  .recognition {
    margin-top: 36px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-2);
    background: var(--bg-2);
    padding: 32px 36px;
    box-shadow: var(--shadow-1);
  }
  [data-theme="khayal-dark"] .recognition { background: var(--bg-1); }
  .recognition-title {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--brand-cyan); margin-bottom: 20px; font-weight: 600;
  }
  .recognition-list { list-style: none; padding: 0; margin: 0; }
  .recognition-list li {
    display: grid; grid-template-columns: 200px 1fr;
    gap: 24px; padding: 14px 0;
    border-bottom: 1px dashed var(--line-1);
    align-items: baseline;
  }
  .recognition-list li:last-child { border-bottom: none; }
  .recognition-k {
    font-family: var(--font-sans); font-weight: 700;
    color: var(--brand-navy); letter-spacing: -0.01em;
    font-size: 14px;
  }
  [data-theme="khayal-dark"] .recognition-k { color: var(--brand-cyan); }
  .recognition-v {
    font-family: var(--font-sans); font-size: 14px;
    color: var(--fg-2); line-height: 1.55;
  }

  /* ============ CONTACT ============ */
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 0;
    border: 1px solid var(--line-2); border-radius: var(--r-2);
    background: var(--bg-2); overflow: hidden;
    box-shadow: var(--shadow-3);
  }
  [data-theme="khayal-dark"] .contact-grid { background: var(--bg-1); }
  .contact-left {
    padding: 36px 32px;
    border-right: 1px solid var(--line-2);
    background: var(--brand-gradient);
    color: #fff;
    position: relative; overflow: hidden;
  }
  .contact-left .section-eyebrow { color: rgba(255,255,255,0.85); }
  .contact-left .section-eyebrow::before { background: rgba(255,255,255,0.7); }

  /* live preview card */
  .contact-preview {
    position: relative; z-index: 2;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--r-2);
    padding: 18px 20px;
    margin: 18px 0 22px;
    backdrop-filter: blur(4px);
    transition: all 220ms cubic-bezier(.2,.8,.2,1);
  }
  .contact-preview-head {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-mono); font-size: 9.5px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    padding-bottom: 10px; margin-bottom: 10px;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
  }
  .contact-preview-head .dot {
    display: inline-block; width: 6px; height: 6px; border-radius: 999px;
    background: #7CFFB2; margin-right: 6px; vertical-align: middle;
    box-shadow: 0 0 0 3px rgba(124,255,178,0.25);
    animation: hire-pulse 1.8s ease-in-out infinite;
  }
  .contact-preview-from { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; letter-spacing: -0.01em; font-family: var(--font-sans); }
  .contact-preview-subj { font-size: 12.5px; color: rgba(255,255,255,0.85); font-family: var(--font-sans); }
  .contact-preview-pill {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-family: var(--font-mono); font-size: 9.5px;
    letter-spacing: 0.1em; text-transform: uppercase;
    font-weight: 600;
  }

  /* clock tile */
  .contact-clock {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 14px; align-items: center;
    padding: 14px 16px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--r-2);
    margin-bottom: 20px;
  }
  .contact-clock-face {
    width: 46px; height: 46px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    position: relative;
    background: rgba(255,255,255,0.06);
  }
  .contact-clock-face::before,
  .contact-clock-face::after {
    content: ""; position: absolute;
    left: 50%; top: 50%;
    background: #fff;
    transform-origin: top center;
    border-radius: 2px;
  }
  .contact-clock-face::before {
    /* minute hand */
    width: 2px; height: 17px;
    margin-left: -1px;
    transform: rotate(var(--min, 0deg));
  }
  .contact-clock-face::after {
    /* hour hand */
    width: 3px; height: 12px;
    margin-left: -1.5px;
    transform: rotate(var(--hr, 0deg));
  }
  .contact-clock-dot {
    position: absolute; left: 50%; top: 50%;
    width: 5px; height: 5px; margin: -2.5px;
    background: var(--brand-cyan); border-radius: 999px;
    z-index: 2;
  }
  .contact-clock-info { line-height: 1.35; }
  .contact-clock-time {
    font-family: var(--font-mono); font-size: 15px;
    color: #fff; font-weight: 700; letter-spacing: 0.04em;
  }
  .contact-clock-loc {
    font-family: var(--font-mono); font-size: 9.5px;
    color: rgba(255,255,255,0.7); letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .contact-clock-eta {
    text-align: right;
    font-family: var(--font-mono); font-size: 9.5px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.7);
  }
  .contact-clock-eta strong {
    display: block;
    font-size: 14px; color: #7CFFB2;
    font-weight: 700; letter-spacing: 0.02em;
    margin-top: 2px;
  }

  /* channels */
  .contact-channels { display: flex; flex-direction: column; position: relative; z-index: 2; }
  .contact-channel {
    display: grid; grid-template-columns: 28px 80px 1fr auto;
    gap: 12px; padding: 14px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.22);
    text-decoration: none; color: inherit;
    align-items: center;
    transition: all 160ms;
    cursor: pointer;
  }
  .contact-channel:last-child { border-bottom: none; }
  .contact-channel:hover { padding-left: 6px; }
  .contact-channel-ico {
    width: 28px; height: 28px;
    display: grid; place-items: center;
    background: rgba(255,255,255,0.12);
    border-radius: var(--r-1);
    color: #fff;
  }
  .contact-channel-ico svg { width: 14px; height: 14px; fill: currentColor; }
  .contact-channel-k {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,255,255,0.65);
  }
  .contact-channel-v {
    font-family: var(--font-sans); font-size: 14px;
    color: #fff; font-weight: 600; letter-spacing: -0.01em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .contact-channel-arrow {
    font-family: var(--font-mono); font-size: 11px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.08em;
    transition: all 160ms;
  }
  .contact-channel:hover .contact-channel-arrow {
    color: #fff; transform: translateX(4px);
  }
  .contact-channel.copied .contact-channel-arrow {
    color: #7CFFB2;
  }

  .contact-right { padding: 36px 32px; background: var(--bg-0); }

  /* stage chips */
  .chip-row {
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-family: var(--font-sans); font-size: 13px;
    color: var(--fg-2); font-weight: 600;
    cursor: pointer; user-select: none;
    transition: all 140ms;
  }
  [data-theme="khayal-dark"] .chip { background: var(--bg-1); }
  .chip:hover {
    border-color: var(--brand-cyan);
    color: var(--fg-1);
  }
  .chip.is-selected {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0,168,232,0.3);
  }
  [data-theme="khayal-dark"] .chip.is-selected {
    box-shadow: none;
  }
  .chip-mark {
    width: 14px; height: 14px;
    border-radius: 999px;
    border: 1.5px solid currentColor;
    display: grid; place-items: center;
    flex-shrink: 0;
    transition: all 160ms;
  }
  .chip.is-selected .chip-mark {
    background: #fff; border-color: #fff;
    color: var(--brand-navy);
  }
  .chip-mark svg {
    width: 8px; height: 8px;
    opacity: 0;
    transition: opacity 140ms;
  }
  .chip.is-selected .chip-mark svg { opacity: 1; }

  /* budget slider */
  .budget-wrap {
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-2);
    padding: 14px 16px;
  }
  [data-theme="khayal-dark"] .budget-wrap { background: var(--bg-1); }
  .budget-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 10px;
  }
  .budget-head .k {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-3); font-weight: 600;
  }
  .budget-head .v {
    font-family: var(--font-mono); font-size: 16px;
    color: var(--brand-cyan); font-weight: 700;
    letter-spacing: 0.02em;
  }
  .budget-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 4px;
    background: var(--line-2);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
  }
  .budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 18px; height: 18px;
    background: var(--brand-gradient);
    border: 3px solid var(--bg-0);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 0 0 1px var(--brand-cyan);
  }
  .budget-slider::-moz-range-thumb {
    width: 18px; height: 18px;
    background: #00A8E8;
    border: 3px solid var(--bg-0);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 0 0 1px var(--brand-cyan);
  }
  .budget-ticks {
    display: flex; justify-content: space-between;
    margin-top: 8px;
    font-family: var(--font-mono); font-size: 9px;
    color: var(--fg-3); letter-spacing: 0.06em;
  }

  /* submit bar */
  .submit-bar {
    display: grid; grid-template-columns: 1fr auto;
    align-items: center; gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--line-1);
  }
  .submit-status {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--fg-3);
  }
  .submit-status .ok {
    color: #10B981; font-weight: 700;
  }
  .submit-status .progress {
    display: inline-block; width: 60px; height: 4px;
    background: var(--line-2); border-radius: 999px;
    vertical-align: middle; margin-left: 8px;
    position: relative; overflow: hidden;
  }
  .submit-status .progress::after {
    content: ""; position: absolute;
    left: 0; top: 0; bottom: 0;
    width: var(--fill, 0%);
    background: var(--brand-gradient);
    border-radius: 999px;
    transition: width 280ms ease;
  }
  .field { margin-bottom: 16px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 0; }
  .field-row .field { margin-bottom: 16px; }
  .lbl {
    display: block; font-family: var(--font-mono);
    font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-3); margin-bottom: 6px; font-weight: 600;
  }
  .input {
    display: block; width: 100%;
    font-family: var(--font-sans); font-size: 14px;
    padding: 12px 14px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--r-1);
    color: var(--fg-1); outline: none;
    transition: all 120ms;
  }
  [data-theme="khayal-dark"] .input { background: var(--bg-1); }
  .input:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }

  /* ============ FOOTER ============ */
  .footer {
    margin-top: 96px;
    /* Full-width band; content centered in the 1040-wide container area */
    padding: 72px max(20px, calc((100vw - 1040px) / 2)) 32px;
    border-top: 1px solid var(--line-1);
    width: 100%;
    background: var(--bg-1);
  }

  /* KIT abbreviation — flows under the brand name, no box */
  .footer-kit {
    display: inline-flex; align-items: center;
    gap: 8px;
    margin: 4px 0 2px;
    line-height: 1;
    width: fit-content;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .footer-kit > span {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
  }
  .footer-kit > i {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--brand-cyan);
    opacity: 0.5;
    flex-shrink: 0;
  }

  /* Booking CTA card — integrated inside footer brand block */
  .footer-book-card {
    display: inline-flex; align-items: center; justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--brand-gradient);
    color: #fff;
    border-radius: var(--r-2);
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,168,232,0.32);
    transition: all 220ms cubic-bezier(.2,.8,.2,1);
    position: relative; overflow: hidden;
    width: 100%; max-width: 300px;
  }
  .footer-book-card::after {
    content: ""; position: absolute;
    top: -60%; right: -10%;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 60%);
    pointer-events: none;
  }
  .footer-book-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,168,232,0.46);
  }
  .footer-book-card-text {
    display: flex; flex-direction: column; gap: 3px;
    position: relative; z-index: 1;
  }
  .footer-book-card-eyebrow {
    font-family: var(--font-mono); font-size: 9.5px;
    letter-spacing: 0.20em; text-transform: uppercase;
    color: rgba(255,255,255,0.85); font-weight: 700;
  }
  .footer-book-card-title {
    font-family: var(--font-sans); font-size: 14.5px;
    font-weight: 700; letter-spacing: -0.005em;
    color: #fff;
  }
  .footer-book-card-arrow {
    font-size: 22px; font-weight: 700;
    color: #fff;
    transition: transform 200ms;
    position: relative; z-index: 1;
  }
  .footer-book-card:hover .footer-book-card-arrow { transform: translateX(4px); }

  [data-theme="khayal-dark"] .footer { background: var(--bg-0); }

  .footer-inner {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) 1fr 1fr 1.1fr;
    gap: 40px 32px;
    align-items: start;
  }

  /* Brand column (leftmost) */
  .footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-logo {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: grid; place-items: center;
  }
  .footer-logo img { width: 100%; height: 100%; object-fit: contain; }
  .footer-brand-text { display: flex; flex-direction: column; gap: 4px; }
  .footer-brand-name {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 800;
    color: var(--fg-1);
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .footer-brand-name .cyan { color: var(--brand-cyan); }
  .footer-brand-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--fg-3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.4;
  }

  /* Link columns */
  .footer-cols {
    display: contents; /* let columns participate in parent grid */
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-col-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line-1);
  }
  .footer-col a {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--fg-2);
    text-decoration: none;
    line-height: 1.4;
    transition: color 140ms;
    width: fit-content;
  }
  .footer-col a:hover { color: var(--brand-cyan); }

  /* Bottom bar */
  .footer-bar {
    max-width: 100%;
    margin: 56px auto 0;
    padding-top: 24px;
    border-top: 1px dashed var(--line-1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-3);
    letter-spacing: 0.08em;
  }
  .footer-bar-meta { color: var(--fg-3); opacity: 0.75; }

  /* Legacy mid + socials kept for backward compat in single-page version */
  .footer-mid {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--fg-3); letter-spacing: 0.06em; text-align: center;
  }
  .footer-socials { display: flex; gap: 10px; }
  .footer-social {
    width: 48px; height: 48px;
    border: 0;
    border-radius: var(--r-2);
    display: grid; place-items: center;
    color: var(--fg-2);
    transition: all 160ms;
    text-decoration: none;
  }
  .footer-social:hover {
    color: var(--brand-cyan);
    transform: translateY(-1px);
  }
  .footer-social svg { width: 22px; height: 22px; }

  @media (max-width: 880px) {
    .footer-inner {
      grid-template-columns: 1fr 1fr;
      gap: 40px 24px;
    }
    .footer-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 520px) {
    .footer { padding: 40px 20px 20px; }
    .footer-book-card { max-width: 100%; padding: 12px 16px; }
    .footer-book-card-title { font-size: 13.5px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 960px) {
    .container { padding: 0 20px; }
    .nav { padding: 12px 20px; }
    .nav-links { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-title { font-size: 44px; }
    .cred-panel { max-width: none; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .stat-cell:nth-child(2) { border-right: none; }
    .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--line-1); }
    .testimonial-grid { grid-template-columns: 1fr; }
    .reviews-wrap { grid-template-columns: 1fr; }
    .review-featured { padding: 30px 26px 24px; min-height: auto; }
    .review-quote-big { font-size: 20px; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-left { border-right: none; border-bottom: 1px solid var(--line-2); }
    .recognition-list li { grid-template-columns: 1fr; gap: 4px; }
    .section-title { font-size: 32px; }
    .work-gallery { grid-template-columns: 1fr; }
    .skills-wrap-head, .skills-row { grid-template-columns: 1fr; }
    .skills-wrap-head { display: none; }
  }
  @media (max-width: 720px) {
    .hero { padding: 56px 0 36px; }
    .hero-grid { gap: 24px; }
    .hero-title { font-size: 38px; line-height: 1.08; }
    .hero-sub { font-size: 15px; line-height: 1.55; }
    .hero-kicker { font-size: 10.5px; margin-bottom: 12px; }
    .hero-what-we-do { font-size: 11px; gap: 5px 10px; margin-top: 18px; }

    .cred-panel { margin-left: 0; max-width: none; }
    .cred-head { padding: 12px 14px; font-size: 9.5px; }
    .cred-hero { padding: 18px 16px 14px; }
    .cred-hero-v { font-size: 32px; }
    .cred-hero-k { font-size: 9px; margin-top: 4px; }
    .cred-bars { height: 14px; margin-top: 8px; }
    .cred-item { padding: 12px 14px; }
    .cred-item-v { font-size: 18px; }
    .cred-item-k { font-size: 8.5px; margin-bottom: 4px; }
    .cred-item-note { font-size: 8.5px; margin-top: 3px; }
    .cred-foot { padding: 8px 14px; font-size: 9.5px; }

    .stats-strip { padding: 14px; gap: 8px; }
    .stat-cell { padding: 14px 12px; }
    .stat-cell-v { font-size: 24px; }
    .stat-cell-k { font-size: 9.5px; }
    .stat-cell-note { font-size: 10px; }
  }
  @media (max-width: 560px) {
    .hero { padding: 40px 0 28px; }
    .hero-title { font-size: 30px; }
    .hero-sub { font-size: 14.5px; }
    .team-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: 1fr; }
    .stat-cell { border-right: none; border-bottom: 1px solid var(--line-1); }
    .stat-cell:last-child { border-bottom: none; }
    .field-row { grid-template-columns: 1fr; }
    .cred-hero-v { font-size: 28px; }
    .cred-hero { padding: 16px 14px 12px; }
    .cred-list { grid-template-columns: 1fr 1fr; }
    .cred-item { padding: 11px 12px; }
    .cred-item-v { font-size: 16px; }
  }


/* ============================================================
   MULTI-PAGE ADDITIONS
   ============================================================ */

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 16px; padding: 8px 16px; background: var(--bg-0); color: var(--fg-1); border: 2px solid var(--brand-cyan); border-radius: 4px; z-index: 9999; font-family: var(--font-mono); font-size: 13px; text-decoration: none; }
.skip-link:focus { left: 16px; }

/* Active nav link */
.nav-link.is-active { color: var(--fg-1); position: relative; }
.nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brand-cyan); }

/* ============ ACCESSIBILITY ============ */
/* Visually-hidden helper for screen-reader-only text */
.sr-only {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}
/* Strong focus rings for keyboard users only — pointer users see no outline */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex="0"]:focus-visible,
.btn:focus-visible,
.btn-hire:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.nav-link:focus-visible,
.nav-brand:focus-visible,
.footer-cta-btn:focus-visible,
.footer-book-card:focus-visible,
.footer-social:focus-visible,
.footer-col a:focus-visible,
.home-card:focus-visible,
.work-card:focus-visible,
.app-card:focus-visible,
.company-card:focus-visible,
.gal-card:focus-visible,
.book-confirm:focus-visible,
.book-day:focus-visible,
.book-slot:focus-visible,
.cat-tile:focus-visible,
.cat-filter:focus-visible,
.team-card-social:focus-visible,
.btn-social:focus-visible,
.contact-channel:focus-visible,
.chip:focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.input:focus-visible,
.budget-slider:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 1px;
  border-color: var(--brand-cyan);
}
/* Skip link already styled — confirm visible focus state */
.skip-link:focus { left: 16px; outline: 3px solid var(--brand-cyan); outline-offset: 3px; }

/* ============ AUTO-IMAGE OVERLAYS ============
   Pattern: a slot div has both an inline-SVG placeholder AND an <img>
   with data-src-base. The img is positioned absolute on top via z-index;
   if it fails to load, auto-images.js removes it, revealing the SVG. */
.team-avatar,
.team-lead-avatar { position: relative; overflow: hidden; }
.team-avatar > img,
.team-lead-avatar > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Bias toward the upper-third of the photo so faces stay centered
     even when the framing has more head-room than expected. */
  object-position: center 25%;
  border-radius: inherit;
  z-index: 2;
}
.work-media > img.work-real,
.app-card-mock > img.app-real {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
}
.cat-tile-img > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
  transition: transform 400ms cubic-bezier(.2,.8,.2,1);
}
.gal-frame { position: relative; }
.gal-frame > img.gal-real {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* Particle network canvas — fixed full-viewport, sits behind content */
.hero-particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}
body > nav,
body > main,
body > footer,
body > .skip-link { position: relative; z-index: 1; }

/* Page main wrapper */
.page-main { min-height: 60vh; }

/* Page hero (page-level title block) */
.page-hero { padding-top: 96px; padding-bottom: 32px; }
.page-hero .container { max-width: 1100px; }
.page-title { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin: 12px 0 20px; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.page-lede { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; max-width: 720px; color: var(--fg-2); text-wrap: pretty; }

/* Section variant */
.section-tight { padding-top: 32px; padding-bottom: 80px; }

/* Home grid (snapshot cards) */
.home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.home-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border: 1px solid var(--line-1); border-radius: 12px; background: var(--bg-1); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.home-card:hover { border-color: var(--brand-cyan); transform: translateY(-2px); box-shadow: 0 8px 24px -12px var(--cyan-shadow, rgba(0,168,232,.25)); }
.home-card-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--fg-3); }
.home-card h3 { font-size: 22px; line-height: 1.2; margin: 4px 0 4px; font-weight: 700; letter-spacing: -.01em; }
.home-card p { color: var(--fg-2); font-size: 15px; line-height: 1.5; flex-grow: 1; }
.home-card-cta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-cyan); margin-top: 8px; }
.home-card-accent { background: var(--bg-2, var(--bg-1)); border-color: var(--brand-cyan); }
.home-card-accent .home-card-cta { color: var(--fg-1); }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.service-card { padding: 28px 24px; border: 1px solid var(--line-1); border-radius: 12px; background: var(--bg-1); transition: border-color .15s, transform .15s; }
.service-card:hover { border-color: var(--brand-cyan); transform: translateY(-2px); }
.service-card-num { font-family: var(--font-mono); color: var(--brand-cyan); font-size: 18px; margin-bottom: 16px; }
.service-card-title { font-size: 20px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.service-card-desc { color: var(--fg-2); font-size: 15px; line-height: 1.5; margin: 0; }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 48px; border: 1px solid var(--line-1); border-radius: 16px; background: var(--bg-1); flex-wrap: wrap; }
.cta-band-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; }
.cta-band-title { font-size: clamp(28px, 4vw, 40px); margin: 0; font-weight: 700; letter-spacing: -.02em; }
.btn-hire-lg { padding: 16px 28px; font-size: 16px; }

/* About grid */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 24px; }
.about-block { padding: 32px; border: 1px solid var(--line-1); border-radius: 12px; background: var(--bg-1); }
.about-h2 { font-size: 24px; font-weight: 700; margin: 0 0 16px; letter-spacing: -.01em; }
.about-block p { color: var(--fg-2); font-size: 16px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.about-list { list-style: none; padding: 0; margin: 0; counter-reset: aboutc; }
.about-list li { counter-increment: aboutc; padding: 12px 0 12px 36px; position: relative; color: var(--fg-2); font-size: 15px; line-height: 1.5; border-top: 1px dashed var(--line-1); }
.about-list li:first-child { border-top: 0; }
.about-list li::before { content: counter(aboutc, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: var(--font-mono); color: var(--brand-cyan); font-size: 13px; }
.about-list li strong { color: var(--fg-1); }

/* Case study */
.case-meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.case-back { color: var(--fg-3); text-decoration: none; }
.case-back:hover { color: var(--brand-cyan); }
.case-meta { color: var(--fg-3); }
.case-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 32px 0 0; padding: 24px; border: 1px solid var(--line-1); border-radius: 12px; background: var(--bg-1); }
.case-spec-grid > div { margin: 0; }
.case-spec-grid dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.case-spec-grid dd { font-size: 15px; line-height: 1.5; color: var(--fg-1); margin: 0; }
.case-body { display: flex; flex-direction: column; gap: 32px; max-width: 760px; }
.case-block { padding: 32px; border: 1px solid var(--line-1); border-radius: 12px; background: var(--bg-1); }
.case-block-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--brand-cyan); margin-bottom: 12px; }
.case-block h2 { font-size: 24px; font-weight: 700; margin: 0 0 12px; letter-spacing: -.01em; }
.case-block p { color: var(--fg-2); font-size: 16px; line-height: 1.6; margin: 0; }

/* Related grid */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.related-card { padding: 24px; border: 1px solid var(--line-1); border-radius: 12px; background: var(--bg-1); color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s, transform .15s; }
.related-card:hover { border-color: var(--brand-cyan); transform: translateY(-2px); }
.related-card-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--fg-3); }
.related-card h3 { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.related-card p { color: var(--fg-2); font-size: 14px; line-height: 1.5; margin: 0; flex-grow: 1; }
.related-card-cta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-cyan); margin-top: 4px; }

/* Blog empty state */
.blog-empty { max-width: 720px; margin: 0 auto; text-align: center; padding: 80px 24px; }
.blog-empty-icon { font-size: 56px; margin-bottom: 24px; }
.blog-empty h2 { font-size: 32px; font-weight: 700; margin: 0 0 16px; letter-spacing: -.02em; }
.blog-empty p { color: var(--fg-2); font-size: 17px; line-height: 1.6; margin: 0 0 32px; text-wrap: pretty; }

/* Mobile */
@media (max-width: 768px) {
  .page-hero { padding-top: 64px; }
  .nav-links { display: none; }
  .cta-band { padding: 28px; }
}


/* .cyan in new page-level contexts */
.page-title .cyan, .home-card h3 .cyan, .about-h2 .cyan, .case-block h2 .cyan,
.blog-empty h2 .cyan, .cta-band-title .cyan, .related-card h3 .cyan {
  color: var(--brand-cyan);
}
