
/*
 * TemperWorks Homepage
 *
 * Refined typography version.
 * Global watermark remains in watermark.css.
 */


/* =========================================================
   HOMEPAGE BASE
   ========================================================= */

.tw-homepage {

    width: 100%;

    color: var(--text-primary);

}


/* =========================================================
   SHARED SECTION STRUCTURE
   ========================================================= */

.tw-home-section {

    position: relative;

    padding: 5.5rem 0;

}


.tw-home-narrow {

    max-width: 800px;

    margin: 0 auto;

}


.tw-home-section-heading {

    max-width: 780px;

    margin: 0 auto;

    text-align: center;

}


.tw-home-section-heading h2 {

    margin: 0 0 1rem;

    color: var(--text-primary);

    font-size: clamp(1.9rem, 3.5vw, 2.7rem);

    font-weight: 650;

    line-height: 1.2;

}


.tw-home-section-heading p {

    max-width: 720px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 1.05rem;

    line-height: 1.75;

}


/* =========================================================
   SECTION LABELS
   ========================================================= */

.tw-homepage .tw-section-label {

    display: block;

    margin-bottom: .85rem;

    color: var(--accent-gold);

    font-size: .75rem;

    font-weight: 750;

    letter-spacing: .15em;

    line-height: 1.4;

    text-transform: uppercase;

}


/* =========================================================
   HERO
   ========================================================= */

.tw-home-hero {

    position: relative;

    padding: 7rem 0 6rem;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(11, 15, 23, .96),
            rgba(18, 26, 42, .93)
        );

}


.tw-home-hero .container {

    position: relative;

    z-index: 2;

}


.tw-home-hero h1 {

    max-width: 850px;

    margin: 0 auto 1.5rem;

    color: var(--text-primary);

    font-size: clamp(2.8rem, 6vw, 4.6rem);

    font-weight: 750;

    line-height: 1.05;

    letter-spacing: -.025em;

}


.tw-home-lead {

    max-width: 700px;

    margin: 0 auto 2.25rem;

    color: var(--text-secondary);

    font-size: 1.15rem;

    line-height: 1.75;

}


/* =========================================================
   ACTIONS
   ========================================================= */

.tw-home-actions {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: .9rem;

    flex-wrap: wrap;

}


/* =========================================================
   BUTTONS
   ========================================================= */

.tw-homepage .button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: .75rem 1.5rem;

    border-radius: 7px;

    font-size: .95rem;

    font-weight: 650;

    line-height: 1.2;

    text-decoration: none;

    transition:
        transform .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;

}


.tw-homepage .button:hover {

    transform: translateY(-2px);

}


.tw-homepage .button-primary {

    border: 2px solid var(--accent-gold);

    background: var(--accent-gold);

    color: var(--bg-primary);

}


.tw-homepage .button-primary:hover {

    box-shadow:
        0 7px 18px rgba(0, 0, 0, .22);

}


.tw-homepage .button-secondary {

    border: 2px solid var(--accent-blue);

    background: transparent;

    color: var(--accent-blue);

}


.tw-homepage .button-secondary:hover {

    background: var(--accent-blue);

    color: var(--bg-primary);

}


/* =========================================================
   WHO WE ARE
   ========================================================= */

.tw-home-who {

    background: var(--bg-primary);

}


.tw-home-who h2 {

    margin: 0 0 1.25rem;

    color: var(--text-primary);

    font-size: clamp(1.9rem, 3.5vw, 2.7rem);

    font-weight: 650;

    line-height: 1.2;

}


.tw-home-who p {

    margin: 0 0 1.1rem;

    color: var(--text-secondary);

    font-size: 1.05rem;

    line-height: 1.8;

}


/* =========================================================
   TEXT LINKS
   ========================================================= */

.tw-homepage .tw-text-link {

    display: inline-flex;

    align-items: center;

    gap: .45rem;

    margin-top: .75rem;

    color: var(--accent-gold);

    font-size: .95rem;

    font-weight: 650;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;

}


.tw-homepage .tw-text-link:hover {

    color: var(--accent-blue);

    transform: translateX(3px);

}


.tw-homepage .tw-text-link span {

    transition: transform .2s ease;

}


