/* ====================================================================
   SAVEKVEC DESIGN SYSTEM
   Editorial light theme — newspaper-meets-civic watchdog
   Playfair Display (headlines) + Source Serif 4 (body) + JetBrains Mono (accents)
   ==================================================================== */

/* ── Design Tokens ──────────────────────────────────────────────────── */
:root {
    /* Core palette */
    --ink:          #111111;
    --ink-soft:     #444444;
    --ink-muted:    #777777;
    --paper:        #fafaf8;
    --paper-warm:   #f4f3ef;
    --paper-ruled:  #eeede9;
    --white:        #ffffff;
    --border:       #d8d5cc;
    --border-light: #eae8e2;

    /* Crimson accent system */
    --red:          #c0392b;
    --red-dark:     #96281b;
    --red-deeper:   #7b1f16;
    --red-light:    #fdf1f0;
    --red-mid:      #e8534a;

    /* Utility */
    --green:        #1e8449;
    --amber:        #d4791a;
    --blue:         #1a5c8a;

    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body:    'Source Serif 4', 'Georgia', serif;
    --font-mono:    'JetBrains Mono', 'Courier New', monospace;
    --font-ui:      -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing scale */
    --space-xs:     4px;
    --space-sm:     8px;
    --space-md:     16px;
    --space-lg:     24px;
    --space-xl:     40px;
    --space-2xl:    64px;
    --space-3xl:    96px;

    /* Layout */
    --content-width: 760px;
    --wide-width:    1120px;
    --full-width:    100%;
    --gutter:        clamp(16px, 4vw, 40px);
    --radius-sm:     4px;
    --radius-md:     8px;
    --radius-lg:     16px;

    /* Shadows */
    --shadow-sm:     0 1px 3px rgba(17,17,17,0.07), 0 1px 2px rgba(17,17,17,0.04);
    --shadow-md:     0 4px 12px rgba(17,17,17,0.10), 0 2px 4px rgba(17,17,17,0.06);
    --shadow-lg:     0 12px 32px rgba(17,17,17,0.12), 0 4px 8px rgba(17,17,17,0.07);
    --shadow-red:    0 4px 20px rgba(192,57,43,0.25);

    /* Transitions */
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --duration:      200ms;
    --duration-slow: 400ms;
}

/* ── Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.skvec-site {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Typography Scale ────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6,
.skvec-site h1, .skvec-site h2, .skvec-site h3,
.skvec-site h4, .skvec-site h5, .skvec-site h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 var(--space-md);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }

p { margin: 0 0 var(--space-md); }

a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color var(--duration) var(--ease);
}
a:hover { color: var(--red-dark); }

strong, b { font-weight: 600; }
em, i { font-style: italic; }

/* Rule label — small uppercase stamp */
.skvec-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
}

/* Pull quote */
blockquote.skvec-pullquote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    line-height: 1.4;
    color: var(--ink);
    border-left: 5px solid var(--red);
    margin: var(--space-xl) 0;
    padding: var(--space-md) var(--space-xl);
    background: var(--paper-warm);
}
blockquote.skvec-pullquote cite {
    display: block;
    font-family: var(--font-ui);
    font-style: normal;
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-top: var(--space-sm);
}

/* ── Layout Helpers ──────────────────────────────────────────────────── */

.skvec-container {
    width: 100%;
    max-width: var(--wide-width);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skvec-container--narrow {
    max-width: var(--content-width);
}

.skvec-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.skvec-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}

/* ── Header / Navigation ─────────────────────────────────────────────── */

.skvec-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.skvec-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: var(--wide-width);
    margin-inline: auto;
    padding-inline: var(--gutter);
    gap: var(--space-xl);
}

/* Logo */
.skvec-header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}
.skvec-header__logo-img {
    height: 42px;
    width: auto;
}
.skvec-header__logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
}
.skvec-header__logo-text span {
    color: var(--red);
}

/* Desktop nav */
.skvec-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.skvec-nav__item {
    position: relative;
}

