/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafafa;
    color: #1a1a1a;
    scrollbar-width: none;
}
body::-webkit-scrollbar { display: none; }

/* ── Nav ── */
.ss-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 48px;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ss-nav-logo { height: 26px; object-fit: contain; }
.ss-nav-links { display: flex; align-items: center; gap: 24px; }
.ss-nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}
.ss-nav-links a:hover { color: #000; }
.btn-nav {
    background: #000;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}
.btn-nav:hover { background: #333; color: #fff; transform: translateY(-1px); }

/* ── Hero ── */
.hero-wrap { 
    position: relative; 
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    /* background-image set via inline CSS custom property in the PHP file */
    background-image: var(--hero-bg-url);
    background-size: cover;
    background-position: center 30%;
    opacity: .10;
    z-index: 0;
    width: 100%;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to right, rgba(250, 250, 250, 1) 0%, rgba(250, 250, 250, 0) 30%),
        linear-gradient(to bottom, rgba(250, 250, 250, 0) 60%, rgba(250, 250, 250, 1) 100%);
}
.hero {
    position: relative;
    z-index: 1;
    padding: 140px 48px 80px;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 28px;
}
.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -3px;
    max-width: 700px;
    margin-bottom: 24px;
}
.hero h1 span { color: #888; font-weight: 300; font-style: italic; }
.hero-sub {
    font-size: 1.1rem;
    color: #666;
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    gap: 0;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    max-width: 560px;
    background: #fff;
}
.hero-stat { flex: 1; padding: 20px 24px; border-right: 1px solid #e8e8e8; }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; color: #000; }
.hero-stat-label { font-size: 12px; color: #888; margin-top: 2px; }

/* ── Stories section ── */
.stories-section { max-width: 1200px; margin: 0 auto; padding: 40px 48px 80px; }
.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 12px;
}
.section-heading {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 56px;
}

/* ── Story row cards ── */
.story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 32px;
    transition: box-shadow .3s ease, transform .3s ease;
}
.story-row:hover { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.09); transform: translateY(-4px); }
.story-row.reverse { direction: rtl; }
.story-row.reverse > * { direction: ltr; }

.story-image {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #333);
}
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-row:hover .story-image img { transform: scale(1.04); }
.story-image-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: -4px;
}
.story-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), transparent);
}

.story-content {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.story-field-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 20px;
    width: fit-content;
}
.story-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    margin-left: 8px;
}
.story-quote-mark {
    font-size: 4rem;
    line-height: .8;
    color: #e0e0e0;
    font-family: Georgia, serif;
    margin-bottom: 8px;
}
.story-quote-text { font-size: 1.05rem; line-height: 1.75; color: #333; margin-bottom: 28px; }
.story-divider { width: 40px; height: 2px; background: #000; margin-bottom: 20px; }
.story-author-name { font-size: 1rem; font-weight: 700; color: #000; margin-bottom: 4px; }
.story-author-detail { font-size: 13px; color: #888; }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 80px 24px; color: #aaa; }
.empty-state i { font-size: 3rem; margin-bottom: 16px; display: block; }

/* ── Impact banner ── */
.impact-banner {
    background: #000;
    color: #fff;
    border-radius: 24px;
    padding: 64px 56px;
    max-width: 1104px;
    margin: 0 auto 80px;
}
.impact-banner h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 48px;
}
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.impact-item-num { font-size: 2.8rem; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.impact-item-label { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 6px; line-height: 1.4; }

/* ── CTA section ── */
.cta-section { text-align: center; padding: 60px 24px 100px; }
.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
.cta-section p { font-size: 1rem; color: #666; margin-bottom: 36px; }
.btn-cta {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all .3s;
}
.btn-cta:hover { background: #333; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.btn-cta-outline {
    background: transparent;
    color: #000;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-left: 12px;
    transition: all .3s;
}
.btn-cta-outline:hover { background: #000; color: #fff; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .story-row,
    .story-row.reverse { grid-template-columns: 1fr; direction: ltr; }
    .story-image { min-height: 260px; }
    .story-content { padding: 32px 28px; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-banner { padding: 40px 28px; margin: 0 20px 60px; }
    .stories-section, .hero { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 600px) {
    .ss-nav { padding: 14px 20px; }
    .ss-nav-links { display: none; }
    .hero { padding-top: 100px; }
    .hero-stats { flex-direction: column; }
    .hero-stat { border-right: none; border-bottom: 1px solid #e8e8e8; }
    .hero-stat:last-child { border-bottom: none; }
    .impact-grid { grid-template-columns: 1fr 1fr; }
    .btn-cta-outline { margin-left: 0; margin-top: 12px; }
}
