  :root {
    /* Light warm base with cool aquamarine-grey card tints */
    --bg: #fafaf8;
    --surface: #ffffff;
    --card-bg: #e8f0ee;
    --card-bg-alt: #eef5f3;
    --border: #e0e4e2;
    --border-strong: #cdd5d2;
    --border-card: #d4e0dd;

    --text: #050c0b;
    --text-secondary: #2d3835;
    --text-muted: #6a7875;

    --accent: #18a898;
    --accent-deep: #0d7d71;
    --accent-bright: #2ec8b6;
    --accent-soft: #a8e0d7;
    --accent-bg: rgba(24, 168, 152, 0.08);
    --accent-glow: rgba(46, 200, 182, 0.25);

    /* Node colors for the hero mockup */
    --node-hl: #65c9b5;
    --node-edm: #b5a8e8;
    --node-wcm: #8bb8e8;

    /* Theme-dependent values */
    --nav-bg: rgba(250, 250, 248, 0.75);
    --btn-primary-bg: var(--text);
    --btn-primary-color: var(--bg);
    --btn-primary-hover-bg: var(--accent-deep);
    --emphasis-color: var(--accent-deep);
    --emphasis-glow: 0 0 0 transparent;
    --grain-blend: multiply;
    --grain-opacity: 0.035;
    --mesh-opacity: 0.25;
    --fountain-grad-stop-0: #0d7d71;
    --fountain-grad-stop-55: #18a898;
    --fountain-grad-stop-100: #2ec8b6;
  }

  body.dark-mode {
    --bg: #0a1412;
    --surface: #12201d;
    --card-bg: #152825;
    --card-bg-alt: #1a3330;
    --border: #1e3532;
    --border-strong: #2a4744;
    --border-card: #264542;

    --text: #e8f0ee;
    --text-secondary: #9eb4b0;
    --text-muted: #6a8580;

    --accent: #2ec8b6;
    --accent-deep: #18a898;
    --accent-bright: #5deed3;
    --accent-soft: #1a3d38;
    --accent-bg: rgba(46, 200, 182, 0.1);
    --accent-glow: rgba(46, 200, 182, 0.35);

    --nav-bg: rgba(10, 20, 18, 0.75);
    --btn-primary-bg: var(--accent);
    --btn-primary-color: var(--bg);
    --btn-primary-hover-bg: var(--accent-bright);
    --emphasis-color: var(--accent-bright);
    --emphasis-glow: 0 0 30px var(--accent-glow);
    --grain-blend: screen;
    --grain-opacity: 0.05;
    --mesh-opacity: 0.5;
    --fountain-grad-stop-0: #2ec8b6;
    --fountain-grad-stop-55: #5deed3;
    --fountain-grad-stop-100: #a8f0e4;
  }

  body {
    transition: background-color 500ms ease, color 500ms ease;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
  }

  /* Animated gradient mesh background */
  .mesh-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: var(--mesh-opacity);
    animation: meshFloat 22s ease-in-out infinite;
  }

  .mesh-blob-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    animation-delay: 0s;
  }

  .mesh-blob-2 {
    width: 500px;
    height: 500px;
    top: 20%;
    left: -150px;
    background: radial-gradient(circle, rgba(139, 184, 232, 0.18), transparent 70%);
    animation-delay: -7s;
  }

  .mesh-blob-3 {
    width: 450px;
    height: 450px;
    bottom: 10%;
    right: 10%;
    background: radial-gradient(circle, rgba(168, 224, 215, 0.22), transparent 70%);
    animation-delay: -14s;
  }

  @keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 40px) scale(1.1); }
    66% { transform: translate(-40px, -30px) scale(0.95); }
  }

  /* Grain */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: var(--grain-opacity);
    pointer-events: none;
    z-index: 200;
    mix-blend-mode: var(--grain-blend);
  }

  main, nav, footer { position: relative; z-index: 1; }

  .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* === Fixed contrast: always-dark hero + nav over a light page === */
  nav, .hero {
    --bg: #0a1412;
    --surface: #12201d;
    --card-bg: #152825;
    --card-bg-alt: #1a3330;
    --border: #1e3532;
    --border-strong: #2a4744;
    --border-card: #264542;
    --text: #e8f0ee;
    --text-secondary: #9eb4b0;
    --text-muted: #6a8580;
    --accent: #2ec8b6;
    --accent-deep: #18a898;
    --accent-bright: #5deed3;
    --accent-soft: #1a3d38;
    --accent-bg: rgba(46, 200, 182, 0.1);
    --accent-glow: rgba(46, 200, 182, 0.35);
    --nav-bg: rgba(10, 20, 18, 0.78);
    --btn-primary-bg: var(--accent);
    --btn-primary-color: #04110f;
    --btn-primary-hover-bg: var(--accent-bright);
    --emphasis-color: var(--accent-bright);
    --emphasis-glow: 0 0 30px var(--accent-glow);
  }
  .hero { background: var(--bg); }

  /* === NAV === */
  nav {
    padding: 28px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    background: var(--nav-bg);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease, background-color 500ms ease;
  }

  nav.scrolled {
    border-bottom-color: var(--border);
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .wordmark-wrap {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
  }

  .wordmark {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
  }

  .wordmark-dot {
    color: var(--accent);
    font-style: italic;
  }

  .wordmark-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-top: 6px;
    text-transform: lowercase;
  }

  .nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  /* Theme toggle button */
  .theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 200ms ease;
    flex-shrink: 0;
  }

  .theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: rotate(15deg);
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
    transition: opacity 300ms ease;
  }

  .theme-toggle .icon-sun { display: none; }
  .theme-toggle .icon-moon { display: block; }

  body.dark-mode .theme-toggle .icon-sun { display: block; }
  body.dark-mode .theme-toggle .icon-moon { display: none; }

  .nav-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    animation: pulse 2.5s ease-in-out infinite;
  }

  .nav-btn {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-color);
    padding: 11px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--btn-primary-bg);
  }

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

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

  /* === HERO === */
  .hero {
    padding: 64px 0 220px;
    text-align: center;
    position: relative;
    z-index: 2;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero .container {
    position: relative;
    z-index: 5;
  }

  /* === FOUNTAIN BURST === */
  .fountain-burst {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    height: 520px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    animation: burstFadeIn 1.4s ease-out 0.7s forwards;
  }

  @keyframes burstFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .fountain-line {
    stroke: url(#fountain-grad);
    stroke-width: 0.9;
    fill: none;
    transform-origin: 50% 100%;
    transition: opacity 400ms ease-out, stroke-width 400ms ease-out;
  }

  .fountain-line.breathe {
    animation: fountainBreathe 6s ease-in-out infinite;
  }

  @keyframes fountainBreathe {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
  }

  .fountain-dot {
    fill: var(--accent-bright);
    transition: opacity 300ms ease-out, r 300ms ease-out;
    animation: fountainDotBlink 4s ease-in-out infinite;
  }

  @keyframes fountainDotBlink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
  }

  /* Hero becomes interactive zone for the cursor */
  .hero {
    cursor: default;
  }

  .hero-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-deep);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 18px;
    background: var(--accent-bg);
    border: 1px solid rgba(24, 168, 152, 0.15);
    border-radius: 100px;
    opacity: 0;
    animation: fadeUp 0.9s ease-out 0.1s forwards;
  }

  h1 {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: clamp(54px, 9vw, 104px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.055em;
    color: var(--text);
    margin-bottom: 28px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 0.9s ease-out 0.25s forwards;
    padding-bottom: 0.12em;
  }

  h1 em {
    font-style: italic;
    color: var(--emphasis-color);
    font-weight: 500;
    display: inline-block;
    padding: 0 0.08em 0.08em;
    margin-right: -0.05em;
    text-shadow: var(--emphasis-glow);
  }

  .hero-sub {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 0.9s ease-out 0.4s forwards;
  }

  .hero-ctas {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 0.9s ease-out 0.55s forwards;
  }

  .btn {
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
  }

  .btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-color);
    border-color: var(--btn-primary-bg);
  }

  .btn-primary:hover {
    background: var(--btn-primary-hover-bg);
    border-color: var(--btn-primary-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -20px rgba(24, 168, 152, 0.4);
  }

  .btn-secondary {
    background: var(--card-bg);
    color: var(--text);
    border-color: var(--border-card);
  }

  .btn-secondary:hover {
    background: var(--card-bg-alt);
    transform: translateY(-2px);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* === HERO GRID (two-column direction) === */
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 5;
  }
  .hero-grid .hero-label {
    margin-bottom: 24px;
    animation-delay: 0.1s;
  }
  .hero-grid h1 {
    font-size: clamp(40px, 4.6vw, 60px);
    text-align: left;
    margin: 0 0 22px;
    max-width: none;
    line-height: 1.04;
  }
  .hero-grid .hero-sub {
    margin: 0 0 30px;
    max-width: 470px;
    text-align: left;
  }
  .hero-grid .hero-ctas { justify-content: flex-start; }

  .hero-left { animation: fadeUp 0.9s ease-out 0.25s forwards; opacity: 0; }
  .hero-right { animation: fadeUp 0.9s ease-out 0.45s forwards; opacity: 0; }

  .hero-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
    max-width: 480px;
  }
  .mini-card {
    background: linear-gradient(135deg, var(--card-bg), var(--card-bg-alt));
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 18px;
  }
  .mini-card .mini-icon {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--accent-bg); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
  }
  .mini-card .mini-icon svg { width: 16px; height: 16px; }
  .mini-card p { font-size: 14px; line-height: 1.45; color: var(--text-secondary); margin: 0; }
  .mini-card strong { color: var(--text); font-weight: 600; }

  /* Right column — Client builds (primary) + Product lab teaser */
  .client-card {
    background: linear-gradient(165deg, var(--card-bg-alt), var(--card-bg));
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 26px 26px 28px;
  }
  .client-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px;
  }
  .client-title {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: 19px; font-weight: 600; letter-spacing: -0.025em;
    color: var(--text);
  }
  .client-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); background: var(--accent-bg);
    border: 1px solid var(--border-card);
    padding: 4px 10px; border-radius: 100px;
  }
  .client-desc { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin-bottom: 22px; max-width: 440px; }
  .client-list {
    list-style: none; display: grid;
    grid-template-columns: 1fr 1fr; gap: 12px 18px;
    padding: 0; margin: 0;
  }
  .client-list li { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--text); }
  .client-list .li-icon {
    width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px;
    background: var(--surface); border: 1px solid var(--border-card); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
  }
  .client-list .li-icon svg { width: 15px; height: 15px; }

  .lab-teaser {
    display: flex; align-items: center; gap: 16px;
    margin-top: 14px; padding: 16px 20px;
    background: var(--card-bg); border: 1px solid var(--border-card); border-radius: 14px;
  }
  .lab-icon {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
    background: var(--accent-bg); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
  }
  .lab-icon svg { width: 20px; height: 20px; }
  .lab-body { flex-grow: 1; }
  .lab-title {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: 14.5px; font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: 10px; margin-bottom: 3px;
  }
  .lab-desc { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
  .tile-flag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
    color: #e0913f; background: rgba(224, 138, 60, 0.13); border: 1px solid rgba(224, 138, 60, 0.3);
    padding: 3px 8px; border-radius: 100px;
  }

  /* === SECTIONS === */
  section {
    padding: 100px 0;
    position: relative;
  }

  .section-divider {
    border-top: 1px solid var(--border);
  }

  #shift {
    position: relative;
    z-index: 1;
  }

  /* Daylight-only alternating section tones (dark theme stays uniform). */
  /* tone-a: clean white — lets the teal-tinted cards pop. */
  /* tone-b: soft aquamarine wash — echoes the brand accent; white work-cards pop on it. */
  body:not(.dark-mode) .tone-a { background-color: #ffffff; }
  body:not(.dark-mode) .tone-b { background-color: #eef4f1; }
  body:not(.dark-mode) .tone-a + .tone-b,
  body:not(.dark-mode) .tone-b + .tone-a { border-top-color: transparent; }
  /* Tinted-fill cards sitting on the wash get a white lift so they stay crisp. */
  body:not(.dark-mode) .tone-b .shift-visual,
  body:not(.dark-mode) .tone-b .cta-block {
    background: linear-gradient(135deg, #ffffff 0%, #f3f8f6 100%);
  }

  .section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
  }

  h2 {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 24px;
    max-width: 800px;
    padding-bottom: 0.1em;
  }

  h2 em {
    font-style: italic;
    font-weight: 500;
    color: var(--emphasis-color);
    display: inline-block;
    padding: 0 0.05em;
  }

  .section-lead {
    font-size: 20px;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 56px;
  }

  /* === THE SHIFT SECTION === */
  .shift-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .shift-visual {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-bg-alt) 100%);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    min-height: 320px;
  }

  .shift-visual::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
  }

  .shift-stat {
    position: relative;
    z-index: 1;
  }

  .shift-stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .shift-stat-number {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: 96px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: -0.06em;
    margin-bottom: 4px;
    padding-bottom: 0.08em;
  }

  .shift-stat-number em {
    font-style: italic;
    font-weight: 500;
    color: var(--emphasis-color);
    display: inline-block;
    padding: 0 0.05em;
    text-shadow: var(--emphasis-glow);
  }

  .shift-stat-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 300px;
    margin-bottom: 40px;
  }

  .shift-dotgrid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    margin-top: 20px;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-strong);
  }

  .dot.filled {
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
  }

  .shift-content h3 {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.035em;
  }

  .shift-content h3 em {
    font-style: italic;
    font-weight: 500;
    color: var(--emphasis-color);
  }

  .shift-content p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 16px;
  }

  /* === SERVICES === */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 56px;
  }

  .service-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-bg-alt) 100%);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 36px;
    transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
    opacity: 0;
    transition: opacity 300ms ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow:
      0 20px 40px -20px rgba(24, 168, 152, 0.2),
      0 10px 20px -10px rgba(15, 30, 27, 0.08);
  }

  .service-card:hover::before {
    opacity: 1;
  }

  .service-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-bottom: 20px;
    display: block;
  }

  .service-card h3 {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .service-card p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
  }

  /* === PORTFOLIO === */
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
  }

  .work-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    overflow: hidden;
    transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    color: inherit;
  }

  .work-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
    opacity: 0;
    transition: opacity 300ms ease;
    z-index: 3;
  }

  .work-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow:
      0 30px 60px -30px rgba(24, 168, 152, 0.3),
      0 15px 30px -15px rgba(15, 30, 27, 0.12);
  }

  .work-card:hover::after {
    opacity: 1;
  }

  .work-card:hover .work-thumb {
    transform: scale(1.05);
  }

  .work-card:hover .work-visit {
    color: var(--accent-deep);
  }

  .work-card:hover .work-visit::after {
    transform: translateX(6px);
  }

  .work-thumb-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-bg-alt) 100%);
    position: relative;
    border-bottom: 1px solid var(--border-card);
  }

  .work-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .work-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(5, 12, 11, 0.08));
    pointer-events: none;
  }

  .work-body {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .work-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }

  .work-tag {
    padding: 3px 9px;
    background: var(--accent-bg);
    color: var(--accent-deep);
    border-radius: 100px;
    font-weight: 500;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .work-card h3 {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .work-url {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 14px;
    word-break: break-all;
  }

  .work-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 18px 0;
    flex-grow: 1;
  }

  .work-visit {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 200ms ease;
    margin-top: auto;
  }

  .work-visit::after {
    content: '→';
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 13px;
  }

  .work-card-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    border: 2px dashed var(--border-card);
    min-height: 300px;
    padding: 32px;
    transition: all 300ms ease;
    text-decoration: none;
    color: inherit;
  }

  .work-card-empty:hover {
    border-color: var(--accent);
    background: var(--accent-bg);
  }

  .work-card-empty .empty-title {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
  }

  .work-card-empty p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
  }

  /* === APPROACH === */
  .approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 80px;
    margin-top: 56px;
  }

  .approach-item {
    position: relative;
  }

  .approach-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .approach-num::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
  }

  .approach-item h4 {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .approach-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
  }

  /* === CONTACT === */
  .contact {
    padding: 120px 0;
    text-align: center;
  }

  .contact h2 {
    margin: 0 auto 32px;
  }

  .contact-sub {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.55;
  }

  .cta-block {
    max-width: 700px;
    margin: 0 auto;
    padding: 56px 48px;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-bg-alt) 100%);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
  }

  .cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  }

  .cta-block::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
  }

  .cta-small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    z-index: 1;
  }

  .cta-email {
    font-family: 'Geist', 'Inter Tight', sans-serif;
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.04em;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    transition: all 250ms ease;
    line-height: 1.1;
    word-break: break-all;
    position: relative;
    z-index: 1;
  }

  .cta-email:hover {
    color: var(--accent);
  }

  .cta-email::after {
    content: '→';
    display: inline-block;
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.85em;
    color: var(--accent);
  }

  .cta-email:hover::after {
    transform: translateX(10px);
  }

  .cta-phone::after {
    content: none;
  }

  .cta-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
  }

  .cta-note {
    margin-top: 28px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
    z-index: 1;
  }

  .about-line {
    max-width: 600px;
    margin: 72px auto 0;
    padding-top: 40px;
    border-top: 1px dashed var(--border-strong);
    text-align: center;
  }

  .about-line p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
    font-style: italic;
    margin: 0;
  }

  /* === FOOTER === */
  footer {
    padding: 32px 0 56px;
    border-top: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
  }

  footer .footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }

  footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 200ms ease;
  }

  footer a:hover {
    color: var(--accent);
  }

  /* === MOBILE === */
  @media (max-width: 1100px) {
    .portfolio-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-mini { max-width: none; }
  }

  @media (max-width: 768px) {
    .container, .container-narrow { padding: 0 24px; }
    .nav-inner { padding: 0 24px; }
    footer .footer-inner { padding: 0 24px; }

    nav { padding: 20px 0; }
    .nav-status { display: none; }
    .nav-cta { gap: 10px; }
    .theme-toggle { width: 40px; height: 40px; }
    .wordmark-sub { display: none; }

    .hero { padding: 48px 0 220px; }

    .fountain-burst { height: 365px; }
    .hero-label { font-size: 11px; padding: 7px 14px; }
    h1 { font-size: 48px; line-height: 1.05; letter-spacing: -0.035em; }
    .hero-grid h1 { font-size: 40px; }
    .hero-sub { font-size: 17px; margin-bottom: 36px; }
    .client-list { grid-template-columns: 1fr; }
    .lab-teaser { flex-wrap: wrap; }

    section { padding: 64px 0; }

    h2 { font-size: 36px; line-height: 1.12; }
    .section-lead { font-size: 17px; margin-bottom: 40px; }

    .shift-grid { grid-template-columns: 1fr; gap: 40px; }
    .shift-visual { padding: 32px 24px; min-height: auto; }
    .shift-stat-number { font-size: 56px; }

    .services-grid {
      grid-template-columns: 1fr;
      gap: 14px;
      margin-top: 40px;
    }
    .service-card { padding: 28px 24px; }

    .portfolio-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-top: 40px;
    }
    .work-body { padding: 20px 22px; }
    .work-card h3 { font-size: 19px; }

    .approach-grid {
      grid-template-columns: 1fr;
      gap: 36px;
      margin-top: 40px;
    }

    .contact { padding: 72px 0; }
    .cta-block { padding: 36px 24px; }
    .cta-email { font-size: 26px; gap: 12px; }

    footer .footer-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
  }

  .tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .tab {
    background: transparent;
    color: inherit;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 12px 18px;
    font: inherit;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
  }
  .tab:hover { opacity: 0.9; }
  .tab.is-active {
    opacity: 1;
    border-bottom-color: var(--accent);
  }
  .tab-panel { display: none; }
  .tab-panel.is-active { display: block; }
