/* Wikiup Integrative Center - shared styles.
   Night-sky panels for the header, heroes and footer; warm paper for long reading. Accent colours come from the
   center's emblem (star gold, heart rose, field teal). */
:root {
  --night: #100d1f;
  --night-2: #191431;
  --night-3: #241d44;
  --on-night: #f1eadf;
  --on-night-muted: #bdb4cc;
  --paper: #f7f2e9;
  --paper-2: #efe7d9;
  --ink: #231d35;
  --ink-muted: #5d566e;
  --gold: #e6ae4a;
  --gold-deep: #b98325;
  --rose: #d9508f;
  --teal: #3bb7bf;
  --line: rgba(35, 29, 53, .14);
  --line-night: rgba(241, 234, 223, .14);
  --ok: #2e8a5b;
  --warn: #b65a1c;
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(16, 13, 31, .45);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --surface: #fffdf8;
  --field-line: #cfc6b6;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Phones scroll up and down only: nothing may push the page sideways. 'clip' (not 'hidden') keeps the sticky header working. */
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 var(--sans); text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--ink-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { background: var(--night); color: var(--on-night); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line-night); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--on-night); text-decoration: none; font: 600 1.55rem/1 var(--serif); letter-spacing: .02em; }
.brand img { border-radius: 50%; }
.brand em { font-style: italic; color: var(--gold); font-weight: 500; }
.brand:hover { color: var(--on-night); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a, .nav button { color: var(--on-night-muted); text-decoration: none; font: 500 .9rem/1 var(--sans); padding: 10px 11px; border-radius: 999px; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover { color: var(--on-night); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .nav-account { margin-left: 8px; border: 1px solid rgba(230, 174, 74, .55); color: var(--gold); padding: 9px 16px; }
.nav .nav-account:hover { background: var(--gold); color: var(--night); }
.menu-toggle { display: none; margin-left: auto; background: none; color: var(--on-night); border: 1px solid var(--line-night); border-radius: 999px; padding: 8px 16px; font: 500 .9rem var(--sans); cursor: pointer; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--night); padding: 8px 16px 18px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line-night); }
  .nav.open { display: flex; }
  .nav a, .nav button { padding: 13px 10px; font-size: 1rem; text-align: left; border-radius: 10px; }
  .nav .nav-account { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--sans); padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #f1c06a; color: var(--night); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--night-3); color: var(--paper); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { color: var(--rose); }
.btn-small { padding: 9px 15px; font-size: .85rem; }
.badge { display: inline-block; font: 600 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-muted); }
.badge-gold { background: rgba(230, 174, 74, .18); color: var(--gold-deep); }
.badge-rose { background: rgba(217, 80, 143, .14); color: #a8336a; }
.badge-teal { background: rgba(59, 183, 191, .16); color: #1f7c83; }
.badge-sample { background: transparent; border: 1px dashed currentColor; color: var(--ink-muted); }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; display: block; }

/* ---------- Night panels ---------- */
.night { background: radial-gradient(1200px 500px at 85% -10%, rgba(217, 80, 143, .18), transparent 60%),
  radial-gradient(900px 500px at 0% 110%, rgba(59, 183, 191, .14), transparent 60%), var(--night); color: var(--on-night); }
.night .muted, .night p.lede { color: var(--on-night-muted); }
.night .eyebrow { color: var(--gold); }
.night a:not(.btn) { color: var(--gold); }
.stars { position: relative; isolation: isolate; }
.stars::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
  background-image: radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 64% 14%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 82% 62%, #f6dca6 50%, transparent 51%), radial-gradient(1px 1px at 32% 78%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 40%, #cfc6ff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 92% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 66%, #f6dca6 50%, transparent 51%), radial-gradient(1px 1px at 72% 88%, #fff 50%, transparent 51%); }

/* ---------- Page hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 15ch; }
.hero p.lede { font-size: 1.2rem; max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.page-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero p.lede { font-size: 1.15rem; max-width: 62ch; margin: 0; }

.home-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.home-hero .photo { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); aspect-ratio: 4 / 3.2; }
.home-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .home-hero { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.prose { max-width: 720px; }
.prose p { font-size: 1.08rem; }
.prose h2 { margin-top: 1.4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font: italic 500 1.5rem/1.4 var(--serif); color: var(--ink); }
.pull { font: italic 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.35 var(--serif); color: var(--ink); max-width: 32ch; }
.night .pull { color: var(--on-night); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card > .badge { align-self: flex-start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-muted); }
.card .card-foot { margin-top: auto; padding-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.card-link { text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(230, 174, 74, .6); color: inherit; }
.card-link .more { color: var(--gold-deep); font-weight: 600; font-size: .92rem; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.night .card { background: var(--night-2); border-color: var(--line-night); }
.night .card p { color: var(--on-night-muted); }
.card ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-muted); }
.card ul li { margin: 4px 0; }

/* ---------- Guides ---------- */
.guide { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.guide:first-of-type { border-top: 0; }
.guide figure { margin: 0; position: sticky; top: 100px; }
.guide figure img { border-radius: 18px; aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.guide .role { font: italic 500 1.3rem var(--serif); color: var(--gold-deep); margin: -4px 0 18px; }
.creds { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { font-size: .82rem; background: var(--paper-2); border-radius: 999px; padding: 6px 12px; color: var(--ink-muted); }
@media (max-width: 820px) { .guide { grid-template-columns: 1fr; } .guide figure { position: static; max-width: 320px; } }

/* ---------- Principles list ---------- */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 36px; }
.principle h3 { font-size: 1.4rem; display: flex; gap: 12px; align-items: baseline; }
.principle h3::before { content: "\2726"; color: var(--gold); font-size: 1rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .label { font: 600 .85rem/1.2 var(--sans); color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--ink-muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="datetime-local"], input[type="search"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--field-line); border-radius: 10px; padding: 12px 14px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(230, 174, 74, .6); border-color: var(--gold-deep); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--gold-deep); }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-error { color: #a32d2d; font-size: .92rem; min-height: 1.2em; margin: 0; }
.subscribe { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe input { flex: 1 1 200px; background: rgba(255, 255, 255, .06); border-color: var(--line-night); color: var(--on-night); }
.subscribe input::placeholder { color: var(--on-night-muted); }
.auth-shell { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 48px 16px; }
.auth-card { width: min(540px, 100%); }
.auth-card h1 { font-size: 2.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding: 64px 0 28px; }
.site-footer .muted { color: var(--on-night-muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr; gap: 40px; }
.footer-h { font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a { color: var(--on-night-muted); text-decoration: none; }
.footer-links a:hover { color: var(--on-night); }
.brand-footer { font-size: 1.35rem; margin-bottom: 14px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-night); margin-top: 48px; padding-top: 22px; font-size: .85rem; color: var(--on-night-muted); }
.footer-base a { color: var(--on-night-muted); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Calendar ---------- */
.cal-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.cal-toolbar h2 { margin: 0 auto 0 0; font-size: 2rem; min-width: 12ch; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font: 600 .85rem var(--sans); color: var(--ink-muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.icon-btn:hover { border-color: var(--gold-deep); }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.month .dow { font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); padding: 12px 10px; background: var(--paper-2); }
.month .day { min-height: 118px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.month .day:nth-child(7n + 1) { border-left: 0; }
.month .day.other { background: rgba(239, 231, 217, .45); }
.month .day.other .num { opacity: .45; }
.month .day.today .num { background: var(--gold); color: var(--night); }
.month .num { font: 600 .85rem/1 var(--sans); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.chip { display: block; text-decoration: none; font-size: .76rem; line-height: 1.3; padding: 5px 7px; border-radius: 7px; background: rgba(36, 29, 68, .07); color: var(--ink); border-left: 3px solid var(--teal); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip:hover { background: rgba(230, 174, 74, .2); color: var(--ink); }
.chip.c-weekly { border-left-color: var(--teal); }
.chip.c-evening { border-left-color: var(--gold); }
.chip.c-intensive { border-left-color: var(--rose); }
.chip.c-online { border-left-color: #8a7bd8; }
.chip time { font-weight: 600; margin-right: 4px; }
@media (max-width: 640px) { .cal-toolbar h2 { flex-basis: 100%; } }
@media (max-width: 760px) {
  .month .day { min-height: 64px; padding: 4px; }
  .chip { font-size: 0; padding: 0; height: 7px; border-left-width: 0; background: var(--teal); }
  .chip.c-evening { background: var(--gold); } .chip.c-intensive { background: var(--rose); } .chip.c-online { background: #8a7bd8; }
}
.event-list { display: grid; gap: 14px; }
.event-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; text-decoration: none; color: inherit; }
.event-row:hover { border-color: rgba(230, 174, 74, .7); box-shadow: var(--shadow); color: inherit; }
.date-tile { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.date-tile .m { font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.date-tile .d { font: 600 2.4rem/1 var(--serif); }
.date-tile .w { font-size: .78rem; color: var(--ink-muted); }
.event-row h3 { margin: 0 0 4px; font-size: 1.4rem; }
.event-row .meta { font-size: .9rem; color: var(--ink-muted); }
.event-row .price { font: 600 1.05rem var(--sans); white-space: nowrap; }
@media (max-width: 640px) { .event-row { grid-template-columns: 70px 1fr; } .event-row .price { grid-column: 2; } }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-muted); margin-top: 16px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--teal); }
.legend .l-evening::before { background: var(--gold); } .legend .l-intensive::before { background: var(--rose); } .legend .l-online::before { background: #8a7bd8; }

.event-detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.event-aside { position: sticky; top: 100px; }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; font-size: .95rem; }
.facts b { font: 600 .74rem/1.9 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.price-big { font: 600 2.4rem/1 var(--serif); margin-bottom: 18px; }
@media (max-width: 880px) { .event-detail { grid-template-columns: 1fr; } .event-aside { position: static; } }

/* ---------- Tables (member + admin) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th { text-align: left; font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); background: var(--paper-2); padding: 12px 14px; white-space: nowrap; }
table.data td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
table.data tr.dim td { color: var(--ink-muted); }
.empty { padding: 36px; text-align: center; color: var(--ink-muted); }

.link-btn { background: none; border: 0; padding: 0; color: var(--gold-deep); font: 600 .85rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--rose); }
.link-btn.danger { color: #a32d2d; }

/* ---------- Status, toasts, loading ---------- */
.notice { border-radius: 12px; padding: 14px 18px; background: rgba(230, 174, 74, .14); border: 1px solid rgba(230, 174, 74, .45); font-size: .95rem; }
.notice-ok { background: rgba(46, 138, 91, .1); border-color: rgba(46, 138, 91, .4); }
.toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 10px; z-index: 100; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--night); color: var(--on-night); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow); font-size: .95rem; animation: toast-in .25s ease; }
.toast.ok { border-left-color: #58c08b; }
.toast.err { border-left-color: #ef6b6b; }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }
.loading { display: flex; align-items: center; gap: 12px; color: var(--ink-muted); padding: 28px 0; }
.loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold-deep); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.waking { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); background: var(--night); color: var(--on-night); padding: 10px 18px; border-radius: 999px; font-size: .88rem; z-index: 60; box-shadow: var(--shadow); }

/* ---------- Home ---------- */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature img { border-radius: 22px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } }
.emblem-band { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.emblem-band img { border-radius: 50%; box-shadow: 0 0 80px -10px rgba(230, 174, 74, .35); }
@media (max-width: 760px) { .emblem-band { grid-template-columns: 1fr; } .emblem-band img { max-width: 200px; } }
.flyer { width: 100%; max-width: 420px; border-radius: 18px; box-shadow: var(--shadow); }

/* DEMO LOGINS box on the sign-in page - remove at go-live. */
.demo-logins { margin-top: 28px; padding-top: 22px; border-top: 1px dashed #cfc6b6; }
.demo-logins h2 { font-size: 1.4rem; margin-bottom: 4px; }
.demo-logins p { font-size: .88rem; }
.demo-logins table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.demo-logins th { text-align: left; font: 600 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); padding: 6px 6px 8px 0; }
.demo-logins td { padding: 10px 6px 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
.demo-logins td .muted { font-size: .78rem; }
.demo-logins .btn { white-space: nowrap; }
.demo-logins code { background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 520px) { .demo-logins thead { display: none; } .demo-logins tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); } .demo-logins td { border: 0; padding: 0; } .demo-logins td:first-child, .demo-logins td:last-child { grid-column: 1 / -1; } }

/* ---------- Dark "quantum field" theme for every public page (Bob, 2026-10-19) ----------
   The center's original site: near-black page (#09090b), dark cards (#0e0e11), glowing waves (js/waves.js) moving
   behind everything. Panels are slightly see-through so the waves show. The admin area keeps the light theme. */
.quantum-bg { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; mix-blend-mode: screen; }
body.layout-public, body.layout-account {
  --paper: #09090b;
  --paper-2: rgba(255, 255, 255, .045);
  --ink: #f2ecf7;
  --ink-muted: #b4adc4;
  --line: rgba(242, 236, 247, .12);
  --surface: rgba(16, 15, 22, .78);
  --field-line: rgba(242, 236, 247, .22);
  --gold-deep: #f0bd5e;
  --night: #09090b;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, .8);
  background: var(--paper); color: var(--ink);
}
body.layout-public main, body.layout-account main, body.layout-public .site-footer, body.layout-account .site-footer { position: relative; z-index: 1; }
body.layout-public .site-header, body.layout-account .site-header { background: rgba(9, 9, 11, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.layout-public .night, body.layout-account .night { background: transparent; }
body.layout-public .section-alt, body.layout-account .section-alt { background: rgba(255, 255, 255, .025); }
body.layout-public .site-footer, body.layout-account .site-footer { background: rgba(9, 9, 11, .7); border-top: 1px solid var(--line-night); }
body.layout-public .card, body.layout-public .form-panel, body.layout-public .event-row, body.layout-public .table-wrap, body.layout-public .month,
body.layout-account .card, body.layout-account .form-panel, body.layout-account .event-row, body.layout-account .table-wrap {
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.layout-public main a:not(.btn), body.layout-account main a:not(.btn) { color: var(--gold); }
body.layout-public main a:not(.btn):hover, body.layout-account main a:not(.btn):hover { color: #ff7cc0; }
body.layout-public main a.card-link, body.layout-public main a.event-row, body.layout-public main a.chip { color: var(--ink); }
body.layout-public .btn-gold, body.layout-account .btn-gold { color: #100d1f; }
body.layout-public .btn-ink, body.layout-account .btn-ink { background: #f2ecf7; color: #100d1f; }
body.layout-public .btn-ink:hover, body.layout-account .btn-ink:hover { background: #fff; color: #100d1f; }
body.layout-public .badge-teal, body.layout-account .badge-teal { background: rgba(59, 183, 191, .18); color: #7fe3ea; }
body.layout-public .badge-rose, body.layout-account .badge-rose { background: rgba(217, 80, 143, .2); color: #ff9fcd; }
body.layout-public .badge-gold, body.layout-account .badge-gold { background: rgba(230, 174, 74, .18); color: #f5c978; }
body.layout-public .month .day.other { background: rgba(255, 255, 255, .02); }
body.layout-public .month .dow, body.layout-public table.data th, body.layout-account table.data th { background: rgba(255, 255, 255, .05); }
body.layout-public .chip { background: rgba(255, 255, 255, .07); }
body.layout-public .chip:hover { background: rgba(230, 174, 74, .22); }
body.layout-public .seg button[aria-pressed="true"] { background: #f2ecf7; color: #100d1f; }
body.layout-public .notice, body.layout-account .notice { background: rgba(230, 174, 74, .12); border-color: rgba(230, 174, 74, .4); }
body.layout-public .notice-ok, body.layout-account .notice-ok { background: rgba(46, 138, 91, .16); border-color: rgba(88, 192, 139, .45); }
body.layout-public input, body.layout-public select, body.layout-public textarea,
body.layout-account input, body.layout-account select, body.layout-account textarea { background: rgba(255, 255, 255, .05); color: var(--ink); }
body.layout-public select option, body.layout-account select option { background: #16151c; color: var(--ink); }
body.layout-public input::placeholder, body.layout-public textarea::placeholder, body.layout-account input::placeholder, body.layout-account textarea::placeholder { color: #8f88a0; }
body.layout-public .form-error, body.layout-account .form-error { color: #ff8a8a; }
body.layout-public .link-btn.danger, body.layout-account .link-btn.danger { color: #ff8a8a; }
body.layout-public .guide figure img, body.layout-public .feature img, body.layout-public .flyer { box-shadow: 0 24px 60px -24px rgba(168, 85, 247, .45); }

/* ---------- Home: featured dome photo, guides pair, H.O.M.E. flyer (2026-10-19) ---------- */
.home-hero-center { text-align: center; padding-bottom: clamp(28px, 4vw, 44px); }
.home-hero-center h1 { max-width: none; margin-inline: auto; text-shadow: 0 0 40px rgba(168, 85, 247, .45); }
.home-hero-center p.lede { margin-inline: auto; }
.home-hero-center .hero-actions { justify-content: center; }
.dome-feature { margin-top: 0; margin-bottom: 0; padding-bottom: clamp(48px, 7vw, 96px); position: relative; }
.dome-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 55%; border-radius: 26px;
  box-shadow: 0 0 0 1px rgba(242, 236, 247, .1), 0 40px 120px -30px rgba(168, 85, 247, .55), 0 20px 60px -30px rgba(0, 255, 255, .25); }
.dome-feature figcaption { text-align: center; color: var(--ink-muted); font-size: .9rem; margin-top: 14px; }
@media (max-width: 640px) { .dome-feature img { aspect-ratio: 4 / 3.4; border-radius: 18px; } }
.guide-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.guide-mini { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; text-decoration: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: border-color .2s ease, transform .2s ease; }
.guide-mini:hover { border-color: rgba(230, 174, 74, .6); transform: translateY(-3px); }
.guide-mini img { width: 160px; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 12px; }
.guide-mini b { display: block; font: 600 1.45rem/1.2 var(--serif); color: var(--ink); }
.guide-mini em { display: block; margin-top: 6px; font: italic 500 1.1rem var(--serif); color: var(--gold); }
@media (max-width: 760px) { .guide-pair { grid-template-columns: 1fr; } .guide-mini { grid-template-columns: 110px 1fr; } .guide-mini img { width: 110px; } }
.home-flyer { grid-template-columns: 1.1fr .9fr; }
.home-flyer img { max-width: 420px; justify-self: center; }
@media (max-width: 860px) { .home-flyer { grid-template-columns: minmax(0, 1fr); } .home-flyer img { order: -1; max-width: min(320px, 100%); } }

/* ---------- Event photos, private bookings, Rent the Wikiup (2026-10-20) ---------- */
.event-row.has-photo { grid-template-columns: 92px 132px minmax(0, 1fr) auto; }
.ev-photo { width: 132px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.event-private { grid-template-columns: 92px minmax(0, 1fr); opacity: .8; border-style: dashed; }
.event-private h3 { font-style: italic; }
.ev-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; margin: 0 0 24px; display: block;
  box-shadow: 0 24px 60px -24px rgba(168, 85, 247, .45); }
.chip.c-private { border-left-color: #6d6880; font-style: italic; cursor: default; }
.chip.c-private:hover { background: rgba(36, 29, 68, .07); }
body.layout-public .chip.c-private, body.layout-public .chip.c-private:hover { background: rgba(255, 255, 255, .04); color: var(--ink-muted); }
.legend .l-private::before { background: #6d6880; }
@media (max-width: 760px) { .chip.c-private, body.layout-public .chip.c-private, body.layout-public .chip.c-private:hover { background: #6d6880; } }
@media (max-width: 640px) {
  .event-row.has-photo { grid-template-columns: 70px minmax(0, 1fr); }
  .event-row.has-photo .ev-photo { grid-column: 1 / -1; grid-row: 1; width: 100%; aspect-ratio: 16 / 9; }
  .event-private { grid-template-columns: 70px minmax(0, 1fr); }
}
.rent-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rent-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.rent-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
@media (max-width: 760px) { .rent-feature { grid-template-columns: minmax(0, 1fr); } }
