/* ================================================================
   about.css — Public "About VaultMTD" page
   ================================================================
   Standalone stylesheet (served before login, like legal.css) but in
   the Mocha palette (espresso #1A1816 + terracotta #D97757) so it is
   on-brand with the landing page and hosts the terracotta vault logo.
   Includes the live-rotating vault-logo animation.
   ================================================================ */

:root {
    --bg       : #1A1816;   /* espresso — page background        */
    --bg-2     : #201D1B;   /* subtle step up                   */
    --panel    : #262320;   /* card / panel surface             */
    --panel-2  : #2C2825;   /* lifted card                      */
    --terra    : #D97757;   /* terracotta accent                */
    --terra-hi : #E5856A;   /* lighter terracotta (hover)       */
    --terra-dim: rgba(217, 119, 87, 0.13);
    --text     : #F3EFEA;   /* primary text                     */
    --text-2   : #C6BEB6;   /* secondary text                   */
    --text-3   : #9B9088;   /* muted text                       */
    --border   : rgba(255, 255, 255, 0.10);
    --border-2 : rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background   : var(--bg);
    color        : var(--text);
    font-family  : 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height  : 1.62;
    -webkit-font-smoothing: antialiased;
}

/* Faint dot grid + a terracotta top accent line, echoing the landing. */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(217,119,87,0.05) 1px, transparent 1px);
    background-size: 26px 26px;
}

a { color: var(--terra-hi); text-decoration: none; }
a:hover { color: var(--terra); }

h1, h2, h3 { font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif; line-height: 1.2; }

/* ── Top bar ──────────────────────────────────────────────────── */
.about-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    padding: 16px 28px;
    border-bottom: 1px solid var(--border-2);
    background: rgba(26, 24, 22, 0.85);
    position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px);
}
.about-brand { display: flex; align-items: center; gap: 10px; font-weight: 700;
               font-size: 1.05rem; color: var(--text); }
.about-brand img { width: 30px; height: 30px; }
.about-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.about-nav a { color: var(--text-3); padding: 6px 12px; border-radius: 8px; font-size: 0.9rem; }
.about-nav a:hover { color: var(--text); background: var(--terra-dim); }
.about-nav a.is-active { color: var(--terra); }
.about-nav .about-nav-cta {
    color: var(--bg); background: var(--terra); font-weight: 600;
}
.about-nav .about-nav-cta:hover { background: var(--terra-hi); color: var(--bg); }

/* ── Layout wrap ──────────────────────────────────────────────── */
.about-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px 80px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.about-hero { text-align: center; padding: 56px 0 40px; }
.about-eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 0.18em;
    font-size: 0.74rem; font-weight: 600; color: var(--terra);
    margin-bottom: 18px;
}
.about-hero h1 { font-size: 2.5rem; margin-bottom: 16px; color: var(--text); }
.about-hero .about-lede {
    max-width: 640px; margin: 0 auto; font-size: 1.12rem; color: var(--text-2);
}

/* ── The live vault logo (SAME mark + animation as the Coming Soon page) ─ */
.vault-logo-wrap { display: flex; justify-content: center; margin-bottom: 30px; }
/* .vault-svg sizing + the rotating-ring animation live in the dedicated
   vault_logo.css (a verbatim copy of the Coming Soon logo CSS), linked after
   this file so the mark is pixel-identical and the rings spin. */

/* ── Content sections ─────────────────────────────────────────── */
.about-section { margin-top: 56px; }
.about-section > h2 { font-size: 1.7rem; color: var(--text); margin-bottom: 8px; }
.about-section > .about-section-sub { color: var(--text-3); margin-bottom: 22px; }
.about-prose p { color: var(--text-2); margin-bottom: 16px; max-width: 760px; }
.about-prose strong { color: var(--text); font-weight: 600; }

/* Principle cards. */
.about-principles {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px;
}
.principle-card {
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--border); border-radius: 14px; padding: 22px 22px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.30);
}
.principle-card .principle-icon {
    width: 40px; height: 40px; border-radius: 10px; display: flex;
    align-items: center; justify-content: center; margin-bottom: 12px;
    background: var(--terra-dim); color: var(--terra); font-size: 1.05rem;
}
.principle-card h3 { font-size: 1.08rem; color: var(--text); margin-bottom: 6px; }
.principle-card p  { color: var(--text-2); font-size: 0.95rem; }

/* Logo-concept section — annotated points. */
.logo-concept {
    display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center;
    background: var(--bg-2); border: 1px solid var(--border-2);
    border-radius: 18px; padding: 30px 32px;
}
.logo-concept .vault-svg { width: 180px; height: 180px; }
.concept-points { list-style: none; display: grid; gap: 14px; }
.concept-points li { display: flex; gap: 12px; }
.concept-points .cp-dot {
    flex: none; width: 10px; height: 10px; border-radius: 50%;
    background: var(--terra); margin-top: 8px;
}
.concept-points strong { color: var(--text); }
.concept-points span { color: var(--text-2); }
.logo-concept .concept-foot { color: var(--text-3); font-style: italic; margin-top: 8px; }

/* ── CTA ──────────────────────────────────────────────────────── */
.about-cta {
    margin-top: 60px; text-align: center;
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--border); border-radius: 18px; padding: 40px 28px;
}
.about-cta h2 { font-size: 1.7rem; color: var(--text); margin-bottom: 10px; }
.about-cta p  { color: var(--text-2); margin-bottom: 22px; }
.about-cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-terra, .btn-ghost {
    display: inline-block; padding: 13px 28px; border-radius: 10px;
    font-weight: 600; font-size: 1rem;
}
.btn-terra { background: var(--terra); color: var(--bg); }
.btn-terra:hover { background: var(--terra-hi); color: var(--bg); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--terra-dim); color: var(--text); }

/* ── Footer ───────────────────────────────────────────────────── */
.about-footer {
    border-top: 1px solid var(--border-2); margin-top: 70px;
    padding: 34px 24px; text-align: center; color: var(--text-3); font-size: 0.85rem;
}
.about-footer-links { display: flex; justify-content: center; gap: 8px 18px;
                      flex-wrap: wrap; margin-bottom: 18px; }
.about-footer-links a { color: var(--text-3); }
.about-footer-links a:hover { color: var(--terra); }
.about-legal { max-width: 680px; margin: 0 auto; line-height: 1.6; }
.about-legal strong { color: var(--text-2); }

/* No prefers-reduced-motion guard on the vault rings — they always spin, to
   match the Coming Soon page exactly (logo CSS lives in vault_logo.css). */

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 720px) {
    .about-hero h1 { font-size: 2rem; }
    .about-principles { grid-template-columns: 1fr; }
    .logo-concept { grid-template-columns: 1fr; justify-items: center; text-align: left; }
    .about-topbar { padding: 14px 18px; }
}
