.third-birth-page {
    --red: #c51b17;
    --ink: #24211f;
    --paper: #f1eee9;
    --muted: #6e6861;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.third-birth-page h1,
.third-birth-page h2,
.third-birth-page h3,
.third-birth-page h4 {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 500;
}

.third-birth-page .tb-container {
    width: min(1120px, calc(100% - 120px));
    margin: 0 auto;
}

/* Keep the sticky menu visually consistent with the other inner pages. */
.third-birth-page .header {
    background: rgba(5, 5, 5, .94);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.third-birth-page .header.scrolled,
.third-birth-page .header.is-open {
    background: rgba(5, 5, 5, .98);
}

.tb-hero {
    min-height: 590px;
    color: #fff;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 3, 3, .98) 0%, rgba(3, 3, 3, .82) 38%, rgba(3, 3, 3, .38) 68%, rgba(3, 3, 3, .18) 100%),
        url('../images/third-birth-hero.jpg') center/cover no-repeat,
        #111;
}

.tb-hero-inner {
    padding: 150px 0 72px;
    position: relative;
    z-index: 1;
}

.tb-breadcrumb {
    margin-bottom: 26px;
    color: #d0d0d0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.tb-kicker,
.tb-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.tb-kicker:before,
.tb-label:before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.tb-hero h1 {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: clamp(62px, 7vw, 96px);
    line-height: .98;
}

.tb-slogan {
    margin: 0 0 26px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 27px;
    font-style: italic;
    line-height: 1.25;
}

.tb-hero-copy {
    max-width: 600px;
    margin: 0;
    color: #eee;
    font-size: 17px;
    line-height: 1.75;
}

.tb-section {
    padding: 72px 0;
}

.tb-section h2,
.tb-partners h2 {
    max-width: 790px;
    margin: 0 0 28px;
    font-size: 54px;
    line-height: 1.02;
}

.tb-section p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.tb-content-narrow {
    max-width: 790px;
}

.tb-overview {
    padding-top: 82px;
    padding-bottom: 72px;
}

.tb-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
}

.tb-timeline article {
    position: relative;
    padding-top: 28px;
}

.tb-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red);
}

.tb-line {
    position: absolute;
    top: 5px;
    left: 18px;
    right: 0;
    height: 1px;
    background: #cbc3ba;
}

.tb-timeline .is-future .tb-dot {
    border: 1px solid var(--red);
    background: var(--paper);
}

.tb-timeline h3 {
    margin: 0 0 7px;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.tb-timeline p {
    font-size: 13px;
}

.tb-why {
    background: #e6e0d8;
}

.tb-why p {
    max-width: 900px;
}

.tb-campaign-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 44px;
}

.tb-campaign-grid article {
    padding: 0 38px;
    border-right: 1px solid #cbc3ba;
}

.tb-campaign-grid article:first-child {
    padding-left: 0;
}

.tb-campaign-grid article:last-child {
    padding-right: 0;
    border-right: 0;
}

.tb-campaign-grid i {
    display: block;
    width: 32px;
    height: 3px;
    margin-bottom: 22px;
    background: #c98d62;
}

.tb-campaign-grid .green i {
    background: #4d8d62;
}

.tb-campaign-grid h3 {
    margin: 0 0 8px;
    font-size: 31px;
    line-height: 1.05;
}

.tb-campaign-grid span {
    display: block;
    margin-bottom: 18px;
    color: #8b8177;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tb-campaign-grid p {
    font-size: 14px;
    line-height: 1.75;
}

.tb-partners {
    padding: 72px 0;
    background: #0a0a0a;
    color: #fff;
}

.tb-label.light {
    color: #a5a5a5;
}

.tb-partners h2 {
    color: #fff;
}

.tb-partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 40px;
}

.tb-partner-grid span {
    padding: 12px 20px;
    border-right: 1px solid rgba(255, 255, 255, .2);
    text-align: center;
    font-size: 13px;
    letter-spacing: .04em;
}

.tb-partner-grid span:last-child {
    border-right: 0;
}

.tb-involve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 42px;
}

.tb-involve-grid article {
    min-height: 210px;
    padding: 34px 30px;
    border: 1px solid #cbc3ba;
    display: flex;
    gap: 22px;
}

.tb-icon {
    color: var(--red);
    font-size: 34px;
    line-height: 1;
}

.tb-involve-grid h3 {
    margin: 0 0 12px;
    font-size: 29px;
    line-height: 1.05;
}

.tb-involve-grid p {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.65;
}

.tb-involve-grid a {
    display: inline-flex;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--red);
    color: var(--ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
}

.tb-footer {
    padding: 70px 0 28px;
    background: #050505;
    color: #fff;
}

.tb-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 55px;
}

