:root{
  --bg:#0d0d10;--fg:#e8e8ea;--mut:#9a9aa2;--acc:#9fb3c8;--card:#15151a;--line:#2a2a32;
  --r8:8px;--r14:14px;--r22:22px;--ease:cubic-bezier(.32,.72,0,1);--motion:240ms;
  --shadow:0 1px 2px #0006,0 14px 34px #0004;
}
@media (prefers-color-scheme:light){:root{
  --bg:#fafafa;--fg:#16161a;--mut:#66666d;--acc:#334e68;--card:#fff;--line:#e4e4ea;
  --shadow:0 1px 2px #1018280d,0 14px 34px #10182812;
}}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  color:var(--fg);background:var(--bg)}
body>header{position:sticky;top:0;z-index:40;display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .8rem;
  padding:.6rem clamp(.8rem,4vw,1.4rem);min-width:0;
  background:color-mix(in srgb,var(--bg) 82%,transparent);
  -webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);
  border-bottom:1px solid var(--line)}
body>header a{color:inherit;text-decoration:none}
body>header a:hover{color:var(--acc)}
body>header strong{letter-spacing:-.02em}
main{max-width:74rem;margin:0 auto;padding:clamp(.9rem,2.6vw,2rem) clamp(.8rem,3vw,1.4rem) 3rem;min-width:0}
footer{max-width:74rem;margin:0 auto;padding:1rem clamp(.8rem,3vw,1.4rem) 2rem;color:var(--mut);font-size:.84rem;
  border-top:1px solid var(--line)}
footer p{margin:.3rem 0}
a{color:var(--acc);text-underline-offset:2px}
h1,h2,h3{line-height:1.2;letter-spacing:-.022em}
h1{font-size:clamp(1.7rem,4.5vw,2.7rem);margin:.2rem 0 .5rem}
h2{font-size:clamp(1.18rem,2vw,1.45rem);margin:1.6rem 0 .6rem}
:focus-visible{outline:3px solid var(--acc);outline-offset:2px;border-radius:var(--r8)}
.card,.stat,.vcard{background:var(--card);border:1px solid var(--line);border-radius:var(--r14);
  padding:1rem 1.15rem;margin:1rem 0;min-width:0}
.vcard{display:flex;flex-direction:column;gap:.45rem;text-decoration:none;color:inherit;
  transition:transform var(--motion) var(--ease),box-shadow var(--motion) var(--ease),
             border-color var(--motion) var(--ease)}
.vcard:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--acc) 45%,var(--line));
  text-decoration:none}
.vcard h2,.vcard h3{margin:0;font-size:1.03rem;overflow-wrap:anywhere}
.vcard p{margin:0;color:var(--mut);font-size:.88rem;line-height:1.45}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.9rem;margin:1rem 0}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1.1rem 0}
.stat{margin:0;padding:.95rem 1rem}
.stat b{display:block;font-size:clamp(1.35rem,3vw,1.85rem);letter-spacing:-.03em;line-height:1.1}
.stat span{display:block;margin-top:.2rem;color:var(--mut);font-size:.78rem;line-height:1.35}
.hero{padding:.4rem 0 1rem;border-bottom:1px solid var(--line);margin-bottom:1.1rem}
.hero .eyebrow{margin:0 0 .55rem;text-transform:uppercase;letter-spacing:.09em;font-size:.73rem;color:var(--mut)}
.hero .lead{max-width:64ch;margin:0 0 .9rem;color:var(--mut);font-size:clamp(1rem,1.6vw,1.12rem)}
.hero .definition{max-width:64ch;margin:0;padding:.55rem .8rem;border-left:3px solid var(--acc);
  background:color-mix(in srgb,var(--acc) 6%,transparent);border-radius:0 var(--r8) var(--r8) 0;
  font-size:.9rem;color:var(--mut)}
.icon{display:inline-grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:var(--r8);
  background:color-mix(in srgb,var(--acc) 14%,transparent);color:var(--acc);flex:none}
