/* Dexider Studios — Liquid Glass buttons (Nov 4, 2026)
   One button language across the whole site and client portal, modelled on Apple's Liquid Glass:
   - Optical depth: curved-glass shading (bright crown, shaded base), inner caustic glow, contact shadow.
   - Layered refraction: stacked backdrop blurs + saturation; on Chrome/Edge an SVG displacement
     filter (injected by /glass-buttons.js) bends the content behind the glass.
   - Dynamic edge highlights: /glass-buttons.js moves the light source with the pointer, so the bright
     rim and specular hotspot swing toward it. Touch screens get a slow ambient light drift instead.
   Loaded last, so it replaces earlier button finishes. Layout rules stay in liquid-glass.css. */

@font-face{font-family:'Cinzel';src:url('/fonts/cinzel-variable-latin.woff2') format('woff2');font-weight:400 900;font-style:normal;font-display:swap}

/* Outline strength for every button: 1 = super-thin hairline, 0 = no outline. */
:root{--lg-edge:1}
html.lg-no-outline{--lg-edge:0}

@property --lg-hx{syntax:'<percentage>';inherits:false;initial-value:26%}
@property --lg-hy{syntax:'<percentage>';inherits:false;initial-value:14%}
@property --lg-lx{syntax:'<number>';inherits:false;initial-value:-.55}
@property --lg-ly{syntax:'<number>';inherits:false;initial-value:-.8}
@property --lg-spec{syntax:'<number>';inherits:false;initial-value:.26}
@property --lg-glare{syntax:'<number>';inherits:false;initial-value:0}

html :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button
){
 --lg-tint:rgba(70,71,78,.2);
 --lg-rim:rgba(255,255,255,calc(var(--lg-edge,1) * .2));
 --lg-rim2:rgba(255,255,255,calc(var(--lg-edge,1) * .06));
 isolation:isolate;overflow:hidden;
 border-radius:999px!important;
 border:1px solid rgba(255,255,255,calc(var(--lg-edge,1) * .03))!important;
 color:#fff!important;
 font-family:'Cinzel','Trajan Pro',Georgia,serif!important;font-weight:600!important;letter-spacing:.06em;
 justify-content:center!important;text-align:center!important;
 text-shadow:0 1px 1px rgba(0,0,0,.4);
 background:
  radial-gradient(circle 46px at var(--lg-hx) var(--lg-hy),rgba(255,255,255,calc(var(--lg-glare) * .34)),rgba(255,255,255,0) 100%),
  radial-gradient(85% 170% at var(--lg-hx) var(--lg-hy),rgba(255,255,255,var(--lg-spec)),rgba(255,255,255,0) 58%),
  radial-gradient(110% 80% at 50% 130%,rgba(255,255,255,.08),rgba(255,255,255,0) 60%),
  linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.03) 46%,rgba(0,0,0,.14)),
  linear-gradient(var(--lg-tint),var(--lg-tint))!important;
 box-shadow:
  inset calc(var(--lg-lx) * -.6px) calc(var(--lg-ly) * -.6px) 0 0 var(--lg-rim),
  inset calc(var(--lg-lx) * .6px) calc(var(--lg-ly) * .6px) 0 0 var(--lg-rim2),
  inset 0 7px 8px -7px rgba(255,255,255,.3),
  inset 0 -8px 10px -8px rgba(0,0,0,.5),
  0 12px 24px -12px rgba(0,0,0,.6),
  0 1px 3px rgba(0,0,0,.3)!important;
 -webkit-backdrop-filter:blur(3px) saturate(165%) blur(8px) brightness(1.12)!important;
 backdrop-filter:blur(3px) saturate(165%) blur(8px) brightness(1.12)!important;
 filter:none!important;
 transform:perspective(420px) translate3d(var(--lg-tx,0px),var(--lg-ty,0px),0) rotateX(var(--lg-rx,0deg)) rotateY(var(--lg-ry,0deg));
 transition:transform .45s cubic-bezier(.2,.8,.2,1),--lg-spec .3s ease,--lg-glare .3s ease,--lg-hx .18s ease-out,--lg-hy .18s ease-out,--lg-lx .25s ease-out,--lg-ly .25s ease-out!important;
 -webkit-tap-highlight-color:transparent;
}