.skvec-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
    white-space: nowrap;
}
.skvec-nav__link:hover {
    color: var(--ink);
    background: var(--paper-warm);
}
.skvec-nav__link.is-active {
    color: var(--red);
    font-weight: 600;
}
.skvec-nav__link--highlight {
    background: var(--red);
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 8px 16px;
}
.skvec-nav__link--highlight:hover {
    background: var(--red-dark) !important;
    color: var(--white) !important;
}

/* Dropdown chevron */
.skvec-nav__chevron {
    width: 12px;
    height: 12px;
    transition: transform var(--duration) var(--ease);
}
.skvec-nav__item:hover .skvec-nav__chevron,
.skvec-nav__item:focus-within .skvec-nav__chevron {
    transform: rotate(180deg);
}

/* Dropdown menu */
.skvec-nav__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-xs);
    list-style: none;
    margin: 0;
    z-index: 200;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.skvec-nav__item:hover .skvec-nav__dropdown,
.skvec-nav__item:focus-within .skvec-nav__dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.skvec-nav__dropdown-link {
    display: block;
    padding: 8px 12px;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: var(--ink-soft);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--duration), color var(--duration);
}
.skvec-nav__dropdown-link:hover {
    background: var(--paper-warm);
    color: var(--red);
}

/* Mobile hamburger */
.skvec-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.skvec-header__burger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--duration) var(--ease), opacity var(--duration);
}
.skvec-header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.skvec-header__burger.is-open span:nth-child(2) { opacity: 0; }
.skvec-header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.skvec-nav-drawer {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--white);
    overflow-y: auto;
    z-index: 99;
    border-top: 1px solid var(--border);
    padding: var(--space-lg) var(--gutter);
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease);
}
.skvec-nav-drawer.is-open {
    transform: translateX(0);
}
.skvec-nav-drawer__link {
    display: block;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.skvec-nav-drawer__sub {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
}
.skvec-nav-drawer__sub-link {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 8px 0;
}

/* ── Breaking Banner (optional urgent strip above header) ───────────── */

.skvec-breaking-banner {
    background: var(--red);
    color: var(--white);
    text-align: center;
    padding: 8px var(--gutter);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.skvec-breaking-banner a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Hero Section ────────────────────────────────────────────────────── */

.skvec-hero {
    background: var(--white);
    border-bottom: 3px solid var(--red);
    padding: var(--space-3xl) var(--gutter);
    position: relative;
    overflow: hidden;
}

/* Subtle ruled-paper texture */
.skvec-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 27px,
        var(--border-light) 27px,
        var(--border-light) 28px
    );
    opacity: 0.5;
    pointer-events: none;
}

.skvec-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--wide-width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-xl);
}

.skvec-hero__label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--red);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.skvec-hero__label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--red);
}

.skvec-hero__headline {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0 0 var(--space-lg);
}
.skvec-hero__headline em {
    color: var(--red);
    font-style: italic;
}

.skvec-hero__deck {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 580px;
    margin-bottom: var(--space-xl);
}

.skvec-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* EKG decoration */
.skvec-hero__ekg {
    display: flex;
    align-items: center;
    opacity: 0.12;
}
.skvec-hero__ekg svg {
    width: 200px;
    height: 80px;
    stroke: var(--red);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: skvec-ekg-pulse 2.8s ease-in-out infinite;
}

@keyframes skvec-ekg-pulse {
    0%, 100% { stroke-dashoffset: 0; }
    50% { stroke-dashoffset: 20; }
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.skvec-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition:
        background var(--duration) var(--ease),
        color var(--duration) var(--ease),
        border-color var(--duration) var(--ease),
        box-shadow var(--duration) var(--ease),
        transform var(--duration) var(--ease);
    white-space: nowrap;
}
.skvec-btn:hover {
    transform: translateY(-1px);
}
.skvec-btn:active {
    transform: translateY(0);
}

.skvec-btn--primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    box-shadow: var(--shadow-red);
}
.skvec-btn--primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(192,57,43,0.35);
}

.skvec-btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.skvec-btn--outline:hover {
    border-color: var(--ink);
    color: var(--ink);
    background: var(--paper-warm);
}

