/* Stator AI — exec-magazine aesthetic. Charcoal background, rose-gold accent,
   classical serif headlines + grotesque body. Subdued, audience-of-one feel.
   Personas 2 + 3 (exec / status portal). */
/* Design review: Aristide Brevoort-Nguyen. Brief: tighten line-height, swap Playfair for
   classical ui-serif stack, kill italic-uppercase, lock the grid, add Issue No. marker. */

:root[data-site="statorai"] {
    --st-bg: #1a1a1d;
    --st-surface: #232328;
    --st-fg: #f5f0e8;
    --st-muted: #b9b1a3;
    --st-accent: #b08968;
    --st-accent-2: #d4a574;
    --st-rule: #3a3a40;
    /* Aristide: ui-serif first (modern OS gets New York / SF Pro Serif). Classical fallbacks. */
    --st-serif: ui-serif, "New York", "Source Serif 4", "Source Serif Pro", "Iowan Old Style", "Garamond Premier Pro", "Adobe Garamond Pro", "Bodoni MT", Georgia, serif;
    --st-sans: "Söhne", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
html[data-site="statorai"], body { background: var(--st-bg); color: var(--st-fg); }
body {
    font-family: var(--st-sans); margin: 0;
    /* Aristide: 1.55 — taut, executive. Not 1.7 magazine spread. */
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "kern", "liga", "onum";
}

.st-container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

.st-header { background: var(--st-bg); padding: 1.25rem 0; border-bottom: 1px solid var(--st-rule); }
.st-header .st-container { display: flex; justify-content: space-between; align-items: baseline; }
.st-brand {
    color: var(--st-fg); text-decoration: none;
    font-family: var(--st-serif); font-size: 1.55rem; letter-spacing: -.005em;
    font-weight: 500;
}
.st-brand-mark { color: var(--st-accent); font-style: italic; font-weight: 400; }

.st-nav { display: flex; align-items: baseline; gap: .25rem; }
.st-nav a {
    color: var(--st-muted); text-decoration: none; margin-left: 1.5rem;
    font-size: .85rem; letter-spacing: .04em;
    transition: color .12s ease;
}
.st-nav a:hover { color: var(--st-fg); }
.st-nav a:focus-visible { outline: 1px solid var(--st-accent); outline-offset: 4px; }

/* Aristide: refactor !important. Underline-on-bottom feels signature; keep it. */
.st-nav a.st-cta {
    color: var(--st-accent);
    border-bottom: 1px solid var(--st-accent);
    padding-bottom: 1px;
}
.st-nav a.st-cta:hover { color: var(--st-accent-2); border-color: var(--st-accent-2); }

.st-main { padding: 0; }

/* Issue marker — Aristide's signature magazine cue. */
.st-issue-marker {
    font-family: var(--st-sans); color: var(--st-accent);
    font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    margin: 0 0 1.25rem;
    display: inline-flex; align-items: center; gap: .65rem;
}
.st-issue-marker::before, .st-issue-marker::after {
    content: ""; width: 24px; height: 1px; background: var(--st-accent);
}

.st-hero {
    padding: 6rem 0 4rem;
    max-width: 760px; margin: 0 auto;
    text-align: center;
}

/* Aristide: never italic + uppercase together. Kept the small-caps treatment, dropped italic. */
.st-eyebrow {
    color: var(--st-accent); font-family: var(--st-serif);
    font-variant: small-caps;
    letter-spacing: .14em; font-size: 1rem; margin: 0 0 1.5rem;
}

h1 {
    font-family: var(--st-serif);
    font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.06;
    margin: 0 0 1.5rem;
    letter-spacing: -.012em; font-weight: 400;
}

.st-lede {
    color: var(--st-muted); font-size: 1.2rem; line-height: 1.55;
    max-width: 60ch; margin: 0 auto;
}

.st-btn {
    display: inline-block; padding: .9rem 1.85rem; margin-top: 2rem;
    text-decoration: none; color: var(--st-bg); background: var(--st-accent);
    border: 1px solid var(--st-accent);
    font-family: var(--st-serif); font-style: italic;
    letter-spacing: .04em; font-size: 1rem;
    transition: background-color .15s ease, border-color .15s ease, transform .12s ease;
}
.st-btn:hover {
    background: var(--st-accent-2); border-color: var(--st-accent-2);
    transform: translateY(-1px);
}
.st-btn:focus-visible { outline: 2px solid var(--st-accent-2); outline-offset: 4px; }

.st-issue { padding: 2rem 0 6rem; border-top: 1px solid var(--st-rule); }
/* Aristide: lock the grid. Three even columns. Consistent widths. */
.st-issue-grid {
    display: grid; gap: 2.5rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3rem;
}
@media (max-width: 760px) { .st-issue-grid { grid-template-columns: 1fr; } }

.st-section {
    font-family: var(--st-serif); color: var(--st-accent);
    font-size: 1.1rem; letter-spacing: -.005em;
    margin: 0 0 .75rem;
    font-style: italic; font-weight: 400;
}
.st-issue p { color: var(--st-muted); margin: 0; max-width: 36ch; line-height: 1.65; }

::selection { background: var(--st-accent); color: var(--st-bg); }

.st-footer {
    padding: 3rem 0; color: var(--st-muted); font-size: .9rem;
    border-top: 1px solid var(--st-rule);
}
.st-footer-meta {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    gap: 1rem; margin-top: 1rem;
    font-family: var(--st-serif); font-style: italic;
}
.st-footer a { color: var(--st-muted); text-decoration: none; }
.st-footer a:hover { color: var(--st-accent); }

.skip-to-content {
    position: absolute; left: -9999px;
    background: var(--st-accent); color: var(--st-bg);
    padding: .65rem 1.2rem;
    font-family: var(--st-serif); font-style: italic; font-size: .95rem;
    z-index: 1000;
}
.skip-to-content:focus { left: 1rem; top: 1rem; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
