.topbar { position: sticky; top: 0; z-index: 40; background: rgba(0,0,0,.97); padding: 10px 28px 8px; border-bottom: 1px solid var(--gold); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.topbar .brand { font-family: "Bebas Neue", sans-serif; font-size: 26px; letter-spacing: .16em; color: var(--cream); text-decoration: none; }
.topbar nav { display: flex; gap: 16px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; flex-wrap: wrap; justify-content: flex-end; }
.topbar nav a { color: var(--mute); text-decoration: none; } .topbar nav a:hover, .topbar nav a.on { color: var(--gold); }
.topbar .floors { display: flex; gap: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.topbar .floors > a, .topbar .nav-top { color: var(--mute); text-decoration: none; padding: 4px 0; }
.topbar .floors > a:hover, .topbar .nav-top:hover, .topbar .nav-top:focus-visible, .topbar .floors .on { color: var(--gold); outline: none; }
.nav-floor { position: relative; display: inline-flex; }
.nav-sub { position: absolute; top: 100%; left: -14px; z-index: 95; min-width: 230px; max-width: min(320px, 92vw); margin-top: 8px; padding: 6px 0;
  background: #070707; border: 1px solid #262626; border-top-color: #C9A227; box-shadow: 0 14px 36px rgba(0,0,0,.6);
  font-family: "IBM Plex Sans", sans-serif; text-transform: none; letter-spacing: .02em; text-align: left;
  visibility: hidden; opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity .12s ease, transform .12s ease, visibility 0s linear .3s; transition-delay: .18s; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-floor.flip .nav-sub { left: auto; right: -14px; }
.nav-floor:hover .nav-sub, .nav-floor:focus-within .nav-sub, .nav-floor.open .nav-sub { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.nav-floor:focus-within .nav-sub, .nav-floor.open .nav-sub { transition-delay: 0s; }
.nav-sub a { display: block; padding: 8px 16px; color: #C8C8C8; font-size: 13px; line-height: 1.3; text-decoration: none; border-bottom: 1px solid #262626; white-space: normal; }
.nav-sub > a:last-child, .nav-sub-kids a:last-child { border-bottom: 0; }
.nav-sub a:hover, .nav-sub a:focus-visible, .nav-sub a.on { color: #C9A227; background: #0d0d0d; outline: none; }
.nav-sub-kids { border-bottom: 1px solid #262626; }
.nav-sub .nav-sub-child { padding-left: 30px; font-size: 12.5px; color: #8A8173; }
.nav-sub .nav-sub-room { color: #C9A227; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .nav-sub .nav-sub-room { display: none; } }
.nav-sub.nav-sub-2col { column-count: 2; column-gap: 0; column-rule: 1px solid #262626; min-width: 480px; max-width: min(560px, 94vw); }  /* long HOUSE list (CULTURE merged in) */
.nav-sub.nav-sub-2col > a, .nav-sub.nav-sub-2col .nav-sub-kids { break-inside: avoid; }
@media (max-width: 760px) {
  .topbar { padding: 8px 16px 6px; flex-wrap: wrap; } .topbar nav { gap: 10px; font-size: 12px; }
  .topbar .floors { gap: 4px 12px; font-size: 11px; justify-content: flex-start; }
  .nav-floor { position: static; }
  .nav-sub { left: 8px !important; right: 8px !important; top: 100%; min-width: 0; max-width: none; margin-top: 0; }
  .nav-sub.nav-sub-2col { min-width: 0; max-width: none; } .nav-sub.nav-sub-2col a { padding: 11px 12px; min-height: 44px; box-sizing: border-box; }
}
/* ===== Mindesmærket / The Memorial (28 Sep 2026) — calm stone + candle; gold only in the site chrome/share ===== */
:root { --bg:#000; --ink:#C8C8C8; --cream:#f2eadc; --mute:#8A8173; --gold:#C9A227; --line:#1c1c1c;
  --stone:#161615; --stone2:#1f1f1d; --stone-edge:#2f2e2b; --etch:#b9b4aa; --candle:#E7B46A; }
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { background: var(--bg); color: var(--ink); font-family: "IBM Plex Sans", system-ui, sans-serif; }
a { color: var(--etch); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mm-sample { background: #2a1d0c; color: #f3d6a0; border-bottom: 1px solid #5a4020; font: 600 12px/1.4 "IBM Plex Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 6px 12px; }
.mm-wrap { max-width: 1120px; margin: 0 auto; padding: 18px 28px 64px; }
.mm-crumb { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.mm-crumb a { color: var(--mute); text-decoration: none; } .mm-crumb span { color: #6b655b; }
.mm-candle { width: 22px; height: 36px; display: inline-block; vertical-align: middle; }
.mm-candle .flame { transform-origin: 12px 12px; animation: mmFlick 3.2s ease-in-out infinite; }
.mm-candle .glow { animation: mmGlow 3.2s ease-in-out infinite; }
@keyframes mmFlick { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(.96, 1.04) rotate(-2deg); } 60% { transform: scale(1.03, .97) rotate(1.5deg); } }
@keyframes mmGlow { 0%, 100% { opacity: .85; } 50% { opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .mm-candle .flame, .mm-candle .glow { animation: none; } }
.mm-head { text-align: center; padding: 18px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.mm-head .mm-candle { width: 30px; height: 50px; margin-bottom: 10px; }
.mm-head h1 { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 400; color: var(--cream); font-size: clamp(34px, 6vw, 54px); letter-spacing: .06em; line-height: 1.1; }
.mm-lead { color: #bdb7ab; font-size: 16px; line-height: 1.5; max-width: 620px; margin: 12px auto 0; }
.mm-rule { color: var(--mute); font-size: 13px; line-height: 1.5; max-width: 620px; margin: 8px auto 0; }
.mm-ctrl { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 10px; }
.mm-ctrl input, .mm-ctrl select { width: 100%; background: #0b0b0b; color: var(--cream); border: 1px solid #2c2b28; padding: 11px 12px; font: 15px "IBM Plex Sans", sans-serif; border-radius: 0; min-height: 44px; -webkit-appearance: none; appearance: none; }
.mm-ctrl select { background-image: linear-gradient(45deg, transparent 50%, #8A8173 50%), linear-gradient(135deg, #8A8173 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.mm-ctrl input:focus, .mm-ctrl select:focus { outline: none; border-color: #6b5a3a; }
.mm-count { color: var(--mute); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin: 4px 0 16px; }
.mm-field { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 18px; }
.mm-stone a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; color: inherit; height: 100%;
  background: linear-gradient(180deg, var(--stone2), var(--stone) 70%, #111110); border: 1px solid var(--stone-edge); border-bottom-color: #3a3935;
  border-radius: 110px 110px 4px 4px / 80px 80px 4px 4px; padding: 26px 14px 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 0 -6px #0d0d0c; }
.mm-stone a:focus-visible { outline: 1px solid var(--candle); outline-offset: 3px; }
.mm-photo { width: 116px; height: 145px; object-fit: cover; border-radius: 58px / 72px; border: 1px solid #3a3935; background: #0e0e0d; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; }
.mm-ph .mm-candle { width: 26px; height: 44px; opacity: .8; }
.mm-name { font-family: "IBM Plex Serif", Georgia, serif; color: var(--cream); font-size: 21px; line-height: 1.2; letter-spacing: .02em; }
.mm-meta { color: var(--etch); font-size: 13.5px; line-height: 1.35; }
.mm-date { color: var(--mute); font-size: 12.5px; letter-spacing: .04em; margin-top: 2px; }
.mm-lights { color: #b89560; font-size: 11.5px; letter-spacing: .08em; margin-top: 6px; }
.mm-none { color: var(--mute); padding: 20px 0; text-align: center; }
.mm-empty { text-align: center; padding: 48px 16px 60px; border: 1px solid var(--line); background: linear-gradient(180deg, #0c0c0b, #000); }
.mm-empty .mm-candle { width: 28px; height: 46px; margin-bottom: 12px; }
.mm-empty p { color: var(--etch); max-width: 480px; margin: 0 auto; line-height: 1.55; font-size: 15px; }
/* person page */
.mm-person { max-width: 820px; }
.mm-page { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 8px 32px; align-items: start; }
.mm-fig { grid-row: span 2; }
.mm-pphoto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--stone2), var(--stone)); border: 1px solid var(--stone-edge); border-radius: 130px 130px 4px 4px / 100px 100px 4px 4px; }
.mm-pphoto .mm-candle { width: 36px; height: 60px; }
.mm-fig figcaption { color: var(--mute); font-size: 11.5px; line-height: 1.4; margin-top: 8px; }
.mm-fig figcaption a { color: var(--mute); }
.mm-pname { font-family: "IBM Plex Serif", Georgia, serif; font-weight: 400; color: var(--cream); font-size: clamp(32px, 5vw, 46px); line-height: 1.12; }
.mm-pmeta { color: var(--etch); font-size: 16px; margin-top: 10px; }
.mm-pdate { color: var(--mute); font-size: 14px; margin-top: 4px; }
.mm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mm-light { display: inline-flex; align-items: center; gap: 8px; background: #0e0c09; color: #e9d7b6; border: 1px solid #4a3b22; padding: 6px 14px 6px 10px; min-height: 44px; font: 500 14px "IBM Plex Sans", sans-serif; cursor: pointer; }
.mm-light .mm-candle { width: 16px; height: 27px; }
.mm-light .mm-candle .flame, .mm-light .mm-candle .glow { opacity: .35; animation: none; }
.mm-light.on .mm-candle .flame, .mm-light.on .mm-candle .glow { opacity: 1; animation: mmFlick 3.2s ease-in-out infinite; }
.mm-light.on { border-color: #7a5f30; cursor: default; }
.mm-light-n { color: #b89560; font-size: 12.5px; }
.mm-share { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 0 18px; min-height: 44px; font: 600 13px "IBM Plex Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.mm-sec { grid-column: 2; margin-top: 22px; }
.mm-sec h2 { font: 500 11px "IBM Plex Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mm-sec p { color: #d4cec3; font-size: 16px; line-height: 1.65; }
.mm-note { color: var(--mute); font-size: 12px; }
.mm-fact { font-size: 13px !important; color: #9d978c !important; line-height: 1.5 !important; margin-top: 8px; }
.mm-fact span { color: var(--mute); }
.mm-srcs ul { list-style: none; } .mm-srcs li { font-size: 14px; line-height: 1.5; padding: 6px 0; border-bottom: 1px solid #111; }
.mm-srcs li a { color: #d4cec3; text-underline-offset: 3px; } .mm-srcs li span { color: var(--mute); font-size: 12.5px; }
.mm-backp { grid-column: 2; margin-top: 26px; } .mm-back { color: var(--etch); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.mm-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #000; border: 1px solid #4a3b22; color: var(--cream); padding: 8px 14px; font: 500 13px "IBM Plex Sans", sans-serif; z-index: 100; }
@media (max-width: 760px) {
  .mm-wrap { padding: 14px 14px 48px; }
  .mm-ctrl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .mm-ctrl .mm-q { grid-column: 1 / -1; }
  .mm-field { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .mm-stone a { padding: 18px 8px 12px; border-radius: 80px 80px 4px 4px / 60px 60px 4px 4px; }
  .mm-photo { width: 88px; height: 110px; border-radius: 44px / 55px; margin-bottom: 8px; }
  .mm-name { font-size: 17px; } .mm-meta { font-size: 12.5px; } .mm-date { font-size: 11.5px; }
  .mm-page { grid-template-columns: minmax(0, 1fr); }
  .mm-fig { grid-row: auto; max-width: 240px; margin: 0 auto; width: 100%; }
  .mm-pcopy { text-align: center; } .mm-actions { justify-content: center; }
  .mm-sec, .mm-backp { grid-column: 1; }
}
/* status flags from the data (e.g. "No verdict", "Appealed – …") — small, neutral, verbatim (Peter/Loke 23:31) */
.mm-flag { display: inline-block; margin-top: 6px; padding: 1px 7px; border: 1px solid #34332f; color: #a39d92; font-size: 11px; letter-spacing: .04em; line-height: 1.5; }
.mm-flagline { font-size: 13.5px !important; color: #b3ada2 !important; line-height: 1.5 !important; margin-top: 8px; padding-left: 10px; border-left: 2px solid #3a3935; }
.mm-flagline span { color: var(--mute); }
.mm-photo, .mm-pphoto { object-position: 50% 28%; }

/* no-photo headstone (Peter 29 Sep 2026 22:15: photo no longer required) — engraved candle, no frame, no empty box */
.mm-nophoto { display: flex; align-items: center; justify-content: center; height: 56px; margin: 18px 0 14px; }
.mm-nophoto .mm-candle { width: 22px; height: 38px; opacity: .75; }
.mm-page-np { grid-template-columns: minmax(0, 1fr); }
.mm-page-np .mm-sec, .mm-page-np .mm-backp { grid-column: 1; }
.mm-emblem { display: flex; justify-content: flex-start; padding: 4px 0 0; }
.mm-emblem .mm-candle { width: 24px; height: 40px; opacity: .8; }
@media (max-width: 760px) {
  .mm-nophoto { height: 44px; margin: 12px 0 10px; }
  .mm-emblem { justify-content: center; }
}
