  /* ---------- Design tokens (from Remixed Resonance Hero) ---------- */
  :root {
    --color-primary: #10B981;
    --color-secondary: #3B82F6;
    --color-tertiary: #6EE7B7;
    --color-neutral: #000000;
    --color-bg: #10B981;
    --color-surface: #000000;
    --color-text: #FFFFFF;
    --color-text-secondary: #71717A;
    --color-border: #FFFFFF;
    --color-accent: #10B981;

    --space-base: 4px;
    --space-sm: 4px;
    --space-md: 4.8px;
    --space-lg: 6px;
    --space-xl: 8px;
    --space-gap: 8px;
    --space-card: 9px;
    --space-card-lg: 24px;
    --space-section: 24px;
    --space-section-lg: 80px;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-full: 9999px;

    --shadow-deep: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-glow-emerald: 0 0 30px rgba(16, 185, 129, 0.5);
    --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.5);

    --blur-glass: 14px;    /* was 24px — reduced for performance */
    --blur-glass-sm: 8px;  /* was 12px */

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur-fast: 150ms;
    --dur: 300ms;
    --dur-slow: 700ms;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: #050807;
    color: var(--color-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.625;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  /* One continuous ambient glow across the whole page (fixed, doesn't band per-section) */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 12% 8%, rgba(16, 185, 129, 0.10), transparent 45%),
      radial-gradient(circle at 88% 92%, rgba(59, 130, 246, 0.07), transparent 45%);
  }

  ::selection { background: var(--color-primary); color: var(--color-neutral); }

  /* ---------- Typography ---------- */
  .display-lg {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
  .display-md {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
  }
  .body-md { font-size: 18px; font-weight: 300; line-height: 1.625; }
  .label-md { font-size: 14px; font-weight: 500; line-height: 1.43; letter-spacing: 0.01em; }
  .label-sm { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; }

  .text-secondary { color: var(--color-text-secondary); }
  .gradient-text {
    background: linear-gradient(90deg, #10B981 0%, #14B8A6 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  /* ---------- Layout primitives ---------- */
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .section {
    padding: 80px 0;
    position: relative;
  }
  @media (min-width: 768px) {
    .section { padding: 120px 0; }
  }

  .grid { display: grid; gap: 16px; }
  .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  @media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  }

  /* ---------- Glass surfaces ---------- */
  .glass {
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
  }
  .glass-emerald {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(var(--blur-glass-sm));
    -webkit-backdrop-filter: blur(var(--blur-glass-sm));
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow-emerald);
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    white-space: nowrap;
  }
  .btn-primary {
    background: #FFFFFF;
    color: #000000;
    border: 0;
  }
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2), var(--shadow-glow-emerald);
  }
  .btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
  }
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
  }

  .arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
  .btn:hover .arrow { transform: translateX(4px); }

  /* ---------- Nav ---------- */
  .nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: calc(100% - 24px);
    max-width: 1180px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
  }
  .nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    text-decoration: none;
  }
  .nav-logo .logo-mark { flex: 0 0 auto; display: block; }
  .nav-logo .ai {
    background: linear-gradient(90deg, #10B981, #6EE7B7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
  }
  .nav-links {
    display: none;
    gap: 28px;
    align-items: center;
  }
  .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--dur) var(--ease);
  }
  .nav-links a:hover { color: #FFFFFF; }
  @media (min-width: 768px) {
    .nav-links { display: flex; }
  }
  .nav .btn { padding: 8px 16px; font-size: 13px; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: #000000;
  }
  .hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.95;
  }
  .hero-grad {
    position: absolute;
    inset: 0;
    /* Subtle top-down darkening only — let the rings be the sole color source */
    background:
      linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
    pointer-events: none;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--color-tertiary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
  }
  .eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
    animation: pulse 2s var(--ease) infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
  }
  .hero h1 { margin: 0 0 24px; }
  /* Kinetic hero headline (Sora) */
  .hero-headline {
    font-family: 'Sora', 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(44px, 7.5vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #fff;
  }
  #kinetic-word {
    display: inline-block;
    background: linear-gradient(120deg, #10B981, #6EE7B7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
  }
  #kinetic-word.swap { opacity: 0; transform: translateY(8px); }
  .kinetic-cursor {
    display: inline-block;
    width: 0.5ch;
    height: 0.82em;
    background: #10B981;
    margin-left: 0.1em;
    vertical-align: -0.06em;
    animation: blink 1.05s steps(1) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) {
    #kinetic-word { transition: none; }
    .kinetic-cursor { animation: none; }
  }
  .hero .sub {
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.55;
  }
  .hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-meta {
    margin-top: 56px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  .hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
  .hero-meta .tick { color: var(--color-primary); }

  /* ---------- Brand mark styling ---------- */
  .laibs .ai {
    background: linear-gradient(90deg, #10B981 0%, #6EE7B7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-style: normal;
  }

  /* ---------- Section heading ---------- */
  .section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
  }
  .section-head .label-sm {
    color: var(--color-primary);
    margin-bottom: 16px;
    display: inline-block;
  }
  .section-head h2 { margin: 0 0 16px; }
  .section-head p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 18px;
  }

  /* ---------- How it works ---------- */
  .step {
    padding: 32px;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
  }
  .step:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: var(--shadow-glow-emerald);
  }
  .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #10B981, #3B82F6);
    color: #000;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
  }
  .step h3 {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
  }
  .step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
  }

  /* ---------- Services / tiers ---------- */
  .tier {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  }
  .tier:hover { transform: translateY(-4px); }
  .tier.featured {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: var(--shadow-glow-emerald);
  }
  .tier-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-tertiary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .tier h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
  }
  .tier .lead {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    margin: 0 0 8px;
  }
  .tier ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .tier li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
  }
  .tier li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary) 30%, transparent 32%);
    border: 1px solid rgba(16, 185, 129, 0.4);
  }

  .addons {
    margin-top: 48px;
    padding: 32px;
  }
  .addons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  @media (min-width: 640px) {
    .addons-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (min-width: 1024px) {
    .addons-grid { grid-template-columns: repeat(5, 1fr); }
  }
  .addon {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all var(--dur) var(--ease);
  }
  .addon:hover {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.08);
    transform: translateY(-2px);
  }

  /* ---------- Portfolio ---------- */
  /* ---------- Pillars (Studio / GTM / Ops) ---------- */
  .pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  @media (min-width: 1024px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
    .pillar-advisory { grid-column: 1 / -1; }
  }
  /* Advisory — full-width card across the bottom */
  .pillars-grid .pillar-advisory {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    padding: 28px 32px;
    min-height: 0;
  }
  .pillar-advisory .advisory-body { flex: 1 1 420px; min-width: 0; }
  .pillar-advisory .pillar-domain { margin: 0 0 6px; }
  .pillar-advisory h3 { margin: 0 0 6px; }
  .pillar-advisory .tagline { margin: 0 0 8px; }
  .pillar-advisory .description { margin: 0; }
  .pillar-advisory .advisory-aside {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .advisory-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .advisory-tag {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    white-space: nowrap;
  }
  .pillar {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    min-height: 520px;
  }
  .pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: var(--shadow-glow-emerald);
  }
  .pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: grid;
    place-items: center;
    color: var(--color-primary);
    margin-bottom: 4px;
  }
  .pillar-domain {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-tertiary);
    margin: 0;
  }
  .pillar h3 {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.02em;
  }
  .pillar h3 .pillar-suffix {
    color: var(--color-text-secondary);
    font-weight: 400;
  }
  .pillar .tagline {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
  }
  .pillar .description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
  }
  .pillar ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
  }
  .pillar li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
  }
  .pillar li::before {
    content: '';
    flex-shrink: 0;
    width: 4px;
    height: 4px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--color-primary);
  }
  .pillar-status {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .pillar-status.live { background: rgba(16, 185, 129, 0.15); color: var(--color-tertiary); border: 1px solid rgba(16, 185, 129, 0.4); }
  .pillar-status.accepting { background: rgba(110, 231, 183, 0.1); color: #A7F3D0; border: 1px solid rgba(110, 231, 183, 0.3); }
  .pillar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
    text-decoration: none;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: color var(--dur) var(--ease);
  }
  .pillar-cta:hover { color: var(--color-tertiary); }
  .pillar-cta .arrow { transition: transform var(--dur) var(--ease); }
  .pillar-cta:hover .arrow { transform: translateX(4px); }

  /* ---------- Work / Portfolio ---------- */
  .work-pillar-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-tertiary);
  }
  .work {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
    min-height: 400px;
  }
  .work .description {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
  }
  .work .description strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
  }
  .work:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
  }
  .work-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.18;
    background-size: 22px 22px;
    background-image:
      linear-gradient(to right, rgba(16, 185, 129, 0.5) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(16, 185, 129, 0.5) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at 80% 0%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 80% 0%, black 30%, transparent 70%);
  }
  .work-status {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .status-live { background: rgba(16, 185, 129, 0.15); color: var(--color-tertiary); border: 1px solid rgba(16, 185, 129, 0.4); }
  .status-pre { background: rgba(59, 130, 246, 0.15); color: #93C5FD; border: 1px solid rgba(59, 130, 246, 0.4); }
  .status-progress { background: rgba(110, 231, 183, 0.1); color: #A7F3D0; border: 1px solid rgba(110, 231, 183, 0.3); }
  .work h3 {
    position: relative;
    z-index: 1;
    font-size: 26px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.015em;
  }
  .work .tagline {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    margin: 0;
    line-height: 1.55;
    flex-grow: 1;
  }
  .work-meta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
  }

  /* ---------- Featured work (live site with a preview) ---------- */
  .work-featured {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px;
    margin-bottom: 24px;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
  }
  .work-featured:hover { transform: translateY(-4px); border-color: rgba(16, 185, 129, 0.4); }
  .work-featured:focus-within { border-color: rgba(16, 185, 129, 0.6); }
  /* The title link covers the whole card (case study); "Visit site" sits above it. */
  .work-featured-link { color: inherit; text-decoration: none; }
  .work-featured-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
  .work-featured-link:focus-visible { outline: none; }
  .work-featured-link:focus-visible::after { outline: 2px solid var(--color-tertiary); outline-offset: 4px; }
  .work-case { color: rgba(255, 255, 255, 0.75); font-weight: 500; }
  .work-case .arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
  .work-featured:hover .work-case .arrow { transform: translateX(4px); }
  .work-visit { position: relative; z-index: 2; text-decoration: none; }
  .work-visit:hover { text-decoration: underline; text-underline-offset: 3px; }
  .work-visit:focus-visible { outline: 2px solid var(--color-tertiary); outline-offset: 3px; border-radius: 4px; }
  @media (min-width: 900px) {
    .work-featured { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 40px; padding: 24px 40px 24px 24px; }
    .work-featured.flip { grid-template-columns: 1fr 1.35fr; padding: 24px 24px 24px 40px; }
    .work-featured.flip > .browser { order: 2; }
  }
  .browser {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #111;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  }
  .browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
  .browser-url {
    flex: 1;
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .browser-shot { display: block; overflow: hidden; aspect-ratio: 1200 / 733; }
  .browser-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease);
  }
  .work-featured:hover .browser-shot img { transform: scale(1.03); }
  .work-featured-body { display: flex; flex-direction: column; gap: 14px; }
  .work-featured-body .work-tags { display: flex; gap: 8px; flex-wrap: wrap; }
  .work-featured-body .work-pillar-tag { position: static; }
  .work-featured h3 { font-size: 30px; font-weight: 500; margin: 0; letter-spacing: -0.015em; }
  .work-featured .tagline { color: rgba(255, 255, 255, 0.7); font-size: 16px; margin: 0; line-height: 1.55; }
  .work-featured .description { color: rgba(255, 255, 255, 0.55); font-size: 14px; line-height: 1.6; margin: 0; }
  .work-featured .description strong { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
  .work-visit { color: var(--color-tertiary); font-weight: 500; }
  .work-visit .arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
  .work-visit:hover .arrow { transform: translate(3px, -3px); }

  /* ---------- Logo strip: grey until hover, brand colour on hover ---------- */
  .logo-strip { margin-top: 56px; text-align: center; }
  .logo-strip .label-sm { color: rgba(255, 255, 255, 0.6); margin: 0 0 22px; }
  .logo-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 56px;
  }
  .brand-logo {
    --brand: #fff;
    display: inline-flex;
    align-items: center;
    height: 44px;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .brand-logo:hover, .brand-logo:focus-visible { color: var(--brand); }
  .brand-logo:focus-visible { outline: 2px solid var(--color-tertiary); outline-offset: 6px; border-radius: 6px; }
  .brand-mask {
    display: block;
    height: 100%;
    background: currentColor;
    -webkit-mask: var(--logo) center / contain no-repeat;
    mask: var(--logo) center / contain no-repeat;
  }
  .brand-word { font-size: 24px; line-height: 1; white-space: nowrap; }
  .brand-word b { font-weight: inherit; transition: color var(--dur) var(--ease); }
  .brand-lepetit { --brand: #C8D9EC; }
  .brand-lepetit .brand-mask { --logo: url("/assets/work/le-petit-logo.svg"); width: 118px; height: 39px; }
  .brand-resitrack { --brand: #B9A6FF; gap: 8px; }
  .brand-resitrack .brand-mask { --logo: url("/assets/work/resitrack-icon.png"); width: 27px; height: 28px; }
  .brand-resitrack .brand-word { font-weight: 700; font-size: 23px; letter-spacing: -0.01em; }
  .brand-echo { --brand: #fff; }
  .brand-echo .brand-word { font-weight: 300; letter-spacing: 0.14em; }
  .brand-echo:hover .brand-word b { color: #3B82F6; }
  .brand-jc { --brand: #4CAF50; }
  .brand-jc .brand-mask { --logo: url("/assets/work/jc-evergreen-wordmark.png"); width: 84px; height: 34px; }
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }

  /* ---------- Accessibility helpers ---------- */
  /* Skip link: hidden until it gets keyboard focus. */
  .skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform var(--dur-fast) var(--ease);
  }
  .skip-link:focus { transform: none; outline: 2px solid var(--color-tertiary); outline-offset: 2px; }
  main:focus { outline: none; }

  /* Pause / play animations button (hero, bottom right). */
  .motion-toggle {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.85);
    font: 500 12px/1 'Inter', sans-serif;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .motion-toggle:hover { border-color: rgba(110, 231, 183, 0.6); color: #fff; }
  .motion-toggle:focus-visible { outline: 2px solid var(--color-tertiary); outline-offset: 3px; }
  .motion-toggle .i-play { display: none; }
  .motion-paused .motion-toggle .i-play { display: block; }
  .motion-paused .motion-toggle .i-pause { display: none; }
  /* Paused: stop every looping animation on the page. */
  .motion-paused .marquee-track,
  .motion-paused .kinetic-cursor,
  .motion-paused .hero-mark,
  .motion-paused .dot { animation-play-state: paused !important; }
  /* Nothing moves for reduced-motion users, so the button isn't needed. */
  @media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

  /* Footer: privacy + accessibility links */
  .footer-legal { display: inline-block; margin-left: 10px; }
  .footer-legal a { color: rgba(255, 255, 255, 0.75); text-decoration: underline; text-underline-offset: 3px; }
  .footer-legal a:hover { color: var(--color-tertiary); }

  /* ---------- Plain text pages (privacy, accessibility) ---------- */
  .doc { max-width: 760px; margin: 0 auto; padding: 150px 0 110px; }
  .doc h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 16px; }
  .doc .doc-lead { font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); margin: 0 0 10px; }
  .doc .doc-date { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin: 0 0 44px; }
  .doc h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 44px 0 12px; }
  .doc p, .doc li { font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.75); }
  .doc p { margin: 0 0 14px; }
  .doc ul { margin: 0 0 14px; padding-left: 22px; }
  .doc li { margin-bottom: 6px; }
  .doc strong { color: #fff; font-weight: 500; }
  .doc a { color: var(--color-tertiary); text-decoration: underline; text-underline-offset: 3px; }
  .doc a:hover { color: #fff; }

  /* Links inside running text are underlined, not told apart by colour alone. */
  .crumbs a { text-decoration: underline; text-underline-offset: 3px; }

  /* ---------- Why us ---------- */
  .why-grid { gap: 16px; }
  .why-item {
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .why-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
  }
  .why-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
  }
  .why-item p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
  }

  /* ---------- Intake / CTA form ---------- */
  .intake {
    padding: 48px;
    max-width: 760px;
    margin: 0 auto;
  }
  @media (min-width: 768px) {
    .intake { padding: 64px; }
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  @media (min-width: 640px) {
    .form-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field.full { grid-column: 1 / -1; }
  .field label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
  }
  .field input,
  .field textarea,
  .field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    transition: all var(--dur) var(--ease);
  }
  .field input::placeholder,
  .field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
  .field input:focus,
  .field textarea:focus,
  .field select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  }
  .field textarea {
    resize: vertical;
    min-height: 120px;
  }
  .form-submit {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    margin-top: 8px;
  }
  .hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .form-error {
    margin: 0;
    width: 100%;
    text-align: right;
    color: #FCA5A5;
    font-size: 14px;
  }
  .intake-thanks {
    text-align: center;
    padding: 24px 8px;
  }
  .intake-thanks-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #050807;
    font-weight: 700;
    background: linear-gradient(90deg, #10B981, #6EE7B7);
    box-shadow: 0 0 28px rgba(16,185,129,0.45);
  }
  .intake-thanks h3 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .intake-thanks p {
    margin: 0 auto;
    max-width: 480px;
    color: var(--color-secondary);
    line-height: 1.6;
  }

  /* ---------- Footer ---------- */
  .footer {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #000000;
    position: relative;
    z-index: 1;
  }
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }
  @media (min-width: 768px) {
    .footer-inner {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
  }
  .footer-brand .logo {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .footer-brand .tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: 4px;
  }
  .footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--dur) var(--ease);
  }
  .footer-links a:hover { color: var(--color-primary); }
  .footer-copy {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* ---------- Reveal animation ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
    transition: opacity 800ms var(--ease), transform 800ms var(--ease), filter 800ms var(--ease);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  /* ---------- Sections share the one continuous page canvas (no per-section banding) ---------- */
  .section { position: relative; z-index: 1; }
  .section-dark { background: transparent; }
  .footer { position: relative; z-index: 1; }

  /* ---------- Marquee banner (hero → sections transition) ---------- */
  .marquee {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(6,95,70,0.10);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  }
  .marquee-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: marquee-scroll 38s linear infinite;
  }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .marquee-item {
    font-family: 'Sora', Inter, sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 3vw, 34px);
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.82);
    padding: 0 28px;
  }
  .marquee-sep {
    color: var(--color-primary);
    font-size: clamp(16px, 2.4vw, 26px);
    padding: 0 4px;
  }
  @keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ---------- Logo mark (hero breathing + footer) ---------- */
  @keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.04); opacity: 1; }
  }
  .hero-mark {
    display: block;
    margin: 0 auto 26px;
    filter: drop-shadow(0 0 22px rgba(16,185,129,0.5));
    animation: breathe 4.5s ease-in-out infinite;
  }
  .footer-brand .footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Reduce motion respect */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; filter: none; }
    .marquee-track { animation: none; transform: translateX(0); }
    .hero-mark { animation: none; }
  }
