/* Hotel Espresso — RevPARGenius house theme (formerly "Hotel Espresso").
   Scope: body.bg-13. Load AFTER styles.css, glass.css, bg-variants.css (and site-glass.css / site-effects.css where used).
   Layers: matte espresso base + leather grain · liquid charcoal (behind content, over photos) · solid leather-dark cards with gold top edge · gold-sheen italic accents · assemble-on-scroll. */
body.bg-1 .hero-photo img,body.bg-13x .hero-photo img{filter:saturate(.62) contrast(1.02) brightness(.82) blur(8px)!important;scale:1.06}
body.bg-13{background-color:#14100D}
body.bg-13 .ambient::before{background:radial-gradient(44% 38% at 50% 2%,rgba(217,174,126,.24),transparent 70%),radial-gradient(34% 32% at 92% 12%,rgba(8,5,3,.55),transparent 70%),radial-gradient(40% 40% at 6% 62%,rgba(217,174,126,.08),transparent 70%),#14100D}
body.bg-13 .ambient i:nth-of-type(1){background:radial-gradient(circle,#B8885A,transparent 68%);opacity:.20}
body.bg-13 .ambient i:nth-of-type(2){background:radial-gradient(circle,#0A0705,transparent 68%);opacity:.6}
body.bg-13 .ambient i:nth-of-type(3){background:radial-gradient(circle,#3A2819,transparent 70%);opacity:.5}
body.bg-13 .ambient i:nth-of-type(4){background:radial-gradient(circle,#D9AE7E,transparent 70%);opacity:.07}
body.bg-13{background-color:#120D0A;--gold:#E2BE92;--rose:#C99A94;--champagne:#F1DDBF}
body.bg-13 .ambient::before{background:radial-gradient(60% 32% at 12% 100%,rgba(226,190,146,.20),transparent 70%),radial-gradient(70% 34% at 70% 98%,rgba(201,154,148,.12),transparent 72%),linear-gradient(180deg,#0E0A08 0%,#140F0C 50%,#1E1611 100%)!important;filter:blur(40px)}
body.bg-13 .ambient::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.10;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
body.bg-13 .hero-photo img{filter:saturate(.55) sepia(.12) contrast(1.03) brightness(.8)!important}
body.bg-13 .hero h1,body.bg-13 h2,body.bg-13 h3{font-weight:400!important;letter-spacing:-.025em}
body.bg-13 .hero h1 em,body.bg-13 h2 em{color:#C99A94!important;font-weight:400}
body.bg-13 .hero .eyebrow-line,body.bg-13 .eyebrow{font-size:10.5px;letter-spacing:.3em;font-weight:500;color:#C9B8A6!important}
body.bg-13 .dd-menu a:first-child{color:#E2BE92!important}
body.bg-13 .surface-public .card,body.bg-13 .surface-public .glass,body.bg-13 .surface-public .panel-dark{box-shadow:inset 0 1px 0 rgba(241,221,191,.22),0 1px 2px rgba(0,0,0,.3),0 30px 60px -30px rgba(0,0,0,.7)!important;border-color:rgba(241,221,191,.12)!important}
body.bg-13 .surface-public .glass.stats{border-color:rgba(241,221,191,.16)!important}
body.bg-13 .stat{border-right-color:rgba(226,190,146,.14)}
body.bg-13 .btn{letter-spacing:.06em;font-weight:500}
body.bg-13 .btn-primary,body.bg-13 .surface-public .btn-primary{background:linear-gradient(135deg,#F3D9AE 0%,#D9AE7E 38%,#B98A5C 68%,#A87C55 100%)!important;color:#1A120C!important;border:1px solid rgba(255,236,214,.45)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 28px -10px rgba(226,190,146,.4)!important}
body.bg-13 .btn-primary:hover,body.bg-13 .surface-public .btn-primary:hover{filter:brightness(1.07);transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 14px 34px -10px rgba(226,190,146,.55)!important}
body.bg-13 .btn-ghost,body.bg-13 .btn-dark{border-color:rgba(226,190,146,.35)!important}
body.bg-13 .btn-ghost:hover,body.bg-13 .btn-dark:hover{border-color:#E2BE92!important}
body.bg-13 .nav>a:hover,body.bg-13 .nav>.dd>button:hover{background:transparent!important;box-shadow:inset 0 -1px 0 #E2BE92;border-radius:0!important}
body.bg-13 .num::after{height:1px;background:linear-gradient(90deg,#E2BE92,transparent)}
body.bg-13 .surface-public section+section{border-top:0;position:relative}
body.bg-13 .surface-public section+section:not(.plx)::before{content:"";position:absolute;left:max(28px,calc((100% - 1200px)/2));right:max(28px,calc((100% - 1200px)/2));top:-40px;height:1px;background:linear-gradient(90deg,transparent,rgba(226,190,146,.14) 20%,rgba(226,190,146,.14) 80%,transparent);pointer-events:none}
body.bg-13 .surface-public section+section.sec::before{top:0}
body.bg-13 :focus-visible{outline:2px solid #E2BE92;outline-offset:3px}
@media (prefers-reduced-motion:reduce){body.bg-13 .btn:hover{transform:none}}
body.bg-1 h1 em,body.bg-1 h2 em,body.bg-1 .display em,body.bg-13 h1 em,body.bg-13 h2 em,body.bg-13 .display em{background:linear-gradient(135deg,#E2BE92 0%,#C4965E 40%,#9C7244 75%,#B38A5E 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#C4965E!important;padding-right:.08em}
body.bg-1 .btn-primary,body.bg-1 .surface-public .btn-primary,body.bg-13 .btn-primary,body.bg-13 .surface-public .btn-primary{background:linear-gradient(135deg,#E2BE92 0%,#C4965E 40%,#9C7244 75%,#B38A5E 100%)!important;color:#140D08!important;border:1px solid rgba(255,236,214,.4)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 10px 28px -10px rgba(196,150,94,.45)!important}
body.bg-1 .btn-primary:hover,body.bg-1 .surface-public .btn-primary:hover,body.bg-13 .btn-primary:hover,body.bg-13 .surface-public .btn-primary:hover{filter:brightness(1.08);transform:translateY(-1px)}
body.bg-1 .hero h1,body.bg-13 .hero h1{-webkit-text-stroke:0!important;text-shadow:calc(42px - var(--hp,0)*20px) calc(68px - var(--hp,0)*34px) 28px rgba(59,42,24,.30)!important}
body.bg-1 .hero h1 em,body.bg-13 .hero h1 em{text-shadow:none!important;filter:drop-shadow(calc(42px - var(--hp,0)*20px) calc(68px - var(--hp,0)*34px) 14px rgba(59,42,24,.30))}
body.bg-1 .ambient .vignette,body.bg-13 .ambient .vignette{background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,0) 28%,rgba(0,0,0,0) 58%,rgba(0,0,0,.55) 100%)!important}
body.bg-13 .surface-public .glass.stats{background:rgba(26,20,16,.42)!important;-webkit-backdrop-filter:blur(30px) saturate(1.75)!important;backdrop-filter:blur(30px) saturate(1.75)!important;border:1px solid rgba(255,240,225,.12)!important;box-shadow:inset 0 1px 0 rgba(255,240,220,.1),0 14px 40px -20px rgba(0,0,0,.6)!important}
body.bg-13 .surface-public .glass.stats .stat{background:transparent!important}
body.bg-13 .surface-public .glass.stats{transform:none!important}
body.bg-13 .glass.stats .stat-l{font-size:13px!important;line-height:1.45!important;font-weight:500!important;letter-spacing:.01em!important;color:#DCCFC0!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body.bg-1 .step .c,body.bg-13 .step .c{background:linear-gradient(180deg,#2A1E15 0%,#1E150F 100%)!important;color:#E2BE92!important;border:1px solid rgba(226,190,146,.55)!important;box-shadow:inset 0 0 0 3px #1E150F,inset 0 0 0 4px rgba(226,190,146,.28),inset 0 1px 0 rgba(255,240,220,.10),0 4px 12px -6px rgba(0,0,0,.6)!important;filter:none!important;font-family:'Playfair Display',Georgia,serif!important;font-weight:400!important;font-style:normal;font-variant-numeric:lining-nums;letter-spacing:0;text-shadow:none!important}
body.bg-1 .ev .dot,body.bg-13 .ev .dot{background-image:radial-gradient(circle at 35% 30%,rgba(255,255,255,.28),rgba(255,255,255,0) 55%),linear-gradient(180deg,rgba(255,255,255,0) 40%,rgba(0,0,0,.28))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 1px rgba(0,0,0,.45),0 1px 0 rgba(255,240,220,.06),0 2px 4px rgba(0,0,0,.65)!important;filter:none!important}
body.bg-13 .ambient::before{background:radial-gradient(55% 30% at 10% 96%,rgba(217,174,126,.30),transparent 70%),radial-gradient(70% 34% at 62% 92%,rgba(201,154,148,.18),transparent 72%),radial-gradient(44% 34% at 50% 0%,rgba(217,174,126,.16),transparent 70%),linear-gradient(180deg,#0E0A08 0%,#17100C 30%,#2A1B12 62%,#3A2516 82%,#2B1A10 100%)!important;filter:blur(40px)}
body.bg-13 .ambient i:nth-of-type(1){background:radial-gradient(circle,#C4965E,transparent 68%)!important;opacity:.22!important}
body.bg-13 .ambient i:nth-of-type(2){background:radial-gradient(circle,#6B4423,transparent 68%)!important;opacity:.35!important}
body.bg-13 .ambient i:nth-of-type(3){background:radial-gradient(circle,#C99A94,transparent 70%)!important;opacity:.14!important}
body.bg-13 .ambient i:nth-of-type(4){background:radial-gradient(circle,#E2BE92,transparent 70%)!important;opacity:.10!important}
body.bg-13 .surface-public .card,body.bg-13 .surface-public .glass:not(.stats){background:rgba(22,16,12,.30)!important;-webkit-backdrop-filter:blur(30px) saturate(150%)!important;backdrop-filter:blur(30px) saturate(150%)!important}
body.bg-13 .surface-public .panel-dark,body.bg-13 .surface-public .card.panel{background:rgba(18,12,9,.45)!important}
:is(body.bg-1,body.bg-13,body.bg-16,body.bg-17) .surface-public .btn{text-transform:none!important;letter-spacing:.005em!important;font-weight:600!important;border-radius:999px!important}
:is(body.bg-1,body.bg-13,body.bg-16,body.bg-17) .surface-public .btn-lg{font-size:15px!important}:is(body.bg-1,body.bg-13,body.bg-16,body.bg-17) .surface-public .btn-sm{font-size:13px!important}:is(body.bg-1,body.bg-13,body.bg-16,body.bg-17) .surface-public .btn:not(.btn-lg):not(.btn-sm){font-size:14px!important}
:is(body.bg-1,body.bg-13,body.bg-16) .eyebrow,:is(body.bg-1,body.bg-13,body.bg-16) .hero .eyebrow-line{font-size:11px!important;font-weight:600!important;letter-spacing:.2em!important;text-transform:uppercase;color:#E2BE92!important}
:is(body.bg-1,body.bg-13,body.bg-16) .glass.stats .stat-l{font-size:12.5px!important;font-weight:500!important;letter-spacing:.01em!important;text-transform:none!important;color:#DCCFC0!important}
:is(body.bg-1,body.bg-13,body.bg-16) .ev .dot{background-color:#E2BE92}
:is(body.bg-1,body.bg-13,body.bg-16) .surface-public .card,:is(body.bg-1,body.bg-13,body.bg-16) .surface-public .glass,:is(body.bg-1,body.bg-13,body.bg-16) .surface-public .panel-dark{border-color:rgba(241,221,191,.12)!important;box-shadow:inset 0 1px 0 rgba(241,221,191,.18),0 1px 2px rgba(0,0,0,.3),0 26px 60px -26px rgba(0,0,0,.7)!important}
:is(body.bg-1,body.bg-13,body.bg-16) .bub-q{background:linear-gradient(135deg,#E2BE92 0%,#C4965E 55%,#B38A5E 100%)!important;color:#140D08!important;border:1px solid rgba(255,236,214,.4)!important}
:is(body.bg-1,body.bg-13,body.bg-16) .bub-a{background:rgba(255,240,220,.05)!important;border-color:rgba(241,221,191,.10)!important}
:is(body.bg-1,body.bg-13,body.bg-16) h2 em,:is(body.bg-1,body.bg-13,body.bg-16) h1 em{font-weight:inherit}

/* refined-cards */
/* Hotel Espresso — solid leather-dark cards (live v21 recipe): opaque warm-black slab, soft top lift, hairline, gold top edge, deep float shadow. No live blur on content cards. */
body.bg-13 .surface-public :is(.card,.glass:not(.stats),.panel-dark),body.bg-13 .surface-public .card.panel,body.bg-13 .cta-panel{background:linear-gradient(180deg,rgba(44,33,26,.80) 0%,rgba(32,24,19,.84) 40%,rgba(26,20,16,.88) 100%)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid rgba(255,240,220,.11)!important;border-radius:22px!important;box-shadow:inset 0 1px 0 rgba(255,240,220,.07),0 10px 28px -14px rgba(0,0,0,.45)!important;position:relative;overflow:clip}
body.bg-13 .ambient .vignette{background:none!important}
/* Hotel Espresso background = live Original Espresso (#14100D, gold light from top, rose glint top-right) blended with 1b leather (warm lower glow + grain) */
body.bg-13{background-color:#14100D!important}
body.bg-13 .ambient::before{background:radial-gradient(48% 34% at 50% 0%,rgba(217,174,126,.20),transparent 70%),radial-gradient(34% 30% at 92% 8%,rgba(198,143,140,.10),transparent 70%),radial-gradient(55% 30% at 10% 96%,rgba(217,174,126,.16),transparent 70%),radial-gradient(70% 34% at 62% 94%,rgba(201,154,148,.09),transparent 72%),linear-gradient(180deg,#14100D 0%,#16110D 35%,#1F1610 70%,#1A130E 100%)!important;filter:blur(40px)}
body.bg-13 .ambient i:nth-of-type(1){background:radial-gradient(circle,#B8885A,transparent 68%)!important;opacity:.18!important}
body.bg-13 .ambient i:nth-of-type(2){background:radial-gradient(circle,#4A3020,transparent 68%)!important;opacity:.28!important}
body.bg-13 .ambient i:nth-of-type(3){background:radial-gradient(circle,#C99A94,transparent 70%)!important;opacity:.10!important}
body.bg-13 .ambient i:nth-of-type(4){background:radial-gradient(circle,#D9AE7E,transparent 70%)!important;opacity:.08!important}
body.bg-13 .ambient::after{opacity:.07!important}
/* Hotel Espresso matte: no moving light, no blur — static blended colours + leather grain only */
body.bg-13 .ambient i,body.bg-13 .ambient .breath{display:none!important;animation:none!important}
body.bg-13 .ambient::before{filter:none!important;animation:none!important;transform:none!important}
body.bg-13 .ambient::after{opacity:.12!important;mix-blend-mode:soft-light!important}
/* Hotel Espresso liquid charcoal: thin, light charcoal waves moving constantly, 25px blur — behind cards/text (page layer) and on top of photos (photo overlays) */
@keyframes rq-liquid{0%{background-position:0% 0%,100% 0%,0% 100%}50%{background-position:60% 40%,40% 60%,70% 30%}100%{background-position:0% 0%,100% 0%,0% 100%}}
@keyframes rq-sway{0%,100%{transform:translate3d(0,0,0) rotate(0deg) scale(1.1)}33%{transform:translate3d(-2%,1.5%,0) rotate(1.5deg) scale(1.14)}66%{transform:translate3d(2%,-1%,0) rotate(-1deg) scale(1.12)}}
body.bg-13 .ambient .vignette,body.bg-13 .hero-photo::after,body.bg-13 .plx-img::after,body.bg-13 .post-img::after{content:"";position:absolute;inset:-10%;pointer-events:none;background:repeating-linear-gradient(115deg,rgba(38,35,33,0) 0 60px,rgba(38,35,33,.55) 110px,rgba(38,35,33,0) 170px),repeating-linear-gradient(65deg,rgba(64,60,56,0) 0 90px,rgba(64,60,56,.28) 140px,rgba(64,60,56,0) 210px),radial-gradient(60% 40% at 50% 50%,rgba(22,20,19,.45),transparent 70%)!important;background-size:200% 200%,220% 220%,140% 140%!important;filter:blur(25px)!important;opacity:.55;mix-blend-mode:normal;animation:rq-liquid 26s ease-in-out infinite,rq-sway 18s ease-in-out infinite!important;will-change:transform,background-position}
body.bg-13 .ambient .vignette{z-index:0;opacity:.45}
body.bg-13 .hero-photo::after,body.bg-13 .plx-img::after,body.bg-13 .post-img::after{z-index:1;opacity:.5}
body.bg-13 .post-img{position:relative}
body.bg-13 .post-img img{position:relative;z-index:0}
@media (max-width:768px),(hover:none){body.bg-13 .ambient .vignette,body.bg-13 .hero-photo::after,body.bg-13 .plx-img::after,body.bg-13 .post-img::after{animation:none!important;filter:blur(18px)!important}}
@media (prefers-reduced-motion:reduce){body.bg-13 .ambient .vignette,body.bg-13 .hero-photo::after,body.bg-13 .plx-img::after,body.bg-13 .post-img::after{animation:none!important}}
body.bg-13 .surface-public :is(.card,.glass:not(.stats),.panel-dark)::before,body.bg-13 .cta-panel::before{display:block!important;content:""!important;position:absolute!important;left:0!important;right:0!important;top:0!important;height:1px!important;inset:0 0 auto 0!important;padding:0!important;-webkit-mask:none!important;mask:none!important;background:linear-gradient(90deg,rgba(217,174,126,0) 0%,rgba(217,174,126,.75) 18%,rgba(231,201,162,.35) 55%,rgba(217,174,126,0) 100%)!important;opacity:1!important;z-index:2;pointer-events:none}
body.bg-13 .surface-public :is(.card,.glass,.panel-dark)::after{display:none!important}
body.bg-13 .surface-public .card:hover{border-color:rgba(217,174,126,.22)!important}
/* panel types */
body.bg-13 .surface-public .card.panel:has(.ev){background:linear-gradient(180deg,rgba(34,25,20,.84) 0%,rgba(22,17,13,.9) 100%)!important}
body.bg-13 .surface-public .kpi{background:linear-gradient(180deg,#2A231E 0%,#221C18 100%)!important;border:1px solid rgba(255,240,220,.09)!important;border-radius:18px!important;box-shadow:inset 0 1px 0 rgba(255,240,220,.05),0 10px 24px -8px rgba(0,0,0,.5)!important}
body.bg-13 .surface-public .kv{border-color:rgba(255,240,220,.08)!important}
body.bg-13 .surface-public .signal{background:linear-gradient(180deg,#2A231E 0%,#221C18 100%)!important;border:1px solid rgba(255,240,220,.09)!important;border-radius:18px!important;box-shadow:inset 0 1px 0 rgba(255,240,220,.05),0 10px 24px -8px rgba(0,0,0,.5)!important}
body.bg-13 .surface-public .signal b{color:#D9AE7E!important}
body.bg-13 .surface-public .signal span{color:#E8DED3!important}
body.bg-13 .surface-public :is(.btn-ghost,.btn-dark){background:linear-gradient(180deg,#2A231E 0%,#221C18 100%)!important;border:1px solid rgba(255,240,220,.12)!important;color:#F2EAE1!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:inset 0 1px 0 rgba(255,240,220,.06),0 10px 24px -8px rgba(0,0,0,.5)!important}
body.bg-13 .surface-public :is(.btn-ghost,.btn-dark):hover{border-color:rgba(217,174,126,.35)!important;background:linear-gradient(180deg,#30281F 0%,#261F1A 100%)!important}
body.bg-13 .surface-public .bub-q{background:#15110E!important;color:#EFE6DC!important;border:1px solid rgba(255,240,220,.05)!important;box-shadow:none!important}
body.bg-13 .surface-public .bub-a{background:rgba(52,40,32,.55)!important;color:#F2EAE1!important;border:1px solid rgba(255,240,220,.06)!important;box-shadow:none!important}
body.bg-13 .surface-public .card .n,body.bg-13 .surface-public .chat .mk{color:#D9AE7E!important}
body.bg-13 .surface-public .card p{color:#DCCFC0!important}
@media (prefers-reduced-motion:reduce){body.bg-13 .surface-public .card{transition:none!important}}

/* refined-motion */
/* Hotel Espresso · photo under text: blurred so copy reads cleanly */
body.bg-13 .hero-photo img{filter:blur(7px) saturate(.75) brightness(.85)!important;transform:scale(1.06)}
body.bg-13 .plx-img{filter:blur(3px)}
/* Hotel Espresso · "precision." / italic accents — same light as the Request a Market Analysis button: gold gradient + slow light sweep */
@keyframes rq-sheen{0%{background-position:160% 0,0 0}55%,100%{background-position:-60% 0,0 0}}
body.bg-13 .hero h1 em,body.bg-13 .quote em,body.bg-13 :is(.sh-row,.sh) h2 em{background:linear-gradient(105deg,transparent 35%,rgba(255,246,228,.85) 48%,transparent 60%) no-repeat,linear-gradient(135deg,#F3D9AE 0%,#D9AE7E 38%,#B98A5C 68%,#A87C55 100%)!important;background-size:250% 100%,100% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:rq-sheen 6s ease-in-out 1.2s infinite;padding-right:.06em}
/* Hotel Espresso · assemble on scroll (CSS scroll-driven, no JS): pieces start scattered and lock into place as they enter view */
@keyframes rq-assemble{from{opacity:0;transform:translate3d(var(--ax,0),var(--ay,40px),0) rotate(var(--ar,0deg)) scale(var(--as,.92));filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes rq-rise{from{transform:scaleY(0);opacity:.2}to{transform:scaleY(1);opacity:1}}
@keyframes rq-words{from{opacity:0;letter-spacing:.18em;filter:blur(8px);transform:translateY(24px)}to{opacity:1;letter-spacing:normal;filter:none;transform:none}}
/* scroll progress --p (0 scattered → 1 assembled). Mock drives --p with a tiny rAF scroll script; live site: same keyframes via animation-timeline:view() */
body.bg-13 :is(.kpi,.bcol .v,.ev,.signal,.stat,.kv,.panel-h){--q:calc(1 - var(--p,1));opacity:calc(.0 + var(--p,1));transform:translate3d(calc(var(--ax,0px) * var(--q)),calc(var(--ay,40px) * var(--q)),0) rotate(calc(var(--ar,0deg) * var(--q))) scale(calc(1 - (1 - var(--as,.92)) * var(--q)));filter:blur(calc(10px * var(--q)))}
body.bg-13 .bars .b{transform-origin:50% 100%;transform:scaleY(var(--p,1));opacity:calc(.2 + .8 * var(--p,1))}
body.bg-13 .quote{--q:calc(1 - var(--p,1));opacity:var(--p,1);filter:blur(calc(10px * var(--q)));transform:translateY(calc(50px * var(--q))) scale(calc(1 + .14 * var(--q)));transform-origin:50% 50%;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
body.bg-13 .kpi:nth-child(1){--ax:-120px;--ay:-60px;--ar:-7deg}
body.bg-13 .kpi:nth-child(2){--ax:120px;--ay:-70px;--ar:7deg}
body.bg-13 .kpi:nth-child(3){--ax:-110px;--ay:90px;--ar:6deg}
body.bg-13 .kpi:nth-child(4){--ax:130px;--ay:80px;--ar:-6deg}
body.bg-13 .bcol:nth-child(odd) .v{--ay:-60px}
body.bg-13 .bcol:nth-child(even) .v{--ay:60px}
body.bg-13 .ev:nth-of-type(odd){--ax:-110px;--ay:0px}
body.bg-13 .ev:nth-of-type(even){--ax:110px;--ay:0px}
body.bg-13 .stat:nth-child(n){--ax:0px;--ay:90px;--ar:0deg}
body.bg-13 .glass.stats .stat-n{color:color-mix(in oklab,#F2EAE1 calc(var(--p,1) * 100%),#D9AE7E)!important;-webkit-text-fill-color:currentColor}
body.bg-13 .stat:nth-child(2){--ay:110px}
body.bg-13 .stat:nth-child(3){--ay:130px}
body.bg-13 .stat:nth-child(4){--ay:150px}
body.bg-13 .signal{--ay:90px;--as:.9}
@media (max-width:768px),(hover:none){body.bg-13 .hero h1 em,body.bg-13 .quote em{animation:none}}
@media (prefers-reduced-motion:reduce){body.bg-13 :is(.kpi,.bcol .v,.ev,.signal,.stat,.kv,.panel-h,.bars .b,.quote),body.bg-13 .hero h1 em,body.bg-13 .quote em{animation:none!important;opacity:1!important;transform:none!important;filter:none!important;letter-spacing:normal!important}}
/* site pages: page-hero variants */
body.bg-13 .phero .hero-photo img{filter:blur(7px) saturate(.75) brightness(.85)!important;transform:scale(1.06)}
body.bg-13 .phero h1 em,body.bg-13 .sh h2 em{background:linear-gradient(105deg,transparent 35%,rgba(255,246,228,.85) 48%,transparent 60%) no-repeat,linear-gradient(135deg,#F3D9AE 0%,#D9AE7E 38%,#B98A5C 68%,#A87C55 100%)!important;background-size:250% 100%,100% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:rq-sheen 6s ease-in-out 1.2s infinite;padding-right:.06em}
@media (prefers-reduced-motion:reduce){body.bg-13 .phero h1 em,body.bg-13 .sh h2 em{animation:none}}

/* smoothing for the scroll driver: --p is a typed number so it can ease; defaults to 1 = fully assembled if no JS */
@property --p{syntax:'<number>';inherits:false;initial-value:1}
body.bg-13 :is(.kpi,.bcol .v,.bars .b,.ev,.signal,.stat,.kv,.panel-h,.quote){transition:--p .9s cubic-bezier(.22,.61,.36,1)}
body.bg-13 .glass.stats .stat-n{transition:color .9s ease}
@media (prefers-reduced-motion:reduce){body.bg-13 :is(.kpi,.bcol .v,.bars .b,.ev,.signal,.stat,.kv,.panel-h,.quote){transition:none}}

body.bg-13 .stack>.eyebrow{white-space:nowrap;flex-shrink:0}

/* stacking: ambient always behind page content on any page */
body.bg-13{isolation:isolate}
body.bg-13>.ambient{z-index:-1!important}
body.bg-13 .btn,body.bg-13 .btn:hover{text-decoration:none}

/* lead cards / misc pages */
body.bg-13 .pill{white-space:nowrap}

/* Hotel Espresso · glossy hero banner — glass highlight + slow light sweep over the hero photo (behind text) */
@keyframes he-gloss{0%{transform:translateX(-60%) skewX(-18deg)}55%,100%{transform:translateX(160%) skewX(-18deg)}}
body.bg-13 :is(.phero,.hero) .hero-photo{opacity:.5!important}
body.bg-13 :is(.phero,.hero) .hero-photo img{filter:blur(6px) saturate(.85) contrast(1.14) brightness(.92)!important}
body.bg-13 :is(.phero,.hero) .hero-photo::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;mix-blend-mode:screen;background:linear-gradient(180deg,rgba(255,244,226,.20) 0%,rgba(255,244,226,.06) 22%,transparent 42%),radial-gradient(60% 28% at 50% 8%,rgba(243,217,174,.22),transparent 70%),linear-gradient(100deg,transparent 30%,rgba(255,246,230,.10) 45%,rgba(255,250,240,.24) 50%,rgba(255,246,230,.10) 55%,transparent 70%) 0 0/50% 100% no-repeat;}
body.bg-13 :is(.phero,.hero) .hero-photo .he-gloss,body.bg-13 :is(.phero,.hero) .hero-photo::before{will-change:auto}
body.bg-13 :is(.phero,.hero){--he-sweep:1}
body.bg-13 :is(.phero,.hero) .hero-photo{isolation:isolate}
body.bg-13 :is(.phero,.hero) .hero-photo img{position:relative;z-index:0}
body.bg-13 :is(.phero,.hero) .hero-photo::before{background:linear-gradient(180deg,rgba(255,244,226,.20) 0%,rgba(255,244,226,.06) 22%,transparent 42%),radial-gradient(60% 28% at 50% 8%,rgba(243,217,174,.22),transparent 70%)}
body.bg-13 :is(.phero,.hero)::after{content:"";position:absolute;top:-120px;bottom:0;left:0;width:45%;z-index:-1;pointer-events:none;mix-blend-mode:screen;background:linear-gradient(90deg,transparent,rgba(255,246,230,.07) 35%,rgba(255,250,240,.16) 50%,rgba(255,246,230,.07) 65%,transparent);filter:blur(18px);animation:he-gloss 9s cubic-bezier(.65,0,.35,1) 1.5s infinite}
body.bg-13 :is(.phero,.hero){overflow-x:clip}
@media (max-width:768px),(hover:none){body.bg-13 :is(.phero,.hero)::after{animation:none;opacity:0}}
@media (prefers-reduced-motion:reduce){body.bg-13 :is(.phero,.hero)::after{animation:none;opacity:0}}

/* Hotel Espresso · true gold accents on every public page (match home): no inherited text-shadow muddying the clipped gold */
body.bg-13 :is(h1,h2,h3,.display,.quote) em{background:linear-gradient(105deg,transparent 35%,rgba(255,246,228,.85) 48%,transparent 60%) no-repeat,linear-gradient(135deg,#F3D9AE 0%,#D9AE7E 38%,#B98A5C 68%,#A87C55 100%)!important;background-size:250% 100%,100% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;-webkit-box-decoration-break:clone;box-decoration-break:clone;text-shadow:none!important;filter:drop-shadow(0 10px 22px rgba(0,0,0,.45))!important;animation:rq-sheen 6s ease-in-out 1.2s infinite;padding-right:.06em}
@media (prefers-reduced-motion:reduce){body.bg-13 :is(h1,h2,h3,.display,.quote) em{animation:none}}

/* 14 Oct · match Apps hero on every public page: crisp ivory headline (no gold haze), Apps button recipe */
body.bg-13 :is(.phero,.hero) h1,body.bg-13 .phero h1.display{color:#F2EAE1!important;text-shadow:none!important}
body.bg-13 .btn-lg{height:52px;padding:0 28px;font-size:15px}
body.bg-13 .btn-primary{background:linear-gradient(135deg,#DDB585 0%,#CFA172 38%,#B98A5C 70%,#A87C55 100%)!important;color:#1A120C!important;border:1px solid rgba(255,236,206,.45)!important;box-shadow:inset 0 1px 0 rgba(255,246,230,.32),0 10px 24px -10px rgba(217,174,126,.45)!important}
body.bg-13 .btn-primary:hover{filter:brightness(1.06)}
body.bg-13 :is(.btn-ghost,.btn-dark){background:linear-gradient(180deg,#2A231E 0%,#221C18 100%)!important;color:#F2EAE1!important;border:1px solid rgba(255,240,220,.12)!important;box-shadow:inset 0 1px 0 rgba(255,240,220,.05),0 10px 24px -8px rgba(0,0,0,.5)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.bg-13 :is(.btn-ghost,.btn-dark):hover{border-color:rgba(217,174,126,.35)!important;color:#F2EAE1!important}

/* 14 Oct · Terracotta rose #D38B7E = the one negative / gap figure colour on dark Hotel Espresso (from the Auckland "December gap" card) */
body.bg-13{--negative:#D38B7E;--score-low:#D38B7E;--he-neg:#D38B7E}
body.bg-13 :is(.neg,.dn,.down,.v.neg,.kpi-n.neg,.he-tbl .dn,td.dn){color:#D38B7E!important}
body.bg-13 .he-pill.bad,body.bg-13 .pill.bad,body.bg-13 .pill-bad{color:#D38B7E!important;background:rgba(211,139,126,.10)!important;border-color:rgba(211,139,126,.42)!important}
body.bg-13 .he-banner.bad{background:linear-gradient(180deg,rgba(211,139,126,.10),rgba(211,139,126,.05))!important;border-color:rgba(211,139,126,.34)!important}
body.bg-13 .he-banner.bad svg{color:#D38B7E!important}

/* 15 Oct · header buttons: one height, Apps gold recipe */
body.bg-13 .hd-in .btn-sm{height:38px;min-height:38px;padding:0 18px;font-size:13px;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
body.bg-13 .hd-in .btn-sm.burger{width:38px;padding:0}
body.bg-13 .hd-in .btn-primary{background:linear-gradient(135deg,#DDB585 0%,#CFA172 38%,#B98A5C 70%,#A87C55 100%)!important;color:#1A120C!important;border:1px solid rgba(255,236,206,.45)!important;box-shadow:inset 0 1px 0 rgba(255,246,230,.32),0 8px 20px -10px rgba(217,174,126,.45)!important}
body.bg-13 .hd-in .btn-primary:focus-visible{outline:2px solid #F3D9AE;outline-offset:3px}
body.bg-13 .hd-in .btn-sm.burger{display:none}
@media (max-width:1440px){body.bg-13 .hd-in .btn-sm.burger{display:inline-flex}}

/* 15 Oct · Hotel Espresso background = the dark leather card material (near-black over black pull-up hide, thin gold-glass light from the top) */
html:has(body.bg-13){background:#070504!important}
html body.bg-13{background:radial-gradient(60% 16% at 22% 0%,rgba(255,236,210,.16),transparent 70%),linear-gradient(155deg,rgba(226,190,146,.14) 0%,rgba(255,244,230,.07) 8%,rgba(255,255,255,0) 30%,rgba(255,255,255,0) 72%,rgba(226,190,146,.06) 100%),linear-gradient(180deg,rgba(11,9,8,.93) 0%,rgba(7,6,5,.96) 60%,rgba(5,4,3,.98) 100%),url("images/leather/black.png") center/cover fixed,#070504!important;background-attachment:fixed!important}
html body.bg-13 .ambient{display:none!important}

/* 15 Oct · header: labels never wrap; links collapse to the menu button at ≤1440px on every page (home included) */
.hd .nav>a,.hd .nav>.dd>button{white-space:nowrap}
@media (max-width:1440px){.hd .nav{display:none!important}.hd-in .btn-sm.burger,body.bg-13 .hd-in .btn-sm.burger{display:inline-flex!important}}
@media (min-width:1441px){.hd-in .btn-sm.burger{display:none!important}}

/* 15 Oct · closing CTA panel = the Espresso leather card (black hide, near-black veil, thin gold-glass rim) */
html body.bg-13 .surface-public .panel-dark.cta-panel{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,rgba(11,9,8,.93) 0%,rgba(7,6,5,.96) 60%,rgba(5,4,3,.98) 100%),url("images/leather/black.png") center/cover,#070504!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:0!important;border-radius:30px!important;box-shadow:0 0 0 1px rgba(226,190,146,.16),0 2px 4px rgba(0,0,0,.4),0 40px 90px -30px rgba(0,0,0,.85)!important}
html body.bg-13 .surface-public .panel-dark.cta-panel::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:.9;display:block!important;background:linear-gradient(155deg,rgba(226,190,146,.14) 0%,rgba(255,244,230,.07) 8%,rgba(255,255,255,0) 30%,rgba(255,255,255,0) 72%,rgba(226,190,146,.06) 100%),radial-gradient(60% 16% at 22% 0%,rgba(255,236,210,.16),transparent 70%)!important;box-shadow:inset 0 1px 0 rgba(255,236,210,.28),inset 0 -1px 0 rgba(0,0,0,.4)!important}
html body.bg-13 .surface-public .panel-dark.cta-panel::after{display:none!important}

/* 15 Oct · KPI tiles: solid leather, no glass (no sheen, no rim highlight, no blur) */
html body.bg-13 .surface-public .kpis .kpi{background:linear-gradient(180deg,rgba(24,19,16,.9) 0%,rgba(16,13,11,.94) 100%),url("images/leather/black.png") center/cover,#120E0B!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid rgba(226,190,146,.14)!important;border-radius:18px!important;box-shadow:0 1px 2px rgba(0,0,0,.45),0 14px 28px -18px rgba(0,0,0,.8)!important}
html body.bg-13 .surface-public .kpis .kpi::before,html body.bg-13 .surface-public .kpis .kpi::after{display:none!important}

/* 15 Oct · all small cards = solid leather tile (same as KPI tiles) */
html body.bg-13 .surface-public :is(.kpis .kpi,.signal,.kpi-sm,.mini,.stat-card,.ev,.bub-a,.chip-card,.step .card,.feat-mini,.tile){background:linear-gradient(180deg,rgba(24,19,16,.9) 0%,rgba(16,13,11,.94) 100%),url("images/leather/black.png") center/cover,#120E0B!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid rgba(226,190,146,.14)!important;box-shadow:0 1px 2px rgba(0,0,0,.45),0 14px 28px -18px rgba(0,0,0,.8)!important}
html body.bg-13 .surface-public :is(.signal,.kpi-sm,.mini,.stat-card,.ev,.bub-a,.chip-card,.step .card,.feat-mini,.tile)::before,html body.bg-13 .surface-public :is(.signal,.kpi-sm,.mini,.stat-card,.ev,.bub-a,.chip-card,.step .card,.feat-mini,.tile)::after{display:none!important}

/* 15 Oct · stats strip = exact menu-bar glass recipe */
html body.bg-13 .surface-public .glass.stats{background:rgba(26,20,16,.42)!important;background-image:none!important;-webkit-backdrop-filter:blur(30px) saturate(1.75)!important;backdrop-filter:blur(30px) saturate(1.75)!important;border:1px solid rgba(255,240,225,.12)!important;box-shadow:inset 0 1px 0 rgba(255,240,220,.1),0 14px 40px -20px rgba(0,0,0,.6)!important}
html body.bg-13 .surface-public .glass.stats::before,html body.bg-13 .surface-public .glass.stats::after{display:none!important}
@media (prefers-reduced-transparency:reduce){html body.bg-13 .surface-public .glass.stats{background:#1A1410!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}

/* 15 Oct · Motion: continuous parallax, alternating per section (replaces the scatter-assemble "deck" effect). CSS scroll-driven, uses the independent translate/scale properties so nothing fights existing transforms. */
body.bg-13 :is(.kpi,.bcol .v,.ev,.signal,.stat,.kv,.panel-h,.quote){opacity:1!important;filter:none!important;transform:none!important;transition:none!important}
body.bg-13 .bars .b{transform:none!important;opacity:1!important}
@supports (animation-timeline:view()){
@media (prefers-reduced-motion:no-preference){
@keyframes px-slow{from{translate:0 70px}to{translate:0 -70px}}
@keyframes px-fast{from{translate:0 140px}to{translate:0 -140px}}
@keyframes px-l{from{translate:-48px 60px}to{translate:24px -60px}}
@keyframes px-r{from{translate:48px 60px}to{translate:-24px -60px}}
@keyframes px-img{from{translate:0 -9%;scale:1.18}to{translate:0 9%;scale:1.18}}
@keyframes px-head{from{translate:0 0;opacity:.35}35%{opacity:1}to{translate:0 -16px;opacity:1}}
@keyframes px-bar{from{scale:1 .25}45%{scale:1 1}to{scale:1 1}}
@keyframes px-quote{from{translate:0 90px;letter-spacing:.04em}to{translate:0 -60px;letter-spacing:0}}
body.bg-13 .surface-public :is(.feat,.sh-row,.kpi,.signal,.ev,.post-img img,.plx-img,h2.display,.quote,.bars .b,.glass.stats .stat){animation-timeline:view();animation-fill-mode:both;animation-timing-function:linear;animation-range:cover 0% cover 100%}
/* section rhythm: odd features drift in from the left, reversed features from the right; panel and copy travel at different depths */
body.bg-13 .surface-public .feat:not(.rev)>.card.panel{animation:px-l linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
body.bg-13 .surface-public .feat.rev>.card.panel{animation:px-r linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
body.bg-13 .surface-public .feat>.feat-copy{animation:px-slow linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
/* KPI tiles: three depths, staggered */
body.bg-13 .surface-public .kpis .kpi:nth-child(odd){animation:px-slow linear both;animation-timeline:view()}
body.bg-13 .surface-public .kpis .kpi:nth-child(even){animation:px-fast linear both;animation-timeline:view()}
body.bg-13 .surface-public :is(.signal,.ev:nth-child(even)){animation:px-slow linear both;animation-timeline:view()}
/* photos move inside their frames */
body.bg-13 .surface-public :is(.post-img img,.plx-img){animation:px-img linear both;animation-timeline:view()}
/* headlines rise and settle; quote eases its tracking */
body.bg-13 .surface-public h2.display:not(.feat-copy h2){animation:px-head linear both;animation-timeline:view();animation-range:entry 0% cover 55%}
body.bg-13 .surface-public .quote{animation:px-quote linear both;animation-timeline:view()}
/* chart bars grow with scroll */
body.bg-13 .surface-public .bars .b{transform-origin:50% 100%;animation:px-bar linear both;animation-timeline:view();animation-range:entry 0% cover 50%}
/* stats strip: each figure a different depth */
body.bg-13 .surface-public .glass.stats .stat:nth-child(1){animation:px-slow linear both;animation-timeline:view()}
body.bg-13 .surface-public .glass.stats .stat:nth-child(3){animation:px-slow linear both;animation-timeline:view()}
/* phones: half the travel, no image zoom */
@media (max-width:768px){
@keyframes px-slow{from{translate:0 30px}to{translate:0 -30px}}
@keyframes px-fast{from{translate:0 56px}to{translate:0 -56px}}
@keyframes px-l{from{translate:0 40px}to{translate:0 -40px}}
@keyframes px-r{from{translate:0 40px}to{translate:0 -40px}}
@keyframes px-img{from{translate:0 -4%;scale:1.08}to{translate:0 4%;scale:1.08}}
}
}}


/* 16 Oct · Apps on the website shell (AI Visibility app, Customer app): leather background is inherited from body.bg-13; nav/header/sidebar = translucent glass like the menu bar; everything inside <main> = solid leather (no glass-on-glass) */
html body.bg-13 #root :is(header,nav,aside).glass,html body.bg-13 .surface-app header{background:rgba(26,20,16,.42)!important;background-image:none!important;-webkit-backdrop-filter:blur(30px) saturate(1.75)!important;backdrop-filter:blur(30px) saturate(1.75)!important;border-color:rgba(255,240,225,.12)!important}
@media (prefers-reduced-transparency:reduce){html body.bg-13 #root :is(header,nav,aside).glass{background:#1A1410!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
html body.bg-13 :is(main:not(.surface-public *),.surface-app) :is(.card,.glass,.panel,.panel-dark):not(.stats){position:relative;background:linear-gradient(180deg,rgba(24,19,16,.9) 0%,rgba(16,13,11,.94) 100%),url("images/leather/black.png") center/cover,#120E0B!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid rgba(226,190,146,.14)!important;box-shadow:0 1px 2px rgba(0,0,0,.45),0 14px 28px -18px rgba(0,0,0,.8)!important;border-radius:var(--r-lg,18px)}
html body.bg-13 :is(main:not(.surface-public *),.surface-app) :is(.card,.glass,.panel,.panel-dark):not(.stats)::before{content:"";position:absolute;inset:0 0 auto 0;height:1px;pointer-events:none;z-index:2;background:linear-gradient(90deg,rgba(226,190,146,0) 0%,rgba(226,190,146,.75) 18%,rgba(231,201,162,.35) 55%,rgba(226,190,146,0) 100%);display:block!important}
html body.bg-13 :is(main:not(.surface-public *),.surface-app) :is(.card,.glass,.panel,.panel-dark):not(.stats)::after{display:none!important}
html body.bg-13 :is(main:not(.surface-public *),.surface-app) :is(.card,.glass,.panel) :is(.card,.glass,.panel){background:linear-gradient(180deg,rgba(24,19,16,.55) 0%,rgba(16,13,11,.7) 100%),url("images/leather/black.png") center/cover,#120E0B!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid rgba(226,190,146,.14)!important;box-shadow:0 1px 2px rgba(0,0,0,.45),0 14px 28px -18px rgba(0,0,0,.8)!important}
html body.bg-13 :is(main:not(.surface-public *),.surface-app) :is(.card,.glass,.panel) :is(.card,.glass,.panel)::before{display:none!important}
html body.bg-13 :is(main:not(.surface-public *),.surface-app) :is(.card,.glass,.panel):hover{border-color:rgba(226,190,146,.26)!important}
