/* ============================================================
   Pangloss Technologies — design system
   Fonts: Fraunces (display), Inter (body) — self-hosted, see fonts/fonts.css
   Themes: [data-theme="dark"] (default) and [data-theme="light"]
   The home page runs a "meteoric arc": cosmic night hero -> dusk -> dawn -> day.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
    /* cosmic constants — identical in both themes */
    --space-deep: #05060f;
    --space-navy: #0b1026;
    --space-mid: #121838;
    --gold: #e8a33d;
    --gold-bright: #ffce6b;
    --gold-deep: #b97612;
    --star: #f4f1ff;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

    --container: 1120px;
    --radius: 14px;
    --shadow-lift: 0 18px 50px -18px rgba(4, 5, 18, 0.55);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
    --bg: #0b0f1e;
    --surface: #151b38;
    --surface-2: #1b2244;
    --ink: #eceaf3;
    --muted: #a9a6bd;
    --line: rgba(235, 230, 255, 0.1);
    --accent: var(--gold-bright);
    --accent-ink: #241a05;
    --header-glass: rgba(8, 10, 26, 0.72);

    --arc-night: #0b0f1e;
    --arc-dusk-end: #171332;
    --arc-dawn: #1c1636;
    --arc-day: #1d1b33;
    --arc-garden: #221c2e;
    --arc-ink: #eceaf3;
    --arc-muted: #a9a6bd;

    --paper: #1d1712;
    --paper-ink: #efe6d2;
    --paper-muted: #bfb09a;
    --paper-line: rgba(239, 230, 210, 0.16);

    --field-bg: #10152c;
    --field-border: rgba(235, 230, 255, 0.16);
}

:root[data-theme="light"] {
    --bg: #faf7f0;
    --surface: #ffffff;
    --surface-2: #f4efe4;
    --ink: #201d33;
    --muted: #5d5975;
    --line: rgba(32, 26, 70, 0.12);
    --accent: var(--gold-deep);
    --accent-ink: #ffffff;
    --header-glass: rgba(250, 247, 240, 0.78);

    --arc-night: #131832;
    --arc-dusk-end: #f3ead7;
    --arc-dawn: #f8efdd;
    --arc-day: #faf7f0;
    --arc-garden: #f2ead8;
    --arc-ink: #201d33;
    --arc-muted: #5d5975;

    --paper: #f8f1e2;
    --paper-ink: #2b2318;
    --paper-muted: #6f6551;
    --paper-line: rgba(43, 35, 24, 0.18);

    --field-bg: #ffffff;
    --field-border: rgba(32, 26, 70, 0.22);
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; font-weight: 560; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- reveal on scroll (JS adds html.js; no-JS keeps everything visible) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15.5px;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, border-color 0.25s;
    text-align: center;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #241a05;
    box-shadow: 0 6px 24px -8px rgba(232, 163, 61, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(232, 163, 61, 0.7); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: 0.9; }
.btn-ghost:hover { transform: translateY(-2px); opacity: 1; }
.btn-large { padding: 15px 34px; font-size: 16.5px; }
.btn-small { padding: 8px 18px; font-size: 14px; }

/* ---------- header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.scrolled, .site-header.menu-open {
    background: var(--header-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.logo-link { color: inherit; display: inline-flex; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-small .logo-mark { width: 34px; height: 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--font-display); font-weight: 620; font-size: 21px; letter-spacing: 0.01em; }
.logo-sub { font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.72; margin-top: 2px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: inherit; font-weight: 550; font-size: 15px; opacity: 0.85; position: relative; }
.site-nav a::after {
    content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
    background: linear-gradient(90deg, var(--gold-bright), transparent); border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
    background: transparent; border: 1.5px solid var(--line); color: inherit;
    width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color 0.25s, transform 0.25s;
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(15deg); }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }

.nav-burger { display: none; background: none; border: none; color: inherit; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-burger span { display: block; width: 22px; height: 2px; margin: 5px 0; background: currentColor; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.mobile-nav { display: none; }

@media (max-width: 860px) {
    .site-nav, .header-actions { display: none; }
    .nav-burger { display: block; }
    .mobile-nav.open { display: flex; flex-direction: column; gap: 4px; padding: 10px 24px 22px; }
    .mobile-nav a { color: inherit; padding: 12px 0; font-size: 17px; font-weight: 550; border-bottom: 1px solid var(--line); }
    .mobile-nav a.btn { border: none; margin-top: 14px; color: #241a05; text-align: center; }
    .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Header sits above cosmic heroes: force light text while unscrolled over them */
body:has(> .site .site-main > .hero) .site-header:not(.scrolled):not(.menu-open),
body:has(> .site .site-main > .page-hero.cosmic) .site-header:not(.scrolled):not(.menu-open) { color: #eceaf3; }

.site-main { min-height: 60vh; }

/* ---------- hero (home) ---------- */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    background: radial-gradient(120% 90% at 50% 0%, var(--space-mid) 0%, var(--space-navy) 45%, var(--space-deep) 100%);
    color: #eceaf3;
    overflow: hidden;
    padding: 130px 0 90px;
}
.meteor-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
    position: absolute; left: 50%; bottom: -30%; transform: translateX(-50%);
    width: 1200px; height: 600px; pointer-events: none;
    background: radial-gradient(50% 50% at 50% 50%, rgba(232, 163, 61, 0.16) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.eyebrow {
    font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold-bright); font-weight: 650; margin-bottom: 18px;
}
.hero .eyebrow, .cosmic .eyebrow { color: var(--gold-bright); }
.hero-title {
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 500;
    margin-bottom: 22px;
}
.text-meteor {
    background: linear-gradient(100deg, var(--gold-bright) 10%, #fff3d6 45%, var(--gold) 85%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-style: italic; font-weight: 620;
}
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: rgba(236, 234, 243, 0.82); max-width: 640px; margin-bottom: 34px; }
.page-hero .hero-sub { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; justify-content: inherit; }
.hero .btn-ghost { color: #eceaf3; }
.hero-motto { font-family: var(--font-display); font-style: italic; font-size: 15.5px; color: rgba(236, 234, 243, 0.55); }
.hero-fade {
    position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--arc-night));
}

