/* ============================================================================
   WOLF HACK ACADEMY · BRAND SYSTEM V3
   Global visual homology layer — derived from the official faceted wolf logo.
   Palette: void / midnight / cobalt / electric blue / cyan / silver / white.
   This file intentionally loads LAST on every public HTML document.
   ============================================================================ */

:root{
  --wha-v3-void:#01040c;
  --wha-v3-void-2:#010615;
  --wha-v3-midnight:#020b21;
  --wha-v3-navy:#001243;
  --wha-v3-navy-2:#00165c;
  --wha-v3-blue-deep:#00299b;
  --wha-v3-blue:#003fcc;
  --wha-v3-electric:#005eec;
  --wha-v3-cyan:#26c0f0;
  --wha-v3-cyan-hi:#59dcff;
  --wha-v3-silver:#cbd3df;
  --wha-v3-white:#f6f8fa;
  --wha-v3-steel:#486794;
  --wha-v3-line:rgba(91,176,255,.20);
  --wha-v3-line-strong:rgba(61,193,255,.42);
  --wha-v3-panel:rgba(4,17,42,.82);
  --wha-v3-panel-2:rgba(4,25,63,.82);
  --wha-v3-glass:rgba(6,25,58,.72);
  --wha-v3-shadow:0 24px 70px rgba(0,0,0,.40);
  --wha-v3-glow:0 0 0 1px rgba(38,192,240,.14),0 18px 56px rgba(0,94,236,.16);
  --wha-v3-radius:18px;
  --wha-v3-radius-lg:26px;

  /* Canonical aliases used by the legacy WHA design system. */
  --wha-void:var(--wha-v3-void);
  --wha-navy-975:var(--wha-v3-void-2);
  --wha-navy-950:var(--wha-v3-midnight);
  --wha-navy-900:var(--wha-v3-navy);
  --wha-navy-850:#031a52;
  --wha-navy-800:var(--wha-v3-navy-2);
  --wha-navy-700:#07368d;
  --wha-blue-700:var(--wha-v3-blue-deep);
  --wha-blue-600:var(--wha-v3-blue);
  --wha-blue-500:var(--wha-v3-electric);
  --wha-blue-400:#168dff;
  --wha-cyan-500:var(--wha-v3-cyan);
  --wha-cyan-300:#75e5ff;
  --wha-cyan-100:#dff8ff;
  --command-navy:var(--wha-v3-white);
  --deep-navy:var(--wha-v3-navy);
  --technical-blue:var(--wha-v3-electric);
  --electric-blue:var(--wha-v3-electric);
  --electric-blue-2:var(--wha-v3-blue);
  --signal-blue:#1c94ff;
  --cyan:var(--wha-v3-cyan);
  --cyan-soft:#7fe7ff;
  --graphite:#d9e5f2;
  --steel:#9bb1c7;
  --steel-light:#b8c9d8;
  --titanium:var(--wha-v3-silver);
  --muted:#9ab0c6;
  --line:var(--wha-v3-line);
  --line-strong:var(--wha-v3-line-strong);
  --cold-white:var(--wha-v3-void-2);
  --white:var(--wha-v3-white);
  --ice:#031129;
  --ice-2:#041a3d;
  --soft-steel:#0b2a58;
  --text-strong:var(--wha-v3-white);
  --text-soft:#9eb6ce;
  --surface-panel:linear-gradient(180deg,rgba(6,28,66,.94),rgba(2,14,36,.96));
  --surface-premium-light:linear-gradient(180deg,rgba(7,31,72,.92),rgba(2,14,35,.96));
  --surface-premium-dark:linear-gradient(155deg,#010615 0%,#001243 48%,#00299b 100%);
  --surface-command:linear-gradient(145deg,#010615,#00165c);
  --surface-metal:linear-gradient(145deg,#0a2558,#031129);
  --surface-glass:rgba(4,22,52,.88);
  --border-tech:rgba(67,164,255,.22);
  --border-tech-strong:rgba(57,203,255,.40);
  --border-cyan:rgba(38,192,240,.46);
  --shadow-xs:0 3px 16px rgba(0,0,0,.24);
  --shadow-soft:0 12px 38px rgba(0,0,0,.28);
  --shadow:var(--wha-v3-shadow);
  --shadow-blue:0 20px 58px rgba(0,94,236,.24);
  --shadow-float:0 34px 90px rgba(0,0,0,.46),0 10px 28px rgba(0,94,236,.14);
  --shadow-command:0 30px 84px rgba(0,0,0,.55);
  --focus-ring:0 0 0 4px rgba(38,192,240,.20);
}

html{
  background:var(--wha-v3-void)!important;
  color-scheme:dark;
  scrollbar-color:#0b67df #010615;
}
body,
body.algiz-v3,
body.wha-home-rebuild{
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(circle at var(--wha-pointer-x,82%) var(--wha-pointer-y,4%),rgba(0,94,236,.14),transparent 22rem),
    radial-gradient(circle at 8% 34%,rgba(38,192,240,.07),transparent 28rem),
    linear-gradient(180deg,#01040c 0%,#020b21 42%,#010615 100%)!important;
  color:var(--wha-v3-white)!important;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  pointer-events:none;
  opacity:.34;
  background-image:
    linear-gradient(rgba(54,145,255,.052) 1px,transparent 1px),
    linear-gradient(90deg,rgba(54,145,255,.052) 1px,transparent 1px);
  background-size:54px 54px;
  mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.78) 38%,transparent 96%);
}
body::after{
  content:"";
  position:fixed;
  width:44vw;
  height:44vw;
  min-width:420px;
  min-height:420px;
  right:-18vw;
  bottom:-22vw;
  z-index:-2;
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(circle,rgba(0,94,236,.10),rgba(38,192,240,.035) 42%,transparent 70%);
  filter:blur(8px);
}
main{position:relative;z-index:1;background:transparent!important}
::selection{background:rgba(38,192,240,.30)!important;color:#fff!important}
:focus-visible{outline-color:var(--wha-v3-cyan)!important}

/* ----------------------------- TYPE SYSTEM -------------------------------- */
h1,h2,h3,h4,h5,h6,
.algiz-title,.p2-title,.p3-title,.p4-title,.p5-title,
.cert-f3-title,.web-hero h1,.public-hero h1,.archive-hero h1,
.evidence-hero h1,.tool-hero h1,.lab-hero h1,.simulator-hero h1,.contact-hero h1{
  color:var(--wha-v3-white)!important;
  text-shadow:0 10px 36px rgba(0,0,0,.24);
}
h1,
.public-hero h1,
.cert-f3-hero h1,
.web-hero h1,
.archive-hero h1,
.evidence-hero h1,
.tool-hero h1,
.lab-hero h1,
.simulator-hero h1,
.contact-hero h1,
.algiz-hero h1{
  font-size:clamp(2.25rem,4.1vw,3.9rem)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
}
h2,
.algiz-section h2,
.p2-title,.p3-title,.p4-title,.p5-title{
  font-size:clamp(1.72rem,2.8vw,2.72rem)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
h3{font-size:clamp(1.17rem,1.65vw,1.58rem)!important;letter-spacing:-.025em!important}
h4{font-size:clamp(1rem,1.25vw,1.22rem)!important}
p,.lead,.subtitle,.algiz-lead,.p2-copy,.p3-copy,.p4-copy,.p5-copy,
.cert-f3-copy p,.hero-lead,.article-copy,.small,.text-muted{
  color:#9eb6ce!important;
}
strong,b{color:#f6f8fa}
a{transition:color .18s ease,border-color .18s ease,background .18s ease,transform .18s ease}
.eyebrow,.section-index,.breadcrumb,.algiz-kicker,.p2-kicker,.p3-kicker,.p4-kicker,.p5-kicker,
.hero-kicker,.cert-f3-kicker,.public-chip-row span,code{
  color:var(--wha-v3-cyan)!important;
}
.section-index strong,.breadcrumb a{color:#fff!important}

/* ------------------------------ GLOBAL SECTIONS --------------------------- */
.section,
.section-ice,
.section-dark,
.page-hero,
.public-hero,
.p2-section,.p3-section,.p4-section,.p5-section,
.cert-f3-section,
.archive-section,
.evidence-section,
.article-section,
.algiz-section,
.algiz-light,.algiz-ice,.algiz-dark{
  position:relative;
  background:
    radial-gradient(circle at 88% 8%,rgba(0,94,236,.10),transparent 23rem),
    linear-gradient(180deg,rgba(2,11,33,.98),rgba(1,6,21,.98))!important;
  color:var(--wha-v3-white)!important;
  border-color:var(--wha-v3-line)!important;
}
.section:nth-of-type(even),
.p2-section:nth-of-type(even),.p3-section:nth-of-type(even),.p4-section:nth-of-type(even),.p5-section:nth-of-type(even),
.algiz-section:nth-of-type(even){
  background:
    radial-gradient(circle at 8% 12%,rgba(38,192,240,.055),transparent 24rem),
    linear-gradient(180deg,#031129,#020b21)!important;
}
.section::before,
.p2-section::before,.p3-section::before,.p4-section::before,.p5-section::before,
.algiz-section::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(38,192,240,.24),rgba(0,94,236,.54),transparent);
  pointer-events:none;
}

/* ------------------------------ HERO HOMOLOGY ----------------------------- */
:is(.page-hero,.public-hero,.archive-hero,.evidence-hero,.cert-f3-hero,.tool-hero,.simulator-hero,.lab-hero,.contact-hero,.web-hero,.algiz-hero){
  position:relative!important;
  overflow:hidden!important;
  background:
    linear-gradient(90deg,rgba(1,4,12,.98) 0%,rgba(2,11,33,.96) 48%,rgba(0,18,67,.90) 100%),
    radial-gradient(circle at 82% 30%,rgba(0,94,236,.28),transparent 28rem)!important;
  border-bottom:1px solid rgba(38,192,240,.24)!important;
  color:#fff!important;
}
:is(.page-hero,.public-hero,.archive-hero,.evidence-hero,.cert-f3-hero,.tool-hero,.simulator-hero,.lab-hero,.contact-hero,.web-hero,.algiz-hero)::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(38,192,240,.040) 1px,transparent 1px),
    linear-gradient(90deg,rgba(38,192,240,.040) 1px,transparent 1px);
  background-size:46px 46px;
  mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.88) 56%,transparent 100%);
  animation:wha-v3-grid-drift 24s linear infinite;
}
:is(.page-hero,.public-hero,.archive-hero,.evidence-hero,.cert-f3-hero,.tool-hero,.simulator-hero,.lab-hero,.contact-hero,.web-hero,.algiz-hero)::after{
  content:"";
  position:absolute;
  right:clamp(-4rem,1vw,1rem);
  top:50%;
  width:min(38vw,500px);
  aspect-ratio:1;
  transform:translateY(-48%);
  background:url('../images/brand/wha-wolf-mark-v3.png') center/contain no-repeat;
  opacity:.11;
  filter:drop-shadow(0 0 42px rgba(0,94,236,.34));
  pointer-events:none;
  animation:wha-v3-mark-breathe 7s ease-in-out infinite;
}
:is(.public-hero-grid,.cert-f3-hero-grid,.web-hero-grid,.algiz-hero__shell,.editorial,.container,.p2-inner,.p3-inner,.p4-inner,.p5-shell){position:relative;z-index:1}
.public-hero-visual,.cert-f3-visual,.hero-visual,.algiz-hero__visual{z-index:2}

/* ------------------------------ PANELS / CARDS ---------------------------- */
:is(
  .card,.fcard,.mcard,.audcard,.certcard,.contactcard,.article-card,.premium-cap-card,
  [class$="-card"],[class*="-card "],
  .p2-console,.p3-console,.p4-console,.p5-console,
  .cert-f3-data-panel,.cert-f3-focus,.cert-f3-profile,.cert-f3-route-map,.cert-f3-evidence,
  .no-future-date,.metric-strip,.trust-strip,.hero-facts,.hero-fact,
  .process-step,.cstep,.experience-item,.trust-item,.p5-matrix-card,.p5-boundary-item,
  .resource-integrity-v14,.tech-frame,.wha-evidence-frame,.cert-summary,.lab-facts,
  .contact-form-wrap,.login-box,.table-scroll
){
  background:
    linear-gradient(145deg,rgba(8,33,76,.88),rgba(2,13,34,.96))!important;
  color:#eef6ff!important;
  border:1px solid rgba(64,167,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 18px 52px rgba(0,0,0,.26)!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
:is([class$="-card"],[class*="-card "],.card,.fcard,.mcard,.audcard,.certcard,.p2-console,.p5-matrix-card,.process-step,.cstep){
  position:relative;
  overflow:hidden;
  border-radius:var(--wha-v3-radius)!important;
}
:is([class$="-card"],[class*="-card "],.card,.fcard,.mcard,.audcard,.certcard,.p2-console,.p5-matrix-card,.process-step,.cstep)::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(112deg,transparent 0 52%,rgba(38,192,240,.075) 64%,transparent 78%);
  transform:translateX(-28%);
  transition:opacity .28s ease,transform .7s cubic-bezier(.2,.8,.2,1);
}
:is([class$="-card"],[class*="-card "],.card,.fcard,.mcard,.audcard,.certcard,.p2-console,.p5-matrix-card,.process-step,.cstep):hover{
  border-color:rgba(38,192,240,.46)!important;
  box-shadow:0 24px 64px rgba(0,0,0,.34),0 0 0 1px rgba(0,94,236,.14),0 0 40px rgba(0,94,236,.08)!important;
}
:is([class$="-card"],[class*="-card "],.card,.fcard,.mcard,.audcard,.certcard,.p2-console,.p5-matrix-card,.process-step,.cstep):hover::before{opacity:1;transform:translateX(24%)}

/* cards whose legacy backgrounds were hard white */
:is(.modality-card,.resource-card,.service-card,.specialty-card,.benefit-card,.community-card,.certification-card,.tool-card,.case-card,.instructor-card,.calendar-card,.article-card,.related-card,.route-card,.academy-card){
  background:linear-gradient(145deg,rgba(7,31,72,.88),rgba(2,13,34,.96))!important;
  border-color:rgba(74,168,255,.22)!important;
  color:#f5f8fb!important;
}

/* ------------------------------ BUTTONS / CHIPS --------------------------- */
.btn,.algiz-btn,.button-row a,.button-row button,
.btn-primary,.btn-header-primary,.algiz-btn--primary{
  border-radius:12px!important;
  font-weight:800!important;
  letter-spacing:.035em!important;
}
.btn-primary,.btn-header-primary,.algiz-btn--primary,.btn-cyan{
  color:#fff!important;
  border:1px solid #188cff!important;
  background:linear-gradient(135deg,#003fcc 0%,#005eec 48%,#26c0f0 100%)!important;
  box-shadow:0 12px 30px rgba(0,94,236,.28),inset 0 1px 0 rgba(255,255,255,.22)!important;
}
.btn-primary:hover,.btn-header-primary:hover,.algiz-btn--primary:hover,.btn-cyan:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 18px 42px rgba(0,94,236,.36),0 0 28px rgba(38,192,240,.14)!important;
}
.btn-secondary,.btn-ghost,.btn-header-secondary,.algiz-btn--ghost{
  color:#dff5ff!important;
  border:1px solid rgba(86,188,255,.34)!important;
  background:linear-gradient(180deg,rgba(10,39,86,.72),rgba(4,20,47,.74))!important;
}
.badge,.status,.data-strip span,.public-chip-row span,.algiz-chip,.algiz-pill{
  color:#bfeeff!important;
  background:rgba(4,27,64,.72)!important;
  border-color:rgba(38,192,240,.30)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}

/* ------------------------------ FORMS / TABLES ---------------------------- */
input,select,textarea,.field input,.field select,.field textarea,.form-field input,.form-field select,.form-field textarea,.search-box,.f6-input,.f6-select{
  color:#f4f8fb!important;
  background:linear-gradient(180deg,rgba(8,31,70,.94),rgba(3,16,39,.96))!important;
  border-color:rgba(76,160,223,.30)!important;
  caret-color:var(--wha-v3-cyan)!important;
}
input::placeholder,textarea::placeholder{color:#718aa4!important}
input:focus,select:focus,textarea:focus{border-color:var(--wha-v3-cyan)!important;box-shadow:0 0 0 4px rgba(38,192,240,.13)!important}
option{background:#06162f;color:#fff}
table{background:rgba(3,17,41,.90)!important;color:#dce9f5!important;border-color:rgba(77,160,223,.24)!important}
th{background:#06245a!important;color:#fff!important;border-color:rgba(87,174,241,.24)!important}
td{border-color:rgba(77,160,223,.16)!important;color:#a9bfd2!important}
tr:hover td{background:rgba(0,94,236,.075)!important}
.note,.authority-source-note,.tool-note{
  color:#a9bfd2!important;
  background:rgba(6,29,66,.82)!important;
  border-color:rgba(77,169,235,.24)!important;
  border-left-color:var(--wha-v3-electric)!important;
}

/* ------------------------------ SHARED SHELL ------------------------------ */
.site-header.wha-shell-header,
.site-header,
.algiz-header{
  position:sticky!important;
  top:0!important;
  z-index:1500!important;
  background:linear-gradient(180deg,rgba(1,4,12,.985),rgba(2,11,33,.965))!important;
  border-bottom:1px solid rgba(38,192,240,.24)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(20px)!important;
  -webkit-backdrop-filter:blur(20px)!important;
}
.site-header.is-scrolled,.algiz-header.is-scrolled{
  background:rgba(1,6,21,.985)!important;
  box-shadow:0 22px 58px rgba(0,0,0,.46)!important;
}
.header-inner,.algiz-header__inner{min-height:78px!important}
.brand-mark,.algiz-brand__mark{
  width:56px!important;height:56px!important;flex:0 0 56px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.brand-logo,.algiz-brand__mark img{
  width:100%!important;height:100%!important;object-fit:contain!important;
  filter:drop-shadow(0 0 18px rgba(0,94,236,.34))!important;
}
.brand-word,.algiz-brand__word{color:#f5f8fb!important}
.brand-word-main,.algiz-brand__word strong{color:#f6f8fa!important;background:none!important;-webkit-text-fill-color:initial!important}
.brand-word-accent,.brand-word span,.algiz-brand__word strong span{color:#1f8dff!important}
.brand-word small,.algiz-brand__word small{color:#7494b0!important}
.main-nav>a,.nav-drop>summary,.algiz-nav>a,.algiz-nav__drop>summary{color:#a9bfd2!important}
.main-nav>a:hover,.nav-drop>summary:hover,.algiz-nav>a:hover,.algiz-nav__drop>summary:hover,
.main-nav a[aria-current="page"],.algiz-nav a[aria-current="page"]{color:#fff!important;background:rgba(0,94,236,.10)!important}
.main-nav a[aria-current="page"]::after,.algiz-nav a[aria-current="page"]::after{background:linear-gradient(90deg,#005eec,#26c0f0)!important}
.mega,.algiz-mega{
  color:#fff!important;
  background:
    radial-gradient(circle at 82% 8%,rgba(0,94,236,.18),transparent 26rem),
    linear-gradient(155deg,#010615,#031a52 58%,#00165c)!important;
  border-color:rgba(38,192,240,.30)!important;
  box-shadow:0 34px 90px rgba(0,0,0,.62)!important;
}
.mega-link,.algiz-mega__grid>a{background:rgba(7,33,76,.58)!important;border-color:rgba(73,167,233,.17)!important;color:#dbe8f5!important}
.mega-link:hover,.algiz-mega__grid>a:hover{background:rgba(0,63,204,.20)!important;border-color:rgba(38,192,240,.42)!important}
.mega-link b,.algiz-mega__grid b,.mega-heading strong,.algiz-mega__head strong{color:#fff!important}
.mega-link small,.algiz-mega__grid small{color:#8fa9c0!important}
.mobile-panel,.algiz-mobile-nav{
  color:#fff!important;
  background:linear-gradient(155deg,#010615,#031a52)!important;
  border-color:rgba(38,192,240,.30)!important;
  box-shadow:0 30px 72px rgba(0,0,0,.58)!important;
}
.mobile-panel a,.mobile-group>summary,.algiz-mobile-nav>a{color:#d5e5f2!important;background:rgba(4,29,67,.56)!important;border-color:rgba(74,165,231,.18)!important}

/* ------------------------------ FOOTERS ----------------------------------- */
.wha-footer-v2,.algiz-footer{
  background:
    radial-gradient(circle at 10% 8%,rgba(0,94,236,.18),transparent 26rem),
    radial-gradient(circle at 86% 84%,rgba(38,192,240,.07),transparent 24rem),
    linear-gradient(155deg,#01040c,#020b21 54%,#001243)!important;
  border-top:1px solid rgba(38,192,240,.26)!important;
  color:#dce8f4!important;
}
.footer-v2-cta,.algiz-footer__cta{
  background:linear-gradient(135deg,rgba(5,27,65,.92),rgba(0,41,155,.24))!important;
  border:1px solid rgba(38,192,240,.26)!important;
  box-shadow:0 20px 64px rgba(0,0,0,.28)!important;
}
.footer-v2-col a,.algiz-footer a{color:#8fa9c0!important}
.footer-v2-col a:hover,.algiz-footer a:hover{color:#65ddff!important}
.footer-v2-bottom,.algiz-footer__bottom{border-color:rgba(72,164,229,.16)!important;color:#6f8ca5!important}

/* ------------------------------ HOME V2 HOMOLOGY -------------------------- */
.wha-home-rebuild .algiz-header{background:linear-gradient(180deg,rgba(1,4,12,.99),rgba(2,11,33,.97))!important}
.wha-home-rebuild .algiz-hero,
.wha-home-rebuild .algiz-dark,
.wha-home-rebuild .algiz-light,
.wha-home-rebuild .algiz-ice{
  color:#fff!important;
  background:
    radial-gradient(circle at 82% 17%,rgba(0,94,236,.17),transparent 28rem),
    linear-gradient(155deg,#01040c,#020b21 52%,#001243)!important;
}
.wha-home-rebuild .algiz-hero::after{opacity:.18;width:min(43vw,580px);right:3vw}
.wha-home-rebuild .algiz-domain,
.wha-home-rebuild .algiz-product,
.wha-home-rebuild .algiz-learning-step,
.wha-home-rebuild .algiz-modality-card,
.wha-home-rebuild .algiz-benefit-card,
.wha-home-rebuild .algiz-specialty-card,
.wha-home-rebuild .algiz-service-card{
  background:linear-gradient(145deg,rgba(7,32,75,.88),rgba(2,13,34,.96))!important;
  border-color:rgba(72,165,234,.22)!important;
  color:#fff!important;
  box-shadow:0 18px 54px rgba(0,0,0,.28)!important;
}
.wha-home-rebuild .algiz-domain.is-active,
.wha-home-rebuild .algiz-domain:hover,
.wha-home-rebuild .algiz-product:hover,
.wha-home-rebuild .algiz-modality-card:hover,
.wha-home-rebuild .algiz-benefit-card:hover,
.wha-home-rebuild .algiz-specialty-card:hover,
.wha-home-rebuild .algiz-service-card:hover{
  border-color:rgba(38,192,240,.50)!important;
  background:linear-gradient(145deg,rgba(0,41,155,.50),rgba(2,18,49,.96))!important;
  box-shadow:0 24px 70px rgba(0,0,0,.34),0 0 40px rgba(0,94,236,.10)!important;
}
.wha-home-rebuild .algiz-domain__copy small,
.wha-home-rebuild .algiz-product p,
.wha-home-rebuild .algiz-modality-card p,
.wha-home-rebuild .algiz-benefit-card p,
.wha-home-rebuild .algiz-specialty-card p,
.wha-home-rebuild .algiz-service-card p{color:#9eb6ce!important}
.wha-home-rebuild .algiz-domain__icon,
.wha-home-rebuild [class*="__icon"]{
  background:radial-gradient(circle,rgba(0,94,236,.18),rgba(3,17,41,.82) 66%)!important;
  border-color:rgba(38,192,240,.22)!important;
}

/* ------------------------- CERTIFICATION DETAILS -------------------------- */
.certification-detail-f3 .cert-f3-hero,
.cert-f3-dark{
  background:
    radial-gradient(circle at 82% 20%,rgba(0,94,236,.20),transparent 26rem),
    linear-gradient(150deg,#01040c,#020b21 52%,#001243)!important;
}
.cert-cover-frame,.cert-f3-visual,.cert-detail-badge{
  background:linear-gradient(145deg,rgba(7,32,75,.88),rgba(2,13,34,.96))!important;
  border-color:rgba(38,192,240,.24)!important;
  box-shadow:0 24px 72px rgba(0,0,0,.38)!important;
}
.cert-f3-metric-grid>*,.cert-f3-data-row{border-color:rgba(78,161,224,.18)!important}
.cert-f3-data-row span,.cert-f3-metric-grid span{color:#86a3bb!important}
.cert-f3-data-row strong,.cert-f3-metric-grid strong{color:#f5f8fb!important}

/* ------------------------- LOGIN / AUTH ----------------------------------- */
.login-shell-page{min-height:100vh!important;background:linear-gradient(145deg,#01040c,#020b21 52%,#001243)!important}
.login-shell-page::after{background:url('../images/brand/wha-wolf-mark-v3.png') center/contain no-repeat!important;opacity:.10!important;filter:drop-shadow(0 0 54px rgba(0,94,236,.36))!important}
.login-brand,.login-panel,.login-box{background:linear-gradient(145deg,rgba(6,27,65,.94),rgba(2,12,32,.97))!important;border-color:rgba(38,192,240,.24)!important}

/* ------------------------------ VISUAL MEDIA ------------------------------ */
.public-wolf-mark img,.brand-logo,.algiz-brand__mark img,.login-brand img{
  filter:drop-shadow(0 0 18px rgba(0,94,236,.32))!important;
}
img[class*="art"],.public-hero-visual img,.hero-visual img,.cert-f3-visual img{
  filter:drop-shadow(0 24px 46px rgba(0,0,0,.30));
}

/* ------------------------------ MOTION ------------------------------------ */
.wha-v3-progress{
  position:fixed;
  left:0;top:0;
  width:100%;height:2px;
  z-index:2200;
  pointer-events:none;
  background:rgba(255,255,255,.03);
}
.wha-v3-progress>i{
  display:block;height:100%;width:var(--wha-v3-progress,0%);
  background:linear-gradient(90deg,#003fcc,#005eec,#26c0f0);
  box-shadow:0 0 16px rgba(38,192,240,.68);
  transform-origin:left center;
}
.wha-v3-scanline{
  position:fixed;
  z-index:-1;
  pointer-events:none;
  left:0;right:0;top:-18vh;height:18vh;
  opacity:.17;
  background:linear-gradient(to bottom,transparent,rgba(38,192,240,.07),transparent);
  animation:wha-v3-scan 12s linear infinite;
}
html.wha-v3-motion [data-wha-v3-reveal]{
  opacity:0;
  translate:0 20px;
  filter:blur(2px);
  transition:opacity .66s cubic-bezier(.2,.8,.2,1),translate .66s cubic-bezier(.2,.8,.2,1),filter .66s ease;
  transition-delay:var(--wha-v3-delay,0ms);
}
html.wha-v3-motion [data-wha-v3-reveal].is-wha-v3-visible{opacity:1;translate:0 0;filter:none}
html.wha-v3-motion [data-wha-v3-tilt]{
  transform:perspective(900px) rotateX(var(--wha-v3-rx,0deg)) rotateY(var(--wha-v3-ry,0deg)) translateY(var(--wha-v3-lift,0px));
  transform-style:preserve-3d;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
html.wha-v3-motion [data-wha-v3-tilt]:hover{--wha-v3-lift:-3px}

@keyframes wha-v3-grid-drift{to{background-position:46px 46px,46px 46px}}
@keyframes wha-v3-mark-breathe{0%,100%{transform:translateY(-48%) scale(.97);opacity:.09}50%{transform:translateY(-50%) scale(1.03);opacity:.15}}
@keyframes wha-v3-scan{0%{transform:translateY(-20vh)}100%{transform:translateY(140vh)}}

/* ------------------------------ RESPONSIVE -------------------------------- */
@media(max-width:1160px){
  :is(.page-hero,.public-hero,.archive-hero,.evidence-hero,.cert-f3-hero,.tool-hero,.simulator-hero,.lab-hero,.contact-hero,.web-hero,.algiz-hero)::after{width:min(50vw,440px);right:-8vw;opacity:.08}
}
@media(max-width:760px){
  h1,.public-hero h1,.cert-f3-hero h1,.web-hero h1,.archive-hero h1,.evidence-hero h1,.tool-hero h1,.lab-hero h1,.simulator-hero h1,.contact-hero h1,.algiz-hero h1{font-size:clamp(2.05rem,10vw,3.15rem)!important}
  h2,.algiz-section h2,.p2-title,.p3-title,.p4-title,.p5-title{font-size:clamp(1.58rem,7vw,2.25rem)!important}
  .header-inner,.algiz-header__inner{min-height:70px!important}
  .brand-mark,.algiz-brand__mark{width:48px!important;height:48px!important;flex-basis:48px!important}
  :is(.page-hero,.public-hero,.archive-hero,.evidence-hero,.cert-f3-hero,.tool-hero,.simulator-hero,.lab-hero,.contact-hero,.web-hero,.algiz-hero)::after{width:290px;right:-120px;top:44%;opacity:.055}
  body::before{background-size:40px 40px;opacity:.24}
}
@media(prefers-reduced-motion:reduce){
  .wha-v3-scanline{display:none!important}
  :is(.page-hero,.public-hero,.archive-hero,.evidence-hero,.cert-f3-hero,.tool-hero,.simulator-hero,.lab-hero,.contact-hero,.web-hero,.algiz-hero)::after{animation:none!important}
  html.wha-v3-motion [data-wha-v3-reveal]{opacity:1!important;translate:0 0!important;filter:none!important;transition:none!important}
  html.wha-v3-motion [data-wha-v3-tilt]{transform:none!important;transition:none!important}
}

/* Official supplied full lockup treatment */
.wha-v3-full-brand{display:inline-flex!important;align-items:center!important;max-width:290px!important;background:transparent!important;border:0!important;padding:0!important}
.wha-v3-lockup{display:block!important;width:min(260px,100%)!important;height:auto!important;max-height:176px!important;object-fit:contain!important;filter:drop-shadow(0 10px 28px rgba(0,94,236,.24))!important}
.login-brand .wha-v3-lockup{width:min(300px,82vw)!important;max-height:220px!important;margin-inline:auto}
@media(max-width:720px){.wha-v3-lockup{width:min(220px,100%)!important;max-height:150px!important}}


/* ==========================================================================
   V3.1 MICROFIX — global hero and section-spacing normalization
   ========================================================================== */
body.wha-brand-v3 :is(.page-hero,.public-hero,.archive-hero,.evidence-hero,.cert-f3-hero,.tool-hero,.simulator-hero,.lab-hero,.contact-hero,.web-hero,.algiz-hero){padding-top:clamp(3.4rem,5vw,5rem)!important;padding-bottom:clamp(3.35rem,4.8vw,5rem)!important}
body.wha-brand-v3 :is(.section-head,.public-head,.archive-head,.evidence-head,.article-head,.cert-f3-head){align-items:start;gap:clamp(20px,3vw,40px);margin-bottom:clamp(1.6rem,2.6vw,2.5rem)!important}
body.wha-brand-v3 :is(.section-head,.public-head,.archive-head,.evidence-head,.article-head,.cert-f3-head)>p{max-width:62ch;line-height:1.76}
