/* ───── Tools.Everette.Today launcher ─────
   Shared shell + each workspace tile gets its own theme accents.
   Tile 1 (Everette Staffing): Pershing Rifles navy/gold.
   Tile 2 (Prime):             iOS-26 liquid-glass aesthetic.
   Tile 3 (Kisa):              Codes & Culture earth/clay (placeholder pending real palette).
   ─────────────────────────────────────── */

:root {
    --shell-bg-1: #0b1220;
    --shell-bg-2: #1a2540;
    --shell-bg-3: #0a1d3d;
    --ink: #ecf2ff;
    --ink-muted: rgba(236,242,255,0.66);
    --hairline: rgba(255,255,255,0.08);

    /* Pershing Rifles */
    --pr-navy: #1a3a6c;
    --pr-navy-deep: #0f2548;
    --pr-gold: #c89a3c;
    --pr-gold-soft: #e0bd66;
    --pr-cream: #f4ead5;

    /* Prime — liquid glass */
    --pg-tint: rgba(190,210,255,0.18);
    --pg-edge: rgba(255,255,255,0.55);
    --pg-glow: rgba(120,180,255,0.35);

    /* Kisa — Codes & Culture (placeholder; refine with real palette) */
    --kc-clay: #d97757;
    --kc-rust: #a8593f;
    --kc-earth: #5a3326;
    --kc-bone: #f4ead5;
    --kc-leaf: #6b7d3a;
}

* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    min-height: 100vh;
    background:
        radial-gradient(1200px 600px at 15% -10%, rgba(45,139,139,0.18), transparent 60%),
        radial-gradient(1000px 500px at 90% 110%, rgba(200,154,60,0.10), transparent 60%),
        linear-gradient(135deg, var(--shell-bg-1) 0%, var(--shell-bg-2) 50%, var(--shell-bg-3) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── Brand bar ─────────────────────────── */
.brand-bar {
    display: flex;
    align-items: center;
    padding: 22px 36px;
    border-bottom: 1px solid var(--hairline);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10,20,40,0.35);
    position: sticky; top: 0; z-index: 10;
}
.brand {
    display: flex; align-items: center; gap: 12px;
    font-size: 18px; font-weight: 600; letter-spacing: 0.3px;
}
.brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pr-gold), var(--pr-navy));
    color: #fff;
    font-size: 19px;
    box-shadow: 0 4px 16px rgba(200,154,60,0.30);
}
.brand-name { color: var(--ink); }
.brand-dot { color: var(--pr-gold); }

/* ── Hero ──────────────────────────────── */
.hero-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 36px 80px;
}
.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 56px;
}
.hero-art {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 4 / 3;
    max-width: 540px;
    margin-left: auto;
    filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45));
}
.hero-art svg { width: 100%; height: 100%; }
.hero-text h1 {
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #ffffff 0%, #c8d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-text .lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink-muted);
    margin: 0 0 24px;
    max-width: 520px;
}

/* ── Workspaces grid ───────────────────── */
.workspaces {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.ws {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 24px;
    padding: 32px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1),
                box-shadow 0.25s ease;
    isolation: isolate;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ws:hover, .ws:focus-visible {
    transform: translateY(-4px);
    text-decoration: none;
}
.ws-art {
    width: 88px; height: 88px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
}
.ws-art svg { width: 80%; height: 80%; }
.ws-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ws-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.7;
}
.ws-title {
    font-size: 30px; font-weight: 700; margin: 0; line-height: 1.05;
    letter-spacing: -0.3px;
}
.ws-desc {
    font-size: 15px; line-height: 1.55;
    margin: 0;
    opacity: 0.78;
    flex: 1;
}
.ws-cta {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.ws:hover .ws-cta { opacity: 1; }

/* ── Tile 1 — Everette Staffing (Pershing Rifles) ── */
.ws-staffing {
    background:
        radial-gradient(circle at 100% 0%, rgba(200,154,60,0.18), transparent 60%),
        linear-gradient(135deg, var(--pr-navy) 0%, var(--pr-navy-deep) 100%);
    color: var(--pr-cream);
    border: 1px solid rgba(200,154,60,0.35);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35),
                inset 0 0 0 1px rgba(200,154,60,0.10);
}
.ws-staffing:hover {
    box-shadow: 0 18px 50px rgba(200,154,60,0.30),
                inset 0 0 0 1px rgba(200,154,60,0.30);
}
.ws-staffing .ws-art {
    background: rgba(200,154,60,0.12);
    border: 1px solid rgba(200,154,60,0.35);
}
.ws-staffing .ws-eyebrow { color: var(--pr-gold); }
.ws-staffing .ws-cta { color: var(--pr-gold-soft); }

/* ── Tile 2 — Prime (Liquid Glass / iOS-26) ────── */
.ws-prime {
    color: var(--ink);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.10), transparent 60%),
        rgba(255,255,255,0.06);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.20) inset,
        0 -1px 0 rgba(255,255,255,0.06) inset,
        0 24px 50px rgba(0,0,0,0.45);
}
.ws-prime::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0.0) 35%,
        rgba(120,180,255,0.10) 100%);
    pointer-events: none;
    z-index: -1;
}
.ws-prime:hover {
    background:
        radial-gradient(140% 90% at 50% 0%, rgba(255,255,255,0.18), transparent 60%),
        rgba(255,255,255,0.10);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.30) inset,
        0 0 60px rgba(120,180,255,0.30),
        0 28px 60px rgba(0,0,0,0.55);
}
.ws-prime .ws-art {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.30);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.ws-prime .ws-eyebrow { color: rgba(190,220,255,0.85); }
.ws-prime .ws-cta { color: rgba(190,220,255,0.95); }

/* ── Tile 3 — Kisa (Codes & Culture placeholder) ── */
.ws-kisa {
    color: var(--kc-bone);
    background:
        radial-gradient(circle at 0% 100%, rgba(107,125,58,0.25), transparent 50%),
        linear-gradient(135deg, var(--kc-rust) 0%, var(--kc-earth) 100%);
    border: 1px solid rgba(244,234,213,0.18);
    box-shadow: 0 12px 40px rgba(90,51,38,0.45);
}
.ws-kisa:hover {
    box-shadow: 0 18px 50px rgba(217,119,87,0.35),
                inset 0 0 0 1px rgba(244,234,213,0.30);
}
.ws-kisa .ws-art {
    background: rgba(244,234,213,0.10);
    border: 1px solid rgba(244,234,213,0.30);
}
.ws-kisa .ws-eyebrow { color: var(--kc-bone); opacity: 0.7; }
.ws-kisa .ws-cta { color: var(--kc-bone); }

/* ── Footer ────────────────────────────── */
.site-foot {
    text-align: center;
    padding: 24px 36px 40px;
    color: var(--ink-muted);
    font-size: 13px;
    border-top: 1px solid var(--hairline);
}
.site-foot a {
    color: var(--pr-gold-soft);
    text-decoration: none;
    border-bottom: 1px dashed rgba(200,154,60,0.40);
}
.site-foot a:hover { color: var(--pr-gold); }

/* ── Responsive ────────────────────────── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .hero-art { margin: 0 auto; max-width: 380px; }
    .hero-text .lead { margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
    .brand-bar { padding: 16px 18px; }
    .hero-wrap { padding: 24px 18px 60px; }
    .ws { padding: 24px; min-height: 320px; border-radius: 18px; }
}
