/* PHI CODE V3.1 — Mobile app UI; desktop keeps original editorial design. */
.phi-menu-trigger,.phi-tabbar,.phi-drawer:not([open]),.phi-service-open{display:none!important}
.phi-drawer{box-sizing:border-box;color:#eceae3;background:#080d0d;border:1px solid #ffffff24}
.phi-film-progress{position:absolute;bottom:10px;left:12px;right:12px;height:2px;background:#ffffff28;z-index:3;pointer-events:none}.phi-film-progress i{display:block;width:var(--phi-film-progress,0%);height:100%;background:#72cdbb}
.inner-hero-image{overflow:hidden;background-size:cover;background-position:center;isolation:isolate}.inner-hero-image.phi-film-ready{background-image:none!important}.phi-film-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}.inner-hero-image:after{z-index:1;pointer-events:none}.phi-film-frame[hidden]{display:none!important}
/* Visible fallback poster until the sculpture canvas paints a decoded frame. */
#sculpture{background-repeat:no-repeat;background-position:23.5% 52%;background-size:min(45vw,620px) auto}#sculpture[data-frame]{background-image:none!important}
@media(max-width:799px){
 :root{--phi-tab-h:calc(64px + env(safe-area-inset-bottom,0px));--phi-head-h:calc(62px + env(safe-area-inset-top,0px));--phi-edge:clamp(16px,5vw,28px)}
 html{scroll-padding-top:calc(var(--phi-head-h) + 12px);scroll-padding-bottom:calc(var(--phi-tab-h) + 12px)}
 body.phi-enhanced{padding-bottom:var(--phi-tab-h)}
 .phi-enhanced .phi-header{position:fixed!important;top:0;left:0;right:0;width:100%;height:var(--phi-head-h)!important;min-height:0!important;padding:env(safe-area-inset-top,0px) var(--phi-edge) 0!important;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;background:rgba(5,9,9,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid #ffffff1c;z-index:80}
 .phi-enhanced .phi-header>nav,.phi-enhanced .phi-header>#motion,.phi-enhanced .phi-header>.inter-top-cta{display:none!important}
 .phi-header .brand,.phi-header .inter-logo{width:138px!important;max-width:49%;flex:none}.phi-header .brand-logo,.phi-header .inter-logo img{width:100%!important;height:auto!important;max-height:48px;object-fit:contain}
 .phi-enhanced .phi-menu-trigger{display:flex!important;align-items:center;gap:7px;min-height:44px;padding:0 12px;border:1px solid #ffffff26;border-radius:12px;color:#e9e6df;background:#ffffff08;font:500 12px/1.2 Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}.phi-menu-trigger span{margin:0!important;color:inherit!important}.phi-menu-trigger svg{width:19px;height:19px}
 .phi-enhanced .phi-tabbar{position:fixed;bottom:0;left:0;right:0;z-index:81;height:var(--phi-tab-h);padding:4px max(8px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(8px,env(safe-area-inset-left,0px));display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:4px;background:rgba(7,12,12,.96);border-top:1px solid #ffffff24;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
 .phi-tabbar a,.phi-tabbar button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;min-height:48px;color:#c4cbc7;background:none;border:0;border-radius:12px;padding:4px;text-transform:none;font:500 11px/1.2 Arial,sans-serif;letter-spacing:0;cursor:pointer}.phi-tabbar button span{color:inherit;margin:0}.phi-tabbar a[aria-current],.phi-tabbar a[aria-current=location]{color:#82dfcc;background:#72cdbb13}.phi-tabbar a:nth-child(3){color:#e2c486}.phi-tabbar svg{width:22px;height:22px}
 .phi-drawer[open]{display:block;position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 12px);overflow:auto;padding:20px var(--phi-edge) calc(22px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;overscroll-behavior:contain;box-shadow:0 -10px 50px #0009;z-index:100}.phi-drawer::backdrop{background:#000a;backdrop-filter:blur(4px)}.phi-drawer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#72cdbb;font-size:12px;letter-spacing:.12em;text-transform:uppercase;padding-bottom:8px}.phi-drawer button{color:#eceae3;background:#ffffff08;border:1px solid #ffffff25;min-height:44px;min-width:44px;border-radius:12px;padding:10px}.phi-drawer nav{display:grid;gap:0}.phi-drawer nav a,.phi-drawer-services a{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;border-bottom:1px solid #ffffff19;color:#eceae3;font-size:19px;padding:8px 0;letter-spacing:0}.phi-drawer a svg{width:18px;height:18px;color:#c5a05b;flex:none}.phi-drawer-services{margin:16px 0}.phi-drawer-services p{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:#72cdbb;margin:0}.phi-drawer-services a{font-size:15px}.phi-motion-switch{width:100%;text-align:center;font-size:13px}.phi-menu-open{overflow:hidden}
 .phi-enhanced .breadcrumbs{margin-top:var(--phi-head-h);padding:14px var(--phi-edge);font-size:10px;line-height:1.5;gap:8px}.breadcrumbs a{display:inline-flex;align-items:center;min-height:32px}
 /* Viewport-sized art, no minimum 760px or overlapping navigation. */
 .phi-enhanced .sequence{height:calc(150svh - var(--phi-tab-h))}.phi-enhanced .hero{height:calc(100svh - var(--phi-tab-h));min-height:0!important;top:0;overflow:hidden}.phi-enhanced .hero .topline{top:calc(var(--phi-head-h) + 12px)!important;left:var(--phi-edge);right:var(--phi-edge);font-size:9px!important;letter-spacing:.12em!important;justify-content:center;text-align:center}.phi-enhanced .hero .topline span{display:block!important}
 .phi-enhanced .hero .editorial{left:var(--phi-edge)!important;right:var(--phi-edge)!important;width:auto!important;top:max(calc(var(--phi-head-h) + 43px),18%)!important;text-align:center;line-height:1!important}.phi-enhanced .hero .editorial .heading-top{font-size:clamp(35px,9.5vw,65px)!important;text-align:center;padding:0!important}.phi-enhanced .hero .editorial .heading-bottom{font-size:clamp(57px,15vw,98px)!important;text-align:center;line-height:.92!important;margin:4px 0 0!important}
 .phi-enhanced .hero .interaction{top:auto!important;bottom:48px!important;left:var(--phi-edge)!important;right:var(--phi-edge)!important;max-width:none!important;justify-content:center;line-height:1.2!important;font-size:9px!important;letter-spacing:.08em!important}.phi-enhanced .hero .herofoot{bottom:12px!important;left:var(--phi-edge);right:var(--phi-edge);font-size:9px!important;letter-spacing:.06em!important}.herofoot a{min-height:32px}.phi-enhanced #sculpture{background-position:center 72%;background-size:min(100vw,46svh) auto;touch-action:pan-y}.phi-enhanced .hero #loading,.phi-enhanced .hero #error{top:auto;bottom:73px;font-size:11px}
 .phi-enhanced .chapter:not(.services){padding:44px var(--phi-edge) 54px}.phi-enhanced .chapter .section-label{margin-bottom:30px;gap:10px;font-size:9px!important;letter-spacing:.09em!important}.phi-enhanced .direction-grid,.phi-enhanced .process-grid{grid-template-columns:minmax(0,1fr);gap:22px}.phi-enhanced .process-heading{position:relative!important;top:auto!important}.phi-enhanced .compass-film{min-width:0;max-width:100%;margin:0;overflow:hidden}.phi-enhanced .compass-film img{width:100%;height:auto;object-fit:cover}.phi-enhanced .manifesto-strip{flex-wrap:wrap;gap:12px;margin-top:30px}.phi-enhanced .process-step{padding-bottom:28px}.phi-enhanced .contact-routes a,.phi-enhanced .text-link,.phi-enhanced .services-main-button{min-height:48px}
 /* Mobile service cards: actual artwork and visible single linked CTA. */
 .phi-enhanced .services-heading{padding:38px var(--phi-edge) 26px}.phi-enhanced .services-heading .section-intro{display:block}.phi-enhanced .services-heading .section-intro p{margin:15px 0 0}.phi-enhanced .service-list{display:grid;gap:14px;padding:0 var(--phi-edge) 18px}.phi-enhanced .services .service-row{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto auto;align-items:start;gap:12px;min-height:0!important;padding:0 16px 15px;background:#080c0c!important;color:#f0eee8!important;border:1px solid #ffffff18;border-radius:18px;overflow:hidden;--theme-ink:#f0eee8;--theme-muted:#c6cec7;--theme-label:#8be1ce;--theme-accent:#d7b768}.phi-enhanced .services .service-image{position:relative;grid-column:1/-1;grid-row:1;width:calc(100% + 32px);height:auto;aspect-ratio:16/8.3;margin:0 -16px;object-fit:cover;object-position:center;opacity:1!important;transform:none!important;mask-image:none;-webkit-mask-image:none}.phi-enhanced .services .service-number{grid-column:1;grid-row:2;font-size:28px!important;padding-top:2px;color:#9bb2a9}.phi-enhanced .services .service-copy{grid-column:2;grid-row:2;width:100%;padding:0}.phi-enhanced .services .service-copy .eyebrow{font-size:9px!important;letter-spacing:.08em!important;color:#8be1ce}.phi-enhanced .services .service-copy h3{font-size:22px!important;color:#f0eee8!important;margin:6px 0 9px!important;line-height:1.15!important}.phi-enhanced .services .service-copy p{font-size:15px!important;color:#c6cec7!important;margin:0;max-width:none}.phi-enhanced .service-row-link{position:static;grid-column:1/-1;grid-row:3;z-index:5;display:block;padding:0}.phi-enhanced .phi-service-open{display:flex!important;align-items:center;justify-content:space-between;color:#e0c27b;font:500 13px/1.2 Arial,sans-serif;min-height:48px;border:1px solid #c5a05b55;border-radius:11px;padding:0 12px}.phi-enhanced .service-row-link::after{content:'';position:absolute;inset:0;z-index:5}.phi-enhanced .service-row-link:focus-visible{outline:2px solid #72cdbb;outline-offset:3px}.phi-enhanced .service-row-link:focus-visible::after{outline:2px solid #72cdbb;outline-offset:-3px;border-radius:18px}.phi-enhanced .services-cta{padding:24px var(--phi-edge) 34px}
 /* Interior pages: app-like hero and touch-first blocks, preserving page copy. */
 .phi-enhanced .inner-hero{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:30px var(--phi-edge) 32px;min-height:0!important}.phi-enhanced .inner-hero h1{font-size:clamp(34px,9.4vw,61px);line-height:1.08;margin:16px 0 18px;overflow-wrap:normal}.phi-enhanced .inner-hero .lead{font-size:17px;line-height:1.55;margin:0 0 20px}.phi-enhanced .hero-ctas{display:grid;gap:12px;align-items:stretch}.phi-enhanced .cta-gold{min-height:52px;justify-content:space-between;border-radius:12px;gap:10px;padding:14px 16px}.phi-enhanced .text-link-inner{display:flex;min-height:44px;align-items:center;justify-content:center;border:1px solid #72cdbb45;border-radius:12px;padding:10px 12px}.phi-enhanced .inner-hero-image{width:100%;height:auto;aspect-ratio:16/10;min-height:0!important;margin:0;opacity:1;border-radius:16px;mask-image:none;-webkit-mask-image:none;background-position:center}.phi-enhanced .inner-section,.phi-enhanced .inner-cta{padding:44px var(--phi-edge) 52px}.phi-enhanced .inner-section h2,.phi-enhanced .inner-cta h2{font-size:clamp(32px,8.8vw,52px);line-height:1.12;margin:12px 0 19px}.phi-enhanced .inner-section p,.phi-enhanced .inner-cta p{font-size:16px;line-height:1.6}.phi-enhanced .tile-grid,.phi-enhanced .hub-grid,.phi-enhanced .related-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;border:0;margin-top:25px}.phi-enhanced .detail-tile,.phi-enhanced .hub-card,.phi-enhanced .related-card{min-height:0;padding:21px;border:1px solid #8f9a903d!important;border-radius:14px}.phi-enhanced .detail-tile{background:#ffffff05}.phi-enhanced .hub-card:last-child{grid-column:auto}.phi-enhanced .timeline{grid-template-columns:1fr;gap:0;margin-top:24px}.phi-enhanced .timeline article{padding:20px 0!important;border:0;border-bottom:1px solid #a58a5145!important}.phi-enhanced .faq-items summary{min-height:44px;display:flex;align-items:center;font-size:17px}.phi-enhanced .inter-footer{padding:32px var(--phi-edge);grid-template-columns:1fr;gap:16px}.phi-enhanced .inter-footer nav a{display:flex;min-height:44px;align-items:center}.phi-enhanced .related-card strong{margin:16px 35px 0 0}.phi-enhanced .contact-route-list a{min-height:60px}.phi-enhanced .inner-cta .cta-gold{width:min(100%,360px)}
}
@media(max-width:799px) and (max-height:650px){.phi-enhanced .hero .editorial{top:calc(var(--phi-head-h) + 32px)!important}.phi-enhanced .hero .editorial .heading-top{font-size:clamp(30px,8vw,48px)!important}.phi-enhanced .hero .editorial .heading-bottom{font-size:clamp(42px,12vw,75px)!important}.phi-enhanced .hero .interaction{bottom:36px!important}.phi-enhanced .hero .herofoot{bottom:5px!important}}
@media(prefers-reduced-motion:reduce){.phi-film-progress{display:none}.phi-enhanced .hero .editorial span{transform:none!important;opacity:1!important}.phi-enhanced .sequence{height:auto}.phi-enhanced .hero{position:relative}.phi-enhanced .reveal{opacity:1!important;transform:none!important}html{scroll-behavior:auto}}

.phi-film-progress[hidden]{display:none!important}.phi-motion-off .reveal{opacity:1!important;transform:none!important;transition:none!important}.phi-motion-off .service-image,.phi-motion-off .service-row{transition:none!important}
@media(max-width:799px){.phi-enhanced .inner-hero h1{overflow-wrap:anywhere}.phi-enhanced .site-footer{overflow:hidden}.phi-enhanced .chapter .section-label span{min-width:0;overflow-wrap:anywhere}}

/* V3.2: original 16:9 Flow framing, without clipping the sculpture or compass. */
.inner-hero-image.phi-film-complete{height:auto;min-height:0;aspect-ratio:16/9;opacity:1;background-size:contain;background-repeat:no-repeat;mask-image:none;-webkit-mask-image:none;background-color:#080b0b}
.inner-hero-image.phi-film-complete .phi-film-frame{object-fit:contain}
@media(max-width:799px){.phi-enhanced .inner-hero-image.phi-film-complete{aspect-ratio:16/9}}