.skvec-btn--ghost {
    background: transparent;
    color: var(--red);
    border-color: transparent;
    padding-inline: var(--space-sm);
}
.skvec-btn--ghost:hover {
    color: var(--red-dark);
    background: var(--red-light);
}

.skvec-btn--sm {
    padding: 8px 16px;
    font-size: 0.78rem;
}

.skvec-btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ── Cards ───────────────────────────────────────────────────────────── */

.skvec-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}
.skvec-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.skvec-card--accent {
    border-top: 4px solid var(--red);
}
.skvec-card__body {
    padding: var(--space-lg) var(--space-xl);
}
.skvec-card__header {
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--border-light);
    background: var(--paper-warm);
}
.skvec-card__footer {
    padding: var(--space-md) var(--space-xl);
    border-top: 1px solid var(--border-light);
    background: var(--paper-warm);
    font-size: 0.82rem;
    color: var(--ink-muted);
}

/* ── Stat Block ──────────────────────────────────────────────────────── */

.skvec-stat-strip {
    background: var(--ink);
    color: var(--white);
    padding: var(--space-xl) var(--gutter);
}
.skvec-stat-strip__inner {
    max-width: var(--wide-width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}
.skvec-stat__number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--red-mid);
    line-height: 1;
    display: block;
}
.skvec-stat__label {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    margin-top: var(--space-xs);
    display: block;
}

/* ── Section Headers ─────────────────────────────────────────────────── */

.skvec-section {
    padding: var(--space-3xl) var(--gutter);
}
.skvec-section--warm {
    background: var(--paper-warm);
}
.skvec-section--ruled {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.skvec-section--ink {
    background: var(--ink);
    color: var(--white);
}
.skvec-section--ink h2,
.skvec-section--ink h3,
.skvec-section--ink p {
    color: inherit;
}

.skvec-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-2xl);
}
.skvec-section-header__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}
.skvec-section-header__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: var(--space-md);
}
.skvec-section-header__body {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ── Divider ─────────────────────────────────────────────────────────── */

.skvec-rule {
    border: none;
    height: 1px;
    background: var(--border);
    margin: var(--space-xl) 0;
}
.skvec-rule--red {
    height: 3px;
    background: var(--red);
}
.skvec-rule--ornament {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), var(--red), var(--border), transparent);
}

/* ── Badges & Tags ───────────────────────────────────────────────────── */

