/* 3.1: shared metallic button construction, restrained specular highlight. */
.button.primary,.button.secondary{position:relative;isolation:isolate;overflow:hidden;min-height:46px;border-radius:9px;border-width:1px;border-style:solid;box-shadow:inset 0 1px 1px #ffffffa8,inset 0 -1px 2px #0003,0 4px 10px #26313d1c;transition:transform .2s,box-shadow .2s,background .2s}
.button.primary{background:linear-gradient(165deg,#6a7078 0%,#353b43 27%,#181d24 49%,#4e555f 51%,#252b33 100%);color:#fff;border-color:#252c35}
.button.secondary{background:linear-gradient(165deg,#fff 0%,#e0e5eb 27%,#b5bec9 49%,#f5f8fc 51%,#c7d0da 100%);color:#222a34;border-color:#a5afb9}
.button.primary:before,.button.secondary:before{content:'';position:absolute;inset:-70% -50%;background:linear-gradient(105deg,transparent 38%,#ffffff05 43%,#ffffff70 49%,#ffffff08 55%,transparent 62%);transform:translateX(-58%);transition:transform .55s;pointer-events:none;z-index:-1}
.button.primary:hover:before,.button.secondary:hover:before,.button.primary:focus-visible:before,.button.secondary:focus-visible:before{transform:translateX(58%)}
.button.primary:hover,.button.secondary:hover,.button.primary:focus-visible,.button.secondary:focus-visible{box-shadow:inset 0 1px #fff9,inset 0 -1px 2px #0003,0 0 0 3px #d8e0e975,0 7px 18px #343f4b30;transform:translateY(-1px)}
.button:active{transform:translateY(1px)}.button:disabled{transform:none;opacity:.6;cursor:default}.button:disabled:before{display:none}
.project-grid{align-items:start}.project-card{border:1px solid #d9e0e7;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 4px 18px #75859512}
.project-card>summary{list-style:none;cursor:pointer;display:block}.project-card>summary::-webkit-details-marker{display:none}.project-card>summary:hover{background:#f8fafc}.project-card>summary:focus-visible{outline-offset:-4px}
.project-card-copy{display:grid;gap:7px;padding:19px 22px}.project-card-copy strong{font-size:21px;line-height:1.6}.project-card-copy>span:not(.text-link){font-size:14px;color:#5f6d7b}.project-card-copy .eyebrow{font-size:12px;margin:0}
.project-image{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:2/3;background:#f4f6f8;direction:ltr}
.project-image>img,.gallery .project-image>img,.card-image .project-image>img{display:block;width:100%;height:100%;max-height:none;max-width:none;aspect-ratio:auto;object-fit:contain;transform:none!important}
.project-image.crop-before>img,.project-image.crop-after>img,.gallery .project-image.crop-before>img,.gallery .project-image.crop-after>img,.card-image .project-image.crop-before>img,.card-image .project-image.crop-after>img{width:200%;object-fit:fill}
.project-image.crop-after>img,.gallery .project-image.crop-after>img,.card-image .project-image.crop-after>img{transform:translateX(-50%)!important}
.project-card>summary>.project-image{max-width:430px;margin:auto}.project-fallback{padding:20px;border-top:1px solid #d6dee7;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.project-fallback figcaption p{font-size:14px}
.project-dialog{width:min(1100px,96vw);max-height:94dvh;padding:22px 28px;border:1px solid #acb7c3;border-radius:16px;background:linear-gradient(130deg,#fff,#f8fafc 70%,#eef1f5);color:#252d37;overflow:auto;box-shadow:0 18px 80px #26344440}
.project-dialog::backdrop{background:#1b253dcc;backdrop-filter:blur(6px)}.project-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px}.project-toolbar .eyebrow{margin:0}.project-dialog h2{font-size:25px;margin:8px 0}.project-intro{font-size:15px;max-width:850px;color:#596675}
.project-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:28px;align-items:start}.project-visual{min-width:0}.project-stage{position:relative;width:100%;max-width:400px;aspect-ratio:2/3;margin:auto;overflow:hidden;border-radius:10px;border:1px solid #c6d0db;background:#fff;direction:ltr;touch-action:pan-y}
.project-stage>img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}.project-stage.crop-before>img,.project-stage.crop-after>img{width:200%;object-fit:fill}.project-stage.crop-after>img{transform:translateX(-50%)}
.project-stage.crop-full{aspect-ratio:4/3;max-width:none;min-height:260px}.project-stage.crop-full>img{object-fit:contain}
.project-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin:14px 0}.project-controls .button{min-width:48px;padding:9px;min-height:44px}.project-controls [data-project-next] .icon{transform:scaleX(-1)}
.project-controls [data-project-prev] .icon{transform:scaleX(-1)}.project-controls [data-project-next] .icon{transform:none}.project-controls [data-project-count]{font:15px Georgia,serif;color:#536171;min-width:65px;text-align:center}.project-analysis h3{font-size:22px;margin:0 0 12px}.project-analysis>p{font-size:15px;line-height:1.9;color:#556474}.project-analysis ol{list-style:none;padding:0;margin:18px 0;counter-reset:analysis}.project-analysis li{position:relative;padding:13px 42px 13px 0;border-top:1px solid #d3dce5;counter-increment:analysis}
.project-analysis li:before{content:counter(analysis);position:absolute;right:0;top:15px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 25% 20%,#fff,#edf2f7 28%,#a8b4c2 75%,#7d8a9a);color:#263344;font:13px Georgia;box-shadow:0 1px 4px #54657a3a;border:1px solid #a8b4c1}.project-analysis li b{font-size:15px}.project-analysis li p{font-size:13px;line-height:1.9;margin:4px 0 0;color:#586574}
.face-map{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 1px 1px #323e5590)}.face-map[hidden]{display:none}.face-map>path{fill:none;stroke:#e9f0f7;stroke-width:.45;opacity:.72}.face-map circle{fill:#e4ebf3;stroke:#8c9aaa;stroke-width:.4}.face-map text{fill:#263447;text-anchor:middle;font:3px Georgia,serif;filter:none}
.project-index{display:flex;gap:10px;overflow-x:auto;padding:12px 3px 8px;scrollbar-width:thin;scroll-snap-type:x proximity;direction:inherit}.project-thumb{flex:0 0 92px;border:1px solid #c7d1dc;background:#fff;border-radius:7px;padding:4px;color:#394b60;cursor:pointer;scroll-snap-align:start}.project-thumb .project-image{aspect-ratio:2/3;height:92px}.project-thumb>span:last-child{font-size:10px;line-height:1.6;display:block;padding-top:5px}.project-thumb.active{border-color:#657b94;box-shadow:0 0 0 2px #a9bbcd70}.project-thumb:hover{background:#edf2f7}.project-analysis-note{font-size:12px;margin:12px 0 0}
.admin-project-image{width:110px;max-width:100%;height:auto;display:block;border-radius:7px}.admin-content-row .admin-project-image{width:80px}.editor .admin-project-image{width:170px}
.project-thumb .project-image{width:61px;margin:auto}.project-thumb .project-image.crop-full>img{object-fit:contain}
html[dir=ltr] .project-analysis li{padding:13px 0 13px 42px}html[dir=ltr] .project-analysis li:before{right:auto;left:0}html[dir=ltr] .project-controls [data-project-prev] .icon{transform:none}html[dir=ltr] .project-controls [data-project-next] .icon{transform:scaleX(-1)}
.home-hero>picture img{object-position:35% center}.home-hero .hero-copy{width:43%;padding:22px;background:linear-gradient(110deg,#ffffff30,#ffffffc9);border-radius:16px}html[dir=ltr] .home-hero .hero-copy{margin-inline-start:auto;direction:ltr;text-align:left}.home-hero .hero-copy h1{font-size:clamp(36px,3.7vw,54px)}
.artist-photo img{object-fit:contain!important;background:#fff}.feature img{object-position:center}.page-academy .card-image img{aspect-ratio:8/5;object-position:center}
@media(max-width:680px){.project-grid{grid-template-columns:1fr}.project-card>summary>.project-image{max-width:100%}.project-card-copy{padding:15px 17px}.project-card-copy strong{font-size:19px}.project-dialog{padding:14px;width:96vw;max-height:94dvh;border-radius:12px}.project-dialog h2{font-size:21px}.project-layout{grid-template-columns:1fr;gap:14px}.project-stage{max-width:310px}.project-stage.crop-full{min-height:0}.project-analysis h3{font-size:19px}.project-analysis li{padding-block:10px}.project-index{gap:8px}.project-thumb{flex-basis:78px}.project-thumb .project-image{height:80px}.project-fallback{grid-template-columns:1fr}.home-hero>picture img{aspect-ratio:8/5!important;object-fit:cover;object-position:left center}.home-hero .hero-copy{width:100%;padding:20px 0;background:none}.home-hero .hero-copy h1{font-size:32px}.home-styles .card-image .project-image{max-height:none}}
@media(prefers-reduced-motion:reduce){.button.primary:before,.button.secondary:before{display:none}.button{transition:none!important}}

/* V2: native source proportions; no face stretching in cards, stage or thumbnail index. */
.project-image,.project-stage,.project-stage.crop-full{aspect-ratio:var(--project-aspect,2/3);min-height:0}
.project-thumb .project-image{width:100%;height:auto!important;aspect-ratio:var(--project-aspect,2/3)}
.project-map-toggle{margin-top:10px}.home-styles .portfolio-home{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-styles .portfolio-home>.section-heading{grid-column:1/-1}.home-styles .portfolio-home>.project-grid{grid-template-columns:1fr}
.ornament-c{transform:rotate(35deg);inset-inline-end:2%;top:24px}.ornament-c i{border-radius:65% 35% 55% 45%;width:145px;height:92px}.ornament-c b{width:6px;height:6px}
.process-list li{padding:16px 0}.story-distinction{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:30px}.story-distinction article{border-top:1px solid #aab3bd;padding-top:20px}.story-distinction h3{font-size:20px}
@media(max-width:680px){.home-styles .portfolio-home{grid-template-columns:1fr;gap:18px}.story-distinction{grid-template-columns:1fr}.consult-mini{max-width:95%;margin-bottom:25px}.desktop-nav a{font-size:16px}}

.project-map-toggle[hidden]{display:none}.article-sources{border-top:1px solid #cbd2da;padding:22px 0;display:grid;gap:12px}.article-sources .text-link{overflow-wrap:anywhere}
