/* Arsiare v3.3 "Subtle Liquid Glass". Loaded last. Palette unchanged (cream 60 / forest 30 / gold 10).
   One light source (top-left), three glass tiers, readability first:
   - SURFACE  cards and panels      cream .76, blur 16
   - CONTROL  pills, inputs, tabs   cream .88, blur 10 (zero specificity via :where, so later state rules in glass.css still win)
   - FLOATING header, dialogs       cream .84-.92, blur 24
   - DARK     glass over forest (hero buttons)
   Tune everything from the tokens below. Delete this file (and its enqueue in functions.php) to return to 3.2. */
:root{
  --lg-fill:rgba(255,251,238,.76);
  --lg-fill-ctl:rgba(255,251,238,.88);
  --lg-fill-float:rgba(251,244,220,.84);
  --lg-fill-form:rgba(255,253,244,.93);
  --lg-edge:rgba(31,77,52,.12);
  --lg-hi:rgba(255,255,255,.7);
  --lg-sheen:linear-gradient(135deg,rgba(255,255,255,.42) 0%,rgba(255,255,255,0) 38%);
  --lg-shadow:0 8px 24px rgba(20,53,36,.08),0 1px 2px rgba(20,53,36,.05);
  --lg-shadow-hover:0 14px 34px rgba(20,53,36,.12),0 1px 2px rgba(20,53,36,.06);
  --lg-blur:blur(16px) saturate(1.1);
  --lg-blur-ctl:blur(10px) saturate(1.05);
  --lg-blur-float:blur(24px) saturate(1.1);
  --lg-dk-fill:rgba(251,244,220,.10);
  --lg-dk-edge:rgba(251,244,220,.20);
  --lg-dk-hi:rgba(251,244,220,.35);
  --lg-dk-sheen:linear-gradient(135deg,rgba(251,244,220,.16) 0%,rgba(251,244,220,0) 45%);
  --lg-dk-shadow:0 12px 32px rgba(0,0,0,.22);
}

/* ---------- SURFACE: cards, steps, panels ---------- */
html body .card,
html body .step,
html body .panel,
html body .eco-card,
html body .team-card,
html body .tm-card,
html body .pf-card,
html body .pn-card,
html body .pf-facts,
html body .ins-card,
html body .ins-feature,
html body .ih .ih-aside,
html body .ih .ih-card,
html body .ih .ih-cal-box,
html body .ih .ih-empty,
html body .ih .ih-none,
html body .ec .ec-card,
html body .agent-connect,
html body .capability-item{
  background:var(--lg-sheen),var(--lg-fill)!important;
  border:1px solid var(--lg-edge)!important;
  -webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);
  box-shadow:var(--lg-shadow),inset 1px 1px 0 var(--lg-hi)!important;
  color:var(--tx);
}
html body .card:hover,html body .eco-card:hover,html body .ec .ec-card:hover,html body .team-card:hover,html body .pf-card:hover,html body .ih .ih-card:hover,html body .step:hover{
  transform:none;
  border-color:rgba(201,162,39,.5)!important;
  box-shadow:var(--lg-shadow-hover),inset 1px 1px 0 var(--lg-hi)!important;
}

/* ---------- FLOATING: dialogs and the form card (densest, for long reading) ---------- */
html body .tm-dialog,
html body .tm-box,
html body .pf-dlg-in,
html body .lt .lt-formcard{
  background:var(--lg-sheen),var(--lg-fill-form)!important;
  border:1px solid var(--lg-edge)!important;
  -webkit-backdrop-filter:var(--lg-blur-float);backdrop-filter:var(--lg-blur-float);
  box-shadow:var(--lg-shadow),inset 1px 1px 0 var(--lg-hi)!important;
}
html body .site-header{
  background:var(--lg-fill-float)!important;
  -webkit-backdrop-filter:var(--lg-blur-float);backdrop-filter:var(--lg-blur-float);
  border-bottom:1px solid var(--lg-edge)!important;
  box-shadow:inset 0 -1px 0 var(--lg-hi);
}

