/* X1114 / ATHRTY Institutional Reface
   Source-owned flagship visual language. Figma node 1:2, component 1:6, 1:12.
   Site navigation remains owned by x1113-navigation.css; preview Design DNA unaffected. */
body:has(.x5-home){background:#101D35;color:#FFFFFF}
body:has(.x5-home) .global-header{position:relative;z-index:80;background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);padding-block:8px;border-bottom:1px solid #DCE5F1;border:1px solid var(--athrty-ui-border)}
body:has(.x5-home) .contextbar,body:has(.x5-home) .sidebar{display:none!important}
body:has(.x5-home) .shell,body:has(.x5-home) .body{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
body:has(.x5-home) .body main{max-width:none;padding:0;min-height:100vh}
body:has(.x5-home) .app-footer{background:#101713;color:#d5d5ce;padding:24px 5vw}
body:has(.x5-home) .global-header .wordmark{letter-spacing:.16em}
body:has(.x5-home) .global-header .global-actions{margin-left:auto}
.x5-home .x5-hero.x1114-hero{position:relative;display:flex;align-items:center;isolation:isolate;box-sizing:border-box;min-height:min(850px,calc(100svh - 72px));padding:clamp(66px,9vw,130px) clamp(22px,5vw,90px) 110px;color:#FFFFFF;background:#101D35;overflow:hidden;border-radius:0}
.x1114-hero-grain{position:absolute;inset:0;z-index:0;pointer-events:none;
 background:var(--obsidian-raised)}
.x1114-hero-grain::after{content:none}
.x1114-hero-content{position:relative;z-index:3;min-width:0;width:100%;max-width:1120px;pointer-events:none}
.x1114-hero-notation{display:flex;align-items:center;gap:12px;font-weight:650;font-size:clamp(9px,.75vw,11px);letter-spacing:.16em;color:#A6CAFF;line-height:1.4;margin:0 0 clamp(28px,4vw,60px)}
.x1114-notation-rule{display:inline-block;width:29px;height:1px;background:#d7c3a4}
.x1114-notation-count{color:#bacbb8;margin-left:14px}
.x5-home .x1114-hero h1{position:relative;max-width:14ch;margin:0;color:#f3f0e6;
  font-family:Manrope,'DM Sans',system-ui,sans-serif;font-weight:520;
  font-size:clamp(3.4rem,7.1vw,7.1rem);letter-spacing:-.067em;
  line-height:1.06;text-wrap:balance}
.x5-home .x1114-hero h1 em{font-style:normal;color:#e7e4db;font-weight:430}
.x1114-hero-lead{max-width:610px;color:#DCE5F1;font-size:clamp(15px,1.28vw,19px);line-height:1.7;font-weight:400;letter-spacing:-.02em;margin:clamp(27px,3.6vw,48px) 0 0}
.x1114-hero-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;
  margin-top:clamp(26px,3.7vw,50px);pointer-events:auto}
.x1114-hero-actions button,.x1114-hero-actions a{display:inline-flex;align-items:center;justify-content:center;
  min-height:56px;box-sizing:border-box;border-radius:12px;gap:0;padding:15px 23px;
  font-size:13px;font-weight:650;line-height:1.3;text-decoration:none;
  transition:background-color 240ms ease,border-color 240ms ease,color 240ms ease,transform 240ms ease}
.x1114-primary{border:1px solid #FFFFFF;background:#FFFFFF;color:#101D35;min-width:225px}
.x1114-primary:hover{background:#EAF1FB;color:#101D35;transform:translateY(-2px)}
.x1114-secondary{border:1px solid #8c9c8d80;background:#ffffff03;color:#e9eee5;min-width:180px}
.x1114-secondary:hover{background:#ffffff15;border-color:#d4ddcd}
.x1114-hero-trust{margin-top:clamp(30px,5vw,72px);font-size:10px;letter-spacing:.15em;color:#B8C8E0;font-weight:650;display:flex;gap:15px;align-items:center}
.x1114-hero-trust span{color:#e1c6a6}
/* X1119 — One source-owned Higgsfield artwork; the retired CSS monolith, grids and orbit
   nodes were removed from the HTML, not just hidden behind a new layer. */
.x1114-architecture.x1119-hero-art{position:absolute;inset:0;z-index:1;width:100%;height:100%;
 margin:0;opacity:1;overflow:hidden;isolation:isolate;pointer-events:none}
.x1119-hero-image{display:block;width:100%;height:100%;object-fit:cover;object-position:65% 50%;
 filter:saturate(.98) contrast(1.02)}
.x1119-hero-vignette{position:absolute;inset:0;background:
 linear-gradient(90deg,rgba(16,29,53,.99) 0%,rgba(16,29,53,.95) 19%,
 rgba(16,29,53,.82) 34%,rgba(16,29,53,.46) 54%,rgba(16,29,53,.06) 81%),
 linear-gradient(0deg,rgba(16,29,53,.45) 0%,transparent 18%,transparent 82%,rgba(16,29,53,.13));
 pointer-events:none}
.x1114-hero-footer{position:absolute;z-index:4;left:clamp(22px,5vw,90px);right:clamp(22px,5vw,90px);bottom:24px;
  display:flex;align-items:center;gap:clamp(12px,3vw,52px);border-top:1px solid #a9bca64d;
  padding-top:19px;color:#a7b9a7;font-size:9px;font-weight:600;letter-spacing:.14em}
.x1114-scroll-mark{margin-left:auto;color:#d7c3a4}.x1114-scroll-mark span{margin-left:13px;font-size:17px}
.x5-home .x5-principle{display:grid;grid-template-columns:minmax(0,.36fr) minmax(0,1fr);align-items:start;gap:clamp(30px,6vw,130px);background:#EAF1FB!important;color:#101D35!important;padding:clamp(48px,6.4vw,96px) clamp(24px,5vw,90px)!important}
.x5-home .x5-principle span{font-size:11px;letter-spacing:.15em;color:#4e5849;font-weight:700}
.x5-home .x5-principle p{font-size:clamp(28px,3.5vw,52px)!important;line-height:1.14!important;letter-spacing:-.055em!important;font-weight:450!important;color:#101D35!important;margin:0!important;max-width:23ch!important}
.authority-actions button{cursor:pointer}
.authority-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;color:var(--athrty-ui-ink);padding:0}
.authority-icon:hover{background:var(--athrty-ui-soft)!important;color:var(--athrty-ui-ink)!important}
.global-header .global-actions{position:relative;gap:8px}
.global-header .public-navigation,.global-header .platform-menu{display:none!important}
.authority-profile{position:absolute;right:0;top:54px;background:#202320;color:#f5f3ed;padding:9px;border-radius:13px;min-width:180px;box-shadow:0 14px 40px #0008;z-index:100}
.authority-profile a{display:block;padding:13px;border-radius:8px;font-size:13px}
.authority-profile a:hover{background:#ffffff14}
#palette{background:#1d211d;color:#f0efe7;border:1px solid #ffffff1a;width:min(560px,94vw)}
#palette::backdrop{background:#000b}
#palette input{background:#30362f;color:white;border-color:#ffffff25}
#palette-actions button{display:block;text-align:left;width:100%;padding:14px;color:#f0efe7}
#palette-actions button:hover{background:#ffffff13}
.authority-director-trigger{position:fixed;bottom:24px;right:24px;z-index:90;background:#e9e7df;color:#171a17;box-shadow:0 10px 30px #0004;border-radius:15px;padding:13px 17px;display:flex;gap:13px;align-items:center;font-size:12px;font-weight:700}
.authority-director-trigger:hover{background:#fff}
/* The guided-discovery launcher belongs on the public home experience, never over Studio or configuration forms. */
body:has(.x5-home) .authority-director-trigger,
body:not(:has(.x5-home)) .authority-director-trigger,
body:not(:has(.x5-home)) .authority-director{display:none!important}
.authority-director{position:fixed;right:24px;bottom:85px;z-index:91;width:min(390px,calc(100vw - 32px));max-height:min(620px,calc(100dvh - 110px));display:flex;flex-direction:column;background:#191c19;color:#f0f0e8;border:1px solid #ffffff20;border-radius:18px;box-shadow:0 20px 75px #0009;overflow:hidden}
.authority-director[hidden]{display:none}
.authority-director header{display:flex;justify-content:space-between;align-items:center;padding:19px 22px;border-bottom:1px solid #ffffff15;font-size:13px;font-weight:700}
.authority-director header button{color:#eee;padding:6px}
.authority-director-body{overflow:auto;padding:22px;flex:1;font-size:13px;line-height:1.6}
.authority-director-body h2{color:#f5f3e9;font-size:25px;font-weight:600}
.authority-director-body p{color:#c5c8c0}
.authority-director-body label{color:#e5e6df}
.authority-director-body input,.authority-director-body textarea,.authority-director-body select{background:#292e29;border:1px solid #596057;color:#f3f4ed;margin:8px 0 14px}
.authority-director-body button{background:#eae8df;color:#1a1e1a;width:100%;margin:5px 0 10px}
.authority-director-body .fine{color:#b6bdb3}
@media(max-width:900px){
 .x1119-hero-image{object-position:72% center}
 .x1119-hero-vignette{background:linear-gradient(90deg,#101D35 0%,rgba(16,29,53,.94) 24%,rgba(16,29,53,.7) 55%,rgba(16,29,53,.23))}
 .x1114-hero-content{max-width:100%}
 .x5-home .x1114-hero h1{font-size:clamp(3.2rem,8.9vw,6.7rem)}
 .x1114-hero-lead{max-width:580px}
 .x5-home .x5-principle{grid-template-columns:1fr;gap:24px}
}
@media(max-width:700px){
 .x5-home .x5-hero.x1114-hero{min-height:calc(100svh - 72px);
   padding:72px 22px 105px;align-items:center}
 .x5-home .x1114-hero h1{font-size:clamp(3rem,11.5vw,5.7rem);letter-spacing:-.068em;line-height:1.075}
 .x1114-hero-notation{margin-bottom:38px;font-size:9px;gap:9px}
 .x1114-notation-count{margin-left:0}
 .x1114-hero-lead{font-size:14px;line-height:1.65;max-width:37ch;margin-top:25px}
 .x1114-hero-actions{gap:10px;margin-top:30px}
 .x1114-hero-actions button,.x1114-hero-actions a{min-height:51px;padding:13px 16px;
  gap:13px;font-size:12px}
 .x1114-hero-trust{font-size:9px;line-height:1.6;flex-wrap:wrap;gap:7px;margin-top:31px;max-width:36ch}
 .x1119-hero-image{object-position:76% center;opacity:.57;animation:none!important}
 .x1119-hero-vignette{background:linear-gradient(90deg,rgba(16,29,53,.98),rgba(16,29,53,.80) 66%,rgba(16,29,53,.46)),
 linear-gradient(0deg,#101D35 0%,transparent 28%)}
 .x1114-hero-footer{left:22px;right:22px;bottom:18px;gap:15px;flex-wrap:wrap;font-size:8px}
 .x1114-hero-footer span:nth-child(3),.x1114-hero-footer span:nth-child(4){display:none}
 .x1114-scroll-mark{margin-left:auto}
 .x5-home .x5-principle{padding:40px 22px!important}
 .x5-home .x5-principle p{font-size:clamp(26px,6.5vw,38px)!important}
 .authority-director{right:8px;bottom:0;width:calc(100vw - 16px);max-height:82dvh;border-radius:18px 18px 0 0}
 .authority-director-trigger{bottom:15px;right:15px}
 .global-header{padding:0 18px}.global-header .wordmark{font-size:19px}
}
/* Hero copy and conversion actions must remain visible on first paint.
   No opacity-based entrance animation: delayed animations can strand content
   at opacity:0 in mobile Safari and during SPA / browser snapshots. */
@media(prefers-reduced-motion:no-preference){
 .x1119-hero-image{animation:x1119-media-arrive 1.2s ease-out both}
 @keyframes x1119-media-arrive{from{opacity:.35;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
}
@media(prefers-reduced-motion:reduce){
 .x1114-hero *{animation:none!important;transition:none!important;transform:none!important}
 .authority-scene canvas{display:none}
}