.icon svg{width:1.15rem;height:1.15rem}
.vhead{display:flex;align-items:center;gap:.65rem;min-width:0}
.mut{color:var(--mut)}
.stale-banner{border:1px solid #8a4b00;border-radius:var(--r8);padding:.6rem .8rem;color:#c98a3c;font-size:.9rem}
@media (prefers-color-scheme:light){.stale-banner{color:#7a4400}}
.bigsearch{display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0;max-width:44rem}
.hsearch{display:flex;align-items:center;gap:.4rem;margin:0 0 0 auto;min-width:0;flex:1 1 15rem;max-width:26rem}
input,select,button{font:inherit;color:inherit}
input[type=search],input[type=text]{min-height:44px;padding:.6rem .75rem;border:1px solid var(--line);
  border-radius:var(--r8);background:color-mix(in srgb,var(--card) 82%,transparent);
  min-width:0;max-width:100%;flex:1 1 auto;transition:border-color var(--motion) var(--ease),box-shadow var(--motion) var(--ease)}
input:focus{border-color:var(--acc);box-shadow:0 0 0 4px color-mix(in srgb,var(--acc) 18%,transparent);outline:none}
button,.btn{min-height:44px;padding:.55rem 1rem;border:1px solid var(--line);border-radius:var(--r8);
  background:var(--card);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
  font-weight:600;text-decoration:none;color:var(--fg);
  transition:transform var(--motion) var(--ease),box-shadow var(--motion) var(--ease),background var(--motion) var(--ease)}
button:hover,.btn:hover{box-shadow:var(--shadow);transform:translateY(-1px);text-decoration:none}
button[type=submit],.btn-primary{background:var(--acc);border-color:transparent;color:#fff}
@media (prefers-color-scheme:dark){button[type=submit],.btn-primary{color:#0b141d}}
button.tts{font-size:.85rem;padding:.35rem .7rem}
.tablewrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:.8rem 0}
table.awards,.tablewrap table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:34rem}
table.awards th,.tablewrap th,table.awards td,.tablewrap td{text-align:left;padding:.45rem .5rem;
  border-bottom:1px solid var(--line);vertical-align:top}
table.awards tr:hover td,.tablewrap tr:hover td{background:color-mix(in srgb,var(--acc) 5%,transparent)}
.breadcrumb{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;margin:0 0 .8rem;color:var(--mut);font-size:.82rem}
.breadcrumb a{color:inherit}.breadcrumb span{opacity:.6}
.skip-link{position:absolute;left:-9999px;top:0;background:#000;color:#fff;padding:.6rem;z-index:999}
.skip-link:focus{left:.5rem;top:.5rem}
@media (max-width:560px){
  body>header{padding:.55rem .8rem}
  .stats{grid-template-columns:1fr}
  .hsearch{flex-basis:100%;max-width:none;margin:0}
  .hsearch input{width:100%}
  main{padding-left:.7rem;padding-right:.7rem}
}
@media (max-width:390px){
  main{padding-left:.6rem;padding-right:.6rem}
  .card,.stat,.vcard{padding:.85rem .9rem}
  h1{font-size:clamp(1.45rem,8vw,1.8rem)}
}
@media (max-width:320px){
  main{padding-left:.5rem;padding-right:.5rem}
  .card,.stat,.vcard{padding:.75rem}
  .grid{gap:.65rem}
}
@media (prefers-reduced-motion:reduce){
  *{transition-duration:.001ms!important;animation-duration:.001ms!important}
  .vcard:hover,button:hover,.btn:hover{transform:none}
}
@media print{body>header,footer,nav,.bigsearch,button{display:none!important}
  body{background:#fff;color:#000}main{max-width:none;padding:0}}

/* Estate chrome sets 220ms with !important; the visual layer owns 240ms. */
body a, body button, body .btn, body .artifact a, body .artifact button,
body .vcard, body .svc, body .artifact-export{
  transition-duration:240ms!important;
  transition-timing-function:cubic-bezier(.32,.72,0,1)!important;
}

/* ── Glass contract: 18–20px frost, 16–22px radii, 220ms spring ───────── */
:root{
  --r8:10px;--r14:16px;--r18:18px;--r22:22px;
  --ease:cubic-bezier(.22,1,.36,1);--motion:220ms;--fast:180ms;
  --glass:rgba(255,255,255,.62);
  --glass-strong:rgba(255,255,255,.78);
  --glass-line:rgba(255,255,255,.68);
  --glass-hi:rgba(255,255,255,.9);
  --shadow:0 1px 2px rgba(16,24,40,.05),0 14px 34px -14px rgba(16,24,40,.18);
  --shadow-hover:0 2px 6px rgba(16,24,40,.07),0 28px 60px -20px rgba(16,24,40,.28),
    0 0 0 1px color-mix(in srgb,var(--acc) 12%,transparent);
}
@media (prefers-color-scheme:dark){:root{
  --glass:rgba(17,23,30,.58);--glass-strong:rgba(17,23,30,.82);
  --glass-line:rgba(255,255,255,.10);--glass-hi:rgba(255,255,255,.08);
  --shadow:0 1px 2px rgba(0,0,0,.4),0 16px 38px -14px rgba(0,0,0,.5);
  --shadow-hover:0 3px 8px rgba(0,0,0,.45),0 30px 64px -20px rgba(0,0,0,.65),
    0 0 0 1px color-mix(in srgb,var(--acc) 18%,transparent);
}}
html[data-theme="dark"]{
  --glass:rgba(17,23,30,.58);--glass-strong:rgba(17,23,30,.82);
  --glass-line:rgba(255,255,255,.10);--glass-hi:rgba(255,255,255,.08);
  --shadow:0 1px 2px rgba(0,0,0,.4),0 16px 38px -14px rgba(0,0,0,.5);
  --shadow-hover:0 3px 8px rgba(0,0,0,.45),0 30px 64px -20px rgba(0,0,0,.65),
    0 0 0 1px color-mix(in srgb,var(--acc) 18%,transparent);
}
html[data-theme="light"]{
  --glass:rgba(255,255,255,.62);--glass-strong:rgba(255,255,255,.78);
  --glass-line:rgba(255,255,255,.68);--glass-hi:rgba(255,255,255,.9);
  --shadow:0 1px 2px rgba(16,24,40,.05),0 14px 34px -14px rgba(16,24,40,.18);
  --shadow-hover:0 2px 6px rgba(16,24,40,.07),0 28px 60px -20px rgba(16,24,40,.28),
    0 0 0 1px color-mix(in srgb,var(--acc) 12%,transparent);
}

body>header{
  background:color-mix(in srgb,var(--bg) 76%,transparent);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--glass-line);
  box-shadow:inset 0 1px 0 var(--glass-hi);
}
body .card,body .stat,body .vcard,body .svc,body .alert,body .panel,
body .chart-figure,body .glass,
.artifact .artifact-rail-card,.artifact .chart-figure{
  border:1px solid var(--glass-line);
  border-radius:var(--r18);
  background:var(--glass);
  -webkit-backdrop-filter:blur(18px) saturate(180%);
  backdrop-filter:blur(18px) saturate(180%);
  box-shadow:inset 0 1px 0 var(--glass-hi),var(--shadow);
}
body .chart-figure,.artifact .chart-figure,
.artifact .artifact-rail-card,body .glass{border-radius:var(--r22)}
body .card,body .stat,body .vcard,body .svc,body .alert,body .panel,
body .chart-figure,.artifact .artifact-rail-card,.artifact .artifact-export{
  transition:transform var(--motion) var(--ease),
    box-shadow var(--motion) var(--ease),
    border-color var(--motion) var(--ease),
    background-color var(--motion) var(--ease);
}
body a,body button,body .btn,body .artifact a,body .artifact button,
body .vcard,body .svc,body .artifact-export{
  transition-duration:var(--motion)!important;
  transition-timing-function:var(--ease)!important;
}
@media (hover:hover){
  body .vcard:hover,body .svc:hover,body .stat:hover,
  body .chart-figure:hover,.artifact .artifact-rail-card:hover{
    transform:translateY(-4px);
    box-shadow:inset 0 1px 0 var(--glass-hi),var(--shadow-hover);
    border-color:color-mix(in srgb,var(--acc) 42%,var(--glass-line));
  }
}
body .vcard:active,body .svc:active,body .stat:active,
body button:active,body .btn:active,.artifact .artifact-export:active{
  transform:scale(.97);
}
:focus-visible{outline:3px solid color-mix(in srgb,var(--acc) 72%,transparent)!important;
  outline-offset:3px!important;border-radius:var(--r8)!important}

body .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;margin:1.1rem 0}
body .stat{margin:0;padding:1rem 1.15rem;display:flex;flex-direction:column;gap:.55rem;min-width:0}
body .stat-top{display:flex;align-items:center;gap:.65rem;min-width:0}
body .stat .icon{width:2.35rem;height:2.35rem;border-radius:12px;
  background:color-mix(in srgb,var(--acc) 13%,transparent);color:var(--acc)}
body .stat b{display:block;font-size:clamp(1.4rem,3vw,1.9rem);letter-spacing:-.03em;line-height:1.08}
body .stat span{display:block;margin:0;color:var(--mut);font-size:.78rem;line-height:1.4}
body .hero .definition{border-radius:0 var(--r14) var(--r14) 0}
body .icon{border-radius:10px}
body img,body svg,body table,body pre{max-width:100%}
body .mut{color:var(--mut)}
@media (max-width:640px){body .stats{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){
  body *,body *::before,body *::after,
  body a,body button,body .btn,body .vcard,body .svc,body .stat,body .card,
  body .alert,body .panel,body .chart-figure,body .artifact a,body .artifact button,
  body .artifact-export,.artifact .artifact-rail-card,.artifact .chart-figure{
    transition-duration:.01ms!important;animation-duration:.01ms!important;
    animation-iteration-count:1!important;scroll-behavior:auto!important}
  body .vcard:hover,body .svc:hover,body .stat:hover,body .chart-figure:hover,
  body .artifact .artifact-rail-card:hover,body button:hover,body .btn:hover,
  .artifact .artifact-export:hover{transform:none!important}
  body .vcard:active,body .svc:active,body .stat:active,body button:active,
  body .btn:active{transform:none!important}
}
