/*
ALCHA P2 shared premium treatment. Existing homepage cinematic hero, motion gallery,
app screenshots, light information sections and working navigation are retained.
*/
:root{--alcha-night:#15141d;--alcha-cream:#f4f2ea;--alcha-violet:#c7b2ff;--alcha-muted:#d7d1e2}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header{
 background:rgba(18,18,24,.975);border-bottom:1px solid rgba(255,255,255,.12);
 backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .brand-type{color:var(--alcha-cream)}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .desktop-nav>a,
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .nav-unit>a{color:#f0eee9}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .desktop-nav>a:hover,
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .nav-unit>a:hover{color:var(--alcha-violet)}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .nav-chevron{color:#c0bad8}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .desktop-cta{background:var(--alcha-cream);color:#1b1a26;border-color:transparent;border-radius:999px}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .desktop-cta:hover{background:#fff}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .logo-symbol{filter:none}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .mega-menu{background:#faf9f7;color:#293148}
:is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .site-header .mega-menu a{color:#293148}

/* Dark editorial page intros with subtle imagery from ALCHA-owned applications. */
.p1-products{--alcha-scene:url("/assets/products/retirement-overview.webp")}
.p1-services{--alcha-scene:url("/assets/products/cashflow-overview.webp")}
.p1-about{--alcha-scene:url("/assets/products/trip-overview.webp")}
.p1-page .p1-intro,.p1-page .p1-contact-section{
 background:radial-gradient(ellipse at 58% 55%,rgba(93,66,166,.47),transparent 45%),linear-gradient(126deg,#15141c,#1c192e 57%,#302550)
}
.p1-page .p1-intro:before{
 content:"";position:absolute;inset:-18px;pointer-events:none;z-index:0;
 background:var(--alcha-scene,none) center/cover no-repeat;
 opacity:.105;filter:blur(8px) saturate(.65);transform:scale(1.035)
}
.p1-page .p1-intro-grid{position:relative;z-index:1}
.p1-page .p1-intro h1,.p1-page .p1-contact-copy h1{
 font-family:"DM Sans",Inter,system-ui,sans-serif;font-weight:600;letter-spacing:-.06em
}
.p1-page .p1-intro h1 em,.p1-page .p1-contact-copy h1 em{color:var(--alcha-violet)}
.p1-page .p1-contact-section{position:relative;isolation:isolate;overflow:hidden;min-height:0}
.p1-page .p1-contact-section:before{
 content:"";position:absolute;inset:-22px;z-index:0;pointer-events:none;
 background:url("/assets/products/cashflow-chart.webp") center/cover no-repeat;
 opacity:.065;filter:blur(10px) saturate(.6)
}
.p1-page .p1-contact-grid{position:relative;z-index:1}

/* Product details — dark but compact hero; genuine application screenshots stay light. */
.alcha-product-detail .product-detail-hero,
.alcha-product-detail .product-detail-hero.accent-cyan,
.alcha-product-detail .product-detail-hero.accent-violet,
.alcha-product-detail .product-detail-hero.accent-peach,
.alcha-product-detail .product-detail-hero.accent-sky{
 position:relative;isolation:isolate;overflow:hidden;border-bottom:1px solid #37304b;
 background:radial-gradient(ellipse at 62% 52%,rgba(95,73,168,.48),transparent 45%),linear-gradient(126deg,#15151d 4%,#1d1a30 55%,#312550);
 padding:clamp(46px,5.6vw,78px) 0
}
.alcha-retirement{--alcha-scene:url("/assets/products/retirement-portfolio.webp")}
.alcha-cashflow{--alcha-scene:url("/assets/products/cashflow-chart.webp")}
.alcha-cardperkmeter{--alcha-scene:url("/assets/products/card-value.webp")}
.alcha-trip-canvas{--alcha-scene:url("/assets/products/trip-routes.webp")}
.alcha-product-detail .product-detail-hero:before,
.v4-service-page .service-v4-hero:before{
 content:"";position:absolute;inset:-22px;z-index:0;pointer-events:none;
 background:var(--alcha-scene,none) center/cover no-repeat;
 filter:blur(13px) saturate(.65) brightness(.55);opacity:.22;transform:scale(1.04)
}
.alcha-product-detail .product-detail-hero:after{
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
 background:linear-gradient(90deg,rgba(12,12,23,.4),transparent 78%)
}
.alcha-product-detail .detail-hero-grid{
 position:relative;z-index:1;min-height:0;align-items:center;
 grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(22px,4vw,60px)
}
.alcha-product-detail .detail-hero-copy{min-width:0;padding-bottom:0}
.alcha-product-detail .detail-hero-copy h1{
 font-family:"DM Sans",Inter,system-ui,sans-serif;
 font-size:clamp(2.85rem,5vw,5.1rem);font-weight:600;letter-spacing:-.068em;
 line-height:1.08;margin:18px 0;color:#f8f7f2
}
.alcha-product-detail .detail-hero-copy h2{
 font-size:clamp(1.23rem,1.9vw,1.72rem);font-weight:600;
 line-height:1.34;letter-spacing:-.03em;color:#f1edf9
}
.alcha-product-detail .detail-hero-copy>p{color:var(--alcha-muted);margin-top:18px;line-height:1.73}
.alcha-product-detail .detail-hero-copy .eyebrow{color:var(--alcha-violet)}
.alcha-product-detail .detail-hero-copy .breadcrumb{margin-bottom:22px;color:#c8c0db}
.alcha-product-detail .detail-hero-copy .breadcrumb:hover{color:#fff}
.alcha-product-detail .platform-line{color:#c9c3db}
.alcha-product-detail .detail-actions{margin-top:26px}
.alcha-product-detail .detail-actions .button-primary{
 background:var(--alcha-cream);color:#1b1a26;border-color:transparent;
 border-radius:999px;box-shadow:0 10px 35px rgba(0,0,0,.21)
}
.alcha-product-detail .detail-actions .button-primary:hover{background:#fff}
.alcha-product-detail .detail-hero-media{min-width:0;padding:16px 0}
.alcha-product-detail .detail-hero-media .screenshot-frame{
 width:100%;max-height:420px;transform:rotate(-1.2deg);
 border-color:rgba(255,255,255,.35);box-shadow:0 24px 65px rgba(4,4,15,.4)
}
.alcha-product-detail .detail-hero-media .screenshot-frame img{
 width:100%;height:auto;max-height:390px;object-fit:cover;object-position:top left
}
.alcha-product-detail .detail-hero-media .meal-art{
 width:100%;height:330px;box-shadow:0 24px 55px rgba(4,4,15,.4)
}
.alcha-product-detail .story-grid h2,.alcha-product-detail .gallery-section h2{
 font-family:"DM Sans",Inter,system-ui,sans-serif
}

/* Client-service details share same imagery and contrast, but not tall typography. */
.alcha-service-web{--alcha-scene:url("/assets/products/trip-overview.webp")}
.alcha-service-dashboard{--alcha-scene:url("/assets/products/cashflow-chart.webp")}
.alcha-service-automation{--alcha-scene:url("/assets/products/card-dashboard.webp")}
.v4-service-page .service-v4-hero{
 position:relative;isolation:isolate;overflow:hidden;
 padding:clamp(44px,5.5vw,74px) 0;border-bottom:1px solid #37304b;
 background:radial-gradient(ellipse at 65% 53%,rgba(95,72,164,.47),transparent 45%),linear-gradient(126deg,#15151d,#1d1a30 58%,#302550)
}
.v4-service-page .service-v4-grid{position:relative;z-index:1;min-height:0}
.v4-service-page .service-v4-copy .v4-return{color:#c9c2db;margin-bottom:22px}
.v4-service-page .service-v4-copy .v4-kicker{color:var(--alcha-violet)}
.v4-service-page .service-v4-copy h1{
 color:#f8f7f2;font-family:"DM Sans",Inter,system-ui,sans-serif;
 font-size:clamp(2.55rem,4vw,4.5rem);font-weight:600;letter-spacing:-.06em
}
.v4-service-page .service-v4-copy p{color:var(--alcha-muted);line-height:1.73}
.v4-service-page .service-v4-hero .v4-button-dark{
 background:var(--alcha-cream);color:#1b1a26;border-color:transparent;border-radius:999px;
 box-shadow:0 11px 33px rgba(0,0,0,.2)
}
.v4-service-page .service-v4-hero .v4-button-dark:hover{background:#fff}
.v4-service-page .service-v4-illustration{
 border-color:rgba(255,255,255,.28);box-shadow:0 24px 58px rgba(4,4,15,.4)
}
.v4-service-page .service-v4-flow{border:1px solid rgba(255,255,255,.18);box-shadow:0 24px 58px rgba(4,4,15,.3)}

@media(max-width:760px){
 :is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .mobile-trigger{
  background:transparent;border-color:#5d576f
 }
 :is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .mobile-trigger span{background:#f4f2ec}
 :is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .mobile-panel{background:#1a1923;border-bottom-color:#4e495e}
 :is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .mobile-panel a{color:#f6f2ee}
 :is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .mobile-panel .mobile-sub{color:#c4bed8}
 :is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .mobile-divider{background:#4c475a}
 :is(.immersive-home,.p1-page,.v4-service-page,.alcha-product-detail) .mobile-panel .mobile-cta{background:#6750a9;color:#fff}
 .alcha-product-detail .detail-hero-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .alcha-product-detail .product-detail-hero{padding:43px 0 55px}
 .alcha-product-detail .detail-hero-copy h1{font-size:clamp(2.6rem,8vw,4.15rem)}
 .alcha-product-detail .detail-hero-copy h2{font-size:clamp(1.22rem,4vw,1.55rem)}
 .alcha-product-detail .detail-hero-media{padding:8px 0 0}
 .alcha-product-detail .detail-hero-media .screenshot-frame{width:100%;transform:none}
 .alcha-product-detail .detail-hero-media .screenshot-frame img{max-height:300px}
 .alcha-product-detail .detail-hero-media .meal-art{height:300px}
 .v4-service-page .service-v4-hero{padding:42px 0 54px}
 .v4-service-page .service-v4-illustration{transform:none}
}
@media(max-width:420px){
 .alcha-product-detail .detail-hero-copy h1{font-size:clamp(2.32rem,9.5vw,3.12rem)}
 .alcha-product-detail .detail-hero-media .screenshot-frame img{max-height:260px}
 .alcha-product-detail .detail-hero-media .meal-art{height:270px}
}
@media(prefers-reduced-motion:reduce){
 .alcha-product-detail .detail-hero-media .screenshot-frame,
 .v4-service-page .service-v4-illustration{transform:none}
}