/* ---------- generic sections & the arc ---------- */
.section { padding: 90px 0; }
.section-title { font-size: clamp(30px, 4.4vw, 46px); max-width: 800px; }
.section-sub { color: var(--arc-muted); font-size: 18px; max-width: 640px; margin-bottom: 40px; }

.section-night { background: var(--arc-night); color: var(--arc-ink); }
.section-night .section-sub, .section-night .eyebrow + * { color: #a9a6bd; }
.section-dusk { background: linear-gradient(180deg, var(--arc-night) 0%, var(--arc-dusk-end) 100%); color: var(--arc-ink); }
.section-dawn { background: var(--arc-dawn); color: var(--arc-ink); }
.section-day { background: var(--arc-day); color: var(--arc-ink); }
.section-garden { background: var(--arc-garden); color: var(--arc-ink); }
.section-dusk .section-sub, .section-dawn .section-sub, .section-day .section-sub, .section-garden .section-sub { color: var(--arc-muted); }

/* In light theme the dusk gradient runs dark->light; keep its heading text light (it sits at the top). */
:root[data-theme="light"] .section-dusk { color: #eceaf3; }
:root[data-theme="light"] .section-dusk .section-sub { color: rgba(236, 234, 243, 0.75); }

/* ---------- velocity strip ---------- */
.velocity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.velocity-item h3 { font-size: 22px; color: var(--gold-bright); margin-bottom: 8px; }
.velocity-item p { color: #a9a6bd; font-size: 15.5px; }
@media (max-width: 800px) { .velocity-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- service cards (home) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    display: flex; flex-direction: column; gap: 6px;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 26px 24px;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
    position: relative; overflow: hidden;
}
.card::before {
    content: ""; position: absolute; top: 0; left: -60%; width: 50%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    transition: left 0.6s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(232, 163, 61, 0.45); }
.card:hover::before { left: 110%; }
.card-icon { font-size: 26px; margin-bottom: 6px; }
.card h3 { font-size: 20px; }
.card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.card-link { font-size: 14px; font-weight: 600; color: var(--accent); }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- quote / dawn ---------- */
.quote-wrap { text-align: center; max-width: 860px; }
.ornament { color: var(--gold); font-size: 22px; margin-bottom: 26px; opacity: 0.85; }
.grand-quote {
    font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 480;
    font-style: italic; line-height: 1.35; margin: 0 0 26px; border: none; padding: 0;
}
.text-gold { color: var(--accent); }
.quote-link { font-weight: 600; }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-grid-page { grid-template-columns: repeat(2, 1fr); }
.product-card {
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
    display: flex; flex-direction: column;
}
a.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(232, 163, 61, 0.45); }
.product-card h3 { font-size: 24px; }
.product-card p { color: var(--muted); font-size: 15px; flex: 1; }
.product-domain { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 650; }
.product-card-soon { border-style: dashed; opacity: 0.85; }
.external-arrow { font-size: 16px; color: var(--accent); }
@media (max-width: 760px) { .product-grid, .product-grid-page { grid-template-columns: 1fr; } }

/* ---------- garden ---------- */
.garden-inner { text-align: center; }
.garden-inner .section-sub { margin-left: auto; margin-right: auto; }
.garden-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: left; margin-top: 16px; }
.garden-item { border-top: 2px solid var(--gold); padding-top: 18px; }
.garden-item h3 { font-size: 19px; }
.garden-item p { color: var(--arc-muted); font-size: 15px; }
@media (max-width: 800px) { .garden-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.section-cta {
    background:
        radial-gradient(80% 120% at 50% 120%, rgba(232, 163, 61, 0.2) 0%, transparent 60%),
        radial-gradient(120% 90% at 50% 0%, var(--space-mid) 0%, var(--space-deep) 100%);
    color: #eceaf3; text-align: center;
}
.cta-inner { max-width: 720px; }
.cta-inner .section-sub { color: rgba(236, 234, 243, 0.7); margin-left: auto; margin-right: auto; }
.cta-title { font-size: clamp(30px, 4.4vw, 46px); }

/* ---------- page heroes (inner pages) ---------- */
.page-hero {
    padding: 170px 0 70px;
    background: var(--bg); color: var(--ink);
    text-align: center;
}
.page-hero .container { max-width: 880px; }
.page-hero.cosmic {
    position: relative; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, var(--space-mid) 0%, var(--space-navy) 45%, var(--space-deep) 100%);
    color: #eceaf3;
    padding-bottom: 90px;
}
.page-hero.cosmic .container { position: relative; z-index: 2; }
.page-title { font-size: clamp(34px, 5vw, 56px); font-weight: 520; }
.page-hero .hero-sub { font-size: 18px; }
.page-hero:not(.cosmic) .hero-sub { color: var(--muted); }

/* ---------- detail pages ---------- */
.section-detail { background: var(--bg); color: var(--ink); padding-top: 40px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 60px; }
.detail-main h2 { font-size: 27px; margin-top: 38px; }
.detail-main h2:first-child { margin-top: 0; }
.feature-list { list-style: none; padding: 0; margin: 0 0 10px; }
.feature-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); font-size: 13px; top: 13px; }
.step-list { padding-left: 22px; margin: 0; }
.step-list li { padding: 7px 0; font-size: 15.5px; }
.step-list li::marker { color: var(--accent); font-weight: 700; }
.detail-side {
    align-self: start; position: sticky; top: 110px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.detail-side h3 { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 650; margin-bottom: 4px; }
.detail-side a { font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; gap: 30px; } .detail-side { position: static; } }