/* Thin caustic crescent along the lower inner edge, where curved glass focuses light */
html :is(.button,.text-link,.device-option,.device-playback):before{
 content:'';position:absolute;inset:1px;border-radius:inherit;pointer-events:none;z-index:-1;
 background:radial-gradient(50% 30% at 50% 100%,rgba(255,255,255,.12),rgba(255,255,255,0) 70%)!important;
 mix-blend-mode:screen;
}

/* Layered refraction on Chrome / Edge (the filter is injected by glass-buttons.js) */
html.lg-refract :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button
){
 backdrop-filter:url(#dx-lg-refract) blur(2px) saturate(170%) blur(7px) brightness(1.12)!important;
}

/* Hover: the glass lifts and catches more light */
html :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button
):not(:disabled):hover{
 --lg-spec:.36;--lg-glare:1;--lg-rim:rgba(255,255,255,calc(var(--lg-edge,1) * .34));--lg-rim2:rgba(255,255,255,calc(var(--lg-edge,1) * .1));
 transform:perspective(420px) translate3d(var(--lg-tx,0px),calc(var(--lg-ty,0px) - 2px),0) rotateX(var(--lg-rx,0deg)) rotateY(var(--lg-ry,0deg)) scale(1.03);
 transition:transform .12s ease-out,--lg-spec .2s ease,--lg-glare .2s ease,--lg-hx .06s linear,--lg-hy .06s linear,--lg-lx .1s linear,--lg-ly .1s linear!important;
 border-color:rgba(255,255,255,calc(var(--lg-edge,1) * .05))!important;
}
html :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button
):not(:disabled):active{--lg-spec:.2;--lg-glare:1.6;transform:perspective(420px) translate3d(var(--lg-tx,0px),var(--lg-ty,0px),0) rotateX(var(--lg-rx,0deg)) rotateY(var(--lg-ry,0deg)) scale(.97);transition-duration:.08s!important}
html :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button
):focus-visible{outline:2px solid #babec4;outline-offset:4px}

/* On light backgrounds the glass is smoked darker so white text stays readable */
html :is(#inquiry .button,.wp-light .button,main.login .button,.credential-form .button,.gc-promo-light .button,.portal .button,.portal-tabs button){
 --lg-tint:rgba(24,25,29,.74);
}
html :is(.dx-portal .button.secondary,.portal .button.secondary){--lg-tint:rgba(52,54,60,.66)}

/* Selected / pressed states keep the glass and pick up a bright silver rim */
html :is(.device-option.active,.ls-btn[aria-pressed=true],.portal-tabs .active,.portal-tabs button[aria-selected=true]){
 --lg-rim:rgba(226,229,234,calc(.18 + var(--lg-edge,1) * .2));--lg-rim2:rgba(200,205,212,calc(var(--lg-edge,1) * .1));
 border-color:rgba(200,205,212,calc(var(--lg-edge,1) * .12))!important;color:#d2d4d8!important;
}
html .ls-btn.danger{color:#ffc2b8!important}
html :is(.button,.dxp-btn,.ls-btn,.dxt-primary,.dxt-secondary):disabled{opacity:.55;cursor:not-allowed;transform:none}

/* Touch screens: a slow light drift stands in for pointer tracking */
@keyframes dx-lg-drift{
 0%,100%{--lg-hx:22%;--lg-hy:10%;--lg-lx:-.6;--lg-ly:-.8}
 35%{--lg-hx:62%;--lg-hy:4%;--lg-lx:.3;--lg-ly:-.95}
 70%{--lg-hx:84%;--lg-hy:30%;--lg-lx:.8;--lg-ly:-.55}
}
html.lg-ambient :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button
){animation:dx-lg-drift 9s ease-in-out infinite;animation-delay:var(--lg-delay,0s)}

@media(prefers-reduced-motion:reduce){
 html :is(
  .button,.text-link,.device-option,.device-playback,
  .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
  .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
  .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
  .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button
 ){animation:none!important;transition:none!important;transform:none!important}
}

/* Mobile header menu stays a plain icon (it lives inside the frosted header) */
header .menu,header .menu:hover,header .menu:active{background:transparent!important;box-shadow:none!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* Phones: the two hero buttons sit side by side, sized to fit, text centered */
@media(max-width:767px){
 .hb-hero .hb-actions{flex-direction:row!important;flex-wrap:nowrap!important;justify-content:center!important;width:100%!important;max-width:420px!important;padding:0 16px!important;gap:10px!important;margin-top:22px!important}
 html .hb-hero .hb-actions :is(.button,.text-link){flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:44px!important;padding:10px 8px!important;font-size:clamp(10px,2.95vw,12.5px)!important;letter-spacing:.05em!important;white-space:nowrap!important;text-decoration:none!important;border-color:rgba(255,255,255,calc(var(--lg-edge,1) * .03))!important}
}

/* Click ripple: a crisp ring of light spreads from where the glass was pressed (added by glass-buttons.js) */
.lg-ripple{position:absolute;left:0;top:0;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;pointer-events:none;z-index:-1;
 background:radial-gradient(circle,rgba(255,255,255,.45) 0,rgba(255,255,255,.18) 45%,rgba(255,255,255,0) 70%);
 box-shadow:0 0 0 1px rgba(255,255,255,.28);animation:dx-lg-ripple .6s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes dx-lg-ripple{to{transform:scale(28);opacity:0}}
@media(prefers-reduced-motion:reduce){.lg-ripple{display:none}}

/* Cinzel reads small at tiny sizes, so the smallest buttons get a floor */
html :is(.button.small){font-size:max(12px,1em)!important}

/* Service cards: compact "More info" pill (Nov 4, 2026) */
html #services .service-cta.more-info,html .service-list .service-cta.more-info{
 display:inline-flex!important;align-items:center;width:auto!important;
 min-height:32px!important;padding:6px 16px!important;
 font-size:11px!important;letter-spacing:.1em!important;line-height:1.2!important;
}
@media(max-width:767px){html #services .service-cta.more-info,html .service-list .service-cta.more-info{min-height:30px!important;padding:6px 14px!important;font-size:10.5px!important}}

/* ===== HydroGlass finish (Nov 4, 2026) =====
   Clearer, sharper glass modelled on Mark's HydroGlass reference: near-clear body, crisp bright rim,
   a hard-edged gloss across the top half, and a soft light pool along the base.
   Finishes: Crystal (default), Midnight (light backgrounds), Champagne (main calls to action).
   Pointer-tracked highlight from glass-buttons.js still works through --lg-hx/--lg-hy/--lg-spec. */
html :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button,.pk-type .pk-cta
){
 --hg-tint:rgba(255,255,255,.035);
 --hg-gloss:.30;
 --hg-rim:rgba(255,255,255,calc(.12 + var(--lg-edge,1) * .26));
 --hg-rim-lo:rgba(255,255,255,calc(.08 + var(--lg-edge,1) * .14));
 --hg-text:#fff;
 color:var(--hg-text)!important;
 border:0!important;
 text-shadow:0 1px 1px rgba(0,0,0,.35);
 background:
  radial-gradient(circle 40px at var(--lg-hx) var(--lg-hy),rgba(255,255,255,calc(var(--lg-glare) * .28)),rgba(255,255,255,0) 100%),
  linear-gradient(180deg,rgba(255,255,255,calc(var(--hg-gloss) + var(--lg-spec) * .25)) 0%,rgba(255,255,255,calc(var(--hg-gloss) * .35)) 44%,rgba(255,255,255,0) 49%,rgba(255,255,255,0) 100%),
  radial-gradient(70% 55% at 50% 112%,rgba(255,255,255,.20),rgba(255,255,255,0) 72%),
  linear-gradient(var(--hg-tint),var(--hg-tint))!important;
 box-shadow:
  inset 0 0 0 .5px var(--hg-rim),
  inset 0 .5px 0 rgba(255,255,255,.55),
  inset 0 -.5px 0 var(--hg-rim-lo),
  inset 0 -6px 10px -6px rgba(255,255,255,.18),
  0 0 0 .5px rgba(0,0,0,.35),
  0 8px 18px -8px rgba(0,0,0,.65)!important;
 -webkit-backdrop-filter:blur(2px) saturate(150%) brightness(1.06)!important;
 backdrop-filter:blur(2px) saturate(150%) brightness(1.06)!important;
}
html.lg-refract :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button,.pk-type .pk-cta
){backdrop-filter:url(#dx-lg-refract) blur(1.5px) saturate(155%) brightness(1.06)!important}
html :is(.button,.text-link,.device-option,.device-playback):before{opacity:.5}
html :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button
):not(:disabled):hover,html .pk-type:hover .pk-cta{
 --hg-gloss:.40;--hg-tint:rgba(255,255,255,.07);
 --hg-rim:rgba(255,255,255,calc(.2 + var(--lg-edge,1) * .34));
}

/* Champagne: the main call to action in each place */
html :is(.hb-hero .hb-actions .button:not(.text-link),.dxw-hero .dxw-actions .button:not(.text-link),.pk-start,.pk-actions a.button,.pk-type.pk-popular .pk-cta,#contact button[type=submit],#contact .button){
 --hg-tint:linear-gradient(180deg,rgba(188,192,198,.30),rgba(109,117,129,.30));
 --hg-tint:rgba(151,158,167,.26);
 --hg-rim:rgba(232,235,239,calc(.2 + var(--lg-edge,1) * .3));
 --hg-rim-lo:rgba(190,194,200,.28);
 --hg-text:#eff0f2;
}
/* Midnight: on light backgrounds */
html :is(#inquiry .button,.wp-light .button,main.login .button,.credential-form .button,.gc-promo-light .button,.portal .button,.portal-tabs button){
 --hg-tint:rgba(16,31,62,.86);
 --hg-rim:rgba(120,150,200,.55);
 --hg-rim-lo:rgba(170,195,235,.35);
 --hg-gloss:.24;
}
html :is(.dx-portal .button.secondary,.portal .button.secondary){--hg-tint:rgba(52,62,84,.72)}

/* One compact size for every card button: service cards and package cards */
html #services .service-cta,html .service-list .service-cta,html .wp-service-link,html .pk-type .pk-cta{
 display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;
 min-height:32px!important;padding:6px 16px!important;
 font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;
 position:relative;overflow:hidden;border-radius:999px!important;text-transform:none;
}
html #services .wp-service-actions .service-cta{padding-inline:16px!important}
@media(max-width:767px){html #services .service-cta,html .service-list .service-cta,html .wp-service-link,html .pk-type .pk-cta{min-height:30px!important;padding:6px 14px!important;font-size:10.5px!important}}
html body.pk-page .pk-type b>span.pk-cta{color:var(--hg-text)!important}
html body.pk-page .pk-type b{align-items:center}

/* Button lettering: Questrial, matching the hero banner's "Custom Websites • Branding • Apps" line */
@font-face{font-family:'Questrial';src:url('/fonts/questrial-latin-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
html :is(
 .button,.text-link,.device-option,.device-playback,
 .dxp-btn,.dxt-primary,.dxt-secondary,.dxt-close,.ls-btn,
 .service-cta,.wp-service-link,.app-services-cta,.brand-cta,
 .studio-chat-launcher,.studio-chat-close,.back-to-top-badge,
 .portal-tabs button,.dx-portal .button,.pk-actions a.button,#inquiry .button,.pk-type .pk-cta
),html body.pk-page .pk-type b>span.pk-cta{
 font-family:'Questrial','Montserrat',system-ui,sans-serif!important;font-weight:400!important;
 text-transform:uppercase;letter-spacing:.14em!important;
}
html #services .wp-service-actions{align-items:center}
html #services .wp-service-actions>*{flex:0 0 auto}

/* Buttons on white / light backgrounds: black lettering on clear glass (class set by glass-buttons.js) */
html :is(#contact,#inquiry,body) .lg-on-light.lg-on-light,html body.pk-page .pk-type b>span.pk-cta.lg-on-light{
 --hg-tint:rgba(255,255,255,.55);
 --hg-rim:rgba(20,24,32,.22);
 --hg-rim-lo:rgba(20,24,32,.12);
 --hg-gloss:.55;
 --hg-text:#0b0c0f;
 color:#0b0c0f!important;
 text-shadow:0 1px 0 rgba(255,255,255,.6)!important;
}
html :is(#contact,#inquiry,body) .lg-on-light.lg-on-light:is(#contact .button,#contact button[type=submit],.pk-start,.pk-actions a.button){--hg-tint:rgba(198,201,206,.55);--hg-rim:rgba(83,89,97,.35)}
html :is(#contact,#inquiry,body) .lg-on-light.lg-on-light:disabled{color:#0b0c0f!important;opacity:.55}

/* Phones: chat bubble lowered to sit level with the back-to-top button on the opposite side */
@media(max-width:767px){
 html .studio-chat-launcher{bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;right:calc(16px + env(safe-area-inset-right,0px))!important}
}
