/* ── Case Study Shared Styles ───────────────────────────── */
/* Used by all pages under /pools-for/                      */
/* Include via: <link rel="stylesheet" href="/pools-for/inc/cs.css"> */

.eNav { margin-bottom: 0 !important; }
.btn-lg { margin-top: 4px !important; margin-bottom: 4px !important; }

/* ── layout ─────────────────────────────────────────────── */
.cs-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ── hero ───────────────────────────────────────────────── */
.cs-hero {
    background-color: #fafaf8;
    background-image: radial-gradient(circle, #d1d5db 1px, transparent 1px);
    background-size: 24px 24px;
    border-bottom: 1px solid #e5e7eb;
    padding: 72px 20px 68px;
    text-align: center;
}
.cs-eyebrow {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #f18b53;
    font-weight: 700;
    margin-bottom: 16px;
}
.cs-eyebrow a { color: inherit; text-decoration: none; }
.cs-eyebrow a:hover { opacity: .75; }
.cs-hero h1 {
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    max-width: 780px;
    margin: 0 auto 16px;
    color: #111;
    letter-spacing: -.5px;
}
.cs-hero .cs-sub {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.cs-hero-logo {
    display: block;
    height: 80px;
    width: auto;
    margin: 0 auto 32px;
    object-fit: contain;
}
.cs-hero-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.cs-hero-btns .btn-outline-secondary {
    border-color: #bbb;
    color: #333;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(2px);
}
.cs-hero-btns .btn-outline-secondary:hover { background: #fff; }
.cs-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #f3f4f6;
    color: #555;
    border-radius: 20px;
    padding: 3px 12px;
    margin: 3px 3px 3px 0;
}

/* ── sections ───────────────────────────────────────────── */
.cs-section { padding: 56px 20px; }
.cs-section--alt { background: #fff; }
.cs-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #f18b53;
    margin-bottom: 8px;
}
.cs-section h2 { font-size: clamp(20px, 2.8vw, 28px); font-weight: 700; margin: 0 0 16px; color: #111; }
.cs-section p  { font-size: 16px; line-height: 1.7; color: #444; }
.cs-section ul { font-size: 16px; line-height: 1.9; color: #444; padding-left: 22px; }

/* ── snapshot grid ──────────────────────────────────────── */
.cs-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 28px;
}
.cs-snapshot-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px 20px;
}
.cs-snap-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 5px;
}
.cs-snap-value { font-size: 15px; font-weight: 600; color: #111; }

/* ── brand spotlight ────────────────────────────────────── */
.cs-brand-spotlight {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 36px 32px 28px;
    background: #fff;
    margin-top: 40px;
    text-align: center;
}
.cs-brand-spotlight-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.cs-brand-spotlight img { height: 80px; width: auto; object-fit: contain; }
.cs-brand-spotlight-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9ca3af; margin-bottom: 6px; }
.cs-brand-spotlight-name  { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 10px; }
.cs-brand-spotlight-mission {
    font-size: 15px;
    color: #555;
    line-height: 1.65;
    font-style: italic;
    margin: 0 auto 12px;
    max-width: 620px;
    border-left: 3px solid #f18b53;
    padding-left: 14px;
    text-align: left;
}
.cs-brand-spotlight-url { font-size: 13px; font-weight: 600; color: #f18b53; text-decoration: none; }
.cs-brand-spotlight-url:hover { text-decoration: underline; }
@media (max-width: 600px) { .cs-brand-spotlight { flex-direction: column; gap: 16px; padding: 24px 20px; } }

/* ── video embed ────────────────────────────────────────── */
.cs-video-wrap {
    display: flex;
    justify-content: center;
    margin: 32px 0 0;
}
.cs-short-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.cs-short-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── why works ──────────────────────────────────────────── */
.cs-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 28px;
}
.cs-why-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 24px 22px; }
.cs-why-card > i { font-size: 26px; color: #f18b53; margin-bottom: 10px; display: block; }
.cs-why-head   { font-weight: 700; font-size: 15px; margin-bottom: 6px; color: #111; }
.cs-why-body   { font-size: 14px; color: #555; line-height: 1.6; }

/* ── tiebreaker list ────────────────────────────────────── */
.cs-tiebreak-list { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: tb; }
.cs-tiebreak-list li {
    counter-increment: tb;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    color: #333;
    margin-bottom: 14px;
    line-height: 1.5;
}
.cs-tiebreak-list li::before {
    content: counter(tb);
    min-width: 28px;
    height: 28px;
    background: #f18b53;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── takeaways ──────────────────────────────────────────── */
.cs-takeaway-list { list-style: none; padding: 0; margin: 24px 0 0; }
.cs-takeaway-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: #333;
    margin-bottom: 14px;
    line-height: 1.5;
}
.cs-takeaway-list li i { color: #2e7d32; font-size: 18px; flex-shrink: 0; margin-top: 2px; }

/* ── stat callout ───────────────────────────────────────── */
.cs-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 0;
}
.cs-stat-block {
    flex: 1;
    min-width: 160px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 22px 20px;
    text-align: center;
}
.cs-stat-num   { font-size: 36px; font-weight: 800; color: #f18b53; line-height: 1; margin-bottom: 6px; }
.cs-stat-label { font-size: 13px; color: #666; font-weight: 500; line-height: 1.4; }

/* ── founder callout ────────────────────────────────────── */
.cs-founder-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #f18b53;
    border-radius: 10px;
    padding: 28px 28px 24px;
    margin-top: 28px;
}
.cs-founder-name  { font-size: 14px; font-weight: 700; color: #f18b53; letter-spacing: .04em; margin-bottom: 10px; }
.cs-founder-quote { font-size: 17px; font-style: italic; color: #333; line-height: 1.7; margin: 0; }

/* ── CTA ────────────────────────────────────────────────── */
.cs-cta {
    background: #00275c;
    color: #fff;
    text-align: center;
    padding: 72px 20px;
}
.cs-cta h2 { color: #fff; font-size: clamp(22px, 3.5vw, 34px); margin: 0 0 12px; }
.cs-cta p  { color: #c8d5e8; font-size: 17px; margin-bottom: 32px; }
.cs-cta .btn-link { color: #c8d5e8; font-size: 15px; text-decoration: underline; display: block; margin-top: 14px; }
.cs-cta .btn-link:hover { color: #fff; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 540px) {
    .cs-section { padding: 44px 20px; }
    .cs-short-frame { max-width: 100%; }
    .cs-stat-row { flex-direction: column; }
}
