/*
 * Trinity Homepage v1.7
 * Lightweight: CSS only, no front-end JavaScript.
 */

.thp-page {
    --thp-ink: #292929;
    --thp-muted: #686868;
    --thp-blue: #dceff2;
    --thp-blue-deep: #3f9dac;
    --thp-gold: #b98535;
    --thp-gold-dark: #76501d;
    --thp-cream: #f7f5f0;
    --thp-border: #dedede;
    --thp-white: #ffffff;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: clip;
    color: var(--thp-ink);
    font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

.thp-page *,
.thp-page *::before,
.thp-page *::after {
    box-sizing: border-box;
}

.thp-page a {
    text-decoration: none;
}

.thp-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.thp-hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #344348;
    isolation: isolate;
}

.thp-hero-image,
.thp-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.thp-hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.thp-hero-shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(17, 28, 31, .84) 0%, rgba(17, 28, 31, .60) 46%, rgba(17, 28, 31, .12) 78%, rgba(17, 28, 31, .04) 100%);
}

.thp-hero-inner {
    padding-top: 72px;
    padding-bottom: 72px;
}

.thp-hero-copy {
    max-width: 690px;
    color: var(--thp-white);
}

.thp-eyebrow {
    margin-bottom: 8px;
    color: var(--thp-gold-dark);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.thp-eyebrow-light {
    color: #f1d59f;
}

.thp-hero h1 {
    margin: 0 0 22px;
    color: var(--thp-white);
    font-size: clamp(3.2rem, 7vw, 6.1rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: .92;
}

.thp-hero h1 span {
    display: block;
}

.thp-hero-copy > p {
    max-width: 650px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.92);
    font-size: 1.12rem;
    line-height: 1.65;
}

.thp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.thp-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 7px;
    font-size: .94rem;
    font-weight: 500;
    transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}

.thp-button:hover {
    transform: translateY(-1px);
}

.thp-button-primary {
    background: var(--thp-gold);
    color: #fff;
}

.thp-button-primary:hover {
    background: #a8772c;
    color: #fff;
}

.thp-button-ghost {
    border: 1px solid rgba(255,255,255,.65);
    background: rgba(255,255,255,.07);
    color: #fff;
}

.thp-button-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,.14);
    color: #fff;
}

.thp-button-dark {
    flex: 0 0 auto;
    background: var(--thp-ink);
    color: #fff;
}

.thp-button-dark:hover {
    background: #111;
    color: #fff;
}

.thp-worship {
    background: var(--thp-blue);
    padding: 42px 0 46px;
}

.thp-section {
    padding: 82px 0;
}

.thp-section-head {
    max-width: 690px;
    margin-bottom: 30px;
}

.thp-section-head-row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.thp-section-head h2,
.thp-welcome-copy h2,
.thp-watch h2,
.thp-school h2 {
    margin: 0;
    color: var(--thp-ink);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.08;
}

.thp-section-head p {
    margin: 14px 0 0;
    color: var(--thp-muted);
}

.thp-text-link {
    flex: 0 0 auto;
    color: var(--thp-gold-dark);
    font-size: .92rem;
    font-weight: 500;
}

.thp-service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.thp-service {
    min-height: 112px;
    padding: 20px 16px;
    border: 1px solid rgba(41,41,41,.10);
    border-radius: 9px;
    background: rgba(255,255,255,.72);
}

.thp-service strong {
    display: block;
    margin-bottom: 5px;
    color: var(--thp-gold-dark);
    font-size: 1.12rem;
}

.thp-service span {
    display: block;
    color: #4d4d4d;
    font-size: .88rem;
    line-height: 1.4;
}

.thp-welcome {
    background: var(--thp-cream);
}

.thp-welcome-head {
    margin-bottom: 22px;
}

.thp-welcome-label-only {
    max-width: none;
}

.thp-welcome-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 54px;
    align-items: start;
    margin-bottom: 42px;
}

.thp-welcome-copy p {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--thp-muted);
    font-size: 1.04rem;
}

.thp-welcome-note {
    padding: 25px;
    border-left: 3px solid var(--thp-gold);
    background: var(--thp-cream);
}

.thp-cross {
    display: block;
    margin-bottom: 9px;
    color: var(--thp-gold);
    font-size: 1.35rem;
}

.thp-welcome-note p {
    margin: 0;
    color: #545454;
}

.thp-card-grid {
    display: grid;
    gap: 16px;
}

.thp-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thp-card {
    position: relative;
    min-height: 245px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--thp-border);
    border-radius: 12px;
    background: #fff;
    color: var(--thp-ink);
    box-shadow: 0 8px 30px rgba(0,0,0,.035);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.thp-card:hover {
    transform: translateY(-2px);
    border-color: #c9c9c9;
    box-shadow: 0 12px 34px rgba(0,0,0,.065);
    color: var(--thp-ink);
}

