.nl-local-page { --nl-muted: #6b6b6b; --nl-tint: #f5f5f5; --nl-accent: #870e59; }
.nl-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 32px; padding-inline: 24px 0; border-bottom: 1px solid var(--rule); }
.nl-sidebar { min-width: 0; padding-top: 56px; }
.nl-toc { position: sticky; top: calc(var(--header-height) + 32px); padding: 0 0 32px; }
.nl-toc-title { margin: 38px 0 14px; color: var(--nl-muted); font: 400 16px/1.5 "Geist", sans-serif; letter-spacing: .05em; }
.nl-toc-toggle, .nl-directory-project { display: none; }
.nl-toc ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nl-toc ol a { display: block; padding: 9px 10px; margin-left: -10px; border-radius: 6px; color: var(--nl-muted); font: 400 16px/1.5 "Geist", sans-serif; }
.nl-toc ol a:hover { color: var(--ink); background: #f5f5f5; }
.nl-toc ol a[aria-current="location"] { color: var(--ink); background: #ededed; }
.nl-back { position: relative; top: -20px; display: inline-flex; align-items: center; gap: 9px; min-height: 24px; color: var(--nl-muted); font: 400 16px/1.5 "Geist", sans-serif; }
.nl-back:hover { color: var(--ink); }
.nl-article { --project-ink: #505050; min-width: 0; border-inline-start: 1px solid var(--rule); }
.nl-inset { padding-inline: 32px; }
.nl-intro { padding-block: 56px 48px; scroll-margin-top: 24px; }
.nl-eyebrow { margin: 0 0 16px; color: var(--nl-muted); font: 500 12px/1.6 "Geist", Arial, sans-serif; letter-spacing: .045em; text-transform: uppercase; }
.nl-intro h1 { margin: 0; font: 300 clamp(32px, 2.6vw, 38px)/1.2 "Averia Serif Libre", Georgia, serif; letter-spacing: -.025em; text-wrap: balance; }
.nl-overview-copy.nl-copy { max-width: none; margin-top: 24px; }
.nl-project-meta { margin-top: 24px; }
.nl-project-meta dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-block: 1px solid var(--rule); }
.nl-project-meta dl > div { min-width: 0; padding: 22px 18px; }
.nl-project-meta dl > div + div { border-left: 1px solid var(--rule); }
.nl-project-meta dt { margin-bottom: 10px; color: var(--ink); font: 500 14px/1.5 "Geist", Arial, sans-serif; }
.nl-project-meta dd { margin: 0; color: var(--nl-muted); font: 400 14px/1.5 "Geist", sans-serif; }
.nl-cover { margin: 0 0 40px; border-radius: 24px; overflow: hidden; background: #f5eff4; }
.nl-cover img { display: block; width: 100%; height: auto; }
.nl-summary { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 20px; margin: 28px 0 0; padding: 24px; background: var(--nl-tint); font: 400 15px/1.65 "Geist", Arial, sans-serif; }
.nl-summary dt, .nl-summary strong { color: var(--ink); font-weight: 500; }
.nl-summary dd { margin: 0; color: var(--project-ink); }
.nl-jump-design { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; padding: 8px 0; color: var(--ink); font: 400 14px/1.5 "Geist", Arial, sans-serif; }
.nl-jump-design::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; opacity: 1; }
.nl-jump-design:hover { opacity: .65; }
.nl-section { padding-block: 48px; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.nl-section#final-prototype { scroll-margin-top: 0; }
.nl-section:last-child { padding-bottom: 80px; }
.nl-section-heading { margin-bottom: 20px; }
.nl-section-heading h2 { font: 400 17px/1.5 "Geist", Arial, sans-serif; color: var(--nl-muted); }
.nl-section h3 { margin: 0; font: 500 30px/1.22 "Geist", Arial, sans-serif; letter-spacing: -.02em; text-wrap: pretty; }
.nl-copy { max-width: 68ch; }
.nl-copy p { margin-top: 18px; color: var(--project-ink); font: 400 16px/1.75 "Geist", Arial, sans-serif; text-wrap: pretty; }
.nl-copy > p:first-child { margin-top: 0; }
.nl-copy p + p { margin-top: 16px; }
.nl-copy strong { font-weight: 500; color: var(--ink); }
.nl-copy a { text-decoration: underline; text-underline-offset: 4px; }
.nl-visual { width: min(100%, 1000px); margin: 28px 0; }
.nl-art { display: block; width: 100%; height: auto; border-radius: 16px; }
.nl-visual figcaption { margin-top: 12px; color: var(--nl-muted); font: 400 14px/1.5 "Geist", sans-serif; }
.nl-reflection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.nl-reflection-card { min-width: 0; padding: 24px; border: 1px solid var(--rule); background: var(--nl-tint); }
.nl-reflection-card h4 { margin: 0; font: 500 24px/1.3 "Geist", Arial, sans-serif; letter-spacing: -.015em; }
.nl-copy > p.nl-research-note { margin-top: 32px; color: var(--nl-muted); font-size: 13px; }
.nl-survey-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 28px 0 36px; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: #faf6f9; }
.nl-survey-stats > div { min-width: 0; padding: 26px 22px; }
.nl-survey-stats > div + div { border-left: 1px solid var(--rule); }
.nl-survey-stats dt { margin: 0 0 16px; color: var(--nl-accent); font: 300 clamp(34px, 3.4vw, 48px)/1.1 "Geist", Arial, sans-serif; letter-spacing: -.03em; }
.nl-survey-stats dd { margin: 0; color: var(--project-ink); font: 400 16px/1.6 "Geist", sans-serif; }
.nl-visual figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.nl-testing-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(100%, 1000px); margin: 28px 0; }
.nl-testing-photos figure { min-width: 0; margin: 0; }
.nl-testing-photos img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; max-height: 320px; object-fit: cover; object-position: center 35%; border-radius: 16px; }
.nl-testing-photos figcaption { margin-top: 12px; color: var(--nl-muted); font: 400 14px/1.5 "Geist", sans-serif; }
.nl-findings { display: grid; gap: 14px; margin: 24px 0; padding-left: 22px; color: var(--project-ink); font: 400 16px/1.75 "Geist", sans-serif; }
.nl-findings li { padding-left: 6px; }
.nl-copy .nl-direction { margin-top: 28px; padding: 22px 24px; border-left: 3px solid var(--nl-accent); background: #faf6f9; }
.nl-prototype-step { scroll-margin-top: 24px; }
.nl-prototype-step + .nl-prototype-step { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--rule); }
.nl-screen-visual { margin-block: 24px 28px; }
@media (max-width: 1279px) {
  .nl-project-meta dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nl-project-meta dl > div:nth-child(2n + 1) { border-left: 0; }
  .nl-project-meta dl > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 1023px) {
  .nl-local-page { --nl-directory-height: 56px; padding-bottom: calc(var(--nl-directory-height) + 1px + env(safe-area-inset-bottom)); }
  .nl-local-page .copy-status { bottom: calc(var(--nl-directory-height) + env(safe-area-inset-bottom) + 16px); }
  .nl-layout { display: block; padding-inline: 0; }
  .nl-article { border-inline: 0; }
  .nl-inset { padding-inline: 36px; }
  .nl-sidebar { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 25; padding: 0 0 env(safe-area-inset-bottom); border-top: 1px solid var(--rule); background: #fff; }
  .nl-toc { position: relative; top: auto; display: flex; align-items: stretch; justify-content: space-between; width: calc(100% - var(--gutter) * 2); max-width: var(--rail-width); min-height: var(--nl-directory-height); margin-inline: auto; padding: 0; border-inline: 1px solid var(--rule); background: #fff; }
  .nl-toc-title, .nl-back { display: none; }
  .nl-toc-toggle { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-shrink: 0; min-width: 170px; min-height: var(--nl-directory-height); padding: 0 24px; border: 0; border-right: 1px solid var(--rule); background: #fff; text-align: left; font: 400 14px/1.4 "Geist", sans-serif; }
  .nl-toc-toggle:hover, .nl-toc-toggle[aria-expanded="true"] { background: #f5f5f5; }
  .nl-toc-toggle:focus-visible { outline-offset: -4px; }
  .nl-directory-project { display: flex; align-items: center; justify-content: flex-end; flex: 1; min-width: 0; padding: 8px 24px; font: 300 18px/1.3 "Averia Serif Libre", Georgia, serif; text-align: right; text-wrap: pretty; }
  .nl-toc-toggle svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .nl-toc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nl-toc ol { position: absolute; bottom: 100%; left: -1px; display: none; width: min(340px, calc(100% + 2px)); max-height: min(65dvh, calc(100dvh - var(--header-height) - var(--nl-directory-height) - env(safe-area-inset-bottom) - 24px)); overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px; border: 1px solid var(--rule); background: #fff; box-shadow: 0 -10px 18px rgb(0 0 0 / 5%); }
  .nl-toc.is-open ol { display: grid; }
  .nl-toc ol a { min-height: 44px; margin-left: 0; padding: 11px 12px; font-size: 14px; }
  .nl-intro { padding-top: 44px; }
  .nl-section { padding-block: 36px; }
}
@media (max-width: 767px) {
  .nl-inset { padding-inline: 22px; }
  .nl-toc-toggle { min-width: 112px; gap: 8px; padding-inline: 12px; }
  .nl-directory-project { padding: 6px 12px; font-size: 16px; }
  .nl-intro { padding-top: 36px; }
  .nl-intro h1 { font-size: clamp(28px, 6.8vw, 32px); }
  .nl-eyebrow { font-size: 11px; }
  .nl-project-meta dl > div { padding: 18px 12px; }
  .nl-project-meta dd, .nl-project-meta dt { font-size: 13px; }
  .nl-cover { margin-bottom: 32px; border-radius: 16px; }
  .nl-section { padding-block: 28px; }
  .nl-section:last-child { padding-bottom: 56px; }
  .nl-section-heading { margin-bottom: 18px; }
  .nl-section-heading h2 { font-size: 16px; }
  .nl-section h3 { font-size: 27px; }
  .nl-copy p { line-height: 1.7; }
  .nl-summary { grid-template-columns: 1fr; gap: 6px; padding: 20px; font-size: 14px; }
  .nl-summary dd + dt { margin-top: 12px; }
  .nl-reflection-grid { grid-template-columns: 1fr; gap: 20px; }
  .nl-reflection-card { padding: 20px; }
  .nl-visual { margin-block: 24px; }
  .nl-survey-stats { grid-template-columns: 1fr; margin-block: 24px; border-radius: 12px; }
  .nl-survey-stats > div { padding: 22px; }
  .nl-survey-stats > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .nl-survey-stats dt { margin-bottom: 10px; font-size: 38px; }
  .nl-testing-photos { grid-template-columns: 1fr; gap: 20px; margin-block: 24px; }
  .nl-testing-photos img, .nl-art { border-radius: 12px; }
  .nl-prototype-step + .nl-prototype-step { margin-top: 28px; padding-top: 28px; }
}
