/* Reconstructed component mechanics; provenance lives outside the public archive. */
.portfolio-atlas{padding-top:85px;padding-bottom:85px}
.atlas-heading{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:45px;align-items:end;margin-bottom:38px}
.atlas-heading h2{font-size:clamp(40px,4.5vw,68px);line-height:1.04}
.atlas-heading>p:last-child{font-size:14px;line-height:1.8;color:var(--muted)}
.atlas-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--ink);border-left:1px solid var(--ink)}
.atlas-tile{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:1;display:flex;flex-direction:column;justify-content:space-between;padding:24px;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);transition:background .4s,box-shadow .4s}
.atlas-index{font-size:9px;font-weight:500;letter-spacing:.055em;line-height:1.5;z-index:2}
.atlas-tile strong{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(29px,3vw,45px);font-weight:400;line-height:1;letter-spacing:-.025em;z-index:2;margin-top:15px;max-width:8em;transition:transform .4s cubic-bezier(.25,0,.25,1)}
.atlas-tile img{position:absolute;inset:41% 15% 8%;width:70%;height:51%;object-fit:contain;z-index:0;transition:transform .6s cubic-bezier(.25,0,.25,1)}
.atlas-arrow{position:absolute;right:20px;bottom:15px;font-size:27px;z-index:3}
.atlas-foot{font-size:10px;line-height:1.6;max-width:22ch;margin-top:auto;padding-top:20px;z-index:2}
.atlas-type{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(80px,11vw,160px);line-height:1;position:absolute;right:30px;bottom:-15px;z-index:0}
.atlas-medtech{background:#d8d3ef;color:#26213c}.atlas-care{background:#d2e6e8;color:#1a3a42}.atlas-commercial{background:#e5d7bd;color:#3d3022}.atlas-product{background:#743447;color:#fff4ee}.atlas-evidence{background:#e1e5d7;color:#263b30}.atlas-person{background:#1d373e;color:#f3f1eb}.atlas-cv{background:#efe9df;color:#21282b}.atlas-contact{background:#d6b6b3;color:#2d2023}
.atlas-commercial img{inset:48% 0 0;width:100%;height:52%;object-fit:cover;object-position:center 55%}
.atlas-product .atlas-type{opacity:.3;font-style:italic}.atlas-evidence .atlas-type{font-size:100px;opacity:.3}
.atlas-person strong{font-size:clamp(38px,3.7vw,57px)}
.atlas-tile:hover img,.atlas-tile:focus-visible img{transform:scale(1.07) rotate(-2deg)}
.atlas-tile:hover strong{transform:translateY(-4px)}
.atlas-tile:focus-visible{outline:4px solid #fff;outline-offset:-8px;box-shadow:inset 0 0 0 3px var(--ink)}
.chapter-experience{background:#21363c;color:#f3f1eb;padding:85px 0}
.chapter-heading{display:flex;justify-content:space-between;align-items:center;gap:35px}
.chapter-heading .eyebrow{color:#dfb4bd;margin-bottom:20px}.chapter-heading h2{font-size:clamp(42px,5vw,76px);line-height:1.05}
.chapter-counter{position:relative;width:100px;height:100px;flex:none;display:grid;place-items:center;font-size:11px;font-variant-numeric:tabular-nums}
.chapter-counter svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.chapter-counter circle{fill:none;stroke:#69818a;stroke-width:1.2}.chapter-counter .chapter-progress{stroke:#e7c0ca;stroke-width:2;stroke-dasharray:235;stroke-dashoffset:176.25;transition:stroke-dashoffset 1s cubic-bezier(.2,0,.1,1)}
.chapter-tabs{display:flex;gap:0;border-top:1px solid #69818a;border-bottom:1px solid #69818a;margin-top:38px}
.chapter-tabs button{flex:1;position:relative;display:flex;gap:14px;align-items:center;background:transparent;color:#cdd8dc;border:0;padding:20px 10px;min-height:58px;font-size:14px;text-align:left}
.chapter-tabs button span{font-size:10px}.chapter-tabs button::after{position:absolute;content:'';height:3px;bottom:-1px;left:0;right:0;background:#e7c0ca;transform:scaleX(0);transform-origin:left;transition:transform .4s}
.chapter-tabs button[aria-selected=true]{color:#fff}.chapter-tabs button[aria-selected=true]::after{transform:scaleX(1)}
.chapter-panel{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center;padding:50px 0;overflow:clip}
.chapter-panel[hidden]{display:none}
.chapter-text .eyebrow{color:#e7c0ca;margin-bottom:22px}
.chapter-text h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:clamp(40px,4.1vw,62px);line-height:1.07;letter-spacing:-.025em;max-width:11em}
.chapter-text>p:not(.eyebrow){font-size:15px;line-height:1.9;color:#d0dce0;margin-top:24px;max-width:45ch}
.chapter-text>a{display:inline-flex;align-items:center;min-height:48px;margin-top:21px;font-size:12px;text-decoration:underline;text-underline-offset:6px}
.chapter-panel figure{background:#e1e5df;padding:25px;color:#26363b;min-width:0}
.chapter-panel figure img{width:100%;height:310px;object-fit:contain}.chapter-panel figcaption{font-size:11px;margin-top:18px}
.chapter-skip{display:inline-flex;align-items:center;min-height:48px;border-bottom:1px solid #69818a;font-size:12px}
.chapter-experience :focus-visible{outline-color:#e7c0ca}
.route-shutter{position:fixed;z-index:300;pointer-events:none;left:-20%;top:50%;width:140%;height:160vh;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(6,1fr);transform:translateY(-50%) skew(-10deg)}
.route-shutter i{display:block;background:#e3e4dc;margin:-1px;animation:shutter-unveil .15s both;animation-delay:calc(var(--shutter-order)*.014s)}
@keyframes shutter-unveil{from{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}to{clip-path:polygon(0 0,100% 0,100% 0,0 0)}}
@media(min-width:1024px){.route-shutter{left:-10%;width:120%}}
@media(max-width:991px){.atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-heading{grid-template-columns:1fr 1fr}.atlas-heading>.eyebrow{grid-column:1/-1}.atlas-tile{padding:22px}.atlas-tile strong{font-size:39px}.atlas-person strong{font-size:49px}.atlas-type{font-size:150px}.chapter-panel{gap:40px}}
@media(max-width:700px){.portfolio-atlas{padding-top:60px;padding-bottom:60px}.atlas-heading{display:block;margin-bottom:29px}.atlas-heading h2{font-size:45px;margin-top:18px;margin-bottom:23px}.atlas-heading>p:last-child{font-size:14px}.atlas-tile{padding:16px;aspect-ratio:.77}.atlas-index{font-size:8px;letter-spacing:0}.atlas-tile strong{font-size:clamp(25px,7.4vw,39px);line-height:1.02;overflow-wrap:normal}.atlas-person strong{font-size:clamp(29px,8vw,40px)}.atlas-foot{font-size:9px;overflow-wrap:anywhere}.atlas-arrow{right:12px;bottom:10px;font-size:23px}.atlas-type{font-size:100px;right:15px}.atlas-evidence .atlas-type{font-size:78px}.atlas-tile img{inset:49% 10% 10%;width:80%;height:41%}.atlas-commercial img{inset:53% 0 0;width:100%;height:47%}.chapter-experience{padding:60px 0}.chapter-heading{gap:20px;align-items:start}.chapter-heading h2{font-size:39px}.chapter-counter{width:68px;height:68px;font-size:9px;margin-top:35px}.chapter-heading .eyebrow{font-size:10px}.chapter-tabs{margin-top:30px}.chapter-tabs button{flex-direction:column;align-items:start;gap:7px;font-size:11px;padding:15px 6px;min-height:65px}.chapter-tabs button span{font-size:9px}.chapter-panel{grid-template-columns:1fr;gap:27px;padding:32px 0}.chapter-text h3{font-size:43px}.chapter-text>p:not(.eyebrow){font-size:14px;line-height:1.8;margin-top:20px}.chapter-panel figure{padding:18px}.chapter-panel figure img{height:230px}.chapter-skip{font-size:11px}}
@media(prefers-reduced-motion:reduce){.route-shutter{display:none}.atlas-tile img,.atlas-tile strong,.chapter-progress{transition:none!important}}
.atlas-stage{position:relative;background:#e2e5df}
.atlas-toggle{display:flex;gap:18px;align-items:center;border:1px solid var(--ink);background:#21363c;color:#f3f1eb;min-height:48px;padding:13px 20px;font-size:12px}
.atlas-toggle[hidden]{display:none}
.atlas-monogram{font-family:'Instrument Serif',Georgia,serif;font-size:30px;line-height:1}
.atlas-stage.map-enhanced{overflow:clip;min-height:380px}
.atlas-stage.map-enhanced .atlas-grid{transition:height .7s cubic-bezier(.5,0,.2,1)}
.atlas-stage.map-enhanced:not(.map-open) .atlas-grid{height:380px;overflow:hidden;pointer-events:none}
.atlas-stage.map-enhanced:not(.map-open) .atlas-tile{opacity:0;transform:translate(var(--map-x,0),var(--map-y,0)) scale(2)}
.atlas-stage.map-enhanced .atlas-tile{transition:transform .7s cubic-bezier(.5,0,.2,1),opacity .6s}
.atlas-stage.map-enhanced .atlas-toggle{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);height:280px;width:280px;flex-direction:column;justify-content:space-between;align-items:start;padding:25px;transition:width .6s cubic-bezier(.5,0,.2,1),height .6s cubic-bezier(.5,0,.2,1),left .6s,top .6s,transform .6s}
.atlas-stage.map-enhanced .atlas-monogram{font-size:85px}
.atlas-stage.map-enhanced.map-open{padding-top:63px}
.atlas-stage.map-enhanced.map-open .atlas-toggle{left:0;top:0;transform:none;width:100%;height:63px;flex-direction:row;align-items:center;padding:12px 20px;background:var(--paper);color:var(--ink);border-bottom:0}
.atlas-stage.map-enhanced.map-open .atlas-monogram{font-size:27px}
@media(max-width:700px){.atlas-stage.map-enhanced{min-height:330px}.atlas-stage.map-enhanced:not(.map-open) .atlas-grid{height:330px}.atlas-stage.map-enhanced .atlas-toggle{height:240px;width:240px}.atlas-stage.map-enhanced.map-open .atlas-toggle{height:63px;width:100%;font-size:11px}}
@media(prefers-reduced-motion:reduce){.atlas-stage.map-enhanced .atlas-toggle,.atlas-stage.map-enhanced .atlas-grid,.atlas-stage.map-enhanced .atlas-tile{transition:none!important}}
.chapter-heading>div:first-child{flex:1;min-width:0}
.chapter-heading h2{hyphens:auto;overflow-wrap:break-word}
@media(max-width:360px){.chapter-heading{gap:12px}.chapter-heading h2{font-size:34px}.chapter-counter{width:58px;height:58px}.atlas-index{overflow-wrap:anywhere}.atlas-tile strong{font-size:25px}}
/* One connected system: muted project colours, common motion and visible work. */
.atlas-medtech{background:#d9dfe4;color:#21313b}
.atlas-care{background:#d7e5e3;color:#213c3f}
.atlas-evidence{background:#e0e5da;color:#293d33}
.atlas-commercial{background:#e7dfd0;color:#3d3429}
.atlas-grid .atlas-evidence img{inset:45% 10% 9%;width:80%;height:46%}
@media(max-width:700px){
 .route-shutter{display:none}
 .portfolio-atlas{padding-top:45px;padding-bottom:45px}
 .atlas-heading{margin-bottom:24px}
 .atlas-heading h2{font-size:40px}
 .atlas-grid .atlas-evidence img{inset:52% 8% 8%;width:84%;height:40%}
 .atlas-stage.map-enhanced.map-open .atlas-toggle{height:54px}
 .atlas-stage.map-enhanced.map-open{padding-top:54px}
}
/* Readability repair: text, original artwork and navigation occupy separate rows. */
.atlas-grid .atlas-tile{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;align-content:start;justify-content:stretch;gap:14px;aspect-ratio:auto;min-height:0;padding:24px}
.atlas-grid .atlas-index{grid-row:1;position:static;font-size:11px;line-height:1.6;letter-spacing:.025em;color:inherit;opacity:1}
.atlas-grid .atlas-tile strong{grid-row:2;position:static;font-size:clamp(27px,2.6vw,39px);line-height:1.13;margin:0;max-width:none;color:inherit;transform:none;overflow-wrap:break-word;hyphens:auto}
.atlas-grid .atlas-tile img{grid-row:3;position:static;inset:auto;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:4/3;object-fit:contain;object-position:center;background:#fcfbf7;padding:10px;border:1px solid #b5bfbe;transform:none;z-index:auto}
.atlas-grid .atlas-arrow{grid-row:4;position:static;inset:auto;justify-self:end;align-self:end;font-size:26px;line-height:1;min-height:30px;color:inherit}
.atlas-grid .atlas-foot{grid-row:3;align-self:end;font-size:12px;line-height:1.7;margin:0;padding-top:15px;max-width:none;color:inherit;opacity:1}
.atlas-grid .atlas-type{display:none}
.atlas-grid .atlas-tile:hover img,.atlas-grid .atlas-tile:focus-visible img,.atlas-grid .atlas-tile:hover strong{transform:none}
.atlas-grid .atlas-medtech{background:#d9dfe4;color:#1d2529}
.atlas-grid .atlas-care{background:#d7e5e3;color:#1d2529}
.atlas-grid .atlas-evidence{background:#e0e5da;color:#1d2529}
.atlas-grid .atlas-commercial{background:#e7dfd0;color:#1d2529}
.atlas-grid .atlas-cv{background:#efe9df;color:#1d2529}
.atlas-grid .atlas-contact{background:#d6b6b3;color:#231b20}
.atlas-grid .atlas-product{background:#743447;color:#fffaf5}
.atlas-grid .atlas-person{background:#1d373e;color:#fffaf5}
.atlas-grid .atlas-tile:focus-visible{outline:3px solid currentColor;outline-offset:-6px;box-shadow:none}
@media(max-width:700px){
 .atlas-grid .atlas-tile{padding:15px;gap:12px}
 .atlas-grid .atlas-index{font-size:10px;line-height:1.55;letter-spacing:0;overflow-wrap:anywhere}
 .atlas-grid .atlas-tile strong{font-size:clamp(24px,6.8vw,34px);line-height:1.15}
 .atlas-grid .atlas-tile img{aspect-ratio:1;object-fit:contain;padding:7px}
 .atlas-grid .atlas-foot{font-size:11px;line-height:1.65}
 .atlas-grid .atlas-arrow{font-size:24px}
}