.skvec-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 20px;
}
.skvec-badge--red    { background: var(--red-light); color: var(--red); }
.skvec-badge--green  { background: #eafaf1; color: var(--green); }
.skvec-badge--amber  { background: #fef5e7; color: var(--amber); }
.skvec-badge--ink    { background: var(--paper-ruled); color: var(--ink-soft); }
.skvec-badge--urgent {
    background: var(--red);
    color: var(--white);
    animation: skvec-urgent-pulse 1.8s ease-in-out infinite;
}

@keyframes skvec-urgent-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* ── Alert / Notice Boxes ────────────────────────────────────────────── */

.skvec-alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: var(--space-lg) 0;
}
.skvec-alert--red    { background: var(--red-light); border-color: var(--red); color: var(--red-deeper); }
.skvec-alert--green  { background: #eafaf1; border-color: var(--green); color: #1a5c32; }
.skvec-alert--amber  { background: #fef5e7; border-color: var(--amber); color: #7d4e1b; }
.skvec-alert--info   { background: #eaf3fb; border-color: var(--blue); color: #154360; }

/* ── Forms ───────────────────────────────────────────────────────────── */

.skvec-form-field {
    margin-bottom: var(--space-lg);
}
.skvec-form-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.02em;
}
.skvec-form-label .required { color: var(--red); margin-left: 2px; }

.skvec-form-input,
.skvec-form-textarea,
.skvec-form-select {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    appearance: none;
    line-height: 1.5;
}
.skvec-form-input:focus,
.skvec-form-textarea:focus,
.skvec-form-select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.skvec-form-textarea { min-height: 120px; resize: vertical; }
.skvec-form-hint {
    font-size: 0.78rem;
    color: var(--ink-muted);
    margin-top: var(--space-xs);
    font-family: var(--font-ui);
}

/* Anonymous tip indicator */
.skvec-anon-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 14px;
    background: #1a1a2e;
    color: #64b5f6;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

/* ── Content Area ────────────────────────────────────────────────────── */

.skvec-content {
    max-width: var(--content-width);
    margin-inline: auto;
    padding: var(--space-2xl) var(--gutter);
}

.skvec-content > * + * { margin-top: var(--space-md); }

/* Drop cap on first paragraph after h1 */
.skvec-content > h1 + p::first-letter {
    font-family: var(--font-display);
    font-size: 3.8em;
    font-weight: 900;
    line-height: 0.8;
    float: left;
    margin: 0.05em var(--space-sm) 0 0;
    color: var(--red);
}

/* ── Mission Statement Block ─────────────────────────────────────────── */

.skvec-mission-block {
    background: var(--ink);
    color: var(--white);
    padding: var(--space-2xl) var(--space-2xl);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.skvec-mission-block::after {
    content: '"';
    position: absolute;
    right: var(--space-lg);
    bottom: -0.3em;
    font-family: var(--font-display);
    font-size: 14rem;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.skvec-mission-block__text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-style: italic;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.92);
}
.skvec-mission-block__tagline {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--red-mid);
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

/* ── Evidence / Document Card ────────────────────────────────────────── */

.skvec-doc-card {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--red);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--ink);
    transition: box-shadow var(--duration) var(--ease);
}
.skvec-doc-card:hover {
    box-shadow: var(--shadow-md);
    color: var(--ink);
}
.skvec-doc-card__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--red);
}
.skvec-doc-card__title {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.skvec-doc-card__meta {
    font-size: 0.75rem;
    color: var(--ink-muted);
}

/* ── Supporter Counter ───────────────────────────────────────────────── */

.skvec-counter-block {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--red);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.skvec-counter-block__number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    display: block;
}
.skvec-counter-block__label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    margin-top: var(--space-sm);
}

/* ── Testimony Card ──────────────────────────────────────────────────── */

.skvec-testimony-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.skvec-testimony-card::before {
    content: '\201C';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--red-light);
    line-height: 1;
    pointer-events: none;
}
.skvec-testimony-card__body {
    font-style: italic;
    padding-top: var(--space-xl);
    line-height: 1.7;
    color: var(--ink-soft);
}
.skvec-testimony-card__attribution {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    color: var(--ink-muted);
}

/* ── Comment Thread (ACS) ────────────────────────────────────────────── */

.skvec-comment {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-md);
}
.skvec-comment--nested {
    margin-left: clamp(20px, 4vw, 48px);
    border-left: 3px solid var(--border);
}
.skvec-comment__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}
.skvec-comment__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--paper-ruled);
    object-fit: cover;
}
.skvec-comment__author {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}
.skvec-comment__time {
    font-size: 0.72rem;
    color: var(--ink-muted);
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.skvec-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.75);
    padding: var(--space-3xl) var(--gutter) var(--space-xl);
    margin-top: auto;
}

.skvec-footer__inner {
    max-width: var(--wide-width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.skvec-footer__brand-logo {
    display: block;
    height: 44px;
    width: auto;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1) opacity(0.9);
}
.skvec-footer__tagline {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--red-mid);
    margin-bottom: var(--space-md);
}
.skvec-footer__bio {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.55);
    max-width: 340px;
}

.skvec-footer__col-title {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.skvec-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.skvec-footer__links li { margin-bottom: var(--space-sm); }
.skvec-footer__links a {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--duration);
}
.skvec-footer__links a:hover { color: var(--white); }

.skvec-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--space-lg);
    max-width: var(--wide-width);
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
    flex-wrap: wrap;
}
.skvec-footer__copyright {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    font-family: var(--font-ui);
    flex-shrink: 0;
}
.skvec-footer__disclaimer {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    line-height: 1.6;
    font-family: var(--font-ui);
    max-width: 700px;
}
.skvec-footer__disclaimer a { color: rgba(255,255,255,0.45); }

