  /* Layout: built from Figma frame "WA Member Tags" (2:25). Full-bleed hero, then a
     960px reading column. Problem/opportunity/solution sections use a 248px label
     rail beside a 712px content column; the rail stacks above content on small screens.
     Single light theme by choice, matching the Figma file. */
  :root {
    --bg: #FDFDFD;
    --ink: #000000;
    --ink-muted: #6b6b6b;
    --ink-soft: rgba(0, 0, 0, 0.75);
    --tan: #d6eae0;                     /* Communities project color */
    --tan-wash: rgba(214, 234, 224, 0.6);
    --accent: #3d8f68;                  /* deeper project color: People Problem icons + principle numbers */
    --note: #f4f4f4;                    /* UXR insight / design consideration cards */
    --quote-rule: #d9d9d9;
    --wa-green: #1daa61;                /* impact metrics + icons */
    --font-display: "DM Sans", "Figtree", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --gutter: 64px;
    /* Reading column: 960px on a 1280px screen (Figma), widening with the screen up to 1440px */
    --content: clamp(960px, 75vw, 1440px);
    --rail: 248px;
    --header-h: 99px;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-padding-top: var(--header-h); }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-mono);
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
  p { margin: 0; }

  /* ---------- Header (shared with homepage) ---------- */
  .site-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 10;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px var(--gutter);
    font-family: var(--font-display);
    font-weight: 500;
  }
  .wordmark { font-size: 24px; line-height: 1.45; letter-spacing: -0.005em; text-decoration: none; }
  .nav { display: flex; gap: 32px; }
  .nav a { font-size: 20px; line-height: 1.45; letter-spacing: -0.005em; text-decoration: none; }
  .nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .menu-toggle { display: none; }

  /* ---------- Shared section scaffolding ---------- */
  .wrap {
    width: 100%;
    max-width: calc(var(--content) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .label {
    margin: 0; /* clears the browser's default heading margin so labels top-align with their text */
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: normal;
  }
  .label .muted { color: var(--ink-muted); }
  .rule { height: 1px; background: var(--ink); border: 0; margin: 0; }

  .note {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: var(--note);
    border-radius: 10px;
  }
  .note-kicker { font-weight: 500; font-size: 10px; letter-spacing: 0.01em; }
  .note-body { font-size: 13px; letter-spacing: 0.01em; color: var(--ink-soft); line-height: 1.3; }
  .note-body + .note-body { margin-top: 10px; }

  /* ---------- Hero ---------- */
  .hero {
    background: var(--tan);
    display: flex;
    justify-content: center;
    padding: 72px var(--gutter);
  }
  .hero { position: relative; }
  /* WhatsApp logomark, 16px, 28px in from the hero's right and bottom edges */
  .hero-logo { position: absolute; right: 28px; bottom: 28px; width: 16px; height: 16px; }
  /* Hero artwork from Figma (662 × 477 incl. shadows) as a 4x WebP, sharp on any screen */
  .hero-art { display: block; width: 1378px; max-width: 100%; height: auto; }

  /* ---------- Overview ---------- */
  .overview { display: flex; flex-direction: column; gap: 80px; padding-block: 80px; }
  .intro { display: flex; flex-direction: column; gap: 28px; }
  .project-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.1em;
    line-height: normal;
  }
  .lede { font-size: 22px; line-height: 1.3; }
  .example {
    display: flex;
    gap: 12px;
    font-weight: 500;
    font-style: italic;
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 1.35;
    color: var(--ink-muted);
  }
  .example::before { content: ""; flex: 0 0 2px; background: var(--quote-rule); }

  .facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    padding-top: 40px;
    margin: 0;
    font-size: 14px;
  }
  .facts div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .facts dt { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.1em; }
  .facts dd { margin: 0; letter-spacing: 0.02em; line-height: 18px; }
  .team-note { font-size: 12px; color: var(--ink-muted); }
  .facts ul { list-style: none; margin: 0; padding: 0; }
  .facts a { text-underline-offset: 2px; }
  .facts a:hover { color: var(--wa-green); }

  .impact { display: flex; flex-direction: column; gap: 32px; }
  .metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 32px;
    margin: 0;
  }
  .metric { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .metric-value { font-weight: 500; font-size: 24px; color: var(--wa-green); font-variant-numeric: tabular-nums; }
  .metric-note { font-weight: 500; font-size: 12px; letter-spacing: 0.02em; line-height: 18px; }

  /* ---------- Context ---------- */
  /* Contained card inside the reading column (was a full-width band) */
  .context-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 64px;
    background: var(--tan-wash);
    border-radius: 8px;
  }
  .context-body { display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .context p { font-size: 20px; line-height: 1.15; }
  .arrow { font-size: 48px; line-height: 30px; }
  .context .focus {
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* ---------- Problem / opportunity / solution ---------- */
  .story { display: flex; flex-direction: column; gap: 140px; padding-block: 80px 112px; } /* 80px above matches the space above the Context card */ /* 80px + 20px between sections */
  .split {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    align-items: start;
  }
  .split > .label { padding-right: 24px; }
  .stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

  .statement { font-weight: 500; font-size: 20px; letter-spacing: 0.02em; line-height: 1.3; }
  .body { font-size: 16px; letter-spacing: 0.02em; line-height: 1.3; }
  .body strong { font-weight: 500; display: block; }
  .body.projects-blurb strong { display: inline; }
  .footnote { font-weight: 500; font-style: italic; font-size: 10px; letter-spacing: 0.03em; color: var(--ink-soft); }

  /* Each insight shares the row's grid lines (subgrid), so icons, titles and grey
     boxes line up across columns and every grey box matches the tallest one */
  .insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    column-gap: 24px;
    padding-top: 16px;
  }
  .insight {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
    min-width: 0;
  }
  /* WhatsApp Design System icons exported from Figma, inlined as SVG so they stay sharp.
     Their fill follows currentColor, so the color is set here. */
  .icon { display: block; width: 32px; height: 32px; color: var(--accent); }
  .insight-copy { display: contents; }
  .insight-title { font-weight: 500; font-size: 16px; line-height: 1.3; margin-top: 24px; }
  .insight .note { margin-top: 12px; }
  /* Design consideration boxes stretch to the tallest one in their row */
  .screen .note { flex: 1; }

  .solution { display: flex; flex-direction: column; gap: 60px; }
  .step { display: flex; flex-direction: column; gap: 16px; }
  .step h3 { margin: 0; font-weight: 500; font-size: 20px; letter-spacing: 0.03em; line-height: 1.3; }
  .screens, .screens + .result { max-width: 960px; } /* keeps phone screens and their callouts aligned */
  .screens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-top: 16px;
  }
  .project-comparison, .comparison-stage, .comparison-screens {
    display: grid;
    gap: 16px;
    align-items: start;
    min-width: 0;
  }
  .comparison-stage { grid-template-columns: 225px minmax(0, 1fr); }
  .description-comparison .comparison-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-screens { max-width: 420px; }
  .signals-comparison { --signals-phone-width: 69.6%; }
  .signals-comparison .comparison-screens { width: 100%; max-width: 380px; }
  .signals-comparison .comparison-before .screen { width: 100%; }
  .annotated-signals { margin: 0; }
  .signals-comparison .video-title,
  .signals-comparison .comparison-before .shot-frame { width: var(--signals-phone-width); }
  .signals-mock {
    display: grid;
    grid-template-columns: var(--signals-phone-width) minmax(0, 1fr);
    gap: 10px;
  }
  .signals-ranking {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: clamp(10px, 1vw, 13px);
    line-height: 1.2;
  }
  .signals-ranking li {
    position: absolute;
    inset-inline: 0;
    top: var(--start);
    height: var(--length);
    display: flex;
    align-items: center;
    border-inline-start: 3px solid var(--wa-green);
    padding-inline-start: 7px;
  }
  /* Ranges follow the three groups of rows in the original mock. */
  .signals-ranking li:nth-child(1) { --start: 41.5%; --length: 14.5%; }
  .signals-ranking li:nth-child(2) { --start: 57.2%; --length: 27.6%; }
  .signals-ranking li:nth-child(3) { --start: 85.8%; --length: 6.9%; }
  .comparison-stage > .note {
    align-self: stretch;
    margin-block-start: 32.25px; /* Screenshot title line height plus the figure gap. */
  }
  .signals-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signals-comparison .comparison-stage { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
  .project-comparison.signals-comparison { column-gap: clamp(16px, 3vw, 32px); }
  .project-comparison { column-gap: 56px; }
  .project-comparison.description-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 4vw, 56px); }
  @media (max-width: 760px) {
    .project-comparison.description-comparison { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  }
  .description-comparison .comparison-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-self: stretch;
  }
  .description-comparison .comparison-screens { max-width: none; }
  .description-comparison .comparison-stage > .note { margin-block-start: 0; }
  .context-screens { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .context-screens figcaption { font-size: 13px; line-height: 1.5; }
  .context-screens figcaption strong { display: block; margin-bottom: 6px; }
  @media (max-width: 700px) { .context-screens { grid-template-columns: none; } }
  .screen { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
  .video-title { margin: 0; font-family: var(--font-display); font-size: 13px; font-weight: 400; font-style: italic; text-align: center; line-height: 1.25; letter-spacing: 0.01em; }
  .screen img { width: 100%; height: auto; }
  .screen video { touch-action: pan-y; }
  .mock-stage { width: 100%; aspect-ratio: 720 / 1600; }
  .awareness-mocks { display: flex; flex-direction: column; justify-content: space-between; }
  .overlapping-mocks { display: grid; }
  .overlapping-mocks img {
    grid-area: 1 / 1;
    place-self: start;
    width: 60%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  }
  .overlapping-mocks img + img { place-self: end; }
  .explorations { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
  .explorations img { width: 100%; height: auto; align-self: start; }
  .slot {
    display: grid;
    place-items: center;
    aspect-ratio: 712 / 444;
    max-width: 100%;
    background: #d9d9d9;
    border-radius: 4px;
    color: var(--ink-soft);
    font-size: 13px;
  }

  /* ---------- Next project ---------- */
  .next {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding-block: 40px 96px;
    font-family: var(--font-display);
  }
  .next a { text-decoration: none; }
  .next-kicker { display: block; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-muted); }
  .next-title { font-weight: 700; font-style: italic; font-size: 25px; }
  .next a:hover .next-title { text-decoration: underline; text-underline-offset: 4px; }
  .next .forward { text-align: right; }

  /* ---------- Tablet ---------- */
  @media (max-width: 1280px) {
    :root { --content: 960px; }
  }

  @media (max-width: 1024px) {
    :root { --gutter: 40px; --header-h: 99px; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }

    /* Hamburger menu (same as homepage) */
    .menu-toggle {
      display: flex; flex-direction: column; justify-content: center; gap: 6px;
      width: 40px; height: 40px; margin-right: -8px; padding: 8px;
      background: none; border: 0; border-radius: 6px; color: var(--ink); cursor: pointer;
    }
    .menu-toggle .bar { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 1px; transition: transform 0.2s ease, opacity 0.2s ease; }
    .site-header.is-open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .site-header.is-open .bar:nth-child(2) { opacity: 0; }
    .site-header.is-open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav {
      display: none; position: absolute; top: 100%; left: 0; right: 0;
      flex-direction: column; gap: 4px; padding: 8px var(--gutter) 28px;
      background: var(--bg); border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.18);
    }
    .site-header.is-open .nav { display: flex; }
    .nav a { font-size: 20px; padding-block: 10px; }
  }

  /* ---------- Phone ---------- */
  @media (max-width: 760px) {
    :root { --gutter: 20px; --header-h: 78px; }
    .site-header { padding-block: 24px; }
    .wordmark { font-size: 20px; }
    .nav a { font-size: 17px; }

    .hero { padding: 40px var(--gutter) 56px; } /* extra bottom room so the logo clears the screens */
    .overview { gap: 56px; padding-block: 56px; }
    .lede { font-size: 16px; }
    .example { font-size: 13px; }
    .metrics { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .metric-value { font-size: 19px; }
    .context-card { padding: 40px 20px; }
    .context p { font-size: 15px; }
    .story { gap: 112px; padding-block: 64px; }
    .statement, .step h3 { font-size: 16px; }
    .body { font-size: 15px; }
    .insight-title { font-size: 15px; }
    .note-body { font-size: 12px; }

    /* Three-up rows become a swipeable row so screens stay legible */
    .insights, .screens {
      display: grid;
      grid-template-columns: none;
      grid-auto-flow: column;
      grid-auto-columns: 72%;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      margin-inline: calc(-1 * var(--gutter));
      padding-inline: var(--gutter);
      scroll-padding-inline: var(--gutter);
      padding-bottom: 8px;
    }
    .insight, .screen { scroll-snap-align: start; }
    .explorations { grid-template-columns: minmax(0, 1fr); }
    .next-title { font-size: 20px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .menu-toggle .bar { transition: none; }
  }

  /* ---------- Remaining placeholders (swap for real images) ---------- */
  .shot-tbd {
    display: grid;
    place-items: center;
    aspect-ratio: 1080 / 2400;
    width: 100%;
    background: #ececec;
    border-radius: 16px;
    color: var(--ink-muted);
    font-size: 12px;
  }

  /* Raw screenshots get the same black outline and rounded corners as the Member Tags screens */
  .shot-frame { border: 1px solid var(--ink); border-radius: 16px; background: var(--bg); }

  /* Adoption experiments table */
  .table-scroll { overflow-x: auto; }
  .adoption { width: 100%; max-width: 560px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
  .adoption th { text-align: left; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; padding: 0 16px 8px 0; border-bottom: 1px solid var(--ink); }
  .adoption td { padding: 10px 16px 10px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
  .adoption th:not(:first-child), .adoption td:not(:first-child) { text-align: right; white-space: nowrap; }
  .adoption .total td { font-weight: 500; color: var(--wa-green); border-bottom: 0; }

  /* Banner placeholder until the hero image is exported */
  .hero-slot {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 662px;
    aspect-ratio: 662 / 477;
    border: 1.5px dashed rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    color: rgba(0, 0, 0, 0.55);
    font-family: var(--font-mono);
    font-size: 13px;
  }

  /* ---------- Added sections: My role, Design principles, Research/Process, Reflection ---------- */
  .bullets {
    margin: 0;
    padding-left: 1.2em;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }
  .bullets li::marker { color: var(--wa-green); }
  .bullets strong { font-weight: 500; }
  .principles {
    list-style: none;
    counter-reset: principle;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .principles li {
    counter-increment: principle;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }
  .principles li::before {
    content: counter(principle, decimal-leading-zero);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--accent);
    padding-top: 2px;
  }
  .principles strong { display: block; font-weight: 500; margin-bottom: 2px; }
  .principles { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); display: grid; gap: 16px; }
  .principles li { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; background: #fafafa; border: 0; border-radius: 10px; }
  .principles li::before { padding-top: 0; }
  @media (max-width: 760px) {
    .principles { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .principles li { padding: 16px; }
  }
  .reflection { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
  .reflection h3 { margin: 0 0 16px; font-weight: 500; font-size: 20px; letter-spacing: 0.03em; line-height: 1.3; }
  .project-overview .statement { font-weight: 400; }
  .subproject-impact { border-block: 1px solid #666666; padding-block: 64px; }
  .subproject-impact .metrics { margin: 0; }
  /* Key product decisions: equal-height white outlined cards, 2 across (same as Member Tags) */
  .decisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 960px; min-width: 0; }
  .decisions .note { gap: 8px; min-height: 100%; background: var(--bg); border: 1px solid var(--quote-rule); }
  .decisions .note-body strong { font-weight: 500; }
  .decision-icon { display: block; width: 24px; height: 24px; margin-bottom: 2px; color: var(--wa-green); }
  .note-title { font-weight: 500; font-size: 14px; letter-spacing: 0.01em; line-height: 1.3; margin: 0; }
  @media (max-width: 760px) { .decisions { grid-template-columns: minmax(0, 1fr); } }
  /* Milestones: a simple vertical timeline */
  .milestones { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 32px; min-width: 0; }
  .milestones li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-left: 28px; }
  .milestones li::before { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--wa-green); }
  .milestones li:not(:last-child)::after { content: ""; position: absolute; left: 4.5px; top: 20px; bottom: -28px; width: 1px; background: var(--quote-rule); }
  .milestones h3 { margin: 0; font-weight: 500; font-size: 20px; letter-spacing: 0.03em; line-height: 1.3; }
  .milestone-when { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; line-height: 1; color: var(--ink-muted); }
  @media (max-width: 760px) { .milestones h3 { font-size: 18px; } }
  .step-kicker { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-muted); }
  .lessons { display: flex; flex-direction: column; gap: 16px; }
  .lessons p { font-size: 16px; letter-spacing: 0.02em; line-height: 1.35; }
  .lessons strong { display: block; font-weight: 500; margin-bottom: 2px; }
  .quote {
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 1.35;
    color: var(--ink-muted);
    border-left: 2px solid var(--quote-rule);
    padding-left: 12px;
  }
  @media (max-width: 760px) {
    .reflection h3 { font-size: 18px; }
  }

  /* ---------- Multi-project layout: project index, project dividers, result callouts, more work ---------- */
  /* Project index: one row per project, linking to its section */
  .project-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
  .project-index a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 4px 16px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
  }
  .project-index .num, .project-head .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--wa-green);
  }
  .project-index .name { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 20px; }
  .project-index a:hover .name { text-decoration: underline; text-underline-offset: 4px; }
  .project-index .when {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    white-space: nowrap;
  }
  .project-index .what { grid-column: 2 / -1; font-size: 14px; letter-spacing: 0.02em; line-height: 1.35; color: var(--ink-soft); }

  /* Project divider: same meta row + heavy rule + italic title as the homepage cards */
  .project-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: -40px; } /* sits 60px above its first section */
  .project-head .meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
  }
  .project-head .meta-row .num { font-size: 12px; margin-right: 10px; }
  .rule-heavy { height: 2px; background: var(--ink); }
  .project-head h2 { margin: 8px 0 0; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 32px; letter-spacing: -0.005em; line-height: 1.2; }
  .project-head .body { color: var(--ink-soft); max-width: 712px; }

  /* Result callouts (same as Member Tags and Message Translations) */
  .screens + .result, .explorations + .result, .table-scroll + .result { margin-top: 16px; }

  /* More Communities work: two lighter project cards */
  .more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .more-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    background: var(--tan-wash);
    border-radius: 8px;
    min-width: 0;
  }
  .more-card .meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
  }
  .more-card .meta-row span:last-child { white-space: nowrap; }
  .more-card h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 22px; }
  .more-card .body { font-size: 15px; }
  .more-card .tag { font-weight: 500; font-size: 13px; letter-spacing: 0.02em; color: var(--ink-soft); }

  @media (max-width: 760px) {
    .project-index a { grid-template-columns: 32px minmax(0, 1fr); }
    .project-index .when { grid-column: 2; grid-row: 2; }
    .project-index .what { grid-column: 2; }
    .project-index .name { font-size: 18px; }
    .project-head { margin-bottom: -32px; }
    .project-head h2 { font-size: 26px; }
    .more-grid { grid-template-columns: minmax(0, 1fr); }
    .more-card { padding: 24px 20px; }
  }
  /* Project links under /work: only shown inside the hamburger menu (1024px and below) */
  .nav-sub { display: none; }
  @media (max-width: 1024px) {
    .nav-sub {
      display: flex;
      flex-direction: column;
      padding-left: 20px;
      margin-top: -4px;
    }
    .nav .nav-sub a {
      font-size: 16px;
      padding-block: 10px;
      color: var(--ink-muted);
    }
    .nav .nav-sub a[aria-current="page"] { color: var(--ink); }
    .nav-sub .hook { display: inline-block; width: 1.4em; }
  }
  @media (max-width: 760px) {
    .nav .nav-sub a { font-size: 15px; }
  }
  /* ---------- Project secondary views ---------- */
  .projects-acc { display: flex; flex-direction: column; gap: 24px; }
  .project-index { border-top: 1px solid var(--ink); }
  .project-link, .project-bar {
    text-decoration: none;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto 24px;
    gap: 6px 16px;
    align-items: baseline;
    padding: 24px 0;
    scroll-margin-top: var(--header-h);
  }
  .project-link:focus-visible, .project-bar .toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
  .proj .num { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.1em; color: var(--wa-green); }
  .proj-title { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .modal-kicker { display: none; font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.1em; line-height: 1; }
  .proj .name { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 24px; line-height: 1.2; }
  .project-link:hover .name { text-decoration: underline; text-underline-offset: 4px; }
  .project-page .modal-kicker { display: block; }
  .project-page .name { font-size: 20px; margin: 0; }
  .project-page .toggle { grid-column: -2; text-decoration: none; }
  .project-link { border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
  button.project-link {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  .project-link[aria-expanded="true"] {
    position: sticky;
    top: var(--project-sticky-top, var(--header-h));
    z-index: 3;
    background: var(--bg);
    border-top: 1px solid transparent;
  }
  .project-link[aria-expanded="true"]:not(.is-pinned) { border-bottom-color: transparent; }
  .project-link.is-pinned {
    align-items: center;
    border-image: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)) 1 / 1px 0 / 0 100vw;
  }
  .project-link.is-pinned .modal-kicker { display: block; color: var(--ink-soft); }
  .project-link.is-pinned .name { font-size: 21px; }
  .project-link[aria-expanded="true"] .what { display: none; }
  .project-link[aria-expanded="true"] .toggle::before { content: "×"; }
  .project-panel { padding: 24px 0 0; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
  .project-panel .proj-body { padding-bottom: 48px; }
  .project-page .num { align-self: end; padding-bottom: 1px; }
  .proj .when { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-muted); white-space: nowrap; }
  .proj .when, .project-index .when { display: none; }
  .proj .what { grid-column: 2 / 4; font-size: 14px; letter-spacing: 0.02em; line-height: 1.35; color: var(--ink-soft); }
  /* Plus signals that each project opens a secondary view. */
  .proj .toggle { position: relative; width: 20px; height: 20px; align-self: center; justify-self: end; font-family: Arial, sans-serif; }
  .proj .toggle::before { content: "+"; position: absolute; inset: 0; font-size: 24px; line-height: 20px; text-align: center; }
  .project-link .toggle { grid-column: -2; grid-row: 1; }
  .project-link .toggle::before { text-align: right; }
  .project-page .toggle::before { content: "×"; font-size: 24px; line-height: 18px; }
  .project-page { position: fixed; inset: 0; z-index: 100; overflow-x: hidden; overflow-y: auto; background: var(--bg); padding: 0 var(--gutter) 64px; border: 0; }
  .project-page > .project-bar { position: sticky; top: 0; z-index: 2; max-width: var(--content); margin: 0 auto; background: var(--bg); border-bottom: 0; }
  .project-page > .project-bar::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; border-bottom: 1px solid rgba(0, 0, 0, 0.12); transform: translateX(-50%); }
  .project-page .proj-body { max-width: var(--content); margin: 0 auto; }
  body.modal-open { overflow: hidden; }
  .proj-body { --project-gap: 112px; display: flex; flex-direction: column; padding: 40px 0 120px; }
  .proj-body > * + * { margin-block-start: var(--project-gap); }
  .project-page .proj-body { animation: proj-in 0.25s ease; }
  @keyframes proj-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .proj-note { font-weight: 500; font-size: 14px; letter-spacing: 0.02em; line-height: 1.4; color: var(--ink-soft); }
  .proj-meta { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-muted); }
  .projects-blurb { width: 100%; max-width: none; margin: -8px 0 0; color: var(--ink-soft); }
  .project-hero-slot {
    width: 100%;
    align-self: stretch;
    max-width: 100%;
    background: transparent;
    border: 0;
  }
  .proj-body > .project-hero-slot { margin-block-start: 32px; }
  .project-hero-slot.has-art { aspect-ratio: auto; }
  .project-hero-slot.has-art img { display: block; width: 100%; height: auto; }
  @media (max-width: 760px) {
    .project-link, .project-bar { grid-template-columns: 32px minmax(0, 1fr) 20px; padding: 20px 0; }
    .proj .name { font-size: 20px; }
    .project-link.is-pinned .name { font-size: 18px; }
    .project-page .name { font-size: 18px; }
    .proj .when { grid-column: 2; grid-row: 2; }
    .proj .toggle { grid-column: 3; grid-row: 1; }
    .proj .what { grid-column: 2 / 4; }
    .proj-body { --project-gap: 88px; padding: 32px 0 96px; }
    .project-page { padding-inline: 20px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .project-page .proj-body { animation: none; }
    .proj .toggle::before { transition: none; }
  }
  .impact-note { font-size: 12px; letter-spacing: 0.02em; line-height: 1.5; color: var(--ink-muted); }

  .project-prompt { margin: 24px 0 0; color: #626862; font-size: 14px; font-style: italic; }
  .project-cards { display: grid; gap: 16px; border-top: 0; }
  .project-cards > div {
    background: #f1f3f1;
    border-radius: 10px;
  }
  .project-cards .project-link {
    grid-template-columns: minmax(0, 1fr) 20px;
    grid-template-rows: auto auto auto;
    align-items: center;
    padding: 26px calc(clamp(14px, 3vw, 32px) + 4px);
    background: #f1f3f1;
    border: 0;
    border-radius: 10px;
  }
  .project-cards .project-link:not([aria-expanded="true"]):hover { background: #e9ede9; }
  .project-cards .project-link .num { grid-area: 1 / 1; color: #266744; }
  .project-cards .project-link .proj-title { grid-area: 2 / 1; }
  .project-cards .project-link .name { overflow-wrap: anywhere; }
  .project-cards .project-link .what { grid-area: 3 / 1; }
  .project-cards .project-link .toggle { grid-area: 1 / 2 / 4 / 3; }
  .project-cards .project-link.is-pinned { border-radius: 0; }
  .project-cards .project-panel { padding: 4px calc(clamp(14px, 3vw, 32px) + 4px) 28px; border-bottom: 0; }

  .proj-body .uxr-note { background: #fafafa; }
  .proj-body .screens, .proj-body .insights { min-width: 0; }
  @media (max-width: 1024px) {
    .signals-comparison { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 480px) {
    .signals-comparison .comparison-stage { grid-template-columns: minmax(0, 1fr); }
    .signals-comparison .comparison-stage > .note { margin-block-start: 0; }
  }
  @media (max-width: 760px) {
    .proj-body .screens, .proj-body .insights, .signals-comparison {
      grid-template-columns: minmax(0, 1fr);
      grid-auto-flow: row;
      grid-auto-columns: auto;
      overflow: visible;
      margin-inline: 0;
      padding-inline: 0;
    }
    .proj-body .insights {
      grid-template-rows: none;
      row-gap: 32px;
    }
    .proj-body .insight {
      grid-row: auto;
      grid-template-rows: none;
    }
    .proj-body .screen { width: 100%; max-width: 360px; }
  }

  .hidden-treatment-layout { align-items: stretch; }
  @media (min-width: 761px) {
    .hidden-treatment-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  }

  .hidden-admin-screens { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 760px) { .proj-body .hidden-admin-screens { grid-template-columns: minmax(0, 1fr); } }

  .proj-body .step > .body + :is(.screens, .project-comparison, .explorations, img) {
    margin-block-start: 16px;
  }



  .community-project-row { position: relative; isolation: isolate; }
  .community-project-row.is-expanded::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f1f3f1;
    z-index: -1;
    pointer-events: none;
  }

  .project-cards .project-link.is-pinned .num { display: none; }
  .project-cards .project-link.is-pinned { grid-template-rows: auto; }
  .project-cards .project-link.is-pinned .proj-title { grid-row: 1; }
  .project-cards .project-link.is-pinned .toggle { grid-row: 1; }

  .project-cards .project-card-icon {
    grid-area: 1 / 1;
    display: block;
    width: 28px;
    height: 28px;
    color: #156244;
    margin-bottom: 28px;
  }
  .project-cards .project-link .toggle { grid-row: 2; }
  .project-cards .project-link.is-pinned .project-card-icon { display: none; }
  .project-cards .project-link.is-pinned .toggle { grid-row: 1; }

  .hidden-admin-screens .video-title { min-height: 2.5em; margin-block: 0; }
  .hidden-admin-mock { display: block; width: 100%; height: auto; aspect-ratio: 1034 / 2048; overflow: visible; }
  @media (max-width: 760px) { .hidden-admin-screens .video-title { min-height: 0; } }

  .project-cards .project-link:not(.is-pinned) .name { font-size: 28px; }
  @media (max-width: 760px) { .project-cards .project-link:not(.is-pinned) .name { font-size: 24px; } }

/* Enlarged community row over its original position in the Chats screen. */
.community-chat-highlight { position: relative; width: 100%; isolation: isolate; }
.community-chat-highlight > .shot-frame { display: block; }
.community-chat-highlight > .community-row-overlay { position: absolute; z-index: 1; left: -6%; top: 31%; width: 112%; height: auto; max-width: none; border: 0; border-radius: 0; background: transparent; }

/* Respond to the copy column width, including expanded project panels. */
.proj-body .solution { container: community-solution / inline-size; }
.description-comparison .comparison-screens { align-items: stretch; }
.description-comparison .comparison-screens > .screen { align-self: stretch; }
.description-comparison .video-title { min-height: 2.5em; display: flex; align-items: flex-start; justify-content: center; }
.description-comparison .screen > .shot-frame { margin-top: auto; }
@container community-solution (max-width: 1000px) {
  .project-comparison.signals-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .signals-comparison .comparison-stage { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .signals-comparison .comparison-stage > .note { margin-block-start: 0; min-width: 0; }
  .signals-comparison .comparison-screens { max-width: 360px; margin-inline: auto; }
  .signals-comparison .video-title,
  .signals-comparison .comparison-before .shot-frame { width: 100%; }
  .signals-comparison .signals-mock { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .signals-comparison .signals-ranking { display: grid; gap: 10px; font-size: 12px; line-height: 1.4; }
  .signals-comparison .signals-ranking li { position: static; height: auto; padding-block: 2px; }
}
@container community-solution (max-width: 620px) {
  .project-comparison.signals-comparison,
  .project-comparison.description-comparison { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .signals-comparison .comparison-screens { max-width: 300px; }
  .description-comparison .comparison-screens { gap: 12px; }
}

/* Compare both lists together, with ranking annotations beside the new list. */
.project-comparison.signals-comparison {
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.45fr);
  grid-template-rows: auto auto;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.signals-comparison .comparison-stage {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 20px;
}
.signals-comparison .comparison-stage > .note { margin-block-start: 0; min-width: 0; }
.signals-comparison .comparison-screens { width: 100%; max-width: none; margin: 0; }
.signals-comparison .comparison-before .shot-frame,
.signals-comparison .comparison-before .video-title { width: 100%; }
.signals-comparison .comparison-after .video-title { width: 69.6%; }
.signals-comparison .signals-mock { grid-template-columns: minmax(0, 69.6%) minmax(0, 1fr); gap: 10px; }
.signals-comparison .signals-ranking { display: block; position: relative; font-size: clamp(11px, .85vw, 13px); line-height: 1.3; }
.signals-comparison .signals-ranking li { position: absolute; inset-inline: 0; top: var(--start); height: var(--length); padding-block: 0; }

.hidden-row-highlight { position: relative; width: 100%; min-width: 0; }
.hidden-row-highlight > img:first-child { display: block; width: 100%; height: auto; }
.hidden-row-highlight > .hidden-row-overlay { position: absolute; z-index: 1; left: -6%; width: 112%; max-width: none; height: auto; border: 0; border-radius: 0; background: transparent; }
.hidden-member-highlight > .hidden-row-overlay { top: 38.5%; }
.hidden-admin-highlight > .hidden-row-overlay { top: 73.8%; }

/* Hidden Groups has separate title, problem copy, and insight rows. Keep all
   four rows in the shared subgrid so notes cannot overlap the problem copy. */
@media (min-width: 761px) {
  [aria-labelledby="hg-ppl-h"] .insights {
    grid-template-rows: auto auto auto 1fr;
  }
  [aria-labelledby="hg-ppl-h"] .insight {
    grid-row: span 4;
  }
}
[aria-labelledby="hg-ppl-h"] .insight-copy > .body { margin-top: 8px; }
[aria-labelledby="hg-ppl-h"] .insight .note { margin-top: 20px; }

.hidden-visibility-mocks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; width: 100%; }
.hidden-visibility-mocks svg { display: block; width: 100%; height: auto; border-radius: 12px; overflow: hidden; }
@media (max-width: 760px) { .hidden-visibility-mocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hidden-visibility-mocks { grid-template-columns: minmax(0, 1fr); } }

/* Side-by-side discovery mocks with aligned experience boxes below. */
.project-comparison.signals-comparison {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 24px;
  overflow: visible;
  align-items: stretch;
}
.signals-comparison .comparison-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 24px;
  min-width: 0;
}
.signals-comparison .comparison-stage > .note {
  grid-row: 2;
  margin: 0;
  align-self: stretch;
}
.signals-comparison .comparison-screens {
  grid-row: 1;
  min-width: 0;
  margin: 0;
}
.signals-comparison .comparison-before .comparison-screens { width: 69.6%; max-width: 240px; }
.signals-comparison .comparison-after .comparison-screens { width: 100%; max-width: 344.8276px; }
.signals-comparison .screen { max-width: none; }

/* White callouts within Communities subproject surfaces. */
.proj-body, .project-page { --callout-bg: #ffffff; --note: #ffffff; }
