/* ============================================
   SEIFERT CONSULTING — INSIGHTS PAGE
   Article cards, featured layout, newsletter form.
   Extends tokens.css + ds.css.
   ============================================ */

/* Insights hero override — quieter than landing hero */
.insights-hero {
    background: var(--secondary);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 7rem 0 5rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}
.insights-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/hero-light.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
}
.insights-hero-inner { position: relative; z-index: 1; max-width: 64ch; }

.insights-hero .eyebrow-wrap {
    display: inline-flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}
.insights-hero .eyebrow-wrap .rule {
    width: 40px;
    height: 1px;
    background: var(--highlight);
}
.insights-hero .eyebrow-wrap .text {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--foreground);
}

.insights-hero h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--foreground);
    margin: 0 0 1.5rem;
}
.insights-hero p {
    font-size: 1.1875rem;
    line-height: 1.6;
    color: var(--foreground-muted);
    max-width: 52ch;
    margin: 0;
}

/* Featured article layout */
.insights-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}
@media (max-width: 900px) {
    .insights-feature { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 700px) {
    .insights-hero { padding: 4rem 0 3rem; }
    .insights-hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
    .insights-hero p { font-size: 1rem; }
    .insights-feature .cover { aspect-ratio: 16 / 10; }
    .insights-feature .title { font-size: clamp(1.625rem, 6vw, 2rem); }
    .insights-feature .excerpt { font-size: 1rem; }
}

.insights-feature .cover {
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.insights-feature .text { padding: 1rem 0; }

.insights-feature .category {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: 1.5rem;
}
.insights-feature .category::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--highlight);
}

.insights-feature .title {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--foreground);
    margin: 0 0 1.25rem;
    max-width: 18ch;
}

.insights-feature .excerpt {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--foreground-muted);
    margin: 0 0 2rem;
    max-width: 50ch;
}

.insights-feature .meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}
.insights-feature .meta .dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--border-strong);
}

.insights-feature .read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    transition: color var(--transition-fast);
}
.insights-feature .read-link svg { transition: transform var(--transition-normal); }
.insights-feature .read-link:hover { color: var(--highlight); }
.insights-feature .read-link:hover svg { transform: translateX(4px); }

/* Articles grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding-top: 5rem;
    border-top: 1px solid var(--border);
}
@media (max-width: 700px) { .insights-grid { grid-template-columns: 1fr; gap: 3.5rem; } }
@media (max-width: 700px) {
    .insights-card .title { font-size: 1.375rem; }
    .insights-card .excerpt { font-size: 0.9375rem; }
}

.insights-card {
    display: flex;
    flex-direction: column;
}
.insights-card .cover {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.75rem;
    border: 1px solid var(--border);
    position: relative;
}
.insights-card .category {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: 1rem;
}
.insights-card .category::before {
    content: '';
    width: 18px; height: 1px;
    background: var(--highlight);
}
.insights-card .title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin: 0 0 0.875rem;
    max-width: 20ch;
}
.insights-card .excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--foreground-muted);
    margin: 0 0 1.5rem;
    max-width: 44ch;
}
.insights-card .meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}
.insights-card .meta .dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--border-strong);
}
.insights-card .read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-top: auto;
    transition: color var(--transition-fast);
}
.insights-card .read-link svg { transition: transform var(--transition-normal); }
.insights-card .read-link:hover { color: var(--highlight); }
.insights-card .read-link:hover svg { transform: translateX(4px); }

/* Cover art placeholder treatments */
.cover-art {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cover-art .glyph {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    user-select: none;
}
.cover-art--navy {
    background: var(--accent);
    color: var(--accent-foreground);
}
.cover-art--navy::after {
    content: '';
    position: absolute;
    top: -30%; right: -30%;
    width: 80%; height: 80%;
    background: radial-gradient(ellipse at top right, rgba(235,84,54,0.22) 0%, transparent 60%);
    pointer-events: none;
}
.cover-art--navy .glyph { color: var(--highlight); }

.cover-art--cream {
    background: var(--secondary);
    color: var(--accent);
    background-image: url('assets/hero-light.webp');
    background-size: cover;
    background-position: center;
}
.cover-art--cream .glyph { color: var(--accent); }

.cover-art--orange {
    background: var(--highlight);
    color: var(--accent-foreground);
}
.cover-art--orange::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at bottom left, rgba(0,0,77,0.25) 0%, transparent 60%);
    pointer-events: none;
}
.cover-art--orange .glyph { color: var(--accent-foreground); }

/* Newsletter capture section */
.newsletter-section {
    background: var(--accent);
    color: var(--accent-foreground);
    border-radius: var(--radius-xl);
    margin: 2.5rem 1rem;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 50%; height: 100%;
    background: radial-gradient(ellipse at top right, rgba(235,84,54,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.newsletter-section .container { position: relative; max-width: 760px; text-align: center; }

.newsletter-eyebrow {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.75rem;
}
.newsletter-eyebrow .rule {
    width: 40px; height: 1px; background: var(--highlight);
}
.newsletter-eyebrow .text {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-foreground);
}

.newsletter-section h2 {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--accent-foreground);
    margin: 0 0 1.5rem;
}
.newsletter-section p.lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
    margin: 0 0 2.5rem;
    max-width: 48ch;
    margin-left: auto; margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin: 0 auto 1rem;
}
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--accent-foreground);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--highlight);
    background: rgba(255,255,255,0.07);
}
.newsletter-form button {
    background: var(--highlight);
    color: var(--highlight-foreground);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast);
    white-space: nowrap;
}
.newsletter-form button:hover { background: #d54a30; }

.newsletter-microcopy {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .newsletter-form { flex-direction: column; }
    .newsletter-section { padding: 4rem 0; margin: 1rem 0.5rem; }
    .newsletter-section h2 { font-size: clamp(1.625rem, 7vw, 2.25rem); }
}
@media (max-width: 480px) {
    .newsletter-section { margin: 1rem 0; border-radius: 0; padding: 3rem 0; }
}