/* ── Page Header (inner pages) ───────────────────────────────────────── */

.skvec-page-header {
    background: var(--white);
    border-bottom: 3px solid var(--red);
    padding: var(--space-2xl) var(--gutter);
}
.skvec-page-header__inner {
    max-width: var(--wide-width);
    margin-inline: auto;
}
.skvec-page-header__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}
.skvec-page-header__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin: 0;
}
.skvec-page-header__subtitle {
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin-top: var(--space-sm);
    max-width: 620px;
    line-height: 1.65;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────── */

.skvec-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    color: var(--ink-muted);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}
.skvec-breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.skvec-breadcrumb a:hover { color: var(--red); }
.skvec-breadcrumb__sep { opacity: 0.4; }

/* ── Scroll-to-top button ────────────────────────────────────────────── */

.skvec-scroll-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
    z-index: 50;
}
.skvec-scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.skvec-scroll-top:hover {
    background: var(--red-dark);
}

/* ── Skip Link ───────────────────────────────────────────────────────── */

.skvec-skip-link {
    position: absolute;
    top: -100px;
    left: var(--gutter);
    background: var(--red);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 999;
    transition: top var(--duration);
}
.skvec-skip-link:focus { top: var(--space-sm); color: var(--white); }

/* ── Utility ─────────────────────────────────────────────────────────── */

.skvec-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skvec-text-red     { color: var(--red); }
.skvec-text-muted   { color: var(--ink-muted); }
.skvec-text-center  { text-align: center; }
.skvec-mt-0         { margin-top: 0; }
.skvec-mb-0         { margin-bottom: 0; }

/* ── WordPress Block compatibility ───────────────────────────────────── */

.skvec-site .wp-block-group { margin: 0; }
.skvec-site .wp-block-image img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.skvec-site .wp-block-separator { border-color: var(--border); }
.skvec-site .wp-block-quote {
    border-left: 4px solid var(--red);
    padding-left: var(--space-lg);
    font-family: var(--font-display);
    font-style: italic;
}
.skvec-site table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.skvec-site th {
    text-align: left;
    padding: 10px 14px;
    background: var(--paper-ruled);
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    border-bottom: 2px solid var(--border);
}
.skvec-site td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}
.skvec-site tr:last-child td { border-bottom: none; }
.skvec-site tr:hover td { background: var(--paper-warm); }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .skvec-nav { display: none; }
    .skvec-header__burger { display: flex; }
    .skvec-nav-drawer { display: block; }

    .skvec-hero__inner { grid-template-columns: 1fr; }
    .skvec-hero__ekg { display: none; }

    .skvec-footer__inner { grid-template-columns: 1fr 1fr; }
    .skvec-footer__bio { max-width: 100%; }
}

@media (max-width: 600px) {
    .skvec-footer__inner { grid-template-columns: 1fr; }
    .skvec-footer__bottom { flex-direction: column; gap: var(--space-md); }
    .skvec-hero { padding: var(--space-2xl) var(--gutter); }
    .skvec-section { padding: var(--space-2xl) var(--gutter); }
    .skvec-grid-2,
    .skvec-grid-3 { grid-template-columns: 1fr; }
    .skvec-scroll-top { bottom: var(--space-lg); right: var(--space-md); }
}

/* ── Print ───────────────────────────────────────────────────────────── */

@media print {
    .skvec-header,
    .skvec-footer,
    .skvec-scroll-top,
    .skvec-breaking-banner { display: none !important; }
    body.skvec-site { font-size: 12pt; background: white; color: black; }
    a { color: black; text-decoration: none; }
    a[href]::after { content: ' (' attr(href) ')'; font-size: 0.8em; color: #555; }
}

/* ====================================================================
   GENERATEPRESS COMPATIBILITY OVERRIDES
   Neutralise GP's layout shell so our design system is sole control.
   ==================================================================== */

/* GP wraps everything in .site — let it be a clean flex column */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--paper);
}

/* GP's .site-header — we replace it entirely, hide the shell */
.site-header,
.main-navigation,
.mobile-menu-control-wrapper,
#mobile-menu-icon {
    display: none !important;
}

