/* Shared visual language for the portfolio case studies */
@font-face{font-family:'GT Walsheim';src:url('fonts/gt-walsheim-regular.otf') format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:'GT Walsheim';src:url('fonts/gt-walsheim-medium.otf') format('opentype');font-weight:500;font-display:swap}
@font-face{font-family:'GT Walsheim';src:url('fonts/gt-walsheim-bold.otf') format('opentype');font-weight:700;font-display:swap}
:root{
  --ink:#292824;
  --muted:#625f59;
  --line:#e3e0da;
  --accent:#ae647f;
  --wash:#fbf1f4;
  --paper:#f8f7f3;
  --section-surface:#f0e8eb;
  --accent-line:#ead8df;
  --tag-line:#e4cbd4;
  --sand:#f3eeea;
  --max:1200px;
}
body.theme-lenses{--accent:#9d512f;--muted:#5c5853;--line:#e4ddd6;--wash:#faeee8;--section-surface:#f2eee9;--accent-line:#e9d3c8;--tag-line:#dfc2b5}
body.theme-partner{--accent:#376f7c;--muted:#555e5d;--line:#dbe4e3;--wash:#eaf3f2;--section-surface:#e8f0ef;--accent-line:#d2e2df;--tag-line:#c8ddda}
body.theme-site-selection{--accent:#326d9e;--muted:#58616a;--line:#dce5ec;--wash:#eaf3fa;--section-surface:#e8f0f6;--accent-line:#d1e2ef;--tag-line:#c8ddec}
body.theme-transplace{--accent:#9b4053;--muted:#5e5657;--line:#e5dadd;--wash:#f8ecef;--section-surface:#f2e8eb;--accent-line:#e9d3d9;--tag-line:#dfc3cb}
body.theme-fokus{--accent:#526d50;--muted:#5d6258;--line:#dfe4d7;--wash:#f0f3e7;--section-surface:#edf0e3;--accent-line:#dce3d0;--tag-line:#d2dcc4}
body.theme-ux-quality{--accent:#69518d;--muted:#5e5965;--line:#e1dce9;--wash:#f1edf8;--section-surface:#eee9f5;--accent-line:#ded5ec;--tag-line:#d5c9e6}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:105px}
body{background:#e6e4e0!important;color:var(--ink)!important;font-family:'GT Walsheim',Arial,sans-serif!important;font-synthesis:none}
button,input,select,textarea{font:inherit}
h1,h2,h3{font-family:'GT Walsheim',Arial,sans-serif!important;font-weight:500!important;letter-spacing:-.045em!important}
p{color:#5f5c56!important}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent)!important;outline-offset:4px}
::selection{background:#f1d9e2;color:var(--ink)}
.skip{border-radius:999px;box-shadow:0 8px 26px #2928241a}
.header,.site-header{width:min(1320px,calc(100% - 72px));margin-inline:auto;padding-block:24px!important}
.brand{font-family:'GT Walsheim',Arial,sans-serif!important;font-weight:500!important;letter-spacing:-.03em!important}
.header nav,.site-header nav{align-items:center;gap:clamp(16px,2.5vw,34px)!important}
.header nav a,.site-header nav a{color:#53514c;text-decoration:none}
.header nav a:hover,.site-header nav a:hover{color:var(--accent)!important}
.hero{width:min(1540px,calc(100% - 24px));margin:8px auto 16px;padding:clamp(50px,7vw,92px) 0 0!important;border:1px solid rgba(255,255,255,.9);border-radius:clamp(30px,4vw,58px)!important;background:#f8f7f3!important;color:var(--ink)!important;box-shadow:0 12px 36px rgba(53,49,44,.045)}
.hero>.wrap{width:min(1280px,calc(100% - 72px))}
.hero .eyebrow,.eyebrow,.section-index,.section-label,.micro{color:var(--accent)!important}
.hero h1 em,.hero h1 span{color:var(--accent)!important}
.hero-intro,.intro{color:var(--muted)!important}
.hero-tags span,.tags span,.tag{border:1px solid var(--tag-line)!important;border-radius:999px!important;background:rgba(255,255,255,.66)!important;color:var(--ink)!important}
.hero-bottom a,.hero-link{color:var(--ink)!important;border-color:var(--accent)!important}
.hero-frame{margin-top:30px;background:#eeece8!important;border:1px solid #e7e3dd!important;border-radius:30px 30px 0 0!important;padding:clamp(12px,2vw,24px)!important}
.hero-frame .screen-open,.screen-open,.screen-zoom{border:1px solid #e2ded7!important;border-radius:22px!important;overflow:hidden;background:#fbfaf7!important}
.hero-frame figcaption{color:var(--muted)!important}
.hero-frame figcaption strong{color:var(--ink)!important}
.hero-display{background:#eeece8!important;border:1px solid #e7e3dd;border-radius:30px 30px 0 0!important}
.hero-display .phone{filter:drop-shadow(0 15px 22px rgba(42,39,35,.12))}
.placeholder,.hero .placeholder{background-color:#f0eeea!important;background-image:linear-gradient(45deg,transparent 49.6%,#e9e6e0 50%,transparent 50.4%),linear-gradient(-45deg,transparent 49.6%,#e9e6e0 50%,transparent 50.4%)!important;border:1px solid #e2ded8!important;border-radius:22px!important;color:#716d66!important}
.placeholder .ph-icon{border-color:#b9b4aa!important;background:#faf9f6!important}
.placeholder .ph-icon:before,.placeholder .ph-icon:after{border-color:#b9b4aa!important}
.facts{width:min(1280px,calc(100% - 48px));margin:20px auto 22px;padding:25px clamp(22px,4vw,45px)!important;border:1px solid rgba(255,255,255,.9)!important;border-bottom:1px solid rgba(255,255,255,.9)!important;border-radius:26px;background:rgba(250,249,246,.88)}
.facts dt{color:#8a837d!important}
.facts dd{color:var(--ink)}
.review{background:var(--wash)!important;color:var(--ink)!important;border:1px solid var(--accent-line);border-radius:22px}
.review .wrap{padding-block:15px!important}
.toc{position:sticky;top:10px!important;z-index:10;width:min(1280px,calc(100% - 48px));margin:0 auto 14px;border:1px solid rgba(255,255,255,.92)!important;border-radius:999px;background:rgba(249,248,244,.94)!important;box-shadow:0 8px 28px rgba(48,44,40,.06);backdrop-filter:blur(14px)}
.toc .wrap{width:100%;padding-inline:clamp(18px,3vw,38px)}
.toc a{padding-block:15px 13px!important;border-bottom-width:2px!important;color:#77736d!important}
.toc a.active{color:var(--ink)!important;border-color:var(--accent)!important}
.section{padding-block:clamp(84px,8.5vw,112px)!important;border-bottom:1px solid var(--line)!important}
.section-head{margin-bottom:clamp(38px,5vw,56px)!important}
.section-head p,.section-head .muted,.muted{color:var(--muted)!important}
.section-head h2{color:var(--ink)}
.lead{color:#393733!important}
.task-grid article,.focus-grid article,.evidence-grid article,.rubric article,.checklist article,.evidence article,.constraint,.test-card{border-color:var(--accent-line)!important}
.task-grid small,.focus-grid small,.evidence-grid small,.rubric h3,.flow-label{color:var(--accent)!important}
.scope,.scope-note,.next-steps,.takeaway,.next,.next-case,.workflow-details,.research-guide,.finding,.decision-callout,.decision-media,.context-note,.study-scope,.source-note,.gallery-note,.gallery-description,.diagram-note,.note,.flow-note,.product-status,.project-status{background:var(--wash)!important;border:1px solid var(--accent-line)!important;border-radius:24px!important;color:var(--ink)!important}
.scope,.scope-note,.next-steps,.takeaway,.next,.next-case,.workflow-details,.research-guide,.finding,.product-status,.project-status,.test-card,.compare-card{padding:clamp(22px,3vw,34px)!important}
.context-note,.study-scope,.source-note,.gallery-note,.gallery-description,.diagram-note,.note,.flow-note{padding:clamp(20px,2.7vw,30px)!important;margin-block:30px!important}
.scope p,.scope-note p,.next-steps p,.takeaway p,.next p,.next-case span,.workflow-details li,.finding dd,.decision-callout,.context-note,.study-scope,.source-note,.gallery-note,.gallery-description,.diagram-note,.note,.flow-note{color:var(--muted)!important}
.journey,.compare-card,.screen-pair,.screen-grid,.task-map,.comparison,.annotation,.evidence-row,.annotation-row,.two-col,.editorial,.focus-grid,.evidence-grid,.rubric,.validation-grid,.checklist{border-color:var(--line)}
.journey,.compare-card,.screen-open,.screen-zoom,.product-figure,.support-figure,.wide-figure,.annotation,.screen-pair figure,.screen-grid figure{border-radius:24px!important}
.journey,.compare-card,.workflow-details,.screen-open,.screen-zoom{border-color:var(--line)!important}
.journey{background:#fbfaf7;border:1px solid var(--line)!important}
.journey div{border-color:var(--line)!important}
.journey small,.decision-no,.flow-no{color:var(--accent)!important}
.compare-card,.test-card{background:#fbfaf7!important;border:1px solid var(--line)!important;border-radius:24px!important}
.test-card{padding:clamp(24px,3vw,38px)!important;color:var(--ink)!important}
.decision{border-color:var(--accent-line)!important}
.decision-number,.decision-no{color:var(--accent)!important}
.decision-callout{padding:18px 22px!important}
.screen-open img,.screen-zoom img{border-radius:inherit}
.zoom-label,.zoom-hint{background:#2b2925ee!important;border-radius:999px!important}
.screen-open:hover .zoom-label,.screen-zoom:hover .zoom-hint{background:var(--accent)!important}
.events,.explore,.reflection,.closing-dark,.dark-section{width:min(1540px,calc(100% - 24px));margin:clamp(24px,4vw,44px) auto;border:1px solid var(--accent-line);border-radius:clamp(30px,4vw,52px)!important;background:var(--section-surface)!important;color:var(--ink)!important;overflow:hidden}
.events .section,.explore .section,.reflection .section,.closing-dark .section,.dark-section .section{border:0!important}
.reflection-grid{gap:clamp(30px,5vw,58px)!important;margin-top:48px!important}
.reflection-grid article{border-color:var(--accent-line)!important}
.reflection-grid p,.reflection .section-head p,.closing-dark .section-head p{color:var(--muted)!important}
.reflection p,.closing-dark p,.dark-section p,.events p,.explore p{color:var(--muted)!important}
.reflection h3,.closing-dark h3,.dark-section h3{color:var(--ink)!important}
.gallery-tabs button{border:1px solid var(--tag-line)!important;border-radius:999px!important;background:#fffdfa!important;color:var(--ink)!important}
.gallery-tabs button[aria-selected=true]{background:#292824!important;border-color:#292824!important;color:#fff!important}
.gallery-panel[hidden]{display:none!important}
.archive-figure img{border-radius:20px;background:#fbfaf7}
.status{border-color:var(--accent-line)!important;background:var(--wash)!important;color:var(--accent)!important;border-radius:999px!important}
.finding{border-color:var(--accent-line)!important}
.finding-header{border-color:var(--accent-line)!important}
.finding dt{color:var(--accent)!important}
.verdicts span{border-radius:999px!important;border-color:#e2d6da!important;background:#fffdfa!important}
.next span,.next-case span{color:var(--muted)!important}
.next strong,.next-case strong{font-weight:500!important;color:var(--ink)!important}
.closing{width:min(1320px,calc(100% - 24px));margin:clamp(26px,4vw,42px) auto 0;padding:clamp(60px,7.5vw,92px) 32px!important;border:1px solid var(--accent-line);border-radius:clamp(30px,4vw,52px)!important;background:var(--wash)!important;text-align:center;display:block!important}
.closing+.wrap{padding-top:clamp(34px,5vw,60px)!important}
.closing h2{max-width:820px;margin:0 auto;color:var(--ink)!important;font-size:clamp(36px,4.8vw,58px)!important}
.closing a{display:inline-flex;align-items:center;justify-content:center;margin:24px auto 0;padding:12px 20px;border-radius:999px;background:#292824;color:#fff!important;text-decoration:none!important;font-size:14px}
footer,.footer{border-top:0!important}
footer .wrap,.footer .wrap{width:min(1200px,calc(100% - 72px));padding:23px 0 30px!important;color:#77736d!important}
footer a,.footer a{color:var(--ink)}
.lightbox{width:calc(100vw - 32px)!important;max-width:1680px!important;height:calc(100dvh - 32px)!important;border:1px solid #e4dfd8!important;border-radius:26px!important;background:#f8f7f3!important;color:var(--ink)!important;box-shadow:0 30px 90px rgba(16,14,12,.28)}
.lightbox::backdrop{background:rgba(36,33,30,.76)!important}
.lightbox-bar{border-color:var(--line)!important}
.lightbox-bar button,.lightbox-bar a{border:1px solid var(--line)!important;border-radius:999px!important;background:#fffdfa!important;color:var(--ink)!important}
.lightbox-view{background:#eeece8!important}
@media(max-width:700px){
  .header,.site-header{width:calc(100% - 36px);padding-block:18px!important}
  .header nav,.site-header nav{gap:14px!important}
  .hero{width:calc(100% - 12px);margin:5px auto 12px;padding-top:52px!important;border-radius:30px!important}
  .hero>.wrap{width:calc(100% - 36px)}
  .hero-frame{margin-top:24px;border-radius:22px 22px 0 0!important;padding:9px!important}
  .hero-display{border-radius:22px 22px 0 0!important}
  .facts{width:calc(100% - 24px);border-radius:20px;padding:20px!important}
  .toc{width:calc(100% - 24px);border-radius:20px}
  .toc .wrap{width:100%}
  .section{padding-block:72px!important}
  .section-head{margin-bottom:34px!important}
  .events,.explore,.reflection,.closing-dark,.dark-section{width:calc(100% - 12px);margin:20px auto;border-radius:28px!important}
  .closing{width:calc(100% - 12px);margin-top:20px;padding:58px 20px!important;border-radius:28px!important}
  .closing+.wrap{padding-top:28px!important}
  footer .wrap,.footer .wrap{width:calc(100% - 36px);padding-block:18px 24px!important}
  .lightbox{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;border-radius:20px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Stronger rhythm, comfortable card insets and project-specific pastel surfaces. */
.hero{background:var(--wash)!important}
.hero-frame,.hero-display{background:var(--section-surface)!important;border-color:var(--accent-line)!important}
.hero .intro,.hero .hero-intro{color:var(--muted)!important}
.review{background:var(--wash)!important;color:var(--ink)!important}
.facts{margin-bottom:clamp(28px,4vw,40px)!important}
.toc{margin-bottom:clamp(24px,3.5vw,36px)!important}
.section{padding-block:clamp(92px,9vw,124px)!important}
.section-head{margin-bottom:clamp(44px,5.5vw,64px)!important}
.test-cards{gap:clamp(24px,3vw,42px)!important}
.test-card{padding:clamp(28px,3.5vw,44px)!important}
.context-note,.study-scope,.source-note,.gallery-note,.gallery-description,.diagram-note,.note,.flow-note{padding:clamp(22px,3vw,34px)!important;margin-block:34px!important;color:var(--muted)!important}
.decision-callout{padding:clamp(20px,2.5vw,28px)!important;border:1px solid var(--accent-line)!important;border-left:4px solid var(--accent)!important;border-radius:18px!important;background:var(--wash)!important;color:var(--muted)!important}
.evidence-row{padding-block:clamp(22px,2.8vw,34px)!important}
.constraint{border:1px solid var(--accent-line)!important;border-radius:20px!important;padding:clamp(22px,2.8vw,34px)!important;background:rgba(255,255,255,.56)!important}
.reflection-grid article{padding:clamp(22px,2.8vw,34px)!important;border:1px solid var(--accent-line)!important;border-radius:20px!important;background:rgba(255,255,255,.56)!important}
.reflection-grid p,.reflection .section-head p,.closing-dark .section-head p{color:var(--muted)!important}
@media(max-width:700px){
  .section{padding-block:78px!important}
  .section-head{margin-bottom:38px!important}
  .facts{margin-bottom:24px!important}
  .toc{margin-bottom:22px!important}
  .test-card{padding:24px!important}
  .context-note,.study-scope,.source-note,.gallery-note,.gallery-description,.diagram-note,.note,.flow-note{padding:20px!important;margin-block:26px!important}
}
