/* =====================================================================
   Solomon Clan / Family Tree — professional editorial layout
   ===================================================================== */

.sol-clan {
    font-family: 'Inter', sans-serif;
    color: #3f5560;
    background: #fff;
    position: relative;
    z-index: 2;
}
.sol-clan .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Shared */
.sc-eyebrow {
    display: inline-block;
    color: #0a2472;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 13px;
    margin-bottom: 14px;
}
.sc-eyebrow--light { color: #d6f5f8 !important; }
.sc-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 52px;
}
.sc-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #071952 !important;
    letter-spacing: -.02em;
    line-height: 1.18;
    margin: 0 0 14px;
}
.sc-lead {
    font-size: 17px;
    color: #5b6f78 !important;
    line-height: 1.75;
    margin: 0;
}
.sc-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #071952;
    color: #fff !important;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(7, 25, 82, .28);
    transition: all .22s ease;
}
.sc-btn:hover {
    background: #0a2472;
    color: #fff !important;
    transform: translateY(-2px);
}
.sc-btn--white {
    background: #fff !important;
    color: #071952 !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .15);
}
.sc-btn--white:hover {
    background: #eef1f8 !important;
    color: #071952 !important;
}

/* Hero */
.sc-hero {
    background: #071952 !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}
.sc-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: center;
}
.sc-hero-title {
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 18px;
}
.sc-hero-lead {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .92) !important;
    margin: 0 0 28px;
}
.sc-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: #0a2472;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    padding: 28px 22px;
}
.sc-stat {
    text-align: center;
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}
.sc-stat:last-child { border-right: none; }
.sc-stat strong {
    display: block;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #fff !important;
    line-height: 1;
}
.sc-stat span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .85) !important;
}

/* Breadcrumb trail */
.sc-trail {
    background: #eef1f8 !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid #dde3f1;
}
.sc-trail ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}
.sc-trail li { display: flex; align-items: center; gap: 8px; }
.sc-trail li + li::before {
    content: '/';
    color: #8a9aa8;
    font-weight: 500;
}
.sc-trail a {
    color: #071952 !important;
    font-weight: 600;
    text-decoration: none;
}
.sc-trail a:hover { color: #0a2472 !important; }
.sc-trail li[aria-current="page"] {
    color: #5b6f78 !important;
    font-weight: 600;
}

/* Family tree */
.sc-tree {
    background: #fff !important;
    padding: 90px 0 !important;
}
.sc-tree--muted {
    background: #eef1f8 !important;
    padding: 90px 0 !important;
}
.sc-founders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 0;
}
.sc-founder {
    border-radius: 18px;
    padding: 34px 30px;
    height: 100%;
    border: 1px solid #e3e7f1;
    box-shadow: 0 8px 24px rgba(7, 25, 82, .07);
    transition: transform .22s ease, box-shadow .22s ease;
}
.sc-founder:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(7, 25, 82, .12);
}
.sc-founder--navy {
    background: #071952;
    border-color: #071952;
}
.sc-founder--light {
    background: #fff;
}
.sc-founder-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.sc-founder--navy .sc-founder-badge {
    background: rgba(255, 255, 255, .16);
    color: #fff !important;
}
.sc-founder--light .sc-founder-badge {
    background: #eef1f8;
    color: #071952 !important;
}
.sc-founder-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, .14);
    border: 3px solid rgba(255, 255, 255, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}