/* GP content area — remove GP's default padding/margin */
.site-content {
    flex: 1;
    padding: 0 !important;
    margin: 0 !important;
}

/* GP wraps pages in .inside-page-header — hide it since we have skvec-page-header */
.inside-page-header {
    display: none !important;
}

/* GP's .content-area / .hentry — normalize */
.content-area {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}
.hentry {
    margin: 0 !important;
}

/* GP footer shell — hidden; we render our own */
.site-footer {
    display: none !important;
}

/* GP sidebar — disabled globally via plugin filter, but belt+suspenders */
.widget-area,
#sidebar,
.sidebar {
    display: none !important;
}

/* GP adds top padding to body for sticky nav — remove it */
body.skvec-site {
    padding-top: 0 !important;
}

/* GP's <main> element */
#main {
    padding: 0 !important;
}

/* ====================================================================
   HOMEPAGE COMPONENTS
   ==================================================================== */

/* ── Card icon wrap ── */
.skvec-card__icon-wrap {
    margin-bottom: var(--space-md);
    color: var(--red);
}
.skvec-card__body h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}
.skvec-card__body p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0;
}

/* ── Action Cards ── */
.skvec-action-card {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-xl);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow var(--duration-slow) var(--ease),
        transform var(--duration-slow) var(--ease),
        border-color var(--duration) var(--ease);
}
.skvec-action-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--red);
    color: var(--ink);
}
.skvec-action-card--dark {
    background: var(--ink);
    border-color: transparent;
    color: var(--white);
}
.skvec-action-card--dark h3,
.skvec-action-card--dark p {
    color: rgba(255,255,255,0.85);
}
.skvec-action-card--dark .skvec-action-card__desc {
    color: rgba(255,255,255,0.6);
}
.skvec-action-card--dark:hover {
    border-color: var(--red-mid);
    color: var(--white);
}
.skvec-action-card--red {
    background: var(--red);
    border-color: transparent;
    color: var(--white);
}
.skvec-action-card--red h3,
.skvec-action-card--red .skvec-action-card__desc {
    color: rgba(255,255,255,0.9);
}
.skvec-action-card--red:hover {
    background: var(--red-dark);
    border-color: transparent;
    color: var(--white);
}
.skvec-action-card__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-light);
    border-radius: var(--radius-md);
    color: var(--red);
}
.skvec-action-card--dark .skvec-action-card__icon,
.skvec-action-card--red .skvec-action-card__icon {
    background: rgba(255,255,255,0.12);
    color: var(--white);
}
.skvec-action-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem !important;
    font-weight: 700;
    margin: 0 0 var(--space-sm) !important;
    color: inherit !important;
}
.skvec-action-card__desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: var(--space-sm);
}
.skvec-action-card__cta {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.02em;
}
.skvec-action-card--dark .skvec-action-card__cta,
.skvec-action-card--red .skvec-action-card__cta {
    color: rgba(255,255,255,0.8);
}

/* ── Hero content split ── */
.skvec-hero__content {
    flex: 1;
}

/* ── Page transition — fade in on load ── */
.skvec-site main,
.skvec-hero,
.skvec-section,
.skvec-stat-strip {
    animation: skvec-fadein 0.4s ease both;
}
@keyframes skvec-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── GP content wrapper — ensure our content fills properly ── */
.skvec-site .page-content,
.skvec-site .entry-content,
.skvec-site .post-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Remove GP's default article padding on the front page */
.skvec-home .entry-content,
.skvec-home article.page {
    display: none !important;
}

/* Inner pages — hide GP's article wrapper since inner-page.php already
   rendered the page-header + .skvec-content above it via generate_after_header.
   The raw $post->post_content is fetched directly in the template so nothing is lost. */
.skvec-content-page article.page,
.skvec-content-page .entry-header,
.skvec-content-page .entry-footer {
    display: none !important;
}


/* ====================================================================
   INNER PAGE CONTENT POLISH
   ==================================================================== */

