@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --poa-bg: #0d0f16;
  --poa-surface: #151822;
  --poa-raised: #1c1f2d;
  --poa-selected: #262a3b;
  --poa-edge: #34384b;
  --poa-edge-strong: #51566f;
  --poa-ink: #f2f2fa;
  --poa-copy: #c6c7d5;
  --poa-muted: #a4a7ba;
  --poa-accent: #b2b9ff;
  --poa-accent-hover: #d5daff;
  --poa-button: #a5afff;
  --poa-on-button: #171b38;
  --poa-body: "DM Sans", Arial, sans-serif;
  --poa-heading: "Space Grotesk", "DM Sans", Arial, sans-serif;
  --poa-hero: radial-gradient(ellipse at 88% 132%, #4d4b80 0%, transparent 47%),
    radial-gradient(ellipse at 65% 0%, #343652, transparent 56%),
    linear-gradient(111deg,#191c28 2%,#24273e 53%,#292a49 100%);
}
html body {background:var(--poa-bg);color:var(--poa-ink);font-family:var(--poa-body)}
:where(.hub-app,.sp-shell,.nd-app,.sp-static) :is(h1,h2,h3){font-family:var(--poa-heading)}
:where(.hub-app,.sp-shell,.nd-app) :focus-visible{outline:2px solid var(--poa-accent);outline-offset:3px}
.poa-lockup{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font:700 24px/1 var(--poa-heading);letter-spacing:-1.25px;color:var(--poa-ink)}
.poa-lockup img{width:34px;height:34px;flex:none}
.poa-lockup .poa-word{color:var(--poa-ink)}
.poa-lockup .poa-word b{font-weight:430;color:var(--poa-accent-hover)}
@media(max-width:600px){.poa-lockup{font-size:21px}.poa-lockup img{width:30px;height:30px}}

@keyframes poa-mark-enter{from{opacity:.68;transform:translateY(3px) rotate(-12deg) scale(.9)}to{opacity:1;transform:none}}
@keyframes poa-surface-enter{from{opacity:.8;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes poa-rings-enter{from{opacity:.65;transform:translateX(8px) rotate(-3deg)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
  header .poa-lockup img,.studio .topbar .brandmark{animation:poa-mark-enter .4s cubic-bezier(.2,.75,.25,1) both}
  header .poa-lockup .poa-word{animation:poa-surface-enter .32s ease-out both}
  .hh-sculpture-stage{animation:poa-rings-enter .55s ease-out both}
  .hh-asset-card,.spa-assets .asset-hero,.spa-assets .gallery-hero,.nd-main>.nd-hero,.sp-article-heading,.studio .hero-text,.hub-page-hero,.hub-plain:not(.spa-assets)>h1{animation:poa-surface-enter .34s ease-out backwards}
  .hh-asset-card:nth-child(2){animation-delay:55ms}
  .hh-asset-card h2 svg,.hh-collection-feature img,.hn-shortcuts a{transition:transform .18s ease,background-color .18s ease}
  .hh-asset-card h2 a:hover svg{transform:translateX(2px)}
  .hh-collection-feature:hover img{transform:scale(1.025)}
}

/* Keep the server-rendered entrance recognizable before the router takes over. */
.sp-static>header{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.sp-static>header nav{align-items:center;gap:18px;padding:6px 0}
.sp-static>header nav details{position:relative;padding:0;border:0}
.sp-static>header nav details div{position:absolute;z-index:2;display:grid;gap:6px;top:100%;right:0;width:200px;max-height:70vh;overflow:auto;border:1px solid var(--poa-edge);border-radius:10px;padding:14px;background:var(--poa-surface)}
.sp-static .static-hero{display:grid;grid-template-columns:3fr 2fr;align-items:center;gap:12px;background:var(--poa-hero);border-radius:18px;padding:clamp(16px,3vw,38px);margin-block:18px}
.sp-static .static-hero h1{margin:0}
.sp-static .static-hero img{display:block;width:100%;height:auto}
.sp-static .static-asset-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sp-static .static-asset-links>div{border:1px solid var(--poa-edge);border-radius:12px;padding:14px}
.sp-static .static-asset-links h2{margin:0}
@media(max-width:600px){.sp-static>header{gap:4px 12px}.sp-static .static-asset-links{grid-template-columns:1fr}.sp-static .static-hero{grid-template-columns:2.8fr 1fr}.sp-static .static-hero img{align-self:start}}
