/* A single-page editorial layout; theme and masthead belong to shared/detail.css. */
*,*::before,*::after{box-sizing:border-box}
body{font-family:var(--site-font);font-size:16px;line-height:1.9}
a{color:inherit;text-underline-offset:4px}
button,summary{font:inherit}
button{color:inherit}
main{outline:none}
.project-opening{width:min(1060px,calc(100% - 96px));margin:0 auto;padding:64px 0 20px}
.project-meta{display:flex;align-items:center;justify-content:space-between;margin:0 0 30px;font-size:12px;letter-spacing:.06em;color:var(--site-muted)}
.project-meta time{font-variant-numeric:tabular-nums}
h1{font-size:clamp(40px,4.2vw,62px);line-height:1.2;letter-spacing:-.025em;font-weight:500;margin:0 0 14px}
h1>span{color:var(--site-yellow);font-weight:400}
.project-subtitle{font-size:22px;line-height:1.6;margin:0 0 18px;font-weight:400}
.project-description{margin:0 0 36px;color:var(--site-muted);font-size:16px}
.project-cover{margin:0}
.project-cover img{display:block;width:100%;height:auto;background:var(--site-surface)}
.project-note{font-size:12px;color:var(--site-muted);margin:14px 0 0}
.report-layout{width:min(760px,calc(100% - 96px));margin:24px auto 90px}
.project-contents{margin:0 0 64px;border-top:1px solid var(--site-line);border-bottom:1px solid var(--site-line)}
.project-contents summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;font-size:13px;list-style:none;padding:17px 0}
.project-contents summary::-webkit-details-marker{display:none}
.contents-toggle{position:relative;width:12px;height:12px}
.contents-toggle::before,.contents-toggle::after{content:"";position:absolute;top:5px;left:0;width:12px;height:1px;background:currentColor}
.contents-toggle::after{transform:rotate(90deg);transition:transform .18s}
.project-contents[open] .contents-toggle::after{transform:rotate(0)}
.project-contents nav{display:grid;grid-template-columns:1fr 1fr;gap:0 36px;padding:0 0 18px}
.project-contents nav a{display:flex;gap:14px;align-items:baseline;padding:8px 0;font-size:13px;text-decoration:none;min-width:0}
.chapter-number{font-size:10px;color:var(--site-muted);font-variant-numeric:tabular-nums}
.project-contents a[aria-current]{color:var(--site-yellow)}
.chapter{margin:0 0 76px;scroll-margin-top:calc(var(--site-header-height) + 28px + env(safe-area-inset-top,0px))}
.chapter-heading{border-top:1px solid var(--site-line);padding-top:24px;margin:0 0 28px}
.chapter:first-child .chapter-heading{border-top:0;padding-top:0}
.eyebrow{font-size:11px;letter-spacing:.04em;color:var(--site-muted);margin:0 0 10px}
h2{font-size:clamp(28px,3vw,36px);font-weight:500;line-height:1.35;letter-spacing:-.015em;margin:0;outline:none}
h3{font-size:20px;font-weight:500;line-height:1.6;margin:36px 0 15px}
p{margin:0 0 21px}
b,strong{font-weight:600}
.chapter-content>p{line-height:2.05}
.image-figure,.video-figure{margin:32px 0 30px;width:100%}
figure img{max-width:100%;height:auto}
.image-expand{display:block;position:relative;padding:0;border:0;border-radius:0;background:var(--site-surface);width:100%;cursor:zoom-in;line-height:0}
.image-expand img{display:block;width:100%}
.zoom-mark{position:absolute;bottom:10px;right:10px;display:grid;place-items:center;width:28px;height:28px;background:rgba(247,247,247,.92);color:#262626;font-size:16px;line-height:1;opacity:0;transition:opacity .18s}
.image-expand:hover .zoom-mark,.image-expand:focus-visible .zoom-mark{opacity:1}
figcaption{font-size:12px;color:var(--site-muted);line-height:1.8;margin-top:12px}
video{display:block;width:100%;height:auto;background:#161616;max-height:80svh;object-fit:contain}
.video-figure.portrait{max-width:480px;margin-inline:auto}
.persona{margin:28px 0 38px}
.persona-heading{display:flex;align-items:baseline;gap:16px;border-bottom:1px solid var(--site-line);padding-bottom:12px;margin-bottom:0}
.persona-name{font-size:12px;color:var(--site-muted)}
.persona-heading h3{margin:0;font-size:18px}
.table-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:24px 0 28px;border-top:1px solid var(--site-line);border-bottom:1px solid var(--site-line)}
.persona-table{margin-top:0;border-top:0}
table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.85;text-align:left}
th,td{vertical-align:top;padding:16px 14px;border-bottom:1px solid var(--site-line);overflow-wrap:anywhere}
th{font-weight:500;background:var(--site-surface)}
tbody:last-child tr:last-child td,tbody:last-child tr:last-child th{border-bottom:0}
.persona-table th{width:26%;background:transparent;color:var(--site-muted);font-size:12px}
.flow-list{list-style:none;padding:0;margin:30px 0;border-top:1px solid var(--site-line);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.flow-list li{display:flex;flex-direction:column;gap:12px;min-width:0;padding:18px 0 16px;font-size:13px;line-height:1.8}
.flow-number{font-size:11px;color:var(--site-muted);font-variant-numeric:tabular-nums}
.reading-progress{position:fixed;z-index:91;top:calc(var(--site-header-height) + env(safe-area-inset-top,0px));height:2px;left:0;right:0;pointer-events:none}
.reading-progress span{display:block;height:100%;width:0;background:var(--site-yellow);transform-origin:left}
#image-dialog{border:1px solid var(--site-line);padding:54px 24px 22px;width:min(1320px,calc(100vw - 40px));max-height:92svh;background:var(--site-bg);color:var(--site-ink);overflow:auto}
#image-dialog::backdrop{background:rgba(0,0,0,.84)}
.dialog-close{position:absolute;right:18px;top:12px;background:none;border:0;padding:6px 10px;font-size:12px;cursor:pointer}
.dialog-body{text-align:center}.dialog-body img{display:block;max-width:100%;max-height:72svh;width:auto;height:auto;margin:auto;object-fit:contain}
.dialog-body p{max-width:900px;margin:15px auto 0;text-align:left;font-size:12px;color:var(--site-muted);line-height:1.75}
@media(max-width:760px){
body{font-size:15px}.project-opening{width:calc(100% - 40px);padding:38px 0 16px}.project-meta{font-size:11px;margin-bottom:24px}h1{font-size:42px}.project-subtitle{font-size:20px}.project-description{font-size:14px;margin-bottom:26px}.project-note{font-size:11px}.report-layout{width:calc(100% - 40px);margin:20px auto 62px}.project-contents{margin-bottom:48px}.project-contents nav{gap:0 20px}.project-contents nav a{font-size:12px;gap:8px}.chapter{margin-bottom:56px}.chapter-heading{padding-top:20px;margin-bottom:24px}h2{font-size:28px}h3{font-size:18px;margin-top:30px}.chapter-content>p{line-height:2}.image-figure,.video-figure{margin:26px 0}.zoom-mark{opacity:1;width:24px;height:24px;right:6px;bottom:6px}.persona-heading{gap:12px}.persona-heading h3{font-size:17px}table{font-size:13px;line-height:1.85}th,td{padding:12px 10px}.persona-table th{width:29%;font-size:11px}.flow-list{display:block}.flow-list li{flex-direction:row;gap:16px;border-bottom:1px solid var(--site-line);padding:12px 0}.flow-number{flex:0 0 20px}.table-scroll:not(.persona-table) table{min-width:560px}#image-dialog{width:calc(100vw - 24px);padding:48px 12px 18px}.dialog-body p{font-size:11px}
}
@media(max-width:360px){h1{font-size:36px}.project-contents nav{grid-template-columns:1fr}.persona-heading{display:block}.persona-name{display:block;margin-bottom:4px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.contents-toggle::after,.zoom-mark{transition:none}}
@media print{.reading-progress,.project-contents,.zoom-mark{display:none}body{font-size:11pt}.project-opening,.report-layout{width:100%;max-width:none}.chapter{break-inside:auto}.image-figure,.video-figure{break-inside:avoid}video{max-height:400px}}