/* Ensure skvec-content has proper max-width and padding */
.skvec-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--gutter);
}

/* Wide content pages (community comments, tipline etc) need more room */
.skvec-content--wide {
    max-width: var(--wide-width);
}

/* Prose styles inside content area */
.skvec-content h2 {
    margin-top: var(--space-2xl);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border);
}
.skvec-content h3 { margin-top: var(--space-xl); }
.skvec-content ul,
.skvec-content ol {
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}
.skvec-content li { margin-bottom: var(--space-sm); line-height: 1.7; }
.skvec-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}
.skvec-content strong { font-weight: 700; color: var(--ink); }

/* Suppress any old-style footer/supporter blocks left in page content */
.skvec-content .supporter-count-block,
.skvec-content .skvec-old-footer,
.skvec-content p:empty,
.skvec-content > p > a[href*="support"]:only-child {
    /* These are handled by the new design — hide old inline versions */
}

/* Legacy "Total Supporters: X" shortcode output styling */
.skvec-content .supporter-total {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--red);
    text-align: center;
    padding: var(--space-lg);
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-top: 4px solid var(--red);
    border-radius: var(--radius-md);
    margin: var(--space-xl) 0;
}

/* ACS comment container — ensure full width in content area */
.skvec-content .acs-container {
    max-width: 100%;
}

/* Community comments page — widen content */
.skvec-content-page.page-id-community-comments .skvec-content,
.skvec-content-page .skvec-content:has(.acs-container) {
    max-width: var(--wide-width);
}

/* Tipline + testimony form pages — centered, constrained */
.skvec-content .atpro-form,
.skvec-content .ctv-form {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

/* Supporter onboarding form */
.skvec-content .skvec-supporter-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Article page — "ALERT" callout style */
.skvec-content p strong:first-child {
    /* Don't override everything — only explicit alert blocks */
}
.skvec-content .alert-block,
.skvec-content > p:first-of-type strong {
    /* Let content speak naturally */
}

/* The Article page — censorship notice styling */
.skvec-content-page .skvec-page-header {
    /* Standard header, no special treatment needed */
}

/* Supporter/CTA links inside page content */
.skvec-content a.wp-block-button__link,
.skvec-content .wp-block-button a {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--red);
    color: var(--white) !important;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--duration);
}
.skvec-content a.wp-block-button__link:hover,
.skvec-content .wp-block-button a:hover {
    background: var(--red-dark);
}

/* Hide GP article shell completely on inner pages */
.skvec-content-page #primary .content-area,
.skvec-content-page article.page,
.skvec-home article.page,
.skvec-home #primary {
    display: none !important;
}

/* GP wraps everything in .site-content .content-area #main .site-main */
/* After our template renders, GP's own article is hidden by the above */
/* But we still need the GP shell to exist for wp_footer() to fire */
.skvec-site .site-main {
    /* Keep visible as a container but contents are hidden via article rule */
    min-height: 0;
    padding: 0 !important;
    margin: 0 !important;
}


/* ====================================================================
   FOOTER FIX — kill GP's shell so our wp_footer-injected footer shows
   ==================================================================== */

/* GP's native footer shell — zero it out completely */
.site-footer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

/* GP's content area — remove any bottom padding that creates blank space */
.site-content,
.content-area,
#primary,
#content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Ensure our footer sits flush against content */
.skvec-footer {
    margin-top: 0;
}


/* ====================================================================
   HOMEPAGE FULL-WIDTH ESCAPE
   generate_after_header fires inside #primary — force it full-width
   on the front page so our hero/stat/section components render correctly
   ==================================================================== */

.skvec-home #primary,
.skvec-home .content-area,
.skvec-home #main,
.skvec-home .site-main,
.skvec-home #content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.skvec-home .skvec-hero,
.skvec-home .skvec-stat-strip,
.skvec-home .skvec-section,
.skvec-home .skvec-mission-block {
    width: 100%;
    box-sizing: border-box;
}

/* Inner pages — same treatment */
.skvec-content-page #primary,
.skvec-content-page .content-area,
.skvec-content-page #main,
.skvec-content-page .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