.sc-founder--light .sc-founder-photo {
    background: #eef1f8;
    border-color: #dde3f1;
    color: #071952;
}
.sc-founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sc-founder h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
}
.sc-founder--navy h3,
.sc-founder--navy .sc-founder-role,
.sc-founder--navy p,
.sc-founder--navy .sc-founder-meta span {
    color: #fff !important;
}
.sc-founder--navy p { color: rgba(255, 255, 255, .9) !important; }
.sc-founder--light h3 { color: #071952 !important; }
.sc-founder--light .sc-founder-role { color: #0a2472 !important; }
.sc-founder--light p { color: #5b6f78 !important; }
.sc-founder-role {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 14px;
}
.sc-founder p {
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 18px;
}
.sc-founder-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sc-founder-meta span {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .14);
}
.sc-founder--light .sc-founder-meta span {
    background: #eef1f8;
    color: #071952 !important;
}

/* Member grid */
.sc-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sc-member {
    background: #fff;
    border: 1px solid #e3e7f1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(7, 25, 82, .06);
    transition: transform .22s ease, box-shadow .22s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.sc-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(7, 25, 82, .14);
}
.sc-member-photo {
    background: #071952;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sc-member-photo img,
.sc-member-initials {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .28);
}
.sc-member-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .14);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}
.sc-member-gen {
    position: absolute;
    bottom: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .2);
    color: #fff !important;
}
.sc-member-body {
    padding: 22px 20px 24px;
    text-align: center;
}
.sc-member-body h3 {
    font-size: 18px;
    font-weight: 800;
    color: #071952 !important;
    margin: 0 0 6px;
    line-height: 1.3;
}
.sc-member-meta {
    font-size: 13px;
    font-weight: 600;
    color: #0a2472 !important;
    margin: 0 0 8px;
}
.sc-member-parents {
    font-size: 12px;
    color: #5b6f78 !important;
    line-height: 1.6;
    margin: 0 0 10px;
}
.sc-member-foot {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #eef1f8;
    margin-top: 8px;
}
.sc-member-chip {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eef1f8;
    color: #071952 !important;
}

/* Spotlight (selected member) */
.sc-spotlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 0;
}

/* Empty state */
.sc-empty {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 48px 32px;
    background: #fff;
    border: 1px solid #e3e7f1;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(7, 25, 82, .06);
}
.sc-empty i {
    font-size: 48px;
    color: #071952;
    margin-bottom: 18px;
}
.sc-empty h3 {
    font-size: 22px;
    font-weight: 800;
    color: #071952 !important;
    margin: 0 0 10px;
}
.sc-empty p {
    color: #5b6f78 !important;
    margin: 0 0 22px;
    line-height: 1.7;
}

/* Arusha heritage */
.sc-arusha {
    background: #eef1f8 !important;
    padding: 90px 0 !important;
}
.sc-arusha-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}
.sc-arusha-tab {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #dde3f1;
    background: #fff;
    color: #071952 !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.sc-arusha-tab:hover {
    border-color: #071952;
}
.sc-arusha-tab.is-active {
    background: #071952;
    border-color: #071952;
    color: #fff !important;
}
.sc-arusha-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 1px solid #e3e7f1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(7, 25, 82, .08);
}
.sc-arusha-panel.is-active { display: grid; }
.sc-member-chip {
    text-decoration: none;
}
.sc-arusha-main {
    background: #071952;
    padding: 40px 36px;
    color: #fff;
}
.sc-arusha-main h3 {
    font-size: 26px;
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 14px;
}
.sc-arusha-main p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .92) !important;
    margin: 0 0 20px;
}
.sc-arusha-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sc-arusha-tags span {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .14);
    color: #fff !important;
}
.sc-arusha-side {
    padding: 40px 36px;
}
.sc-arusha-side h4 {
    font-size: 18px;
    font-weight: 800;
    color: #071952 !important;
    margin: 0 0 18px;
}
.sc-arusha-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sc-arusha-list li {
    padding: 14px 0;
    border-bottom: 1px solid #eef1f8;
    font-size: 14px;
    line-height: 1.65;
    color: #5b6f78 !important;
}
.sc-arusha-list li:last-child { border-bottom: none; }
.sc-arusha-list strong {
    display: block;
    color: #071952 !important;
    margin-bottom: 4px;
}

/* Critical contrast */
section.sc-hero h2,
section.sc-hero p,
section.sc-hero strong,
section.sc-hero span,
section.sc-hero .sc-eyebrow--light {
    color: #fff !important;
}
section.sc-hero .sc-eyebrow--light { color: #d6f5f8 !important; }
section.sc-hero .sc-stat span { color: rgba(255, 255, 255, .85) !important; }
section.sc-arusha-main h3,
section.sc-arusha-main p,
.sc-arusha-main h3,
.sc-arusha-main p,
.sc-arusha-main span {
    color: #fff !important;
}
.sc-arusha-main p { color: rgba(255, 255, 255, .92) !important; }

@media (max-width: 991px) {
    .sc-hero-grid,
    .sc-arusha-panel,
    .sc-founders { grid-template-columns: 1fr; }
    .sc-members { grid-template-columns: repeat(2, 1fr); }
    .sc-hero-stats { grid-template-columns: 1fr; }
    .sc-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
    .sc-stat:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
    .sc-members { grid-template-columns: 1fr; }
    .sc-arusha-side,
    .sc-arusha-main { padding: 28px 22px; }
}