.tb-footer h3 {
    margin: 0 0 18px;
    font-size: 27px;
}

.tb-footer p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.75;
}

.tb-footer h4 {
    margin: 0 0 20px;
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.tb-footer a {
    display: block;
    margin-bottom: 10px;
    color: #ddd;
    font-size: 13px;
    text-decoration: none;
}

.tb-footer a:hover {
    color: #fff;
}

.footer .footer-social-cards {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.footer .footer-social-card {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    font-size: 17px;
    line-height: 1;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.footer .footer-social-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--red, #de2d20);
    transform: translateY(102%);
    transition: transform .3s cubic-bezier(.2, .75, .25, 1);
}

.footer .footer-social-card:hover,
.footer .footer-social-card:focus-visible {
    color: #fff;
    border-color: var(--red, #de2d20);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
    outline: none;
}

.footer .footer-social-card:hover::before,
.footer .footer-social-card:focus-visible::before {
    transform: translateY(0);
}

.footer .footer-social-card i {
    transition: transform .3s ease;
}

.footer .footer-social-card:hover i,
.footer .footer-social-card:focus-visible i {
    transform: scale(1.12);
}

@media (max-width: 575px) {
    .footer .footer-social-card {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .footer .footer-social-card,
    .footer .footer-social-card::before,
    .footer .footer-social-card i {
        transition: none;
    }
}

.tb-social {
    margin-top: 18px;
    font-size: 16px;
}

.tb-copy {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #888;
    font-size: 11px;
}

@media (max-width: 1180px) {
    .third-birth-page .tb-container {
        width: calc(100% - 70px);
    }

    .tb-campaign-grid article {
        padding: 0 26px;
    }
}

@media (max-width: 900px) {
    .third-birth-page .header {
        background: rgba(5, 5, 5, .97);
    }

    .tb-hero {
        min-height: 520px;
    }

    .tb-hero-inner {
        padding: 130px 0 55px;
    }

    .tb-hero h1 {
        font-size: 52px;
    }

    .tb-section,
    .tb-partners {
        padding: 58px 0;
    }

    .tb-section h2,
    .tb-partners h2 {
        font-size: 44px;
    }

    .tb-campaign-grid,
    .tb-involve-grid {
        grid-template-columns: 1fr;
    }

    .tb-campaign-grid article,
    .tb-campaign-grid article:first-child,
    .tb-campaign-grid article:last-child {
        padding: 30px 0;
        border-right: 0;
        border-bottom: 1px solid #cbc3ba;
    }

    .tb-campaign-grid article:last-child {
        border-bottom: 0;
    }

    .tb-partner-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
    }

    .tb-partner-grid span:nth-child(2) {
        border-right: 0;
    }

    .tb-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .third-birth-page {
        font-size: 13px;
    }

    .third-birth-page .tb-container {
        width: calc(100% - 36px);
    }

    .tb-hero {
        min-height: 470px;
        background-position: 62% center;
    }

    .tb-hero-inner {
        padding: 112px 0 45px;
    }

    .tb-breadcrumb {
        margin-bottom: 18px;
        font-size: 9px;
    }

    .tb-kicker,
    .tb-label {
        font-size: 9px;
        letter-spacing: .22em;
    }

    .tb-hero h1 {
        font-size: 42px;
    }

    .tb-slogan {
        font-size: 21px;
    }

    .tb-hero-copy {
        font-size: 14px;
    }

    .tb-section,
    .tb-partners,
    .tb-overview {
        padding: 42px 0;
    }

    .tb-section h2,
    .tb-partners h2 {
        margin-bottom: 22px;
        font-size: 38px;
    }

    .tb-section p {
        font-size: 14px;
        line-height: 1.75;
    }

    .tb-timeline {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 40px;
    }

    .tb-line {
        display: none;
    }

    .tb-campaign-grid {
        margin-top: 25px;
    }

    .tb-campaign-grid h3,
    .tb-involve-grid h3 {
        font-size: 28px;
    }

    .tb-partner-grid {
        grid-template-columns: 1fr;
    }

    .tb-partner-grid span,
    .tb-partner-grid span:nth-child(2) {
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .tb-partner-grid span:last-child {
        border-bottom: 0;
    }

    .tb-involve-grid article {
        min-height: 0;
        padding: 28px 22px;
    }

    .tb-footer {
        padding: 42px 0 28px;
    }

    .tb-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tb-copy {
        flex-direction: column;
        margin-top: 34px;
    }
}

/* Header background behavior to match projects page */
.third-birth-page .header{
    background:transparent;
    transition:background .25s ease,backdrop-filter .25s ease;
}
.third-birth-page .header.scrolled,
.third-birth-page .header.is-open{
    background:rgba(0,0,0,.9);
    backdrop-filter:blur(12px);
}