/* ---------- service list page ---------- */
.service-list { display: flex; flex-direction: column; gap: 16px; }
.service-row {
    display: grid; grid-template-columns: 56px 1fr 30px; gap: 22px; align-items: center;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 28px;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.service-row:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); border-color: rgba(232, 163, 61, 0.45); }
.service-row-icon { font-size: 30px; }
.service-row h2 { font-size: 22px; margin-bottom: 4px; }
.service-row p { margin: 0; color: var(--muted); font-size: 15px; }
.service-row-arrow { color: var(--accent); font-size: 22px; }
@media (max-width: 640px) { .service-row { grid-template-columns: 1fr; gap: 8px; } .service-row-arrow { display: none; } }

/* ---------- enlighten (philosophy) ---------- */
.enlighten .page-hero, .enlighten-hero { background: var(--paper); color: var(--paper-ink); }
.enlighten-body { background: var(--paper); color: var(--paper-ink); padding-top: 20px; }
.enlighten .hero-sub { color: var(--paper-muted); }
.enlighten .eyebrow { color: var(--gold-deep); }
:root[data-theme="dark"] .enlighten .eyebrow { color: var(--gold-bright); }
.enlighten h1, .enlighten h2 { font-weight: 500; }
.enlighten .prose { max-width: 720px; }
.enlighten .prose h2 { font-size: 28px; margin-top: 44px; font-style: italic; }
.enlighten .feature-list li { border-color: var(--paper-line); }
.enlighten a { color: var(--gold-deep); font-weight: 600; }
:root[data-theme="dark"] .enlighten a { color: var(--gold-bright); }
.ornament-row { display: flex; align-items: center; gap: 18px; justify-content: center; color: var(--gold); font-size: 20px; margin: 30px 0; }
.orn-line { height: 1px; flex: 0 1 140px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- consult form ---------- */
.form-wrap { max-width: 760px; }
.form-wrap-narrow { max-width: 460px; }
.consult-form {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px; display: flex; flex-direction: column; gap: 20px;
    box-shadow: var(--shadow-lift);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-weight: 600; font-size: 14.5px; }
.req { color: var(--gold-deep); }
.field-hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"],
.form-field input[type="password"], .form-field select, .form-field textarea {
    font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
    background: var(--field-bg); border: 1.5px solid var(--field-border); border-radius: 10px;
    padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.18);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input[type="file"] { font-size: 14px; color: var(--muted); padding: 10px 0; }
.form-field input[type="file"]::file-selector-button {
    font-family: var(--font-body); font-weight: 600; font-size: 14px;
    border: 1.5px solid var(--gold); background: transparent; color: var(--accent);
    border-radius: 999px; padding: 8px 18px; margin-right: 14px; cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.form-field input[type="file"]::file-selector-button:hover { background: var(--gold); color: #241a05; }
.file-list { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--muted); }
.file-list .file-bad { color: #d8574d; }
.form-submit { align-self: flex-start; }
.form-privacy { font-size: 13px; color: var(--muted); margin: 0; }
.form-alert {
    background: rgba(216, 87, 77, 0.12); border: 1px solid rgba(216, 87, 77, 0.5);
    color: #d8574d; border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; font-size: 15px;
}
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---------- thanks / error pages ---------- */
.thanks-wrap { text-align: center; max-width: 640px; }
.thanks-wrap .hero-actions { justify-content: center; }
.thanks-mark { margin-bottom: 20px; }

/* ---------- admin ---------- */
.admin-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; }
.page-hero .admin-header { text-align: left; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.admin-table th { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.admin-table tbody tr:hover { background: var(--surface-2); }
.row-unread { font-weight: 650; }
.row-unread td:first-child { position: relative; padding-left: 26px; }
.row-unread td:first-child::before { content: "●"; color: var(--gold); position: absolute; left: 10px; }
.admin-dl { display: grid; grid-template-columns: 160px 1fr; gap: 8px 20px; margin: 0 0 26px; }
.admin-dl dt { color: var(--muted); font-size: 14px; }
.admin-dl dd { margin: 0; font-size: 15px; }
.admin-message { white-space: pre-wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.admin-detail h2 { font-size: 22px; margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--space-deep); color: #cfccdd; padding: 64px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid rgba(235, 230, 255, 0.09); }
.footer-brand .logo { color: #eceaf3; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: #8f8ba6; font-size: 15px; margin-top: 14px; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #8f8ba6; margin-bottom: 6px; }
.footer-col a { color: #cfccdd; font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-soon { font-size: 13.5px; color: #8f8ba6; font-style: italic; }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; font-size: 13.5px; color: #8f8ba6; flex-wrap: wrap; }
.footer-motto { font-family: var(--font-display); font-style: italic; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; gap: 34px; } .footer-cols { grid-template-columns: 1fr 1fr; } }
