/* The hand-off between people and agents is the central interaction. */
.work-story { display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(32px,5vw,80px); margin:12px 0 88px; align-items:start; color:var(--ink); }
.story-kicker { font-size:18px; margin:0 0 24px; font-weight:900; }
.story-intro h3 { font-family:'Zen Kaku Gothic New',sans-serif; font-size:clamp(38px,4.5vw,64px); line-height:1.25; letter-spacing:-.05em; margin:0 0 28px; }
.story-intro h3 span { display:inline-block; background:var(--ink); color:white; padding:4px 14px 10px 6px; clip-path:polygon(0 0,100% 0,94% 100%,0 100%); }
.story-intro > p { font-size:16px; line-height:1.9; }
.story-intro .story-disclaimer { font-size:14px; margin-top:22px; color:var(--muted); }
.story-stage { border:2px solid var(--ink); background:var(--ink); box-shadow:12px 12px 0 var(--red); min-width:0; }
.story-jobs { display:flex; gap:0; }
.story-jobs button { flex:1; padding:17px 8px; min-height:52px; background:transparent; border:0; border-bottom:2px solid var(--red); color:white; font-size:16px; font-weight:700; }
.story-jobs button[aria-pressed=true] { background:var(--red); color:#04101f; }
.story-progress { display:flex; list-style:none; padding:22px 20px; gap:6px; margin:0; counter-reset:phase; }
.story-progress li { flex:1; color:white; font-size:16px; line-height:1.7; opacity:.65; border-bottom:2px solid #668dd7; padding-bottom:10px; }
.story-progress li::before { counter-increment:phase; content:'0' counter(phase); display:block; font-family:'Oswald',sans-serif; font-size:24px; }
.story-progress li[aria-current] { opacity:1; color:white; border-color:var(--red); }
.story-progress li.is-done { opacity:1; border-color:white; }
.story-paper { background:white; margin:0 20px; padding:30px; min-height:328px; }
.story-state { font-size:14px; margin:0 0 18px; }
.story-paper h4 { font-size:24px; line-height:1.5; margin:0 0 18px; font-weight:900; }
.story-paper > p:not(.story-state) { color:#243b59; font-size:16px; line-height:1.9; margin:0; }
.story-artifact { margin-top:28px; padding-top:18px; border-top:1px solid #8098bc; }
.story-artifact span { display:block; font-size:14px; margin-bottom:8px; }
.story-artifact b { font-size:18px; line-height:1.6; }
.story-actions { display:flex; justify-content:space-between; gap:12px; padding:20px; align-items:center; }
.story-actions button { min-height:48px; padding:12px 16px; font-size:16px; font-weight:700; border:1px solid white; color:white; background:transparent; }
.story-actions #story-next { background:white; color:var(--ink); }
.story-actions button:disabled { opacity:.45; cursor:default; }
.story-stage button:focus-visible { outline:3px solid #04101f; box-shadow:0 0 0 6px white; outline-offset:2px; position:relative; z-index:1; }
.portfolio-cases { grid-template-columns:1.15fr .85fr; gap:40px; }
.ongoing .portfolio-cases .theme-card:first-child { grid-column:1/-1; display:grid; grid-template-columns:.9fr 1.1fr; grid-template-rows:auto auto; gap:24px 48px; padding:0 32px 28px 0; border-left:0; border-top:5px solid var(--ink); }
.portfolio-cases .theme-card:first-child .theme-art { width:100%; height:100%; min-height:380px; margin:0; grid-row:1/3; object-fit:cover; }
.portfolio-cases .theme-card:first-child > div:not(.no) { padding-top:28px; }
.portfolio-cases .theme-card:first-child .meta { padding:0!important; }
.portfolio-cases .theme-card:nth-child(3) { margin-top:72px; }
.portfolio-cases .case-claim { font-size:16px; font-weight:700; color:var(--accent); margin:0 0 12px; }
.portfolio-cases .case-scale { margin:8px 0 22px; font-size:18px; color:var(--ink); }
.portfolio-cases .case-scale b { font:88px/1 'Anton',sans-serif; letter-spacing:-.05em; margin-right:12px; }
.ongoing .portfolio-cases .recruit { grid-column:1/-1; display:flex; gap:32px; padding:36px; align-items:center; }
.portfolio-cases .recruit .no { display:none; }
.portfolio-cases .recruit > div:not(.no) { flex:1; }
@media(max-width:1000px) {
.work-story { grid-template-columns:1fr; gap:32px; }
.story-intro h3 { font-size:44px; }
.story-intro h3 br { display:none; }
.story-intro > p br { display:none; }
.ongoing .portfolio-cases .theme-card:first-child { grid-template-columns:1fr; padding:0 24px 28px; gap:0; }
.portfolio-cases .theme-card:first-child .theme-art { grid-row:auto; min-height:0; height:260px; width:calc(100% + 48px); margin:0 -24px; }
}
@media(max-width:600px) {
.work-story { margin-bottom:64px; }
.story-stage { box-shadow:7px 7px 0 var(--red); }
.story-intro h3 { font-size:38px; }
.story-intro h3 br { display:block; }
.story-paper { margin:0 12px; padding:22px 18px; min-height:360px; }
.story-paper h4 { font-size:22px; }
.story-progress { padding:18px 12px; gap:5px; }
.story-progress li { font-size:12px; }
.story-actions { padding:18px 12px; flex-wrap:wrap; }
.story-actions button { font-size:14px; }
.story-actions #story-next { flex:1; }
.portfolio-cases { grid-template-columns:1fr; gap:28px; }
.portfolio-cases .theme-card:nth-child(3) { margin-top:0; }
.portfolio-cases .case-scale b { font-size:72px; }
.ongoing .portfolio-cases .recruit { display:block; padding:28px 24px; }
.ongoing .portfolio-cases .recruit > a { margin-top:22px; }
}
.menu-toggle { display:none; }
@media(max-width:600px) {
:root { --header-height:72px; }
.topbar { grid-template-columns:1fr auto auto; gap:8px; padding:10px 16px; }
.topbar .brand { gap:8px; }
.topbar .brand .mark { width:44px; min-width:44px; height:44px; }
.topbar .brand .name { font-size:18px; }
.topbar .brand .sub { display:none; }
.topbar .motion-toggle { grid-column:2; grid-row:1; padding-inline:8px; font-size:14px; }
.menu-toggle { display:block; grid-column:3; grid-row:1; min-height:44px; min-width:44px; border:1px solid var(--ink); color:var(--ink); background:white; font-size:16px; font-weight:700; }
.topbar nav { display:none; grid-column:1/-1; grid-row:2; }
html[data-menu=open] .topbar nav { display:grid; }
html[data-menu=open] .menu-toggle { color:white; background:var(--ink); }
}
.portfolio-cases .theme-card:first-child .theme-art { object-fit:contain; object-position:center; background:#e6eef6; }
.artifact-document { padding:24px; background:#f3f7fc; border:1px solid #a5b7d0; border-top:5px solid var(--ink); }
.artifact-document .document-title { display:block; font-size:22px; margin:0 0 18px; }
.story-artifact fieldset { border:0; padding:0; margin:0; }
.story-artifact legend { font-size:16px; font-weight:700; margin-bottom:10px; }
.story-artifact label { display:flex; align-items:center; gap:12px; min-height:52px; padding:12px; margin-top:8px; border:1px solid #9fb4d2; cursor:pointer; }
.story-artifact label:has(input:checked) { background:#e2f5ff; border-color:var(--ink); }
.story-artifact label span { font-size:16px; margin:0; }
.story-artifact input { width:22px; height:22px; accent-color:var(--ink); flex-shrink:0; }
.story-artifact .document-stamp { display:inline-block; padding:6px 10px; margin-bottom:16px; background:var(--ink); color:white; font-size:14px; }
.artifact-document.complete { border-color:var(--ink); box-shadow:5px 5px 0 #c2eaff; background:white; }
.story-paper { min-height:500px; }
@media(max-width:600px) {
.story-progress { display:grid; grid-template-columns:1fr 1fr; gap:12px 18px; }
.story-progress li { display:flex; align-items:baseline; gap:10px; font-size:14px; }
.story-progress li::before { font-size:22px; }
.topbar .motion-toggle { font-size:14px; padding-inline:6px; }

.topbar .brand .name { font-size:18px; }
.story-paper { min-height:0; }


.artifact-document { padding:18px 14px; }
}
@media(max-width:600px) { .topbar .brand { gap:6px; } .topbar { gap:6px; padding-inline:12px; } }


/* Real decisions, one readable document at a time. */
.story-artifact .scenario-label { border:0; padding:0; margin:0 0 8px; min-height:0; font-size:16px; }
.story-artifact select { width:100%; min-height:48px; padding:10px; border:2px solid var(--ink); color:var(--ink); background:white; font:inherit; font-size:16px; }
.story-artifact .source-note,.story-artifact .draft-note { padding:16px; font-size:16px; line-height:1.8; margin:14px 0; overflow-wrap:anywhere; }
.source-note { background:#eaf4ff; border-left:4px solid var(--ink); }
.draft-note { background:#f3f7fc; border:1px dashed var(--ink); }
.result-text { font-size:18px; line-height:1.9; overflow-wrap:anywhere; }
.story-paper h4 { scroll-margin-top:100px; }
.story-artifact fieldset { margin-top:24px; }
.story-artifact .pending { border-style:dashed; }
#about .sec-index,#skills .sec-index { color:var(--ink); }
#skills .sec-eyebrow { background:white; display:inline-block; padding:5px 10px; }

.case-bridge { max-width:40em; font-size:clamp(22px,2.5vw,32px); line-height:1.6; margin:0 0 40px; font-weight:700; }
.portfolio-cases .case-question { font-weight:700; font-size:20px; line-height:1.7; margin:24px 0 16px; }

#work .sec-index { color:var(--ink); }

.decision-trail { margin-bottom:24px; }
.story-artifact .trail-label { font-size:14px; font-weight:700; }
.trail-before { font-size:16px; line-height:1.8; padding:14px; border:1px dashed #708db7; color:#425a79; }
.story-artifact .trail-action { font-size:16px; line-height:1.8; font-weight:700; padding:16px 0 0; margin:0; }
@media(max-width:600px) { .story-progress li,.story-actions button { font-size:16px; } }
.story-paper h4 { text-wrap:balance; }
.story-artifact .artifact-caption { margin:20px 0 0; font-size:14px; line-height:1.8; font-weight:400; color:#425a79; }
