@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{color-scheme:dark;--bg:#050906;--panel:#0b120d;--ink:#e9f1e5;--muted:#9ba99a;--line:#b9d77a35;--acid:#b9d77a;--jade:#83b96a}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}a{color:inherit}.ha-shell{min-height:100vh;background:radial-gradient(ellipse at 50% 0%,#18301c55,transparent 52%),var(--bg)}.ha-nav{height:auto;min-height:64px;padding:15px clamp(18px,5vw,72px);display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);font:10px 'DM Mono',monospace;letter-spacing:1px}.ha-brand{text-decoration:none;display:flex;gap:12px;align-items:center}.ha-brand b{font-size:18px;color:var(--acid);border:1px solid var(--line);padding:9px}.ha-brand span{display:grid;gap:4px}.ha-brand small{color:var(--muted);font-size:8px}.ha-links{display:flex;gap:20px;flex-wrap:wrap}.ha-links a{text-decoration:none;color:#b9c7b7}.ha-links a:hover,.ha-links a[aria-current=page]{color:var(--acid)}.ha-main{width:min(1160px,90vw);margin:auto}.ha-hero{padding:clamp(65px,10vw,130px) 0 55px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:5vw}.ha-kicker{font:10px 'DM Mono',monospace;letter-spacing:2px;color:var(--acid);text-transform:uppercase}.ha-hero h1{font:500 clamp(54px,9vw,112px)/.88 'Playfair Display',serif;letter-spacing:-.06em;margin:25px 0}.ha-hero h1 em{color:var(--acid);font-weight:500}.ha-lead{max-width:590px;color:#c1cdbd;font-size:15px;line-height:1.9}.ha-art{width:100%;border:1px solid var(--line);box-shadow:0 30px 100px #0009}.ha-ego-hero{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(28px,5vw,70px);padding-top:clamp(42px,7vw,82px)}.ha-ego-portrait-wrap{position:relative;min-width:0;border:1px solid #b9d77a66;background:#07100b;box-shadow:0 28px 90px #000b}.ha-ego-portrait{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover}.ha-portrait-mark{position:absolute;left:14px;bottom:14px;padding:8px 10px;background:#050906dd;border:1px solid #b9d77a70;color:var(--acid);font:9px 'DM Mono',monospace;letter-spacing:1.5px}.ha-ego-copy h1{font:500 clamp(74px,12vw,148px)/.82 'Playfair Display',serif;letter-spacing:-.075em;margin:24px 0}.ha-ego-copy h1 em{color:var(--acid);font-style:normal}.ha-ego-declaration{font:10px/1.8 'DM Mono',monospace;letter-spacing:2px;color:var(--acid)}.ha-ego-line{font:italic 15px/1.8 'Playfair Display',serif;color:#c4d1bf;margin-top:25px}.ha-ego-line em{color:var(--acid)}.ha-ego-copy .ha-lead{font-size:14px;line-height:1.9}.ha-meta{display:flex;gap:22px;flex-wrap:wrap;margin-top:28px;color:var(--muted);font:9px 'DM Mono',monospace;letter-spacing:1px}.ha-meta strong{color:var(--acid);font-weight:500}.ha-divider{height:1px;background:linear-gradient(90deg,transparent,var(--line),transparent);margin:20px 0 40px}.ha-intro{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:20px 0 55px}.ha-intro h2{font:500 clamp(28px,4vw,46px)/1.05 'Playfair Display',serif;margin:0}.ha-intro h2 em{color:var(--acid)}.ha-intro p{color:var(--muted);line-height:1.9;font-size:13px;margin:0}.ha-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.ha-controls label{font:9px 'DM Mono',monospace;color:var(--acid);letter-spacing:1px}.ha-controls input,.ha-controls select{min-height:42px;background:#081009;border:1px solid #b9d77a55;color:var(--ink);padding:0 12px;font:11px 'DM Mono',monospace}.ha-controls input{flex:1;min-width:220px}.ha-count{margin-left:auto;color:var(--muted);font:9px 'DM Mono',monospace}.ha-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin:26px 0 70px}.ha-entry{display:flex;min-height:112px;flex-direction:column;justify-content:space-between;padding:20px 22px;background:#080e09;text-decoration:none;transition:background .2s,transform .2s}.ha-entry:hover{background:#132015}.ha-entry small{font:9px 'DM Mono',monospace;color:var(--jade);letter-spacing:1px}.ha-entry strong{font:500 20px/1.25 'Playfair Display',serif;margin:13px 0}.ha-entry span{align-self:flex-end;color:var(--acid);font:11px 'DM Mono',monospace}.ha-empty{grid-column:1/-1;padding:40px;color:var(--muted);font:11px 'DM Mono',monospace}.ha-foot{border-top:1px solid var(--line);padding:30px 5vw;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted);font:9px 'DM Mono',monospace;letter-spacing:1px}.ha-foot a{color:var(--acid);text-decoration:none}@media(max-width:760px){.ha-nav{align-items:flex-start;flex-direction:column}.ha-links{gap:12px}.ha-hero{grid-template-columns:1fr;padding-top:45px}.ha-ego-hero{gap:30px}.ha-ego-portrait-wrap{order:0}.ha-ego-copy{order:1}.ha-art{max-width:620px}.ha-intro{grid-template-columns:1fr;gap:18px}.ha-list{grid-template-columns:1fr}.ha-count{margin-left:0;width:100%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

/* HUMAN ARCHIVE // personal record vault */
.ha-controls{position:relative;gap:12px 14px;padding:18px 0;background:linear-gradient(90deg,rgba(131,185,106,.045),transparent 70%)}
.ha-controls input,.ha-controls select{border-color:rgba(182,232,51,.25);background:linear-gradient(180deg,#0b140d,#070c08);transition:border-color .18s,box-shadow .18s}
.ha-controls input:focus,.ha-controls select:focus{outline:2px solid var(--acid);outline-offset:2px;border-color:var(--acid);box-shadow:0 0 20px rgba(216,255,62,.08)}
.ha-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:transparent;border:0;margin:24px 0 76px}
.ha-entry{position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:150px;padding:18px 20px;border:1px solid rgba(182,232,51,.18);border-left:2px solid rgba(131,185,106,.58);background:linear-gradient(125deg,rgba(131,185,106,.06),transparent 48%),#080e09;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s}
.ha-entry:before{content:"";position:absolute;z-index:-1;right:0;top:0;width:105px;height:100%;pointer-events:none;opacity:.5;background:repeating-linear-gradient(135deg,transparent 0 9px,rgba(182,232,51,.035) 9px 10px);clip-path:polygon(40% 0,100% 0,100% 100%,0 100%)}
.ha-entry:hover,.ha-entry:focus-visible{transform:translateY(-2px);border-color:rgba(216,255,62,.55);border-left-color:var(--acid);background:linear-gradient(125deg,rgba(131,185,106,.1),transparent 55%),#0b150d;box-shadow:0 14px 34px rgba(0,0,0,.2)}
.ha-entry-top,.ha-entry-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.ha-entry-code{color:#93a48e!important;font:8px 'DM Mono',monospace!important;letter-spacing:1.2px!important}
.ha-entry-year{color:var(--acid);font:9px 'DM Mono',monospace;letter-spacing:1px}
.ha-entry strong{display:block;max-width:92%;margin:20px 0 18px;font:500 clamp(18px,2.1vw,24px)/1.2 'Playfair Display',serif;overflow-wrap:anywhere}
.ha-entry-bottom{padding-top:11px;border-top:1px solid rgba(182,232,51,.13)}
.ha-entry-bottom small{color:#7f907d;font:8px 'DM Mono',monospace;letter-spacing:.5px}
.ha-entry-bottom span{font:8px 'DM Mono',monospace;letter-spacing:.8px;white-space:nowrap}
.ha-empty{border:1px dashed rgba(182,232,51,.25);background:#080e09}
@media(max-width:760px){.ha-list{grid-template-columns:1fr;gap:8px}.ha-entry{min-height:132px;padding:16px}.ha-entry strong{margin:15px 0}}
@media(prefers-reduced-motion:reduce){.ha-entry{transition:none}}

/* Archive shelves: uniform record plates and collapsible category drawers. */
.ha-list{display:block!important;background:transparent!important;border:0!important}
.ha-category-group{margin:26px 0 34px}
.ha-category-heading{align-items:center;margin:0 0 14px;padding:0 0 10px}
.ha-category-toggle{display:inline-flex;align-items:center;gap:12px;min-width:0;padding:4px 0;border:0;background:transparent;color:var(--acid);text-align:left;cursor:pointer}
.ha-category-toggle:focus-visible{outline:1px solid var(--acid);outline-offset:5px}
.ha-category-title{font:400 clamp(19px,2.6vw,27px)/1.2 'Playfair Display',serif}
.ha-category-marker{display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--line);color:var(--acid);font:14px 'DM Mono',monospace}
.ha-category-total{flex:none;color:var(--muted);font:9px 'DM Mono',monospace;letter-spacing:.12em}
.ha-category-entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px}
.ha-category-entries[hidden]{display:none!important}
.ha-entry{height:178px;min-height:178px;max-height:178px;padding:16px 18px}
.ha-entry strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-width:100%;min-height:3.6em;margin:12px 0;font-size:clamp(16px,1.5vw,20px);line-height:1.2}
.ha-entry-bottom{margin-top:auto}
@media(max-width:900px){.ha-category-entries{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ha-category-entries{grid-template-columns:1fr;gap:9px}.ha-entry{height:154px;min-height:154px;max-height:154px}.ha-category-heading{align-items:center}.ha-category-title{font-size:20px}}


/* HUMAN ARCHIVE // memorial architecture
   A quiet digital columbarium: dark stone, etched metal, restrained ghost-light. */
:root{
  --bg:#07090c;
  --panel:#0c1116;
  --ink:#e5e8e7;
  --muted:#89969a;
  --line:rgba(133,164,171,.22);
  --acid:#a8c7c2;
  --jade:#b5a27b;
}
.ha-shell{
  background:
    radial-gradient(ellipse at 50% 0%,rgba(94,132,139,.13),transparent 48%),
    linear-gradient(180deg,#090d11 0%,#07090c 58%,#090b0e 100%)!important;
  position:relative;
  isolation:isolate;
}
.ha-shell:before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.24;
  background:
    linear-gradient(90deg,transparent 49.9%,rgba(155,188,188,.04) 50%,transparent 50.1%),
    repeating-linear-gradient(0deg,rgba(200,220,220,.018) 0 1px,transparent 1px 5px);
}
.ha-main{width:min(1200px,90vw)!important}
.ha-ego-hero{
  position:relative;
  padding-top:clamp(42px,6vw,76px)!important;
  padding-bottom:clamp(34px,5vw,58px)!important;
  gap:clamp(30px,5vw,76px)!important;
}
.ha-ego-portrait-wrap{
  border:1px solid rgba(166,193,188,.34)!important;
  background:#090e12!important;
  box-shadow:0 26px 90px rgba(0,0,0,.56),inset 0 0 0 7px rgba(176,197,189,.025)!important;
}
.ha-ego-portrait{
  filter:saturate(.58) contrast(1.05) brightness(.82)!important;
}
.ha-ego-portrait-wrap:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,10,13,.02) 48%,rgba(6,10,13,.36)),linear-gradient(90deg,rgba(6,10,13,.12),transparent 35%,rgba(6,10,13,.12));
  box-shadow:inset 0 0 55px rgba(0,0,0,.24);
}
.ha-portrait-mark{
  z-index:1!important;
  left:16px!important;bottom:16px!important;
  border:1px solid rgba(185,174,139,.45)!important;
  background:rgba(7,11,14,.82)!important;
  color:#c2b58e!important;
  font-size:8px!important;letter-spacing:.19em!important;
}
.ha-ego-copy{position:relative}
.ha-ego-copy:before{
  content:"";display:block;width:42px;height:1px;margin:0 0 18px;
  background:linear-gradient(90deg,#b8a67e,transparent);
}
.ha-ego-copy .ha-kicker{
  color:#b8c9c5!important;font-size:8px!important;letter-spacing:.2em!important;
}
.ha-ego-copy h1{
  color:#e3e7e3!important;
  font:400 clamp(70px,10vw,126px)/.82 Georgia,serif!important;
  letter-spacing:-.075em!important;
  text-shadow:0 0 28px rgba(166,202,198,.12);
}
.ha-ego-copy h1 em{color:#b8a67e!important}
.ha-ego-declaration{
  color:#b8a67e!important;font-size:9px!important;letter-spacing:.2em!important;
}
.ha-ego-copy .ha-lead{
  max-width:560px!important;color:#aeb9b9!important;
  font-size:13px!important;line-height:1.9!important;
}
.ha-ego-line{
  padding-left:14px;border-left:1px solid rgba(184,166,126,.5);
  color:#d0d7d3!important;font-size:14px!important;
}
.ha-ego-line em{color:#9db9b5!important}
.ha-meta{
  gap:14px 22px!important;padding-top:17px;
  border-top:1px solid rgba(145,171,171,.17);
  color:#7f8c90!important;font-size:8px!important;
}
.ha-meta strong{color:#c4b58f!important}
.ha-divider{
  background:linear-gradient(90deg,transparent,rgba(154,182,178,.28),transparent)!important;
  margin:12px 0 32px!important;
}
.ha-memorial-intro{
  position:relative;grid-template-columns:.9fr 1.1fr!important;
  gap:clamp(24px,5vw,80px)!important;
  padding:12px 0 44px!important;
}
.ha-memorial-intro:before{
  content:"MEMORIAL / RECORDS / 001—140";
  display:block;grid-column:1/-1;
  color:#829a99;font:7px/1.5 'DM Mono',monospace;letter-spacing:.22em;
  padding-bottom:10px;border-bottom:1px solid rgba(145,171,171,.15);
}
.ha-memorial-intro h2{
  color:#dce2df!important;font:400 clamp(29px,4.2vw,48px)/1.05 Georgia,serif!important;
}
.ha-memorial-intro h2 em{color:#b8a67e!important}
.ha-memorial-intro p{
  max-width:650px;color:#9ca9a9!important;font-size:12px!important;line-height:1.9!important;
}
.ha-controls{
  border-top:1px solid rgba(145,171,171,.25)!important;
  border-bottom:1px solid rgba(145,171,171,.25)!important;
  background:linear-gradient(90deg,rgba(110,145,148,.055),transparent 72%)!important;
}
.ha-controls label{color:#b8c9c5!important}
.ha-controls input,.ha-controls select{
  border-color:rgba(154,184,181,.27)!important;
  background:linear-gradient(180deg,#0c1216,#080d11)!important;
  color:#dce3df!important;
}
.ha-count{color:#89989a!important}
.ha-category-heading{
  border-bottom-color:rgba(145,171,171,.25)!important;
}
.ha-category-title{color:#c0d0ca!important}
.ha-category-marker{
  border-color:rgba(154,184,181,.25)!important;
  color:#c1b38e!important;background:rgba(10,15,18,.6)!important;
}
.ha-category-total{color:#78888b!important}
.ha-category-entries{gap:10px!important}
.ha-entry{
  position:relative;isolation:isolate;overflow:hidden;
  border:1px solid rgba(143,171,170,.2)!important;
  border-left:1px solid rgba(184,166,126,.38)!important;
  background:
    linear-gradient(145deg,rgba(125,157,157,.055),transparent 58%),
    linear-gradient(180deg,#10171b,#0a0f13)!important;
  box-shadow:inset 0 1px rgba(235,242,235,.025),0 12px 32px rgba(0,0,0,.2)!important;
}
.ha-entry:before{
  width:100%!important;height:100%!important;opacity:.22!important;
  background:repeating-linear-gradient(0deg,transparent 0 5px,rgba(171,196,190,.035) 5px 6px)!important;
  clip-path:none!important;
}
.ha-entry:after{
  content:"";position:absolute;z-index:-1;right:12px;top:12px;width:18px;height:18px;
  border-top:1px solid rgba(184,166,126,.45);border-right:1px solid rgba(184,166,126,.45);
  pointer-events:none;
}
.ha-entry:hover,.ha-entry:focus-visible{
  transform:translateY(-1px)!important;
  border-color:rgba(172,207,199,.5)!important;
  border-left-color:#b8a67e!important;
  background:linear-gradient(145deg,rgba(125,157,157,.09),transparent 62%),#111a1e!important;
  box-shadow:0 14px 34px rgba(0,0,0,.3),0 0 20px rgba(142,185,180,.06)!important;
}
.ha-entry-code,.ha-entry-bottom small{color:#7f9293!important}
.ha-entry-year{color:#b8a67e!important}
.ha-entry strong{color:#dce3df!important}
.ha-entry-bottom{border-top-color:rgba(145,171,171,.15)!important}
.ha-entry-bottom span{color:#a9c4bd!important}
.ha-empty{color:#9ca9a9!important;background:#0a1014!important;border-color:rgba(145,171,171,.2)!important}
.ha-foot{
  border-top-color:rgba(145,171,171,.2)!important;
  background:rgba(5,8,11,.65);
  color:#78888b!important;
}
.ha-foot a{color:#b8c9c5!important}
@media(max-width:760px){
  .ha-memorial-intro{grid-template-columns:1fr!important;gap:16px!important}
  .ha-memorial-intro:before{grid-column:1}
  .ha-ego-copy h1{font-size:clamp(68px,18vw,112px)!important}
}
@media(prefers-reduced-motion:reduce){
  .ha-entry{transition:none!important}
}
