  :root {
    --ink:        #1a1a1a;
    --ink-soft:   #555555;
    --ink-faint:  #767676;
    --cream:      #f7f6f3;
    --white:      #ffffff;
    --teal:       #2a6475;
    --teal-dark:  #1f4f5e;
    --teal-light: #e4f0f3;
    --teal-mid:   #9ecad4;
    --border:     #e0dbd3;
    --serif:      'DM Serif Display', Georgia, serif;
    --sans:       'DM Sans', system-ui, sans-serif;
    --radius:     4px;
    --max:        1224px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 70px; }
  body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }

  .container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5.5vw, 2.5rem);
  }
  .label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--teal);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .fade { animation: fadeUp 0.55s ease both; }
  .d1   { animation-delay: 0.08s; }
  .d2   { animation-delay: 0.2s; }

  /* ── Nav ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(244,244,242,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    max-width: var(--max); margin: 0 auto;
    padding: 0 clamp(1.25rem, 5.5vw, 2.5rem);
    height: 56px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-contact {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.78rem; color: var(--ink-soft);
  }
  .nav-contact a {
    color: var(--ink-soft); transition: color 0.2s;
    font-weight: 400; letter-spacing: 0;
  }
  .nav-contact a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
  .nav-contact-divider { color: var(--border); font-size: 0.9rem; }
  .nav-right { display: flex; align-items: center; gap: 1.5rem; }
  .nav-right a {
    font-size: 0.76rem; font-weight: 500; letter-spacing: 0.04em;
    color: var(--ink-soft); transition: color 0.2s;
  }
  .nav-right a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
  .nav-cv {
    color: var(--teal);
    border: 1px solid var(--teal-mid);
    padding: 0.28rem 0.7rem;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
  }
  .nav-cv:hover { background: var(--teal); color: var(--white) !important; text-decoration: none; }

  /* ── Intro ── */
  #intro {
    padding-top: calc(56px + clamp(2.5rem, 6vw, 4.5rem));
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--border);
  }
  .intro-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
  }
  .intro-label { margin-bottom: 1rem; }
  .intro-statement {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.2; letter-spacing: -0.01em;
    margin-bottom: 1.4rem;
  }
  .intro-sub {
    font-size: 0.93rem; color: var(--ink-soft);
    line-height: 1.8;
  }
  .intro-sub strong { color: var(--ink); font-weight: 500; }
  .intro-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
  }
  .profile-image {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 1px var(--border), 0 4px 20px rgba(42,100,117,0.1);
    background: var(--teal-light);
    flex-shrink: 0;
  }
  .profile-image img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }
  .profile-image-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.35rem;
    border-radius: 50%;
    border: 1.5px dashed var(--teal-mid);
  }
  .profile-image-placeholder .ph-icon { font-size: 1.5rem; opacity: 0.4; }
  .profile-image-placeholder .ph-label {
    font-size: 0.62rem; color: var(--teal);
    letter-spacing: 0.04em; text-align: center;
    padding: 0 0.75rem; line-height: 1.4;
  }
  .profile-greeting {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--ink-soft);
    text-align: center;
    margin-top: 0.5rem;
  }

  /* ── Work ── */
  #work { padding: clamp(1.25rem, 2.75vw, 2rem) 0 clamp(2.5rem, 5.5vw, 4rem); }
  .work-heading {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .work-heading .label { margin-bottom: 0.5rem; display: block; }
  .work-title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.2;
  }

  /* Button reset for accordion triggers */
  button.case-hero-image,
  button.case-header {
    display: grid;
    grid-template-columns: 1fr 32px;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem 1.75rem 0;
    width: 100%;
    background: none;
    border: none;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
  }

  /* ── Case card ── */
  .case {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s;
    cursor: pointer;
  }
  .case:not(.open):hover {
    box-shadow: 0 4px 28px rgba(0,0,0,0.07);
    border-color: #c8c3bb;
  }
  .case.open { border-color: var(--border); cursor: default; }
  .case.open button.case-hero-image,
  .case.open button.case-header { cursor: pointer; }

  /* Image above title - full card width with padding, clickable to expand */
  .case-hero-image {
    padding: 1.25rem 1.25rem 0;
    cursor: pointer;
  }
  .case-hero-image img {
    width: 100%; height: 280px;
    object-fit: cover; display: block;
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }
  .case-hero-image-placeholder {
    width: 100%; height: 280px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.5rem;
    background: var(--teal-light);
    border: 1.5px dashed var(--teal-mid);
    border-radius: var(--radius);
  }
  .case-hero-image-placeholder .ph-icon { font-size: 1.5rem; opacity: 0.4; }
  .case-hero-image-placeholder .ph-label {
    font-size: 0.75rem; color: var(--teal);
    letter-spacing: 0.04em; text-align: center;
    padding: 0 2rem; line-height: 1.5;
  }

  /* Title row - title + summary + expand toggle */
  .case-header {
    display: grid;
    grid-template-columns: 1fr 32px;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem 1.75rem 1.5rem;
    cursor: pointer;
    user-select: none;
  }
  .case-title {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 400; line-height: 1.25;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
  }
  .case:not(.open):hover .case-title { color: var(--teal); }
  .case-summary {
    font-size: 0.87rem; color: var(--ink-soft); line-height: 1.68;
  }
  .case-toggle {
    width: 28px; height: 28px;
    border: 1px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 0.15rem;
    transition: background 0.2s, border-color 0.2s;
  }
  .case-toggle svg { transition: transform 0.3s ease; }
  .case:not(.open):hover .case-toggle { border-color: #c8c3bb; background: #f0ede8; }
  .case.open .case-toggle { background: var(--teal); border-color: var(--teal); }
  .case.open .case-toggle svg { transform: rotate(45deg); }
  .case.open .case-toggle svg path { stroke: var(--white); }

  /* Tags bar */
  .case-body { display: none; border-top: 1px solid var(--border); }
  .case.open .case-body { display: block; }

  .case-tags-bar {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.75rem 1.1rem;
    background: none;
  }
  .case-tag {
    font-size: 0.73rem; font-weight: 500; letter-spacing: 0.04em;
    background: var(--teal-light); color: var(--teal);
    padding: 0.2rem 0.55rem; border-radius: 2px;
  }
  .case-context { font-size: 0.75rem; color: var(--ink-faint); }

  /* Case sections */
  .case-section {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border);
  }
  .case-section:last-child { border-bottom: none; }
  .case-section-label {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--teal); margin-bottom: 0.8rem;
  }
  .case-section-label span {
    background: var(--teal-light); padding: 0.2rem 0.55rem;
    border-radius: 2px; display: inline-block;
  }
  .case-section p {
    font-size: 0.89rem; color: var(--ink-soft);
    line-height: 1.75;
  }
  .case-section p + p { margin-top: 0.7rem; }

  /* Process steps */
  .process-steps {
    display: flex; flex-direction: column; gap: 0;
    margin-top: 0.5rem;
  }
  .process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border);
  }
  .process-step:last-child { border-bottom: none; }
  .step-left { display: flex; gap: 0.9rem; align-items: flex-start; }
  .step-num {
    font-size: 0.65rem; font-weight: 500;
    color: var(--white); background: var(--teal);
    width: 19px; height: 19px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 0.28rem;
  }
  .step-text { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.68; }
  .step-text strong { color: var(--ink); font-weight: 500; }
  .step-right { display: flex; flex-direction: column; gap: 0.5rem; }

  /* Artefact placeholder */
  .artefact {
    background: var(--cream);
    border: 1.5px dashed var(--teal-mid);
    border-radius: var(--radius);
    min-height: 120px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.4rem;
    padding: 1.25rem; text-align: center;
  }
  .artefact.has-image {
    padding: 0;
    overflow: hidden;
    min-height: unset;
    cursor: zoom-in;
    position: relative;
  }
  .artefact.has-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    transition: opacity 0.15s;
  }
  .artefact.has-image:hover img { opacity: 0.88; }
  .artefact.has-image .artefact-expand-hint {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    background: rgba(42,100,117,0.82);
    color: #fff;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 2px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
  }
  .artefact.has-image:hover .artefact-expand-hint { opacity: 1; }
  .artefact.has-image .artefact-caption {
    padding: 0.3rem 0.4rem 0.35rem;
    width: 100%;
    background: var(--cream);
  }
  .artefact-icon { font-size: 1.1rem; opacity: 0.35; }
  .artefact-label { font-size: 0.75rem; color: var(--ink-faint); letter-spacing: 0.03em; line-height: 1.45; }
  .artefact-hint { font-size: 0.67rem; color: var(--teal-mid); font-style: italic; }

  /* Research gallery */
  .research-gallery { display: flex; flex-direction: column; gap: 0.75rem; }
  .rg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .rg-thumb {
    cursor: zoom-in;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream);
    border: 1.5px solid var(--border);
    display: flex; flex-direction: column;
    transition: border-color 0.2s;
  }
  .rg-thumb:hover { border-color: var(--teal-mid); }
  .rg-thumb img {
    width: 100%; height: auto; display: block;
    object-fit: cover;
    object-position: top;
    max-height: 140px;
  }
  .rg-caption {
    font-size: 0.67rem; color: var(--ink-faint);
    text-align: center; padding: 0.3rem 0.4rem 0.35rem;
    line-height: 1.3; background: var(--cream);
  }
  .rg-placeholder {
    background: var(--cream);
    border: 1.5px dashed var(--teal-mid);
    border-radius: var(--radius);
    min-height: 80px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.3rem; padding: 0.9rem; text-align: center;
  }
  /* Lightbox */
  .rg-lightbox {
    display: none; position: fixed;
    inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.82);
    align-items: center; justify-content: center;
    cursor: zoom-out;
  }
  .rg-lightbox.open { display: flex; }
  .rg-lb-inner {
    position: relative; max-width: 90vw; max-height: 90vh;
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  }
  .rg-lb-inner img {
    max-width: 90vw; max-height: 80vh;
    object-fit: contain; border-radius: var(--radius);
    cursor: default;
  }
  .rg-lb-caption {
    color: #fff; font-size: 0.8rem; letter-spacing: 0.02em;
  }
  .rg-lb-close {
    position: absolute; top: -0.75rem; right: -0.75rem;
    background: var(--teal); color: #fff;
    border: none; border-radius: 50%;
    width: 1.8rem; height: 1.8rem;
    font-size: 1rem; cursor: pointer; line-height: 1;
    display: flex; align-items: center; justify-content: center;
  }

  /* Expandable insights subsection */
  .insight-details {
    margin-top: 1.275rem;
    border: 1.5px solid var(--teal-mid);
    border-radius: var(--radius);
    background: var(--teal-light);
  }
  .insight-details summary {
    cursor: pointer;
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal-dark);
    letter-spacing: 0.02em;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
  }
  .insight-details summary::-webkit-details-marker { display: none; }
  .insight-details summary .summary-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  .insight-details summary .summary-label::before {
    content: '📋';
    font-size: 0.75rem;
  }
  .insight-details summary .summary-cta {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--teal);
    background: white;
    border: 1px solid var(--teal-mid);
    border-radius: 2px;
    padding: 0.15rem 0.5rem;
    letter-spacing: 0.03em;
  }
  .insight-details[open] summary .summary-cta { content: 'collapse ▴'; }
  .insight-details summary .summary-cta::after { content: ' ▾'; }
  .insight-details[open] summary .summary-cta::after { content: ' ▴'; }
  .insight-details .insight-body {
    padding: 0 0.85rem 0.75rem;
    border-top: 1px solid var(--teal-mid);
  }
  .insight-details ul {
    margin: 0.5rem 0 0.65rem 0;
    padding-left: 1.1rem;
  }
  .insight-details li {
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-bottom: 0.3rem;
    line-height: 1.45;
  }
  .insight-details p {
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
    line-height: 1.5;
  }

  /* Persona artefact accordions */
  .persona-accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0.5rem;
  }
  .persona-accordion:last-child { margin-bottom: 0; }
  .persona-accordion summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    background: var(--cream);
    user-select: none;
  }
  .persona-accordion summary::-webkit-details-marker { display: none; }
  .persona-accordion summary .pa-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 600;
    flex-shrink: 0;
  }
  .persona-accordion summary .pa-label {
    flex: 1;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal-dark);
  }
  .persona-accordion summary .pa-sub {
    font-size: 0.72rem;
    color: var(--ink-faint);
  }
  .persona-accordion summary .pa-cta {
    font-size: 0.7rem;
    color: var(--teal);
    background: var(--white);
    border: 1px solid var(--teal-mid);
    border-radius: 2px;
    padding: 0.1rem 0.45rem;
  }
  .persona-accordion summary .pa-cta::after { content: ' ▾'; }
  .persona-accordion[open] summary .pa-cta::after { content: ' ▴'; }
  .persona-accordion .pa-body {
    padding: 0.85rem 0.75rem;
    border-top: 1px solid var(--border);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }
  /* Persona card inside accordion */
  .pa-card {
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 0.78rem;
  }
  .pa-card-header {
    display: flex; align-items: center; gap: 10px;
    padding: 0.6rem 0.75rem;
    border-bottom: 0.5px solid var(--border);
    background: var(--cream);
  }
  .pa-card-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 600; flex-shrink: 0;
  }
  .pa-card-name { font-weight: 600; font-size: 0.82rem; color: var(--ink); margin: 0 0 1px; }
  .pa-card-sub { font-size: 0.72rem; color: var(--ink-soft); margin: 0; }
  .pa-card-tag {
    margin-left: auto; font-size: 0.68rem; font-weight: 600;
    padding: 2px 8px; border-radius: 20px; white-space: nowrap;
  }
  .pa-card-body {
    padding: 0.65rem 0.75rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem;
  }
  .pa-card-section label {
    display: block; font-size: 0.65rem; font-weight: 600;
    color: var(--ink-faint); letter-spacing: 0.07em;
    text-transform: uppercase; margin-bottom: 4px;
  }
  .pa-card-section ul { margin: 0; padding: 0 0 0 12px; }
  .pa-card-section li { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 2px; }
  .pa-card-quote {
    grid-column: 1 / -1;
    border-left: 2px solid var(--teal-mid);
    padding-left: 10px;
  }
  .pa-card-quote p { margin: 0; font-size: 0.75rem; color: var(--ink-soft); font-style: italic; line-height: 1.55; }
  .pa-card-stats {
    grid-column: 1 / -1;
    display: flex; gap: 6px; flex-wrap: wrap;
  }
  .pa-stat {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 3px 8px;
    font-size: 0.7rem; color: var(--ink-soft);
  }
  .pa-stat strong { color: var(--ink); font-weight: 600; }
  .pa-card-note {
    grid-column: 1 / -1;
    font-size: 0.68rem; color: var(--ink-faint);
    border-top: 0.5px solid var(--border);
    padding-top: 6px; margin-top: 2px;
  }
  /* JTBD card inside accordion */
  .pa-jtbd {
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 0.78rem;
  }
  .pa-jtbd-header {
    padding: 0.45rem 0.75rem;
    border-bottom: 0.5px solid var(--border);
    background: var(--cream);
    font-size: 0.68rem; font-weight: 600;
    color: var(--ink-faint); letter-spacing: 0.06em; text-transform: uppercase;
  }
  .pa-jtbd-body { padding: 0.65rem 0.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
  .pa-jtbd-job { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; }
  .pa-jtbd-num {
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 600; flex-shrink: 0; margin-top: 1px;
  }
  .pa-jtbd-content p { margin: 0 0 2px; font-size: 0.75rem; font-weight: 600; color: var(--ink); }
  .pa-jtbd-content span { font-size: 0.72rem; color: var(--ink-soft); line-height: 1.5; display: block; }
  .pa-jtbd-note {
    font-size: 0.68rem; color: var(--ink-faint);
    border-top: 0.5px solid var(--border);
    padding: 6px 0.75rem 0.5rem;
  }
  /* colour tokens */
  .col-t-av { background: #E1F5EE; color: #0F6E56; }
  .col-t-tag { background: #E1F5EE; color: #0F6E56; }
  .col-b-av { background: #E6F1FB; color: #185FA5; }
  .col-b-tag { background: #E6F1FB; color: #185FA5; }
  .col-a-av { background: #FAEEDA; color: #854F0B; }
  .col-a-tag { background: #FAEEDA; color: #854F0B; }

  /* Pain point mini-cards in step 4 */
  .pp-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 0.5px solid var(--border);
    margin-bottom: 0.5rem;
  }
  .pp-card:last-child { margin-bottom: 0; }
  .pp-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.65rem;
  }
  .pp-card-av {
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem; font-weight: 700; flex-shrink: 0;
  }
  .pp-card-name {
    font-size: 0.72rem; font-weight: 600; color: var(--ink);
    flex: 1;
  }
  .pp-card-desc {
    font-size: 0.68rem; color: var(--ink-faint);
  }
  .pp-card-body {
    padding: 0.45rem 0.65rem 0.5rem;
    background: var(--white);
    border-top: 0.5px solid var(--border);
  }
  .pp-card-body ul {
    margin: 0; padding: 0 0 0 12px;
  }
  .pp-card-body li {
    font-size: 0.75rem; color: var(--ink-soft);
    line-height: 1.5; margin-bottom: 2px;
  }
  .pp-card-body li:last-child { margin-bottom: 0; }

  /* Prototype screen gallery */
  .proto-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .proto-gallery-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ink-faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
  }
  .proto-screens-wrap {
    position: relative;
  }
  .proto-screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-height: 14rem;
    overflow: hidden;
  }
  /* Inside the side-by-side two-column layout, drop to 2 thumbnail columns */
  .proto-screens-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5rem;
    background: linear-gradient(to bottom, transparent 0%, var(--cream) 85%);
    pointer-events: none;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .proto-screen {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    transition: border-color 0.15s;
  }
  .proto-screen:hover { border-color: var(--teal-mid); }
  .proto-screen img {
    width: 100%;
    height: auto;
    display: block;
  }
  .proto-screen:hover img { opacity: 0.88; }
  .proto-screen-cap {
    background: var(--cream);
    font-size: 0.68rem;
    color: var(--ink-faint);
    padding: 0.25rem 0.4rem;
    text-align: center;
    border-top: 1px solid var(--border);
  }
  .proto-hint {
    font-size: 0.7rem;
    color: var(--teal);
    font-style: italic;
    text-align: center;
    margin-top: 0.15rem;
  }

  /* Survey data snapshot grid */
  .survey-snap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }
  .survey-snap-cell {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    transition: border-color 0.15s;
    background: var(--white);
  }
  .survey-snap-cell:hover { border-color: var(--teal-mid); }
  .survey-snap-cell .snap-img-box {
    width: 100%;
    aspect-ratio: 720 / 440;
    overflow: hidden;
    position: relative;
  }
  .survey-snap-cell .snap-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
    transition: opacity 0.15s;
  }
  .survey-snap-cell:hover .snap-img-box img { opacity: 0.88; }
  .survey-snap-cap {
    background: var(--cream);
    font-size: 0.62rem;
    color: var(--ink-faint);
    padding: 0.18rem 0.4rem;
    text-align: center;
    border-top: 1px solid var(--border);
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  /* Outcome callout */
  .case-disclaimer {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    background: #f0ede8;
    border-left: 3px solid var(--teal-mid);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.78rem;
    color: var(--ink-soft);
    line-height: 1.5;
  }
  .case-disclaimer-icon { flex-shrink: 0; font-size: 0.85rem; margin-top: 0.1rem; color: var(--teal); }

  .outcome-callout {
    display: flex; gap: 0.9rem;
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0.9rem 1.1rem;
    margin-top: 1rem;
  }
  .outcome-callout-icon { font-size: 0.9rem; flex-shrink: 0; margin-top: 0.2rem; }
  .outcome-callout p {
    font-size: 0.87rem; color: var(--teal-dark);
    line-height: 1.65; margin: 0;
  }

  /* Footer */
  footer {
    border-top: 1px solid var(--border);
    background: var(--white); padding: 1.4rem 0;
  }
  .footer-inner {
    max-width: var(--max); margin: 0 auto;
    padding: 0 clamp(1.25rem, 5.5vw, 2.5rem);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.5rem;
  }
  .footer-name { font-family: var(--serif); font-size: 0.88rem; }
  .footer-links { display: flex; gap: 1.5rem; }
  .footer-links a { font-size: 0.75rem; color: var(--ink-faint); transition: color 0.2s; }
  .footer-links a:hover,
  .footer-links a:focus-visible { color: var(--teal); text-decoration: underline; }
  .nav-contact a:hover,
  .nav-contact a:focus-visible { color: var(--teal); text-decoration: underline; }

  /* ── Responsive ─────────────────────────────────────────────── */

  /* Tablet - 900px and below */
  @media (max-width: 900px) {
    .intro-grid {
      gap: 2rem;
    }
    .profile-image { width: 145px; height: 145px; }
  }

  /* Tablet narrow - 700px and below */
  @media (max-width: 700px) {
    /* Nav */
    .nav-contact { gap: 0.4rem; font-size: 0.72rem; }

    /* Intro */
    .intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .intro-profile {
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      order: -1;
      gap: 1rem;
    }
    .profile-image { width: 84px; height: 84px; }
    .profile-greeting { margin-top: 0; font-size: 0.9rem; text-align: left; }

    /* Process steps */
    .process-step { grid-template-columns: 1fr; gap: 0.75rem; }
    .step-right { margin-left: 1.65rem; }

  }

  /* Mobile - 560px and below */
  @media (max-width: 560px) {
    /* Cards not togglable on mobile - reset cursor */
    .case { cursor: default; }

    /* Nav */
    .nav-contact-divider { display: none; }
    .nav-contact { flex-direction: column; align-items: flex-start; gap: 0.1rem; }
    .nav-inner { height: auto; padding-top: 0.6rem; padding-bottom: 0.6rem; }

    /* Case cards */
    .case-header { grid-template-columns: 1fr; }
    .case-toggle { display: none; }
    .case-body { display: none !important; }
    .case.open .case-body { display: block !important; }
    .case-hero-image { padding: 0.75rem 0.75rem 0; }
    .case-hero-image img,
    .case-hero-image-placeholder { height: 180px; }
    .case-section { padding: 1.25rem; }
    .case-tags-bar { padding: 0.5rem 1.25rem 1.25rem; }

    /* Footer */
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .footer-links { flex-wrap: wrap; gap: 1rem; }
  }

  /* ── Focus styles (keyboard navigation) ── */
  :focus { outline: none; }
  :focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: var(--radius);
  }
  button.case-hero-image:focus-visible,
  button.case-header:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: -2px;
  }

  @media (prefers-reduced-motion: reduce) {
    .fade { animation: none; opacity: 1; transform: none; }
    .case-toggle svg { transition: none; }
    .case, .nav-cv, .nav-right a, .nav-contact a,
    .footer-links a { transition: none; }
  }

  /* ── Case 1 research elements ── */
  .research-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
  }
  .stat-item {
    background: var(--teal-light);
    border-radius: var(--radius);
    padding: 1rem 0.75rem;
    text-align: center;
  }
  .stat-number {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--teal-dark);
    line-height: 1.1;
  }
  .stat-label {
    font-size: 0.68rem;
    color: var(--ink-soft);
    margin-top: 0.3rem;
    line-height: 1.35;
  }
  .hypothesis-list {
    margin: 0.75rem 0 0 1.1rem;
    padding: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .hypothesis-list li {
    margin-bottom: 0.35rem;
  }
  .case-note {
    font-size: 0.82rem;
    color: var(--ink-soft);
    background: var(--teal-light);
    border-left: 3px solid var(--teal-mid);
    padding: 0.6rem 0.85rem;
    margin-top: 1rem;
    border-radius: 0 var(--radius) var(--radius) 0;
  }
  .case-note strong { color: var(--teal-dark); font-weight: 600; }
  @media (max-width: 900px) {
    .research-stats { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 560px) {
    .research-stats { grid-template-columns: repeat(2, 1fr); }
  }

  /* ── Tools & Platforms ── */
  #tools {
    border-top: 1px solid var(--border);
    padding: clamp(1.5rem, 2.75vw, 2.5rem) 0;
  }
  .tools-section-heading {
    margin-bottom: 1.5rem;
  }
  .tools-groups {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }
  .tools-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
  }
  .tools-group-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    min-width: 150px;
    flex-shrink: 0;
  }
  .tools-logos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .tool-logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tool-text-badge {
    font-size: 0.73rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--teal);
    background: var(--teal-light);
    padding: 0.25rem 0.65rem;
    border-radius: 2px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @media (max-width: 700px) {
    .tools-group { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
    .tools-group-label { min-width: unset; }
  }
  .dh-ref {
    cursor: help;
    border-bottom: 1px dotted currentColor;
    position: relative;
    display: inline-block;
    font-style: normal;
  }
  .dh-ref::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.5;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    width: 240px;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 200;
    text-align: left;
  }
  .dh-ref:hover::after { opacity: 1; }

  /* Proto live link */
  .proto-live-link {
    display: inline-block;
    margin-top: 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    border-bottom: 1px solid var(--teal);
    letter-spacing: 0.01em;
  }
  .proto-live-link:hover { opacity: 0.7; }

  /* Outcome CTAs */
  .outcome-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
    margin-bottom: 1rem;
  }
  .outcome-cta {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    flex: 1 1 140px;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
    cursor: default;
  }
  .outcome-cta--live {
    border-color: var(--teal);
    background: var(--teal-light);
    cursor: pointer;
  }
  .outcome-cta--live:hover { background: #c5e8e4; border-color: var(--teal-dark); }
  .outcome-cta--survey {
    border-color: var(--teal);
    background: var(--teal-light);
    cursor: pointer;
  }
  .outcome-cta--survey:hover { background: #c5e8e4; border-color: var(--teal-dark); }
  .outcome-cta--pending { opacity: 0.48; pointer-events: none; }
  .outcome-cta-label {
    font-size: 0.81rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
  }
  .outcome-cta--live .outcome-cta-label,
  .outcome-cta--survey .outcome-cta-label { color: var(--teal-dark); }
  .outcome-cta-sub {
    font-size: 0.71rem;
    color: var(--ink-soft);
    line-height: 1.4;
  }
  .outcome-cta--live .outcome-cta-sub,
  .outcome-cta--survey .outcome-cta-sub { color: var(--teal-dark); opacity: 0.75; }