.tw-homepage .tw-text-link:hover span {

    transform: translateX(3px);

}


/* =========================================================
   MISSION
   ========================================================= */

.tw-home-mission {

    background:
        linear-gradient(
            135deg,
            rgba(18, 26, 42, .82),
            rgba(11, 15, 23, .92)
        );

    text-align: center;

}


.tw-home-mission-inner {

    max-width: 850px;

    margin: 0 auto;

}


.tw-home-mission h2 {

    margin: 0 0 1.25rem;

    color: var(--text-primary);

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 650;

    line-height: 1.18;

}


.tw-home-mission p {

    max-width: 740px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 1.05rem;

    line-height: 1.8;

}


/* =========================================================
   WHAT WE'RE BUILDING
   ========================================================= */

.tw-home-building {

    background:
        linear-gradient(
            135deg,
            var(--bg-panel),
            var(--bg-panel-2)
        );

}


.tw-home-building-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1.35rem;

    margin-top: 2.5rem;

}


.tw-home-building-card {

    position: relative;

    min-height: 175px;

    padding: 1.75rem;

    background: rgba(11, 15, 23, .78);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 10px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;

}


.tw-home-building-card:hover {

    transform: translateY(-3px);

    border-color: var(--accent-gold);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .22);

}


.tw-home-building-number {

    display: block;

    margin-bottom: .65rem;

    color: var(--accent-gold);
font
    font-size: .75rem;

    font-weight: 750;

    letter-spacing: .15em;

}


.tw-home-building-card h3 {

    margin: 0 0 .65rem;

    color: var(--text-primary);

    font-size: 1.2rem;

    font-weight: 650;

    line-height: 1.3;

}


.tw-home-building-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;

}


/* =========================================================
   PHASE 0
   ========================================================= */

.tw-home-phase {

    background:
        linear-gradient(
            135deg,
            var(--bg-panel-2),
            var(--bg-panel)
        );

    text-align: center;

}


.tw-home-phase-inner {

    max-width: 820px;

    margin: 0 auto;

}


.tw-home-phase h2 {

    margin: 0 0 1.25rem;

    color: var(--text-primary);

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 650;

    line-height: 1.18;

}


.tw-home-phase p {

    max-width: 720px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 1.05rem;

    line-height: 1.8;

}


/* =========================================================
   FINAL CTA
   ========================================================= */

.tw-home-cta {

    background:
        linear-gradient(
            135deg,
            rgba(11, 15, 23, .98),
            rgba(18, 26, 42, .98)
        );

    text-align: center;

}


.tw-home-cta-inner {

    max-width: 820px;

    margin: 0 auto;

}


.tw-home-cta h2 {

    margin: 0 0 1.25rem;

    color: var(--text-primary);

    font-size: clamp(2.1rem, 4vw, 3.2rem);

    font-weight: 650;

    line-height: 1.15;

}


.tw-home-cta p {

    max-width: 720px;

    margin: 0 auto 1.75rem;

    color: var(--text-secondary);

    font-size: 1rem;

    line-height: 1.8;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .tw-home-section {

        padding: 5rem 0;

    }


    .tw-home-hero {

        padding: 6rem 0 5rem;

    }


    .tw-home-building-grid {

        grid-template-columns: 1fr;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .tw-home-section {

        padding: 4rem 0;

    }


    .tw-home-hero {

        padding: 5rem 0 4rem;

    }


    .tw-home-hero h1 {

        font-size: clamp(2.5rem, 12vw, 3.6rem);

    }


    .tw-home-lead {

        font-size: 1rem;

    }


    .tw-home-actions {

        flex-direction: column;

        width: 100%;

    }


    .tw-home-actions .button {

        width: 100%;

        max-width: 330px;

    }


    .tw-home-building-grid {

        grid-template-columns: 1fr;

        gap: 1rem;

        margin-top: 2rem;

    }


    .tw-home-building-card {

        min-height: 0;

        padding: 1.5rem;

    }


    .tw-home-building-card h3 {

        font-size: 1.15rem;

    }


    .tw-home-mission h2,
    .tw-home-phase h2,
    .tw-home-cta h2 {

        font-size: 2rem;

    }

}

