/* ============================================================
   MikeSchied.com — umbrella gateway
   Clean modern professional. Per-venture accents via --accent.
   ============================================================ */

:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-2: #f0f2f5;
    --border: #e3e7ec;
    --ink: #1a2230;
    --ink-soft: #566072;
    --ink-faint: #8a93a3;
    --brand: #0f2540;
    --brand-ink: #ffffff;
    --accent: #0f766e;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
    --shadow-lg: 0 12px 40px rgba(16, 24, 40, .14);
    --radius: 14px;
    --maxw: 1140px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0d1117;
        --surface: #161b22;
        --surface-2: #1c232d;
        --border: #2a323d;
        --ink: #e6edf3;
        --ink-soft: #a9b4c0;
        --ink-faint: #6e7a89;
        --brand: #0b1a2e;
        --brand-ink: #f2f6fb;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
        --shadow-lg: 0 12px 40px rgba(0, 0, 0, .5);
    }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- Header ---- */
.site-header {
    position: sticky; top: 0; z-index: 30;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--border);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: baseline; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 1.28rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--accent); }
.brand small { font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
nav.main { display: flex; gap: 6px; align-items: center; }
nav.main a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 9px; }
nav.main a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
nav.main a.cta { background: var(--brand); color: var(--brand-ink); }
nav.main a.cta:hover { background: color-mix(in srgb, var(--brand) 85%, #000); }

/* ---- Hero ---- */
.hero { padding: 74px 0 34px; text-align: center; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--accent); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.03em; margin: 12px 0 10px; }
.hero p.sub { font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--ink-soft); max-width: 720px; margin: 0 auto; font-weight: 500; }
.hero p.intro { color: var(--ink-soft); max-width: 660px; margin: 18px auto 0; }

/* ---- Section heading ---- */
.section { padding: 30px 0 64px; }
.section h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 0 0 4px; }
.section .lead { color: var(--ink-soft); margin: 0 0 26px; }

/* ---- Venture cards (2x2) ---- */
.ventures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 720px) { .ventures { grid-template-columns: 1fr; } }

.vcard {
    --accent: #0f766e;
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px 26px 22px; overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.vcard .logo {
    width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px;
}
.vcard h3 { margin: 0 0 3px; font-size: 1.28rem; letter-spacing: -.02em; }
.vcard h3 a { color: var(--ink); }
.vcard .tagline { color: var(--accent); font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.vcard p { color: var(--ink-soft); margin: 0 0 18px; }
.vcard .row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vcard .cta {
    display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .93rem;
    color: #fff; background: var(--accent); padding: 9px 16px; border-radius: 9px;
}
.vcard .cta:hover { text-decoration: none; filter: brightness(1.06); }
.vcard .cta.soon { background: var(--surface-2); color: var(--ink-faint); cursor: default; }
/* Single-action card: the CTA's overlay makes the whole card one click target. */
.vcard .cta.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vcard .learn { color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.badge-soon { position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); background: var(--surface-2); padding: 3px 9px; border-radius: 20px; }

/* ---- Announcements ---- */
.announce { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); margin-bottom: 30px; }
.announce h4 { margin: 0 0 2px; font-size: 1.02rem; }
.announce .item + .item { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.announce time { color: var(--ink-faint); font-size: .82rem; }

/* ---- Prose pages (About, Privacy, Venture) ---- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.9rem); letter-spacing: -.03em; margin: 0 0 6px; }
.prose .kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.prose p { color: var(--ink); font-size: 1.08rem; margin: 0 0 18px; }
.prose p:first-of-type { font-size: 1.18rem; color: var(--ink); }
.page-pad { padding: 56px 0 72px; }

/* ---- Buttons / forms ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border: 0; cursor: pointer;
    background: var(--brand); color: var(--brand-ink); padding: 12px 22px; border-radius: 10px; font-size: 1rem; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.accent { background: var(--accent); color: #fff; }
.btn.ghost { background: var(--surface-2); color: var(--ink); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.formgrid { display: grid; gap: 16px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
input, textarea, select {
    width: 100%; font: inherit; color: var(--ink); background: var(--surface);
    border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 1px; border-color: var(--accent); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-weight: 500; }
.alert.err { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.alert.ok { background: #e9f8ef; color: #10683a; border: 1px solid #b7e3c7; }
@media (prefers-color-scheme: dark) {
    .alert.err { background: #3a1d1d; color: #f7b4b4; border-color: #5a2a2a; }
    .alert.ok { background: #16301f; color: #a6e6bf; border-color: #24502f; }
}

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 20px; }
.site-footer .in { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; padding: 26px 0; color: var(--ink-soft); font-size: .92rem; }
.site-footer a { color: var(--ink-soft); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- Admin ---- */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
@media (max-width: 800px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-side { background: var(--brand); color: var(--brand-ink); padding: 22px 16px; }
.admin-side .brand { color: var(--brand-ink); margin-bottom: 22px; }
.admin-side a { display: block; color: color-mix(in srgb, var(--brand-ink) 80%, transparent); padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.admin-main { padding: 30px 34px; max-width: 960px; }
.admin-main h1 { margin: 0 0 4px; }
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl th { background: var(--surface-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.tbl tr:last-child td { border-bottom: 0; }
.stat-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 4px 0 26px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow); min-width: 140px; }
.stat .n { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.stat .l { color: var(--ink-soft); font-size: .86rem; }
.inline-form { display: inline; }
.muted { color: var(--ink-faint); }
.pill { font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; background: var(--surface-2); color: var(--ink-soft); }
.pill.live { background: #e2f6ec; color: #10683a; }
.pill.soon { background: #fdf0e0; color: #a55a10; }
