@font-face {
  font-family: 'Newsreader';
  src: url('assets/newsreader-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f2f1ec;
  --ink: #242523;
  --muted: #65655f;
  --navy: #18334b;
  --line: #d5d4cc;
  --serif: 'Newsreader', Georgia, serif;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; line-height: 1.75; -webkit-font-smoothing: antialiased; }
main { width: 100%; flex: 1; padding: 64px 0 72px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
p + p { margin-top: 18px; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, [role=tabpanel]:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }
::selection { background: #dce3e5; color: var(--ink); }
.container { width: min(768px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 30; background: var(--navy); color: white; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.site-header { padding-top: 25px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 19px; }
.wordmark { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -.06em; color: var(--navy); padding: 8px 6px 8px 0; }
.wordmark span { color: var(--ink); }
nav { display: flex; align-items: center; gap: 26px; font-family: var(--serif); font-size: 18px; }
nav a { display: block; padding: 10px 0; text-decoration-thickness: 1px; text-underline-offset: 6px; }
nav a:hover, nav a[aria-current] { color: var(--navy); text-decoration-line: underline; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; }
.blue { color: var(--navy); }
.hero-introduction { display: flow-root; }
.hero h1 { font-size: clamp(48px, 6vw, 64px); margin: 13px 0 16px; letter-spacing: -.045em; }
.intro { color: var(--muted); font-family: var(--serif); font-size: 29px; line-height: 1.3; letter-spacing: -.01em; }
.intro br { display: none; }
.portrait { float: right; width: 164px; margin: 0 0 0 30px; }
.portrait-frame { overflow: hidden; background: #deded7; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 45% 35%; }
.hero-body { max-width: 700px; margin-top: 25px; }
.hero-description { font-size: 17px; line-height: 1.8; }
.hero-links { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 22px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: var(--navy); font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; padding-block: 6px; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link > span { font-family: 'Inter', sans-serif; text-decoration: none; font-size: 17px; }
.section-heading { margin-bottom: 40px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.page-title { font-size: clamp(40px, 5.4vw, 58px); }
.section-aside { display: block; color: var(--muted); font-size: 14px; margin-top: 16px; }
.project-picker { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.project-picker button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 15px; color: var(--muted); cursor: pointer; font-size: 14px; text-align: left; line-height: 1.5; }
.project-picker button[aria-selected=true] { border-bottom-color: var(--navy); color: var(--navy); }
.project-picker button:hover { color: var(--ink); }
.project-picker small { display: block; font-size: 10px; font-weight: 400; margin-top: 5px; }
.project-panel { min-width: 0; }
.project-panel + .project-panel { margin-top: 54px; padding-top: 32px; border-top: 1px solid var(--line); }
.project-panel[role=tabpanel] { margin: 0; padding: 0; border: 0; }
.project-copy { padding-top: 4px; }
.project-topline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 17px; font-size: 11px; color: var(--muted); }
.category { color: var(--navy); text-transform: uppercase; letter-spacing: .08em; }
.badge, .plain-status { display: flex; align-items: center; gap: 7px; }
.badge > span { width: 5px; height: 5px; background: #6a7d68; border-radius: 50%; }
.project-copy h2 { font-size: 39px; }
.project-subtitle { font-family: var(--serif); font-size: 25px; line-height: 1.35; margin-top: 10px; color: var(--muted); }
.project-copy > p:not(.project-subtitle) { margin-top: 20px; font-size: 16px; }
.project-copy > .text-link { margin-top: 15px; }
.project-stack { margin-top: 26px; font-size: 12px; color: var(--muted); }
.figure-topline { display: flex; justify-content: space-between; gap: 16px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.case-gallery, .pipeline-figure, .results-figure, .hook-figure { margin-top: 32px; }
.case-gallery { padding: 24px; background: #e4e8e9; }
.gallery-desktop .figure-topline { margin-bottom: 13px; }
.screenshot-link { display: block; position: relative; border: 1px solid #c9d0d6; }
.screenshot-link img { width: 100%; height: auto; }
.image-expand { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--paper); color: var(--navy); }
.screenshot-link:hover .image-expand { background: var(--navy); color: white; }
.gallery-mobile-row { display: grid; grid-template-columns: 1fr 195px; gap: 45px; align-items: center; padding: 30px 38px 0; }
.gallery-note h3 { font-size: 34px; margin: 14px 0; }
.gallery-note > p { color: #525d65; font-size: 14px; line-height: 1.75; }
.mobile-screenshot { box-shadow: 5px 5px 0 #cbd3d8; }
.mobile-screenshot img { height: 337px; object-fit: cover; object-position: top; }
.case-gallery figcaption { margin-top: 24px; font-size: 10px; color: #525d65; }
.pipeline-figure { background: #e7eae7; border: 1px solid #cdd4d1; padding: 24px; color: var(--navy); }
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 29px 0 24px; }
.pipeline li { position: relative; min-width: 0; display: flex; flex-direction: column; }
.pipeline li:not(:last-child)::after { content: '→'; position: absolute; top: 0; right: -15px; color: #7b898d; font-size: 19px; }
.pipeline-number { display: block; font-family: var(--serif); font-size: 31px; line-height: 1.3; margin-bottom: 17px; }
.pipeline strong { font-size: 13px; font-weight: 600; }
.pipeline li > span:not(.pipeline-number) { font-size: 11px; line-height: 1.7; margin-top: 7px; flex: 1; }
.pipeline small { display: block; font-size: 9px; border-top: 1px solid #bcc6c4; padding-top: 12px; margin-top: 18px; color: #536168; }
.pipeline-figure figcaption { font-size: 11px; border-top: 1px dashed #acb8b8; padding-top: 14px; }
.pipeline-figure figcaption > span { margin-right: 7px; }
.study-section { display: grid; grid-template-columns: 34px 1fr; gap: 17px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.study-number { font-family: var(--serif); font-size: 21px; line-height: 1.4; color: var(--muted); }
.study-section h3, .study-closing h3 { font-size: 29px; }
.study-section p, .study-closing > p:not(.project-stack) { margin-top: 14px; font-size: 15px; }
.evidence-demo { margin-top: 24px; border: 1px solid #b7c1c2; background: #f9f8f3; box-shadow: 4px 4px 0 #d7dcd9; }
.example-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid #d5d9d5; }
.example-heading .eyebrow { font-size: 9px; }
.example-picker { display: flex; gap: 5px; }
.example-picker button { cursor: pointer; border: 1px solid transparent; background: transparent; color: #576067; font-size: 10px; padding: 7px 9px; line-height: 1.5; }
.example-picker button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.example-picker button:hover { border-color: var(--navy); }
.example-output { display: grid; grid-template-columns: 1.1fr 1fr; }
.example-output + .example-output { border-top: 1px solid var(--line); }
.transcript, .result-sheet { padding: 25px 24px; }
.transcript { border-right: 1px solid #d5d9d5; }
.evidence-label { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.transcript blockquote { margin: 22px 0 18px; font-family: var(--serif); font-size: 22px; line-height: 1.55; letter-spacing: -.01em; }
.transcript mark { background: #dce5e2; color: #183c40; padding: 2px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.transcript-caption { font-size: 10px; color: var(--muted); }
.result-sheet h4 { margin: 17px 0; color: var(--navy); font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; }
.result-sheet dl { margin: 0; font-size: 11px; line-height: 1.75; }
.result-sheet dt { font-weight: 600; margin-top: 12px; }
.result-sheet dd { margin: 3px 0 0; color: #576067; }
.result-status { display: inline-block; font-size: 9px; color: #31574b; border-bottom: 1px solid #a0b7ad; padding-bottom: 3px; margin-top: 20px; }
.review-status { color: #775323; border-color: #c8b48e; }
.example-disclaimer { border-top: 1px solid #d5d9d5; padding: 12px 22px; font-size: 10px; line-height: 1.65; color: var(--muted); }
.timing-figure { margin-top: 24px; padding: 22px; background: #e8e9e4; }
.timing-row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; }
.timing-row + .timing-row { margin-top: 18px; }
.timing-label { font-size: 11px; color: var(--muted); }
.timing-track { display: grid; font-size: 10px; line-height: 1.5; }
.timing-track > span { padding: 10px; }
.timing-overlap { grid-template-columns: repeat(10, 1fr); grid-template-rows: auto auto; row-gap: 3px; }
.timing-overlap > span:first-child { grid-column: 1 / 9; background: #d4dbd9; }
.timing-overlap > span:last-child { grid-column: 3 / 11; background: #e2d7c8; color: #72522d; }
.timing-sequence { grid-template-columns: 2fr 1fr 1.5fr; gap: 4px; }
.timing-sequence > span { background: #d4dbd9; }
.timing-sequence > span:nth-child(2) { text-align: center; background: transparent; border: 1px dashed #a8b6b3; }
.timing-sequence > span:last-child { background: var(--navy); color: #fff; }
.timing-figure figcaption { font-size: 10px; color: var(--muted); margin-top: 19px; }
.study-closing { margin-top: 38px; padding-top: 25px; border-top: 1px solid var(--line); }
.study-closing .text-link { margin-top: 10px; }
.results-figure { background: var(--navy); color: var(--paper); padding: 26px; }
.results-figure .figure-topline { color: #c4d0d9; }
.results-numbers { display: grid; grid-template-columns: 1fr 1fr; margin: 26px 0; }
.results-numbers > div { display: flex; flex-direction: column; align-items: flex-start; padding-left: 20px; }
.results-numbers > div + div { border-left: 1px solid #546878; padding-left: 40px; }
.results-numbers strong { font-family: var(--serif); font-size: 76px; font-weight: 400; line-height: 1.2; letter-spacing: -.04em; }
.results-numbers strong > span { font-size: .6em; }
.results-numbers div > span { font-size: 11px; color: #dce1e4; }
.results-figure figcaption { border-top: 1px solid #546878; padding-top: 16px; font-size: 10px; color: #c4d0d9; }
.content-method { list-style: none; padding: 0; margin: 24px 0 0; }
.content-method li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 19px 0; border-top: 1px solid var(--line); }
.content-method li > span { font-size: 12px; color: var(--muted); padding-top: 1px; }
.content-method h4 { margin: 0; font-size: 15px; font-weight: 500; }
.content-method p { margin-top: 5px; font-size: 14px; color: var(--muted); }
.hook-figure { padding: 24px; border: 1px solid #cdd4d1; background: #e7eae7; }
.hook-sequence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.hook-sequence div > span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 12px; }
.hook-sequence strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.hook-figure figcaption { font-size: 10px; color: var(--muted); margin-top: 24px; }
.about-section { display: grid; grid-template-columns: 1fr 210px; gap: 44px; align-items: start; }
.about-copy .page-title { margin: 14px 0 28px; }
.about-copy > p:not(.eyebrow) { font-size: 16px; }
.about-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 23px; }
.duke-note { margin-top: 42px; padding: 24px 0 24px 24px; border-left: 1px solid var(--line); }
.note-kicker { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.duke-year { font-family: var(--serif); font-size: 88px; line-height: 1.15; letter-spacing: -.05em; color: var(--navy); margin-top: 10px; }
.degree-lines { font-size: 13px; margin-top: 8px; }
.degree-lines p + p { margin: 2px 0 0; }
.academic-note { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.academic-note strong { display: block; font-weight: 500; font-size: 12px; }
.academic-note div > span { font-size: 12px; color: var(--muted); display: block; margin-top: 5px; }
.note-footer { color: var(--muted); font-size: 11px; margin-top: 20px; }
.contact-section .page-title { margin-top: 14px; }
.contact-section p:not(.eyebrow) { max-width: 530px; margin-top: 27px; font-size: 17px; }
.contact-actions { margin-top: 30px; }
.email-link { font-family: var(--serif); font-size: 28px; gap: 20px; text-underline-offset: 7px; }
.social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; font-size: 13px; color: var(--muted); margin-top: 28px; }
.social-links a, .copy-email { padding-block: 8px; }
.social-links a:hover, .copy-email:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.copy-email { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding-inline: 0; }
.copy-status { display: block; min-height: 23px; color: var(--navy); font-size: 12px; margin-top: 12px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 21px 0 27px; color: var(--muted); font-size: 11px; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
[hidden] { display: none !important; }
.page-intro { margin-top: 22px; max-width: 650px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.home-section { margin-top: 50px; }
.home-section h2 { font-size: 32px; line-height: 1.2; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-caption { color: var(--muted); font-size: 10px; white-space: nowrap; }
.home-project-list { border-top: 1px solid var(--line); }
.home-project { display: grid; grid-template-columns: 25px 1fr 20px; align-items: start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.home-project-number { color: var(--muted); font-size: 11px; padding-top: 6px; font-variant-numeric: tabular-nums; }
.home-project h3 { font-size: 25px; }
.home-project p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 7px; max-width: 590px; }
.project-note { display: block; font-size: 10px; margin-top: 10px; color: var(--navy); }
.row-arrow { color: var(--navy); padding-top: 2px; font-size: 18px; }
.home-project:hover h3 { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.home-background > p { font-size: 16px; margin-top: 22px; }
.home-background .text-link { margin-top: 17px; }
.contribution-list { padding-left: 19px; margin: 17px 0 0; }
.contribution-list li { padding-left: 5px; margin-top: 10px; }
.contribution-list li::marker { color: var(--muted); }
.contribution-list strong, .project-story strong { font-weight: 500; }
.project-story { margin-top: 28px; font-size: 16px; }
.project-story h3 { font-size: 25px; margin-top: 26px; }
.project-story h3 + p { margin-top: 13px; }
.project-story .contribution-list { margin-top: 13px; }
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .site-header { padding-top: 14px; }
  .header-inner { gap: 15px; padding-bottom: 12px; }
  .wordmark { font-size: 29px; }
  nav { gap: 16px; font-size: 16px; }
  main { padding-block: 42px 48px; }
  .hero h1 { font-size: 48px; margin-top: 11px; }
  .intro { font-size: 25px; line-height: 1.35; }
  .intro br { display: initial; }
  .portrait { width: 108px; margin: 0 0 12px 22px; }
  .portrait img { aspect-ratio: 4 / 5; object-position: 45% 35%; }
  .hero-body { margin-top: 25px; }
  .hero-description { font-size: 16px; line-height: 1.75; }
  .hero-links { margin-top: 16px; gap: 28px; }
  .page-title { font-size: 44px; }
  .section-heading { margin-bottom: 28px; }
  .section-aside { font-size: 13px; }
  .project-picker { gap: 14px; margin-bottom: 24px; }
  .project-picker button { font-size: 12px; padding-bottom: 12px; }
  .project-picker small { font-size: 9px; }
  .screenshot-link img { max-height: 245px; }
  .project-copy { padding-top: 4px; }
  .project-copy h2 { font-size: 32px; }
  .project-subtitle { font-size: 23px; }
  .project-copy > p:not(.project-subtitle) { font-size: 15px; }
  .project-topline { font-size: 10px; }
  .about-section { grid-template-columns: 1fr; gap: 32px; }
  .about-copy > p:not(.eyebrow) { font-size: 15px; }
  .duke-note { margin: 0; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 10px 20px; }
  .note-kicker { grid-column: 1 / -1; }
  .duke-year { font-size: 72px; margin: 0; grid-row: 2 / 4; }
  .degree-lines { margin: 0; padding-top: 4px; }
  .academic-note { padding: 12px 0 0; margin-top: 2px; grid-column: 2; }
  .note-footer { grid-column: 1 / -1; margin-top: 2px; }
  .note-divider { display: none; }
  .contact-section p:not(.eyebrow) { font-size: 16px; }
  .email-link { font-size: 25px; gap: 14px; }
  .social-links { gap: 22px; font-size: 12px; }
}
@media (max-width: 600px) {
  .hero-introduction .intro { clear: both; padding-top: 10px; }
  .hero-introduction .eyebrow { padding-top: 3px; font-size: 9px; max-width: 210px; }
  .home-section { margin-top: 38px; }
  .home-section h2 { font-size: 29px; }
  .home-section-heading { display: block; }
  .section-caption { display: block; margin-top: 10px; }
  .home-project { grid-template-columns: 20px 1fr 16px; gap: 12px; padding-block: 21px; }
  .home-project h3 { font-size: 23px; }
  .home-project p { font-size: 13px; }
  .home-background > p, .page-intro, .project-story { font-size: 15px; }
  .page-intro { margin-top: 20px; }
  .project-story h3 { font-size: 24px; }
  .contribution-list { padding-left: 16px; }
  .contribution-list li { padding-left: 2px; }
}
@media (max-width: 600px) {
  .project-picker { display: grid; grid-template-columns: .8fr 1.2fr 1fr; }
  .project-picker button { min-width: 0; }
  .case-gallery, .pipeline-figure, .results-figure, .hook-figure { padding: 18px; margin-top: 26px; }
  .gallery-mobile-row { grid-template-columns: 1fr 125px; padding: 24px 0 0; gap: 18px; }
  .gallery-note h3 { font-size: 26px; }
  .gallery-note > p { font-size: 11px; }
  .gallery-note .eyebrow { font-size: 8px; }
  .mobile-screenshot img { height: 256px; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 24px; }
  .pipeline li:nth-child(2)::after { display: none; }
  .pipeline-number { margin-bottom: 9px; }
  .pipeline strong { font-size: 13px; }
  .pipeline small { margin-top: 12px; }
  .figure-topline { font-size: 9px; }
  .study-section { grid-template-columns: 23px 1fr; gap: 12px; margin-top: 32px; padding-top: 21px; }
  .study-section h3, .study-closing h3 { font-size: 26px; }
  .study-section p, .study-closing > p:not(.project-stack) { font-size: 14px; }
  .example-heading { align-items: flex-start; flex-direction: column; gap: 12px; padding: 17px; }
  .example-picker { flex-wrap: wrap; }
  .example-picker button { min-height: 36px; font-size: 11px; }
  .example-output { grid-template-columns: 1fr; }
  .transcript, .result-sheet { padding: 22px; }
  .transcript { border-right: 0; border-bottom: 1px solid #d5d9d5; }
  .transcript blockquote { margin-top: 15px; font-size: 23px; }
  .result-sheet dl { font-size: 12px; }
  .result-sheet h4 { margin-block: 14px; }
  .example-disclaimer { padding-inline: 17px; }
  .timing-figure { padding: 18px; }
  .timing-row { grid-template-columns: 1fr; gap: 8px; }
  .timing-track { font-size: 9px; }
  .timing-track > span { padding: 9px; }
  .results-numbers > div { padding-left: 0; }
  .results-numbers > div + div { padding-left: 18px; }
  .results-numbers strong { font-size: 58px; }
  .results-numbers div > span { font-size: 10px; }
  .hook-sequence { grid-template-columns: 1fr; gap: 16px; }
  .hook-sequence div + div { border-top: 1px solid #cdd4d1; padding-top: 16px; }
  .hook-sequence div > span { margin-bottom: 5px; }
}
@media (max-width: 400px) {
  .container { width: calc(100% - 36px); }
  .header-inner { gap: 10px; }
  nav { gap: 12px; font-size: 15px; }
  .wordmark { font-size: 27px; }
  .hero h1 { font-size: 46px; }
  .portrait { width: 96px; margin-left: 18px; }
  .page-title { font-size: 40px; }
  .eyebrow { font-size: 10px; }
  .project-picker { gap: 10px; }
  .project-picker button { font-size: 11px; }
  .project-picker small { font-size: 8px; }
  .email-link { font-size: 23px; }
}
@media (max-width: 350px) {
  .hero h1 { font-size: 42px; }
  .portrait { width: 84px; margin-left: 16px; }
  .intro { font-size: 23px; }
  .page-title { font-size: 37px; }
  .project-picker small { display: none; }
  .project-picker button { font-size: 10px; }
  .project-picker { gap: 8px; }
  .email-link { font-size: 21px; gap: 10px; }
}
/* Project walkthroughs. Static content is the default; JS adds playback. */
.project-stage, .example-stage { position: relative; }
.project-preferences { display: flex; justify-content: flex-end; margin: -12px 0 23px; }
.project-preferences label { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; font-size: 10px; min-height: 28px; }
.project-preferences input { accent-color: var(--navy); margin: 0; width: 13px; height: 13px; }
.project-preferences input:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.motion-story, .content-loop { margin-top: 32px; padding: 24px; border: 1px solid #c9d2d2; background: #e7ebe8; }
.case-story { background: #e6ebef; border-color: #c8d1db; }
.motion-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.motion-scene { min-width: 0; }
.scene-kicker { display: block; font-size: 10px; color: #536775; letter-spacing: .08em; text-transform: uppercase; }
.scene-copy h3 { font-size: 27px; margin-top: 13px; max-width: 320px; }
.scene-copy p { font-size: 12px; color: #536168; line-height: 1.8; margin-top: 15px; max-width: 300px; }
.scene-art { min-width: 0; padding: 20px; margin-top: 22px; background: #fafaf6; border: 1px solid #c5ced0; box-shadow: 4px 4px 0 #cfd8dc; align-self: center; }
.art-eyebrow { display: block; font-size: 9px; letter-spacing: .04em; color: #536168; }
.art-footnote { display: block; font-size: 9px; color: #5e6b70; line-height: 1.6; margin-top: 20px; }
.case-option { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border: 1px solid #d4dadd; margin-top: 10px; color: #59676e; font-size: 12px; }
.case-option.chosen { color: #fff; background: var(--navy); border-color: var(--navy); }
.speech-line { margin-top: 16px; max-width: 95%; padding: 9px 12px; background: #e9edf0; }
.speech-line small { display: block; color: #526673; font-size: 8px; }
.speech-line p { font-size: 12px; margin-top: 2px; line-height: 1.6; }
.speech-line.candidate { margin-left: 24px; background: #e0e8e1; }
.voice-wave { height: 33px; display: flex; gap: 5px; align-items: center; justify-content: center; margin-top: 18px; }
.voice-wave i { display: block; background: #617c8c; width: 3px; height: 42%; transform-origin: center; }
.voice-wave i:nth-child(3n) { height: 90%; }
.voice-wave i:nth-child(2n) { height: 65%; }
.driver-root { width: 76px; padding: 8px; background: var(--navy); color: #fff; text-align: center; font-size: 13px; margin: 24px auto 0; position: relative; }
.driver-root::after { content: ''; position: absolute; width: 1px; height: 22px; background: #96a6ae; left: 50%; top: 100%; }
.driver-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 21px; border-top: 1px solid #96a6ae; padding-top: 15px; }
.driver-branches div { background: #e8edef; padding: 12px 5px; text-align: center; }
.driver-branches strong { display: block; color: var(--navy); font-size: 12px; font-weight: 500; }
.driver-branches span { display: block; color: #59676e; font-size: 9px; margin-top: 4px; }
.feedback-art > div { padding: 13px 0; border-bottom: 1px solid #d7dfdc; font-size: 11px; }
.feedback-art > div > span { margin-right: 7px; color: #486d5b; }
.sequence-steps { display: none; grid-auto-flow: column; grid-auto-columns: 1fr; list-style: none; padding: 0; margin: 24px 0 0; gap: 14px; }
.sequence-steps li { font-size: 10px; color: #65747a; position: relative; padding-top: 12px; border-top: 1px solid #c2cccd; }
.sequence-steps li::before { content: ''; position: absolute; height: 2px; background: var(--navy); top: -1px; left: 0; width: 100%; transform: scaleX(var(--step-progress, 0)); transform-origin: left; }
.sequence-steps li.is-active { color: var(--navy); }
.sequence-footer { margin-top: 20px; }
.sequence-meter { display: none; height: 2px; background: #cbd4d2; overflow: hidden; }
.sequence-meter > span { display: block; width: 100%; height: 100%; background: var(--navy); transform-origin: left; transform: scaleX(var(--sequence-progress, 0)); }
.sequence-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; }
.sequence-status { font-size: 10px; color: #536168; font-variant-numeric: tabular-nums; }
.sequence-controls > div { display: flex; gap: 15px; }
.sequence-controls button { color: var(--navy); cursor: pointer; font-size: 11px; background: transparent; border: 0; padding: 7px 0; min-height: 32px; }
.sequence-controls button:hover { text-decoration: underline; text-underline-offset: 4px; }
.sequence-controls button > span { display: inline-block; margin-left: 4px; }
.motion-story figcaption { margin-top: 14px; color: #536168; font-size: 10px; }
.is-enhanced .sequence-meter, .is-enhanced .sequence-steps { display: grid; }
.is-enhanced .motion-stage { grid-template-columns: 1fr; gap: 0; }
.is-enhanced .motion-scene { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; min-height: 290px; opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity 450ms ease, transform 600ms cubic-bezier(.2,.7,.2,1), visibility 450ms; }
.is-enhanced .motion-scene.is-current { opacity: 1; visibility: visible; transform: translateX(0); }
.is-enhanced .scene-art { margin-top: 0; }
.is-enhanced .scene-copy h3 { font-size: 32px; }
.is-enhanced .scene-copy p { font-size: 13px; }
.is-enhanced .case-option, .is-enhanced .speech-line, .is-enhanced .driver-branches div, .is-enhanced .feedback-art > div, .is-enhanced .story-beats > span { transition: opacity 450ms ease, transform 600ms cubic-bezier(.2,.7,.2,1); transition-delay: 120ms; }
.is-enhanced .case-option:nth-child(3), .is-enhanced .speech-line.candidate, .is-enhanced .driver-branches div:nth-child(2), .is-enhanced .feedback-art > div:nth-child(3), .is-enhanced .story-beats > span:nth-child(2) { transition-delay: 260ms; }
.is-enhanced .case-option:nth-child(4), .is-enhanced .feedback-art > div:nth-child(4), .is-enhanced .story-beats > span:nth-child(3) { transition-delay: 400ms; }
.is-enhanced .motion-scene:not(.is-current) .case-option, .is-enhanced .motion-scene:not(.is-current) .speech-line, .is-enhanced .motion-scene:not(.is-current) .driver-branches div, .is-enhanced .motion-scene:not(.is-current) .feedback-art > div, .is-enhanced .motion-scene:not(.is-current) .story-beats > span { opacity: 0; transform: translateY(12px); }
.is-enhanced .voice-wave i { animation: speaking 850ms ease-in-out infinite alternate; animation-play-state: paused; }
.is-enhanced .voice-wave i:nth-child(2n) { animation-delay: -250ms; }
.is-enhanced .voice-wave i:nth-child(3n) { animation-delay: -500ms; }
.is-running .motion-scene.is-current .voice-wave i, .is-running[data-sequence="pipeline"][data-step="0"] .voice-wave i { animation-play-state: running; }
@keyframes speaking { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.pipeline li > span.signal-track { display: none; position: relative; height: 2px; flex: none; margin-top: 12px; background: #bdc9c7; }
.is-enhanced .pipeline li > span.signal-track { display: block; }
.signal-track i { position: absolute; inset: 0; background: var(--navy); transform: scaleX(var(--step-progress, 0)); transform-origin: left; }
.signal-track b { width: 6px; height: 6px; border-radius: 50%; position: absolute; top: -2px; left: calc(var(--step-progress, 0) * (100% - 6px)); background: var(--navy); opacity: 0; }
.is-active .signal-track b { opacity: 1; }
.is-enhanced .pipeline-number { transition: color 350ms, transform 350ms; color: #758488; transform-origin: left; }
.is-enhanced .is-active .pipeline-number { color: var(--navy); transform: translateY(-3px); }
.pipeline-demo { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid #c4cfcd; background: #f8f9f4; }
.call-sample, .pipeline-receipt { padding: 18px; min-width: 0; }
.call-sample { border-right: 1px solid #c4cfcd; }
.mini-wave { height: 20px; justify-content: flex-start; margin-top: 12px; }
.sample-words { margin-top: 12px; font-family: var(--serif); font-size: 22px; line-height: 1.5; }
.sample-words mark { background: #d7e4dc; color: var(--navy); }
.pipeline-receipt { display: flex; flex-direction: column; justify-content: center; }
.pipeline-receipt > strong { font-family: var(--serif); font-size: 29px; font-weight: 500; margin-top: 13px; line-height: 1.3; }
.receipt-evidence { display: block; font-size: 9px; color: #426357; margin-top: 12px; }
.is-enhanced .sample-words { clip-path: inset(0 calc((1 - var(--transcript-progress, 0)) * 100%) 0 0); }
.is-enhanced .sample-words mark { background: transparent; transition: background-color 500ms; }
.is-enhanced[data-step="2"] .sample-words mark, .is-enhanced[data-step="3"] .sample-words mark { background: #d7e4dc; }
.is-enhanced .pipeline-receipt > strong, .is-enhanced .receipt-evidence { opacity: 0; transform: translateY(6px); transition: opacity 500ms, transform 500ms; }
.is-enhanced[data-step="2"] .pipeline-receipt > strong, .is-enhanced[data-step="3"] .pipeline-receipt > strong, .is-enhanced[data-step="3"] .receipt-evidence { opacity: 1; transform: translateY(0); }
.pipeline-figure .sequence-footer { margin-top: 18px; }
.pipeline-figure figcaption { margin-top: 15px; }
.is-enhanced .timing-sequence > span { position: relative; isolation: isolate; overflow: hidden; opacity: .5; transition: opacity 300ms; }
.is-enhanced .timing-sequence > span.is-reached { opacity: 1; }
.is-enhanced .timing-sequence > span::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: #4d7587; transform: scaleX(var(--step-progress, 0)); transform-origin: left; }
.is-enhanced .timing-sequence > span:last-child::after { background: #d2e3e7; }
.content-story { background: #e8e9df; border-color: #ced0c0; }
.edit-art { background: transparent; border: 0; box-shadow: none; padding: 0 12px; }
.edit-frame { position: relative; min-height: 262px; width: min(100%, 210px); margin-inline: auto; background: var(--navy); color: var(--paper); padding: 22px 18px 30px; border: 1px solid #132d41; box-shadow: 6px 6px 0 #cbd0c2; display: flex; flex-direction: column; justify-content: center; }
.edit-label { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: #c7d5db; position: absolute; top: 16px; left: 18px; }
.edit-frame > strong { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; margin-top: 10px; }
.edit-subline { display: block; font-size: 10px; color: #c7d5db; margin-top: 17px; line-height: 1.7; }
.edit-timeline { position: absolute; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; bottom: 15px; left: 18px; right: 18px; }
.edit-timeline i { height: 3px; background: #617788; position: relative; overflow: hidden; }
.edit-timeline i::after { content: ''; display: block; height: 100%; background: #e8ebd1; }
.is-enhanced .edit-timeline i::after { transform: scaleX(0); transform-origin: left; }
.is-enhanced[data-step="0"] .edit-timeline i:first-child::after, .is-enhanced[data-step="1"] .edit-timeline i:nth-child(2)::after, .is-enhanced[data-step="2"] .edit-timeline i:nth-child(3)::after { transform: scaleX(var(--phase-progress, 0)); }
.is-enhanced[data-step="1"] .edit-timeline i:first-child::after, .is-enhanced[data-step="2"] .edit-timeline i:not(:last-child)::after { transform: scaleX(1); }
.edit-art .art-footnote { text-align: center; margin-top: 16px; font-size: 9px; }
.story-beats { display: grid; gap: 10px; margin-top: 22px; }
.story-beats > span { display: block; border: 1px solid #536e7f; padding: 12px 10px; font-size: 12px; line-height: 1.4; }
.story-beats > span:nth-child(2) { margin-left: 9px; }
.story-beats > span:nth-child(3) { margin-left: 18px; background: #29475b; }
.content-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 26px 0 0; padding: 0; }
.content-flow li { min-width: 0; position: relative; padding-bottom: 16px; border-bottom: 1px solid #bcc8c5; }
.content-flow li:not(:last-child)::before { content: '→'; position: absolute; right: -14px; top: 0; color: #7a8b8b; }
.content-flow li > span { font-family: var(--serif); font-size: 24px; color: #6e8184; }
.content-flow strong { display: block; font-size: 12px; font-weight: 500; color: var(--navy); margin-top: 14px; }
.content-flow small { display: block; font-size: 10px; color: #536168; margin-top: 7px; line-height: 1.7; }
.is-enhanced .content-flow li::after { content: ''; height: 2px; position: absolute; bottom: -1px; left: 0; width: 100%; background: var(--navy); transform: scaleX(var(--step-progress, 0)); transform-origin: left; }
.is-enhanced .content-flow li.is-active > span { color: var(--navy); }
.return-path { border-left: 1px dashed #a8b7b0; border-bottom: 1px dashed #a8b7b0; padding: 12px 10px; margin-top: 18px; color: #536168; font-size: 10px; }
.return-path > span { margin-right: 9px; color: var(--navy); }
.is-enhanced .return-path { opacity: .35; transition: opacity 450ms; }
.is-enhanced[data-step="3"] .return-path { opacity: 1; }
@media (max-width: 600px) {
  .motion-story, .content-loop { padding: 18px; margin-top: 26px; }
  .project-preferences { margin-top: -12px; margin-bottom: 19px; }
  .motion-stage { grid-template-columns: 1fr; gap: 30px; }
  .is-enhanced .motion-stage { margin-top: 20px; }
  .is-enhanced .motion-scene { grid-template-columns: 1fr; gap: 20px; align-content: start; min-height: 460px; }
  .is-enhanced .scene-copy h3, .scene-copy h3 { font-size: 27px; max-width: none; }
  .scene-copy h3 br { display: none; }
  .is-enhanced .scene-copy p, .scene-copy p { max-width: none; font-size: 12px; margin-top: 12px; }
  .is-enhanced .scene-art { width: 100%; max-width: 300px; justify-self: center; }
  .scene-art { padding: 17px; }
  .is-enhanced .edit-art { padding: 0; }
  .sequence-steps { gap: 10px; margin-top: 15px; }
  .sequence-steps li { font-size: 9px; }
  .sequence-controls button { min-height: 40px; padding-block: 10px; }
  .pipeline-demo { grid-template-columns: 1fr; }
  .call-sample { border-right: 0; border-bottom: 1px solid #c4cfcd; }
  .pipeline-receipt { min-height: 145px; }
  .sample-words { font-size: 23px; min-height: 65px; }
  .content-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
  .content-flow li:nth-child(2)::before { display: none; }
  .edit-frame { min-height: 240px; }
}
.motion-reduced *, .motion-reduced *::before, .motion-reduced *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .project-preferences, .sequence-footer, .sequence-steps { display: none !important; }
  .is-enhanced .motion-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .is-enhanced .motion-scene { display: block; grid-area: auto; min-height: 0; opacity: 1 !important; visibility: visible !important; transform: none !important; break-inside: avoid; }
  .is-enhanced .motion-scene *, .is-enhanced .pipeline-receipt > strong, .is-enhanced .receipt-evidence { opacity: 1 !important; transform: none !important; }
  .is-enhanced .sample-words { clip-path: none; }
  .motion-stage .scene-art { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
@media print {
  body { background: white; color: black; }
  .container { width: 100%; }
  .site-header, .skip-link, .hero-links, .project-picker, .copy-email, .copy-status, .site-footer a { display: none !important; }
  main { padding-block: 20px; }
  .project-panel[hidden] { display: block !important; margin-top: 30px; }
  .pipeline-figure, .evidence-demo, .timing-figure, .duke-note { break-inside: avoid; }
  .example-picker { display: none !important; }
  .example-output[hidden] { display: grid !important; }
  .portrait img { max-height: 360px; }
}