.thp-card-eyebrow {
    margin-bottom: 10px;
    color: var(--thp-gold-dark);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.thp-card > strong {
    margin-bottom: 10px;
    font-size: 1.32rem;
    font-weight: 500;
    line-height: 1.25;
}

.thp-card-text {
    color: var(--thp-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.thp-card-link {
    margin-top: auto;
    padding-top: 24px;
    color: var(--thp-gold-dark);
    font-size: .86rem;
    font-weight: 700;
}

.thp-watch {
    padding-top: 72px;
    padding-bottom: 72px;
    background: var(--thp-blue);
}

.thp-watch-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
    padding: 45px;
    border-radius: 16px;
    background: #29383c;
    color: #fff;
    box-shadow: 0 10px 34px rgba(0,0,0,.08);
}

.thp-watch h2 {
    color: #fff;
}

.thp-watch-copy p {
    margin: 16px 0 0;
    color: rgba(255,255,255,.78);
}

.thp-watch-actions {
    display: grid;
    gap: 10px;
}

.thp-watch-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    color: #fff;
    transition: background-color .15s ease, border-color .15s ease;
}

.thp-watch-link:hover {
    border-color: rgba(255,255,255,.32);
    background: rgba(255,255,255,.12);
    color: #fff;
}

.thp-play {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--thp-gold);
    font-size: .8rem;
}

.thp-watch-link strong,
.thp-watch-link small {
    display: block;
}

.thp-watch-link small {
    margin-top: 2px;
    color: rgba(255,255,255,.68);
    font-size: .76rem;
}

.thp-explore {
    background: var(--thp-cream);
}

.thp-school {
    padding: 62px 0;
    background: var(--thp-blue);
}

.thp-school-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.thp-school-inner > div {
    max-width: 780px;
}

.thp-school h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.thp-school p {
    margin: 15px 0 0;
    color: #596265;
}

@media (max-width: 980px) {
    .thp-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .thp-welcome-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .thp-watch-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .thp-shell {
        width: min(100% - 28px, 1160px);
    }

    .thp-hero {
        min-height: 610px;
        align-items: flex-end;
    }

    .thp-hero-image {
        object-position: 58% center;
    }

    .thp-hero-shade {
        background: linear-gradient(0deg, rgba(17,28,31,.92) 0%, rgba(17,28,31,.68) 58%, rgba(17,28,31,.20) 100%);
    }

    .thp-hero-inner {
        padding-top: 70px;
        padding-bottom: 54px;
    }

    .thp-hero h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

    .thp-hero-copy > p {
        font-size: 1rem;
    }

    .thp-section {
        padding: 60px 0;
    }

    .thp-section-head-row {
        display: block;
    }

    .thp-section-head-row .thp-text-link {
        display: inline-block;
        margin-top: 15px;
    }

    .thp-service-grid,
    .thp-card-grid-3 {
        grid-template-columns: 1fr;
    }

    .thp-service {
        min-height: 0;
    }

    .thp-card {
        min-height: 210px;
    }

    .thp-watch {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .thp-watch-panel {
        padding: 30px 22px;
        border-radius: 12px;
    }

    .thp-school-inner {
        display: block;
    }

    .thp-school .thp-button {
        margin-top: 25px;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thp-button,
    .thp-card,
    .thp-watch-link {
        transition: none;
    }
}



/* =========================================
   LATEST YOUTUBE VIDEO CARDS
   ========================================= */

.thp-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.thp-video-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    color: #fff;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.thp-video-card:hover {
    border-color: rgba(255,255,255,.32);
    background: rgba(255,255,255,.12);
    color: #fff;
    transform: translateY(-1px);
}

.thp-video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #182225;
}

.thp-video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thp-video-thumb-fallback {
    min-height: 150px;
}

.thp-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(185,133,53,.95);
    color: #fff;
    font-size: .9rem;
    box-shadow: 0 4px 18px rgba(0,0,0,.24);
}

.thp-video-copy {
    display: block;
    padding: 15px 16px 17px;
}

.thp-video-label {
    display: block;
    margin-bottom: 5px;
    color: #f1d59f;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.thp-video-copy strong {
    display: block;
    color: #fff;
    font-size: .94rem;
    line-height: 1.35;
}

.thp-video-copy small {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.62);
    font-size: .72rem;
    line-height: 1.35;
}

@media (max-width: 720px) {
    .thp-video-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   TYPOGRAPHY HARMONIZATION
   ========================================= */

.thp-page button,
.thp-page input,
.thp-page select,
.thp-page textarea {
    font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
}

.thp-card-link,
.thp-video-label,
.thp-eyebrow,
.thp-text-link {
    letter-spacing: .1em;
}

.thp-page p,
.thp-card-text,
.thp-service span,
.thp-video-copy small {
    font-weight: 400;
}
