
  :root {
    /* Surface — pure mono */
    --background: #ffffff;
    --foreground: #0a0a09;
    --card: #ffffff;
    --card-foreground: #0a0a09;
    /* Text */
    --muted-foreground: #6b6b6b;
    --subtle-foreground: #767676;
    /* Lines */
    --border: #ececec;
    --border-strong: #d4d4d4;
    /* Brand — accent collapsed to ink */
    --primary: #0a0a09;
    --primary-foreground: #ffffff;
    /* Status — keep green for "available" dot only */
    --success: #16a34a;
    /* Radii (shadcn scale) */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(10,10,9,.04);
    --shadow-sm: 0 1px 3px rgba(10,10,9,.06), 0 1px 2px rgba(10,10,9,.04);
    --shadow-md: 0 4px 12px rgba(10,10,9,.06), 0 2px 4px rgba(10,10,9,.04);
    /* Layout */
    --pad: clamp(20px, 5vw, 56px);
    --maxw: 640px;

    /* Legacy aliases — keep until full sweep is done */
    --bg: var(--background);
    --ink: var(--foreground);
    --muted: var(--muted-foreground);
    --rule: var(--border);
    --accent: var(--primary);
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Geist', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  ::selection { background: var(--foreground); color: var(--background); }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }

  :focus { outline: none; }
  :focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--primary);
    border-radius: var(--radius-sm);
    transition: box-shadow .15s ease;
  }

  .skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: 10px 14px; font-size: 14px; z-index: 100; }
  .skip:focus { left: 12px; top: 12px; }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

  /* TOPBAR */
  .topbar { padding: clamp(28px, 4vh, 40px) 0 0; }
  .topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .name { font-family: 'Instrument Serif', serif; font-size: 20px; letter-spacing: -0.01em; }
  .name em { font-style: italic; }
  .nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
  .nav a:hover { color: var(--ink); }

  /* HERO — single column, PFP inline in greeting row */
  .hero { padding: clamp(40px, 8vh, 80px) 0 clamp(20px, 3vh, 32px); }
  .pfp-inline {
    display: inline-block;
    width: 40px; height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--rule);
    vertical-align: middle;
    margin-right: 4px;
    box-shadow: 0 1px 4px rgba(14,14,13,.08);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .pfp-inline img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pfp-inline:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 4px 12px rgba(14,14,13,.12);
  }

  .status-chip {
    background: var(--card);
    border: none;
    box-shadow: inset 0 0 0 0.5px var(--border-strong), var(--shadow-xs);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; color: var(--foreground);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    animation: chipIn .5s .2s ease both;
    vertical-align: middle;
    transition: box-shadow .2s ease;
  }
  .status-chip:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
  @keyframes chipIn {
    from { opacity: 0; transform: translateY(4px) scale(.94); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
  }
  /* (hello row defined below) */
  /* status-dot removed — emoji used instead */
  @keyframes pulse {
    0%   { transform: scale(1);   opacity: .7; }
    100% { transform: scale(2.6); opacity: 0; }
  }

  .hello {
    font-size: 16px; color: var(--muted-foreground);
    margin: 0 0 22px;
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap;
  }
  .hello .wave { display: inline-block; animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 80%; }
  @keyframes wave {
    0%, 60%, 100% { transform: rotate(0); }
    10%, 30%      { transform: rotate(14deg); }
    20%, 40%      { transform: rotate(-8deg); }
  }
  .tagline {
    font-family: 'Instrument Serif', serif; font-weight: 400;
    font-size: clamp(32px, 5.4vw, 60px); line-height: 1.05;
    letter-spacing: -0.02em; margin: 0 0 20px; max-width: 18ch;
  }
  .tagline .dot { color: var(--foreground); }
  .tagline em { font-style: italic; color: var(--muted-foreground); }

  /* Headline swap word — advances on hover */
  .swap {
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: opacity .25s ease, transform .25s cubic-bezier(.2,.8,.2,1);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: var(--border);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
  }
  .swap:hover {
    text-decoration-color: var(--foreground);
  }
  .swap.is-changing {
    opacity: 0;
    transform: translateY(-6px);
  }
  .lede { font-size: clamp(14px, 1.4vw, 16px); color: var(--muted); max-width: 56ch; margin: 0 0 28px; }
  .lede a { color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
  .lede a:hover { border-bottom-color: var(--accent); color: var(--accent); }
  .lede-strip {
    margin: -10px 0 28px;
    font-family: 'Geist Mono', 'Menlo', monospace;
    font-size: 11px;
    color: var(--muted-foreground);
    letter-spacing: 0;
    line-height: 1.7;
    max-width: 100%;
  }
  .inline-logo {
    display: inline-block;
    width: 16px; height: 16px;
    border-radius: 50%;
    overflow: hidden;
    vertical-align: -3px;
    margin: 0 2px;
    background: var(--border);
    transition: transform .25s cubic-bezier(.2,.8,.2,1);
    cursor: pointer;
  }
  .inline-logo:hover { transform: scale(1.4); }
  .inline-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .lede-tail { white-space: nowrap; }
  .nowrap { white-space: nowrap; }

  /* REVIEW STRIP — header + quote block + nav */
  .review-block {
    margin-top: 12px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    width: 100%;
    max-width: 580px;
  }
  .review-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
  }
  .review-head-label {
    font-family: 'Geist', sans-serif;
    font-size: 12px;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .review-nav { display: inline-flex; gap: 4px; }
  .review-nav button {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--foreground);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .2s ease, background .2s ease, transform .15s ease;
    padding: 0;
  }
  .review-nav button:hover { border-color: var(--border-strong); background: var(--background); }
  .review-nav button:active { transform: scale(0.94); }
  .review-nav svg { width: 13px; height: 13px; }

  .review-pill {
    display: block;
    width: 100%;
    border-radius: var(--radius-sm);
  }
  .review-pill .pill-stage {
    position: relative;
    min-width: 0;
    width: 100%;
    min-height: 78px;
    transition: height .45s cubic-bezier(.2,.8,.2,1);
  }
  .pill-slot {
    position: absolute; inset: 0;
    display: flex; align-items: flex-start; gap: 14px;
    transition: opacity .5s ease, transform .5s ease;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
  }
  .pill-slot.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .pill-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0; background: var(--border);
    margin-top: 2px;
    box-shadow: var(--shadow-xs);
  }
  .pill-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .pill-text {
    display: flex; flex-direction: column; gap: 6px; line-height: 1.5;
    min-width: 0;
    flex: 1;
  }
  .pill-quote {
    font-size: 14px; color: var(--foreground);
  }
  .pill-quote em { color: var(--foreground); font-style: normal; font-weight: 600; }
  .pill-meta {
    font-size: 12px; color: var(--muted-foreground);
    letter-spacing: 0;
  }
  .pill-meta b { color: var(--foreground); font-weight: 500; }

  @media (max-width: 640px) {
    .hero-grid { grid-template-columns: 1fr; gap: 20px; }
    .pfp { width: 80px; height: 80px; }
    .pill-quote { font-size: 13px; }
    .review-pill { max-width: 100%; }
    /* Bigger headline on mobile */
    .tagline { font-size: clamp(42px, 11.5vw, 56px); line-height: 1.04; }
    /* Stop chip width jitter on mobile: lock to a stable width */
    .status-chip { min-width: 220px; justify-content: flex-start; }
    .status-text-wrap { flex: 1; }
    /* Chip drops to its own line so it never pushes the headline */
    .hello { flex-wrap: wrap; }
    .hello .status-chip { width: auto; }
  }

  /* (reviews now live as inline pill in hero — see .review-pill above) */

  /* SECTION HEADS */
  section { padding: clamp(28px, 4.5vh, 56px) 0; }
  .label {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 12px; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin: 0 0 32px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
  }
  .label h2 { font: inherit; margin: 0; font-weight: 500; }

  /* SHOWCASE — full-width stacked work images */
  .showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .showcase-tile {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #f5f5f5;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
    box-shadow: var(--shadow-xs);
  }
  .showcase-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
  }
  .showcase-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
  }
  .showcase-tile:hover img { transform: scale(1.025); }
  .showcase-tile--wide { background: #fcfcfc; padding: 5%; }
  .showcase-tile--wide img { object-fit: contain; }
  .showcase-tile--wide:hover img { transform: scale(1.04); }
  .showcase-caption {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted-foreground);
    gap: 16px;
  }
  .showcase-caption b { color: var(--foreground); font-weight: 500; }
  /* Context for crawlers and screen readers; icons carry it visually. */
  .sr-note {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
  }

  /* Work descriptions: readable by search engines, AI crawlers and screen
     readers, but not shown visually — the images carry the story on screen. */
  .showcase-result {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: 0; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    left: -9999px;
  }

  .showcase-foot {
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted-foreground);
    display: flex; justify-content: flex-end;
  }
  .showcase-foot a {
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
    padding-bottom: 1px;
    transition: color .2s ease, border-color .2s ease;
  }
  .showcase-foot a:hover { color: var(--foreground); border-bottom-color: var(--foreground); }

  /* BADGES — Contra recognition chips */
  .badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 16px 6px 6px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 12.5px;
    color: var(--foreground);
    font-weight: 500;
    line-height: 1.3;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .badge:hover { border-color: var(--border-strong); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
  .badge-icon {
    width: 26px; height: 26px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: var(--foreground);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--background);
    font-size: 10px; font-weight: 700; letter-spacing: -0.02em;
    line-height: 1;
    font-family: 'Geist', sans-serif;
    text-align: center;
    box-sizing: border-box;
  }
  .badge-icon img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .badge-icon--inset { background: #cfdce4; }
  .badge-icon--inset img { transform: scale(1.18); transform-origin: center; }
  .badge-icon--ai-fix { background: #1d0f00; }
  .badge-icon--ai-fix img { transform: scale(0.85); transform-origin: center; }
  .badge-icon--gr,
  .badge-icon--ai {
    font-size: 9px;
    padding-top: 1px;
  }
  .badge-icon--gr { background: #b89464; color: #fff; }
  .badge-icon--ai { background: #1d0f00; color: #ff7c00; }
  .badge-count {
    color: var(--muted-foreground);
    font-weight: 400;
    margin-left: 2px;
  }

  /* EXPERIENCE — grouped, dropped sublines */
  .exp-group {
    display: flex; flex-direction: column;
  }
  .exp-group-label {
    font-family: 'Geist Mono', 'Menlo', monospace;
    font-size: 11px;
    color: var(--muted-foreground);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 18px 0 6px;
  }
  .exp-group + .exp-group .exp-group-label { padding-top: 28px; }
  .exp-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .exp-meta {
    display: flex; flex-direction: column; gap: 2px;
    min-width: 0;
  }
  .exp-brand {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(17px, 2vw, 20px);
    color: var(--foreground);
    line-height: 1.2;
    letter-spacing: -0.01em;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .exp-logo {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 22px; height: 22px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    box-shadow: inset 0 0 0 0.5px var(--border);
    transition: transform .25s cubic-bezier(.2,.8,.2,1);
    cursor: pointer;
    box-sizing: border-box;
  }
  .exp-logo:hover { transform: scale(1.4); }
  .exp-logo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .exp-logo--inset img {
    width: 70%; height: 70%;
    object-fit: contain;
  }
  .exp-logo--text {
    background: var(--foreground); color: var(--background);
    font-family: 'Geist', sans-serif;
    font-size: 8px; font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .exp-job {
    font-size: 11.5px;
    color: var(--muted-foreground);
    line-height: 1.3;
  }
  .exp-kind {
    display: block; margin-top: 2px;
    font-size: 11px; color: #a3a3a3;
    text-align: right;
  }
  .exp-dates { font-size: 12px; color: var(--muted-foreground); white-space: nowrap; align-self: center; }
  .exp-more {
    margin-top: 4px;
    padding-top: 18px;
    font-size: 13px;
    text-align: right;
  }
  .exp-more a {
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
    padding-bottom: 1px;
    transition: color .2s ease, border-color .2s ease;
  }
  .exp-more a:hover { color: var(--foreground); border-bottom-color: var(--foreground); }

  @media (max-width: 540px) {
    .exp-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
    .exp-dates { font-size: 12px; }
  }

  /* WORK — text-list, no images */
  .work-list { display: flex; flex-direction: column; }
  .tile {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: baseline;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left .25s cubic-bezier(.2,.8,.2,1);
  }
  .tile:first-child { border-top: 1px solid var(--border); }
  .tile:hover { padding-left: 8px; }
  .tile-name {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(20px, 2.4vw, 24px);
    letter-spacing: -0.01em;
    color: var(--foreground);
    line-height: 1.2;
  }
  .tile-role {
    color: var(--muted-foreground);
    font-size: 13px;
    line-height: 1.4;
    text-align: right;
  }
  .tile-arrow {
    font-size: 14px;
    color: var(--muted-foreground);
    transition: transform .25s ease, color .25s ease;
  }
  .tile:hover .tile-arrow { transform: translate(3px, -3px); color: var(--primary); }
  .tile:hover .tile-name { color: var(--primary); }

  @media (max-width: 540px) {
    .tile { grid-template-columns: 1fr auto; gap: 8px; }
    .tile-role { grid-column: 1 / -1; text-align: left; font-size: 12px; }
  }

  /* CLIENTS */
  .clients { font-family: 'Instrument Serif', serif; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; color: var(--muted); max-width: 60ch; }
  .clients b { font-weight: 400; color: var(--ink); font-style: italic; }

  /* CONTACT — calm, jaimec-style */
  .contact { padding: clamp(40px, 6vh, 72px) 0 clamp(32px, 5vh, 56px); }
  .contact-h {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    max-width: 28ch;
    color: var(--foreground);
    font-weight: 400;
  }
  .contact-h em { font-style: italic; color: var(--muted-foreground); }
  .contact-body {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 50ch;
    margin: 0 0 28px;
  }
  .contact-body a {
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
    padding-bottom: 1px;
    transition: border-color .2s ease;
  }
  .contact-body a:hover { border-bottom-color: var(--foreground); }
  .contact-cta { margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }

  /* CUSTOM CTA BUTTONS */
  /* FAQ */
  .faq { display: flex; flex-direction: column; }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
    padding: 18px 0; font-size: 15px; line-height: 1.5; color: var(--foreground);
    transition: color .2s ease;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary:hover { color: var(--muted); }
  .faq-mark {
    flex: 0 0 auto; position: relative; width: 12px; height: 12px; margin-top: 6px;
  }
  .faq-mark::before, .faq-mark::after {
    content: ''; position: absolute; background: var(--muted);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  }
  .faq-mark::before { top: 5px; left: 0; width: 12px; height: 1.5px; }
  .faq-mark::after { top: 0; left: 5px; width: 1.5px; height: 12px; }
  .faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
  .faq-a { padding: 0 0 20px; max-width: 60ch; }
  .faq-a p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted-foreground); }
  @media (prefers-reduced-motion: reduce) {
    .faq-mark::before, .faq-mark::after { transition: none; }
  }

  /* STICKY MOBILE CTA */
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: none; gap: 8px; align-items: center;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.93);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--border);
    transform: translateY(110%);
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta .btn { flex: 1; justify-content: center; padding: 11px 16px; }
  .sticky-cta .btn-secondary { flex: 0 0 auto; }
  @media (max-width: 680px) {
    .sticky-cta { display: flex; }
    body { padding-bottom: 68px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .sticky-cta { transition: none; }
  }

  /* HERO STATS + CTA */
  .hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
  @media (max-width: 420px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { justify-content: center; }
  }

  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    font-family: 'Geist', sans-serif;
    font-size: 14px; font-weight: 500;
    line-height: 1;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background .2s ease, border-color .2s ease;
    text-decoration: none;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--foreground);
    color: var(--background);
    border-color: var(--foreground);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,10,9,.18);
  }
  .btn-primary .btn-icon { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
  .btn-primary:hover .btn-icon { transform: scale(1.12); }
  .btn-secondary {
    background: var(--background);
    color: var(--foreground);
    border-color: var(--border-strong);
    position: relative;
    overflow: hidden;
    animation: btnBreath 2.6s ease-in-out infinite;
  }
  .btn-secondary:hover {
    background: var(--border);
    transform: translateY(-2px);
    animation: none;
  }
  /* A — breathing border */
  @keyframes btnBreath {
    0%, 100% { border-color: var(--border-strong); }
    50%      { border-color: var(--muted-foreground); }
  }
  /* C — shimmer sweep */
  .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -40%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(10,10,9,0.06), transparent);
    animation: btnShimmer 3.4s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes btnShimmer {
    0%   { left: -40%; }
    60%  { left: 100%; }
    100% { left: 100%; }
  }
  .btn-secondary:hover::before { animation-play-state: paused; }
  /* F — blinking caret */
  .btn-caret {
    display: inline-block;
    width: 1px;
    height: 13px;
    background: var(--foreground);
    margin-left: 1px;
    vertical-align: -2px;
    animation: btnCaret 1s steps(1) infinite;
  }
  @keyframes btnCaret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) {
    .btn-secondary { animation: none; }
    .btn-secondary::before { display: none; }
    .btn-caret { animation: none; opacity: 1; }
  }
  .btn-icon {
    width: 16px; height: 16px;
    flex-shrink: 0;
  }
  .contact-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
  .contact-links a {
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
    padding-bottom: 1px;
    transition: color .2s ease, border-color .2s ease;
  }
  .contact-links a:hover { color: var(--foreground); border-bottom-color: var(--foreground); }

  /* FOOTER */
  footer { padding: 24px 0 36px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
  .footer-nav { display: flex; flex-wrap: wrap; gap: 14px; order: -1; flex: 1 1 100%; padding-bottom: 14px; }
  .footer-nav a { color: var(--muted); opacity: .62; transition: opacity .2s ease, color .2s ease; }
  .footer-nav a:hover { color: var(--foreground); opacity: 1; }
  @media (max-width: 540px) { .footer-nav { gap: 12px; font-size: 12.5px; } }

  /* MOTION */
  .fade-in { opacity: 0; animation: fadeIn .6s ease forwards; }
  @keyframes fadeIn { to { opacity: 1; } }

  /* A — ASCII signature, top-right of hero */
  .ascii-sig {
    position: fixed;
    top: 20px; right: 22px;
    font-family: 'Geist Mono', 'Menlo', monospace;
    font-size: 11px;
    color: var(--muted-foreground);
    letter-spacing: 0.04em;
    user-select: none;
    z-index: 50;
    transition: color .2s ease;
  }
  .ascii-sig:hover { color: var(--foreground); }

  /* B — blinking cursor next to status chip */
  .status-text-wrap { display: inline-flex; align-items: center; }
  .typing-cursor {
    display: inline-block;
    width: 1.5px; height: 12px;
    background: var(--foreground);
    margin-left: 0;
    animation: blink 1s steps(1) infinite;
  }
  @keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

  /* C — removed */

  /* E — hero scroll-fade */
  .tagline em {
    transition: opacity .3s ease, transform .3s ease;
    will-change: opacity, transform;
  }

  /* F — removed */

  /* G — command bar */
  .cmdbar {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    box-shadow: 0 24px 60px rgba(10,10,9,.18);
    font-family: 'Geist Mono', 'Menlo', monospace;
    font-size: 13px;
    color: var(--foreground);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s cubic-bezier(.2,.8,.2,1);
    min-width: 280px;
    text-align: center;
  }
  .cmdbar.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
  }
  .cmdbar small {
    display: block;
    font-family: 'Geist', sans-serif;
    color: var(--muted-foreground);
    font-size: 11px;
    margin-top: 8px;
    letter-spacing: 0.04em;
  }

  .footer-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .footer-line { white-space: nowrap; }
  .footer-credit {
    font-family: 'Geist Mono', 'Menlo', monospace;
    font-size: 11px;
    color: var(--muted-foreground);
    letter-spacing: 0.02em;
  }
  .wink {
    display: inline-block;
    margin-left: 4px;
    transition: transform .15s ease;
  }
  .wink:hover { transform: scale(1.15) rotate(-3deg); }

  .bear {
    display: inline-block;
    margin-left: 6px;
    color: var(--foreground);
    transition: transform .2s ease;
    cursor: pointer;
  }
  .bear:hover { transform: scale(1.15) rotate(-4deg); }

  /* mascot bear removed */

  /* TOAST */
  .toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--foreground);
    color: var(--background);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(10,10,9,.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s cubic-bezier(.2,.8,.2,1);
    z-index: 200;
    white-space: nowrap;
  }
  .toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reviews-track { animation: none !important; }
    html { scroll-behavior: auto; }
  }

  @media (max-width: 600px) {
    .nav { gap: 14px; font-size: 13px; }
    .tile-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
    .tile-role { padding-left: 0; }
    .tile-arrow { display: none; }
    .review-card { width: 280px; }
    .reviews-track { animation-duration: 45s; }
  }

  /* ---- Subpage layout (services, about, faq) ---- */
  .sub-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
  .sub-nav {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 28px 0 0; font-size: 14px;
  }
  .sub-nav a { color: var(--muted-foreground); text-decoration: none; transition: color .2s ease; }
  .sub-nav a:hover { color: var(--foreground); }
  .sub-home { font-family: 'Instrument Serif', serif; font-size: 19px; color: var(--foreground); letter-spacing: -0.01em; }
  .sub-home em { font-style: italic; }
  .sub-head { padding: 56px 0 8px; }
  .sub-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle-foreground); }
  .sub-title {
    font-family: 'Instrument Serif', serif; font-weight: 400;
    font-size: clamp(34px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.02em;
    margin: 14px 0 0; color: var(--foreground);
  }
  .sub-title em { font-style: italic; color: var(--muted-foreground); }
  .sub-lede { margin: 18px 0 0; font-size: 16px; line-height: 1.65; color: var(--muted-foreground); max-width: 62ch; }
  .sub-body { padding: 40px 0 0; }
  .sub-body h2 {
    font-family: 'Instrument Serif', serif; font-weight: 400;
    font-size: 26px; letter-spacing: -0.01em; margin: 40px 0 12px; color: var(--foreground);
  }
  .sub-body h2:first-child { margin-top: 0; }
  .sub-body p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--muted-foreground); max-width: 66ch; }
  .sub-body strong { color: var(--foreground); font-weight: 500; }
  .sub-list { margin: 0 0 14px; padding: 0; list-style: none; max-width: 66ch; }
  .sub-list li {
    position: relative; padding: 0 0 0 20px; margin: 0 0 9px;
    font-size: 15px; line-height: 1.65; color: var(--muted-foreground);
  }
  .sub-list li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); }
  .sub-quote {
    margin: 22px 0; padding: 0 0 0 18px; border-left: 2px solid var(--border-strong);
    font-size: 15px; line-height: 1.7; color: var(--muted-foreground); max-width: 62ch;
  }
  .sub-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13.5px; color: var(--subtle-foreground); }
  .sub-quote cite b { color: var(--foreground); font-weight: 500; }
  .sub-cta {
    margin: 56px 0 0; padding: 32px 0 40px; border-top: 1px solid var(--border);
  }
  .sub-cta p {
    margin: 0 0 16px; font-size: 15px; line-height: 1.6;
    color: var(--muted-foreground); max-width: 48ch;
  }
  .sub-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
  @media (max-width: 420px) {
    .sub-cta-row { flex-direction: column; align-items: stretch; }
    .sub-cta-row .btn { justify-content: center; }
  }
  .sub-foot { padding: 28px 0 48px; border-top: 1px solid var(--border); font-size: 13px; color: var(--subtle-foreground); }
  .sub-foot a { color: var(--muted-foreground); text-decoration: none; }
  .sub-foot a:hover { color: var(--foreground); }
  .sub-related { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }

  /* ---- Calculator tool ---- */
  .calc { margin: 32px 0 0; }
  .calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
  .calc-field label { display: block; font-size: 13px; color: var(--muted-foreground); margin: 0 0 7px; }
  .calc-field input, .calc-field select {
    width: 100%; box-sizing: border-box;
    padding: 11px 13px; font-family: 'Geist', sans-serif; font-size: 15px;
    color: var(--foreground); background: var(--card);
    border: 1px solid var(--border-strong); border-radius: var(--radius-md);
    transition: border-color .2s ease;
  }
  .calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--foreground); }
  .calc-out {
    margin: 28px 0 0; padding: 24px; border: 1px solid var(--border);
    border-radius: var(--radius-lg); background: var(--card);
  }
  .sub-body p.calc-headline {
    font-family: 'Instrument Serif', serif; font-weight: 400;
    font-size: clamp(28px, 5vw, 38px); line-height: 1.12; letter-spacing: -0.02em;
    color: var(--foreground); margin: 0; max-width: none;
  }
  .sub-body p.calc-headline span { color: var(--muted-foreground); font-style: italic; }
  .sub-body p.calc-sub { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); max-width: 52ch; }
  .sub-body p.calc-note { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: var(--subtle-foreground); max-width: 60ch; }
  .calc-rows { margin: 22px 0 0; border-top: 1px solid var(--border); }
  .calc-row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px;
  }
  .calc-row span { color: var(--muted-foreground); }
  .calc-row b { color: var(--foreground); font-weight: 500; font-variant-numeric: tabular-nums; }
  .calc-note { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: var(--subtle-foreground); }

  /* ---- Case study diagram ---- */
  .diagram { margin: 32px 0; }
  .diagram svg { width: 100%; height: auto; display: block; }
  .diagram figcaption {
    margin: 12px 0 0; font-size: 13px; line-height: 1.6;
    color: var(--subtle-foreground); max-width: 60ch;
  }

  /* ---- Case study figures ---- */
  .cs-fig { margin: 30px 0; }
  .cs-fig img {
    width: 100%; height: auto; display: block;
    border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--card);
  }
  .cs-fig figcaption {
    margin: 11px 0 0; font-size: 13px; line-height: 1.6;
    color: var(--subtle-foreground); max-width: 62ch;
  }
