/* The same smoked glass sits behind both navigation bars. */
:root { --heading:'Cakra','Manrope',Arial,sans-serif; }
body.viai-site :is(h1,h2,h3,h4,h5,h6),
body.viai-site .site-main .studio-card:is(.price-row,.document-row) > strong {
    font-family:var(--heading);
    font-weight:400;
    font-synthesis:none;
}
:root {
    --nav-glass: radial-gradient(ellipse at 12% 0%,#d3a37b1c,transparent 39%),linear-gradient(125deg,#141818df,#0a0f12df 61%,#182626ce);
    --nav-edge: inset 0 1px 1px #fff7eb3d,inset 0 -1px 1px #82c9c21c,0 6px 26px #0005;
}
html { scroll-padding-top:88px; }
body { overflow-x:clip; }
.site-header,.bottom-dock {
    background:var(--nav-glass);
    box-shadow:var(--nav-edge);
    backdrop-filter:blur(22px) saturate(130%);
    -webkit-backdrop-filter:blur(22px) saturate(130%);
    border:1px solid #d4cdc637;
}
.site-header { position:sticky;top:8px;z-index:35;min-height:58px;height:auto;margin-block:8px 4px;padding:9px clamp(16px,2.4vw,35px);border-radius:32px;gap:clamp(14px,2.6vw,38px); }
.site-header .wordmark { flex:none; }
.brand-original { display:block;width:clamp(116px,11vw,158px);height:auto;border-radius:0; }
.inquiry-intro .brand-original,.site-footer .brand-original { width:130px; }
.desktop-nav ul { gap:clamp(14px,2.5vw,38px); }
.desktop-nav a,.header-contact,.language-switch { font-size:clamp(14px,1.1vw,17px); }
.bottom-dock { width:max-content;min-width:0;max-width:calc(100% - 20px);bottom:max(12px,env(safe-area-inset-bottom));padding:4px 6px 4px 16px;gap:13px; }
.bottom-dock>a,.bottom-dock .button { flex:none;min-width:0;min-height:40px;font-size:14px;line-height:1.15;gap:6px; }
.bottom-dock .button { padding:8px 18px; }
.dock-divider { height:17px; }
html { scrollbar-gutter:stable; }
html:has(dialog:modal) { overflow:hidden; scroll-behavior:auto; }
dialog.glass:is(.inquiry-dialog,.document-dialog) {
    position:fixed;inset:0;margin:auto;transform-origin:center;overscroll-behavior:contain;
}
body.has-dialog { overflow-x:clip;overflow-y:visible; }
.button,.journal-featured .text-link { font-size:clamp(14px,1.12vw,17px);min-height:44px;padding:10px clamp(15px,1.7vw,25px);gap:.5em;max-width:100%; }
.button>* { flex-shrink:0; }
button,a,input,textarea,select { -webkit-tap-highlight-color:transparent; }
.button:focus-visible,a:focus-visible,button:focus-visible { outline:2px solid #ffd3a4;outline-offset:3px; }
.button.copper:active { transform:scale(.97); }
.service-hero,.contact-page,.editorial-row,.journal-featured,.marketing-heading,.illustrated-offer,.form-top-row,.case-overview { min-width:0; }
.service-hero>*,.contact-page>*,.editorial-row>*,.journal-featured>*,.marketing-heading>*,.illustrated-offer>*,.inquiry-fields,.form-top-row>*,.case-overview>* { min-width:0; }
.site-main :is(h1,h2,h3,p),.case-story :is(h1,h2,p) { overflow-wrap:break-word; }
.inquiry-form :is(input:not([type=checkbox]):not([type=radio]),textarea) { max-width:100%;min-width:0; }
.illustrated-offer { display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(28px,5vw,86px);align-items:center; }
.offer-art { position:relative;isolation:isolate;display:grid;align-items:center;margin:0; }
.offer-art::before { content:"";position:absolute;inset:12%;z-index:-1;background:radial-gradient(ellipse,#42dacf19,transparent 72%); }
.offer-art img { width:100%;height:auto;display:block;border-radius:10px; }
.offer-list article { padding:clamp(16px,1.7vw,27px) 0;border-top:1px solid #a1bfba3d; }
.offer-list h3 { font-size:clamp(23px,2.25vw,35px);margin:0 0 8px; }
.offer-list p { font-size:clamp(15px,1.12vw,18px);line-height:1.55;max-width:50ch; }
.marketing-comparison .offer-art { order:2; }
.studio-hero .floating-logo img[src$="logo-white.png"] { width:min(90%,600px);margin:auto;object-fit:contain; }
@media(min-width:801px) {
    .service-hero { grid-template-columns:minmax(0, .88fr) minmax(0,1.12fr);column-gap:clamp(22px,4vw,65px); }
    .service-art { transform:none; }
    .journal-featured { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); }
    .editorial-row { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
    .contact-page { grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(26px,5vw,85px); }
    .service-copy h1,.contact-copy h1 { font-size:clamp(40px,4.2vw,72px); }
}
@media(max-width:800px) {
    .site-header { top:6px;width:calc(100% - 20px);min-height:52px;margin-top:6px;padding:4px 12px 4px 17px; }
    .mobile-menu { top:64px;max-height:calc(100dvh - 78px);overflow:auto;z-index:34; }
    .bottom-dock { gap:9px; }
    .bottom-dock>a,.bottom-dock .button { font-size:13px;min-height:38px; }
    .illustrated-offer { grid-template-columns:minmax(0,1fr);gap:16px; }
    .marketing-comparison .offer-art { order:0; }
    .offer-art { max-width:520px;margin:auto; }
}
@media(max-width:420px) {
    .bottom-dock { gap:7px;padding-left:10px; }
    .bottom-dock>a,.bottom-dock .button { font-size:12px; }
    .bottom-dock .button { padding-inline:11px; }
}
@media(prefers-reduced-motion:no-preference) {
    body:not(.motion-off) .offer-art.is-in-view img { animation:object-drift 8s ease-in-out infinite alternate; }
    body:not(.motion-off) dialog[data-phase="enter"] > :is(.inquiry-intro,.inquiry-fields,.document-reader,.document-tabs) { animation:sheet-content .52s both; }
    body:not(.motion-off) dialog[data-phase="leave"] > :is(.inquiry-intro,.inquiry-fields,.document-reader,.document-tabs) { opacity:0;transition:opacity .18s; }
    body:not(.motion-off) dialog[data-phase="leave"]::backdrop { animation:shade-out .35s both; }
    body:not(.motion-off) :is(.inquiry-dialog,.document-dialog)[data-phase="enter"]::backdrop { animation:shade-in .3s both; }
}
@keyframes object-drift { from {transform:perspective(1000px) translateY(2px) rotateY(-3deg) rotateZ(-1deg)} to {transform:perspective(1000px) translateY(-7px) rotateY(3deg) rotateZ(1deg)} }
@keyframes sheet-content { 0%,22% { opacity:0; } 100% { opacity:1; } }
@keyframes shade-out { to {opacity:0} }
@keyframes shade-in { from {opacity:0} to {opacity:1} }
/* The reader owns the outer shade. Inner paper and text come straight from the project. */
.case-dialog {
    position:fixed;inset:0;width:min(1120px,calc(100vw - 84px));height:min(1040px,calc(100dvh - 68px));max-width:none;max-height:none;
    margin:auto;padding:0;overflow:hidden;border-radius:18px;border:1px solid #dcc3a974;box-shadow:0 25px 90px #0008;
    background-color:var(--project-background,#101c20);color:var(--project-text,#efeeeb);transform-origin:center;
}
.case-dialog::backdrop { background:rgb(0 0 0 / var(--case-shade,.6));backdrop-filter:none; }
.case-reader { height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable; }
.case-tools { position:absolute;z-index:2;right:17px;top:12px; }
.case-dismiss { display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:white;background:#151c1be6;border:1px solid #fff5;box-shadow:0 2px 12px #0003; }.inquiry-dialog .dialog-close,.inquiry-success-dialog .inquiry-success-close { display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border-radius:50%;color:white;background:#151c1be6;border:1px solid #fff5;box-shadow:0 2px 12px #0003; }.inquiry-success-dialog .inquiry-success-close .studio-control { width:18px;height:18px; } .case-dismiss:focus-visible,.inquiry-dialog .dialog-close:focus-visible,.inquiry-success-dialog .inquiry-success-close:focus-visible { outline:none;box-shadow:0 2px 12px #0003,inset 0 0 0 1px #fff9; } dialog.inquiry-dialog { overflow:hidden; } .inquiry-dialog .inquiry-fields { min-height:0;max-height:inherit;overflow-y:auto;overscroll-behavior:contain; }
.case-flight { position:absolute;z-index:3;inset:0;pointer-events:none;background:var(--project-background);display:grid;place-items:center; }
.case-flight img { width:100%;height:100%;object-fit:contain;border-radius:10px; }
.case-story,.case-reader {
    background-color:var(--project-background);background-image:var(--project-image,none);background-size:100% auto;background-position:center top;background-repeat:no-repeat;
}
.case-story { width:min(1100px,94%);padding:clamp(27px,4.5vw,72px);color:var(--project-text);border-radius:10px;margin:22px auto; }
.case-reader .case-story { width:100%;max-width:none;margin:0;background:none; }
.case-heading { margin:0;padding:0; }
.case-heading h1 { font-size:clamp(40px,6vw,84px); }
.case-heading>p { font-size:clamp(19px,2.1vw,30px);line-height:1.3;max-width:42ch;margin:14px 0; }
.case-heading p.case-discipline { font:500 12px/1.5 var(--body);letter-spacing:.11em;text-transform:uppercase;opacity:.78;margin:0 48px 16px 0; }
.case-overview { margin:30px 0;gap:clamp(16px,3vw,46px); }
.case-overview h2,.case-note h2 { font-size:clamp(21px,2.1vw,30px); }
.case-overview p,.case-chapter p,.case-note p { font-size:clamp(15px,1.3vw,19px);line-height:1.62;max-width:68ch;opacity:.93; }
.case-overview>div+div { padding-left:0;border:0; }
.case-story .case-cover,.case-chapter img { display:block;width:100%;height:auto;max-height:none;object-fit:contain;filter:none;border-radius:10px; }
.case-chapter { margin:clamp(36px,5vw,75px) 0; }
.case-chapter header { margin:0 0 22px; }
.case-chapter h2 { font-size:clamp(26px,3.3vw,46px);max-width:30ch;margin:0 0 12px; }
.case-note { border-top:1px solid currentColor;padding-top:20px; }
.case-note h2 { margin-bottom:9px; }
.case-story a.text-link { color:inherit; }
.case-next .button { font-size:clamp(14px,1.15vw,17px); }
@media(max-width:600px) {
    .case-dialog { width:calc(100% - 16px);height:calc(100dvh - 22px);border-radius:13px; }
    .case-story { padding:28px 19px; }
    .case-overview { grid-template-columns:1fr;gap:16px;margin:24px 0; }
    .case-tools { top:7px;right:8px; }
}
.studio-original-sign {
    width:min(78%,410px);aspect-ratio:1;display:block;margin:8% auto;
    mask:url(studio-sign.png) center / contain no-repeat;
    -webkit-mask:url(studio-sign.png) center / contain no-repeat;
    background:linear-gradient(127deg,#75452a,#ffddad 20%,#e9ebdd 32%,#40706e 48%,#071e24 58%,#6ee8de 72%,#f3bd92 88%,#8e6047);
    background-size:180% 150%;
}
@media(prefers-reduced-motion:no-preference) {
    body:not(.motion-off) .studio-original-sign { animation:cast-light 8s ease-in-out infinite alternate; }
}
@keyframes cast-light { to {background-position:100% 65%} }
@media(min-width:801px) {
    .service-hero .service-art {width:100%;max-width:100%;transform:none;margin:0;}
    .contact-page { width:min(1120px,90%);margin-inline:auto; }
}
.package-card .button,.marketing-actions .button { white-space:nowrap;padding:10px clamp(10px,1.35vw,21px);font-size:clamp(13px,1.05vw,16px); }
.marketing-cta>.marketing-actions { flex-wrap:wrap;min-width:0;gap:14px; }
@media(max-width:950px) {
    .package-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr)); }
    .package-card { padding:clamp(19px,3vw,28px); }
}
@media(max-width:800px) {
    .hero-stage { clip-path:inset(-10% calc(-1 * min(2vw,12px)) -8%); }
    .hero-stage .portal-wrap { inset:-4vw -1.5vw -2vw; }
    .document-row { grid-template-columns:auto minmax(0,1fr) 20px; }
    .document-row>strong,.document-row>span { min-width:0;overflow-wrap:anywhere; }
    .document-row>.document-open { width:20px;justify-self:end; }
}
.access-enquiry { max-width:760px;margin-bottom:90px; }
.access-enquiry h2 { font-size:clamp(25px,3vw,40px);margin:0 0 25px; }
@media(max-width:800px) {
    .site-header { display:grid;grid-template-columns:minmax(0,1fr) auto 34px;gap:10px;padding-inline:13px; }
    .site-header .desktop-nav,.site-header .header-contact { display:none; }
    .site-header .wordmark { min-width:0;max-width:100%; }
    .site-header .mobile-toggle { width:34px;height:34px;margin:0; }
}
.studio-object { display:inline-block;vertical-align:middle;flex:none;width:32px;height:32px;object-fit:contain;border-radius:10px; }
.studio-control { display:inline-block;vertical-align:middle;position:relative;width:18px;height:18px;flex:none;color:inherit; }
.control-close::before,.control-close::after,.control-menu::before,.control-menu::after {
    content:"";position:absolute;height:1.5px;border-radius:3px;background:linear-gradient(90deg,#d5a173,#fff1d7);left:2px;right:2px;
}
.control-close::before,.control-close::after { top:8px;transform:rotate(45deg); }
.control-close::after { transform:rotate(-45deg); }
.control-menu::before { top:5px; }
.control-menu::after { top:11px;left:6px; }
.control-left::before,.control-right::before,.control-arrow::before {
    content:"";position:absolute;left:4px;top:4px;width:9px;height:9px;border-top:1.5px solid #ffe3c2;border-right:1.5px solid #c6976f;transform:rotate(45deg);
}
.control-left::before {left:7px;transform:rotate(-135deg)}
.control-arrow::before {transform:none}
.control-check { width:8px;height:3px;margin:.65em 3px 0 0;border-radius:5px;background:linear-gradient(90deg,#825238,#ffd2a0); }
.price-icon { display:flex;align-items:center;justify-content:center; }
.price-icon .studio-object { width:min(100%,140px);height:auto;aspect-ratio:1;transition:transform .36s ease; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    body:not(.motion-off) .price-row:hover .studio-object { transform:perspective(550px) rotateY(-9deg) translateY(-3px); }
}
.marketing-card-top .studio-object,.package-top .studio-object { width:clamp(53px,5.3vw,83px);height:auto; }
.document-icon { border:0;background:transparent;box-shadow:none; }
.document-icon .studio-object { width:100%;height:auto; }
.contact-methods .studio-object { width:36px;height:36px; }
.journal-search .studio-object,.file-label .studio-object { width:26px;height:26px; }
.bottom-dock .studio-object { display:none; }
@media(max-width:800px) {
    .price-row { grid-template-columns:clamp(68px,13vw,96px) minmax(0,1fr) max-content 18px;gap:6px 12px; }
}
@media(max-width:510px) {
    .price-row { grid-template-columns:clamp(62px,18vw,82px) minmax(0,1fr) 18px;gap:5px 10px;padding:15px 12px; }
    .price-icon { grid-column:1;grid-row:1/4; }
    .price-row strong { grid-column:2/4;grid-row:1;font-size:20px; }
    .price-description { grid-column:2/4;grid-row:2; }
    .price-amount { grid-column:2;grid-row:3;justify-self:start;font-size:21px; }
    .price-arrow { grid-column:3;grid-row:3; }
}

.price-table.price-card-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.7vw,24px);padding:0;background:none;box-shadow:none;border:0;overflow:visible; }
.price-card-grid .price-row {
    display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto 1fr auto;align-content:start;
    min-width:0;height:100%;gap:12px;padding:0 0 clamp(17px,2vw,28px);overflow:hidden;border-radius:10px;border:1px solid #92a49c55;
    background:linear-gradient(140deg,#192322eb,#101819ea 75%,#253c3bdf);box-shadow:inset 0 1px #fff1;
}
.price-card-grid .price-row:hover { border-color:#dbad81aa; }
.price-card-grid .price-row::after { display:none; }
.price-card-grid .price-row > .price-cover { grid-area:1/1/2/-1;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:10px;display:block; }
.price-card-grid .price-row > strong,.price-card-grid .price-description,.price-card-grid .price-amount { padding-inline:clamp(16px,1.8vw,26px); }
.price-card-grid .price-row > strong { grid-area:2/1/3/-1;font-size:clamp(21px,2vw,29px);margin-top:6px; }
.price-card-grid .price-description { display:block;grid-area:3/1/4/-1;font-size:15px;line-height:1.55;align-self:start; }
.price-card-grid .price-amount { grid-area:4/1/5/2;justify-self:start;align-self:center;white-space:nowrap;font-size:clamp(20px,2vw,29px); }
.price-card-grid .price-arrow { grid-area:4/2/5/3;margin-right:clamp(14px,1.8vw,25px);justify-self:end;align-self:center;font-size:20px; }
@media(max-width:720px) { .price-table.price-card-grid {grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:520px) { .price-table.price-card-grid {grid-template-columns:minmax(0,1fr)} }
.carousel-slides .hero-slide,.carousel-slides .hero-slide.is-active {
    transform:none;filter:none;transition:none;
}
.carousel-slides .hero-slide.slice-base { visibility:visible;opacity:1;z-index:1;pointer-events:none; }
.carousel-slides .project-slice {
    position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0;pointer-events:none;
}
.hero-stage .hero-wave { display:block;position:absolute;z-index:2;left:-5%;bottom:1%;width:109%;height:31%;pointer-events:none; }
@media(min-width:801px) {
    .hero.container { min-height:0; }
    .hero .hero-stage { height:clamp(380px,min(54vw,calc(100svh - 225px)),920px); }
    .hero .hero-copy { padding-bottom:2vw; }
    .hero-copy h1 { font-size:clamp(46px,min(5.2vw,8svh),80px); }
    .hero .hero-copy p { margin-block:clamp(17px,2.5vh,34px) clamp(20px,3vh,45px); }
    .hero .project-switcher { margin:7px 0 25px; }
}
.documents-register.document-card-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,28px);padding:0;border:0;box-shadow:none;background:none;overflow:visible; }
.document-card-grid .document-row { display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;border-radius:10px;overflow:hidden;padding:0 0 22px;border:1px solid #92a49c55; }
.document-card-grid .document-cover { width:100%;height:auto;display:block;border-radius:10px; }
.document-card-grid .document-row > :is(strong,span) { margin-inline:clamp(16px,2vw,28px); }
.document-card-grid .document-row > strong { margin-top:8px;font-size:clamp(21px,2.1vw,31px); }
.document-card-grid .document-row > span:not(.document-open) { font-size:16px;line-height:1.45; }
.document-card-grid .document-row > .document-open { display:block;width:auto;align-self:flex-start;margin-top:auto;color:#e1b58e;font-size:15px; }
.document-card-grid .document-open:first-letter {font-size:inherit}
.document-card-grid .document-open::after {content:none}
@media(max-width:560px) { .documents-register.document-card-grid { grid-template-columns:minmax(0,1fr); } }
@media(min-width:801px) { .hero-stage .portal-wrap { right:-2.4vw; } }

/* One material and spacing scale for the cards in every WordPress template. */
:root {
    --card-radius:10px;
    --card-padding:clamp(16px,1.9vw,28px);
    --card-heading:clamp(22px,2.05vw,31px);
    --card-copy:clamp(15px,1.1vw,17px);
    --card-outline:#91ada66b;
    --card-surface:radial-gradient(ellipse at 4% 0%,#dcac7d14,transparent 45%),radial-gradient(ellipse at 100% 100%,#18595149,transparent 54%),linear-gradient(135deg,#202d2ceb,#0e1a1be8 70%);
    --card-shadow:inset 0 1px 1px #ffdfbf44,inset 0 -1px 1px #78dbd024,0 9px 27px #02080830;
}
.site-main .studio-card {
    --card-inset:var(--card-padding);
    box-sizing:border-box;min-width:0;border:1px solid var(--card-outline);border-radius:var(--card-radius);
    background:var(--card-surface);box-shadow:var(--card-shadow);color:var(--ink);
}
.studio-card :is(.card-banner,.document-cover,.price-cover),.studio-card .journal-image,.studio-card .journal-image img,.studio-card.proof-card img {
    display:block;border-radius:var(--card-radius);
}
.site-main .studio-card:is(.marketing-card,.comparison-card,.package-card) > h3,
.site-main .studio-card.price-row > strong,.site-main .studio-card.document-row > strong,
.site-main .studio-card .project-caption h3,.site-main .studio-card .journal-copy h2,.site-main .studio-card.proof-card h3 {
    font-family:var(--heading);font-size:var(--card-heading);line-height:1.16;letter-spacing:-.028em;font-weight:400;
}
.site-main .studio-card:is(.marketing-card,.comparison-card) > p,
.site-main .studio-card .project-caption p,.site-main .studio-card .journal-copy p,
.site-main .studio-card.proof-card p,.site-main .studio-card .price-description,.site-main .studio-card.document-row > span:not(.document-open) {
    font-size:var(--card-copy);line-height:1.55;
}
.site-main .studio-card.is-featured { border-color:#cfaa84b8; }
.site-main :is(.price-card-grid,.document-card-grid)::before,.site-main :is(.price-card-grid,.document-card-grid)::after { display:none; }
.site-main .studio-card.journal-card { padding:0;overflow:hidden; }
.site-main .studio-card .journal-copy,.site-main .studio-card.proof-card > div,.site-main .studio-card .project-caption { padding:var(--card-padding);margin:0; }
.journal-card:not(.journal-featured) .journal-image img { width:100%;aspect-ratio:2/1;object-fit:cover; }
.journal-card.journal-featured { gap:0; }
.site-main .studio-card.journal-featured h2 { font-size:clamp(26px,2.8vw,40px); }
.studio-card.proof-card img { width:100%;height:auto;aspect-ratio:auto var(--viai-image-ratio,4/3);object-fit:contain; }
.site-main .project-card { padding:0;align-self:stretch;min-width:0; }
.site-main .project-card:not([hidden]) { display:flex; }
.site-main .project-card > .project-surface { display:flex;flex-direction:column;width:100%;min-width:0; }
.site-main .project-card .project-surface .project-plane {
    display:block;flex:none;transform:none;box-shadow:none;border:0;border-radius:var(--card-radius);overflow:hidden;
}
.site-main .project-surface .project-plane img { width:100%;height:auto;aspect-ratio:auto var(--viai-image-ratio,4/3);object-fit:contain; }
.site-main .portfolio-grid .project-plane img { display:block;aspect-ratio:4/3; }
.site-main .project-surface .project-caption { flex:1;align-items:flex-start; }
/* The article stays in place under the cursor. Only the inner glass panel rotates. */
@media(min-width:501px), (hover:hover) {
    .project-card { --project-angle:6deg; }
    .project-card:nth-child(even) { --project-angle:-6deg; }
    .project-surface { transform:perspective(1400px) rotateY(var(--project-angle)) scale(.97);transform-origin:center; }
    .project-card:has(:focus-visible) > .project-surface { transform:perspective(1400px) rotateY(0deg) scale(1); }
}
@media(min-width:801px) {
    .project-card { --project-angle:16deg; }
    .project-card:nth-child(even) { --project-angle:-16deg; }
}
@media(hover:hover) {
    .project-card:hover > .project-surface { transform:perspective(1400px) rotateY(0deg) scale(1); }
}
.site-main .studio-card:focus-within { border-color:#e4bc96; }
@media(hover:hover) {
    .site-main .studio-card:hover { border-color:#d7b18aab;box-shadow:inset 0 1px #ffdbb789,0 8px 28px #050b0c52; }
}
@media(prefers-reduced-motion:no-preference) {
    body:not(.motion-off) .site-main .studio-card { transition:border-color .22s,box-shadow .25s,transform .45s; }
}

@media(hover:hover) {
    .hero-stage .carousel-slides:hover { transform:perspective(1200px) rotateY(0deg) rotateZ(0deg); }
}
.hero-stage .carousel-slides:has(.hero-slide:focus-visible) { transform:perspective(1200px) rotateY(0deg) rotateZ(0deg); }
@media(prefers-reduced-motion:no-preference) {
    body:not(.motion-off) .hero-stage .carousel-slides { transition:transform .45s cubic-bezier(.22,.68,.25,1); }
}

.article-reading > .journal-lead-photo,.article-reading .wp-block-image img {
    display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:var(--card-radius);
}
.article-reading > .journal-lead-photo { margin:0 0 clamp(20px,3vw,38px); }
.article-reading .wp-block-image { margin:clamp(20px,3vw,38px) 0; }
.journal-card.journal-featured:not(:has(.journal-image)) { grid-template-columns:minmax(0,1fr); }
.scene-stack { display:grid;width:100%;aspect-ratio:3/2;position:relative;isolation:isolate; }
.scene-stack .scene-layer { grid-area:1/1;width:100%;height:100%;object-fit:contain;opacity:0;transform:translateY(14px) scale(.97);transition:opacity .45s ease,transform .65s cubic-bezier(.2,.7,.2,1);pointer-events:none;animation:none!important; }
.scene-stack .scene-layer.is-active { opacity:1;transform:translateY(0) scale(1); }
[data-scene-index] { transition:color .25s,background-color .25s;outline-offset:5px; }
[data-scene-index].is-active h3 { color:var(--copper); }
.marketing-story-art:has(.scene-stack) { padding:clamp(12px,2vw,30px); }
.development-hero .development-ring { position:absolute;inset:-10% 0;width:100%;height:120%;pointer-events:none; }
.development-ring .portal-image { width:100%;height:100%;object-fit:contain; }
.development-ring.has-webgl .portal-image { opacity:0; }
.development-ring canvas { position:absolute;inset:0;width:100%;height:100%; }
.development-hero .service-art { width:100%; }
.development-hero .service-art .development-project { position:absolute;left:0;top:0;width:100%;height:100%;border:0;box-shadow:none;transform:none;object-fit:contain;z-index:1; }
@media (prefers-reduced-motion:reduce) { .scene-stack .scene-layer { transition:none;transform:none; } }

/* A soft copper halo follows the four stages of the homepage process. */
.process-rail[data-process-cycle] .process-number {
    isolation:isolate;
    transition:color .7s ease,border-color .7s ease,box-shadow .7s ease;
}
.process-rail[data-process-cycle] .process-number::before {
    content:"";
    position:absolute;
    inset:-25px;
    z-index:-1;
    border-radius:50%;
    pointer-events:none;
    background:radial-gradient(circle,#f0ba8559 0%,#ce865437 32%,#c37c4520 49%,transparent 72%);
    filter:blur(8px);
    opacity:0;
    transform:scale(.8);
    transition:opacity .8s ease,transform 1s ease;
}
.process-rail[data-process-cycle] .is-current .process-number {
    color:#ffe3c9;
    border-color:#f1c396b8;
    box-shadow:inset 0 1px 12px #f3bf8b30,0 0 22px #df9d5b3d;
}
.process-rail[data-process-cycle] .is-current .process-number::before {
    opacity:1;
    transform:scale(1.08);
}
@media(prefers-reduced-motion:reduce) {
    .process-rail[data-process-cycle] .process-number,
    .process-rail[data-process-cycle] .process-number::before { transition:none; }
}