/* ---------- CONTROL: pills, filters, tabs, chips, form fields ---------- */
:where(
body .ih .ih-card-img,
body .team-avatar.team-photo,
body .tm-photo,
body .pn-mono,
body .tm-m-bio,
body .tm-bio,
body .tm-m-div,
body .tm-cat,
body .b-pilot,
body .b-grant,
body .b-done,
body .b-comm,
body .ins-tag,
body .team-count,
body .tm-count,
body .pf-more,
body .ih .ih-count,
body .ih .ih-input,
body .ih .ih-select,
body .ih .ih-navbtn,
body .lt .lt-input,
body .lt .lt-btn--mail,
body .lt .lt-btn--wa,
body .pf-tabs button,
body .team-filter button,
body .tm-tab,
body .pn-arrows button,
body .tm-x,
body .pf-close,
body .ih .ih-cal-month,
body .ih .ih-cal-btn,
body .ih .ih-pill,
body .lt .lt-pill,
body .lt .lt-back,
body .chip,
body .ins-filter a,
body .ins-pager a,
body .ins-pager .page-numbers,
body .menu-btn,
body .lt .lt-notice,
body .ih .ih-ph,
body .ih .ih-badge,
body .team-avatar.v-a,
body .team-avatar.v-b,
body .team-avatar.v-c,
body .agent-btn
){
  background:var(--lg-fill-ctl)!important;
  border:1px solid var(--lg-edge)!important;
  color:var(--forest)!important;
  -webkit-backdrop-filter:var(--lg-blur-ctl);backdrop-filter:var(--lg-blur-ctl);
  box-shadow:inset 1px 1px 0 var(--lg-hi);
}
html body input:not([type=checkbox]):not([type=radio]),html body select,html body textarea,html body .lt .lt-input,html body .ih .ih-input,html body .ih .ih-select{
  background:var(--lg-fill-form)!important;
  border:1px solid var(--lg-edge)!important;
  color:var(--forest-dk)!important;
}
html body .lang{background:var(--lg-fill-ctl)!important;border:1px solid var(--lg-edge)!important}
html body .btn-line,html body .btn-ghost{background:var(--lg-fill-ctl)!important;border:1px solid var(--lg-edge)!important;box-shadow:inset 1px 1px 0 var(--lg-hi)}
html body .btn-line:hover,html body .btn-ghost:hover{background:rgba(255,251,238,.97)!important;color:var(--forest)!important}

/* ---------- DARK glass over forest: hero buttons ---------- */
html body .hero .btn-ghost,html body .hero-v2 .btn-ghost,html body .cta .btn-ghost,html body .closing-cta .btn-ghost,html body .ih .ih-hero-btn:not(.gold){
  background:var(--lg-dk-fill)!important;
  border:1px solid var(--lg-dk-edge)!important;
  color:var(--cream)!important;
  box-shadow:inset 1px 1px 0 var(--lg-dk-hi);
}
html body .hero .btn-ghost:hover,html body .hero-v2 .btn-ghost:hover,html body .cta .btn-ghost:hover,html body .closing-cta .btn-ghost:hover,html body .ih .ih-hero-btn:not(.gold):hover{background:rgba(251,244,220,.2)!important;color:var(--cream)!important}

/* ---------- Readability safety nets ---------- */
/* Mobile: lighter blur, fewer GPU layers */
@media(max-width:820px){
  :root{--lg-blur:blur(12px) saturate(1.05);--lg-blur-ctl:blur(8px);--lg-blur-float:blur(16px) saturate(1.05)}
}
/* No backdrop-filter support, or the visitor asks for less transparency: solid surfaces */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  :root{--lg-fill:#FFFAEB;--lg-fill-ctl:#FFFCF2;--lg-fill-float:#FBF4DC;--lg-fill-form:#FFFDF6;--lg-dk-fill:rgba(20,53,36,.72)}
}
@media (prefers-reduced-transparency:reduce){
  :root{--lg-fill:#FFFAEB;--lg-fill-ctl:#FFFCF2;--lg-fill-float:#FBF4DC;--lg-fill-form:#FFFDF6;--lg-dk-fill:rgba(20,53,36,.72);--lg-sheen:none;--lg-dk-sheen:none}
  html body *{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
