/* =========================================================
   STERN ROOTS SOLUTIONS
   Protecting Homes. Planning Legacies.
   ========================================================= */

:root {
    --forest: #234436;
    --forest-dark: #183127;
    --forest-soft: #365d4c;

    --gold: #b4965a;
    --gold-light: #d2bd8b;

    --brown: #725843;
    --brown-soft: #9a8069;

    --ivory: #f8f5ed;
    --ivory-deep: #efe9dc;
    --white: #fffdf8;

    --sage: #dce4dc;
    --sage-light: #edf1eb;

    --charcoal: #2f302d;
    --text-soft: #5e605a;

    --border: rgba(35, 68, 54, 0.16);
    --shadow: 0 18px 45px rgba(31, 45, 37, 0.09);

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;

    --max-width: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--charcoal);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.75;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   GLOBAL TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
blockquote {
    font-family: var(--serif);
    color: var(--forest-dark);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 28px;
    font-size: clamp(3.2rem, 7vw, 6.4rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

h2 {
    margin-bottom: 25px;
    font-size: clamp(2.3rem, 4.5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.25;
}

p {
    margin-bottom: 22px;
}

blockquote {
    margin: 32px 0;
    padding-left: 28px;
    border-left: 2px solid var(--gold);
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    font-style: italic;
    line-height: 1.4;
}

.eyebrow {
    margin-bottom: 17px;
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.section-lead {
    max-width: 820px;
    color: var(--text-soft);
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.55;
}

.section-inner {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

.section-inner.narrow {
    max-width: 900px;
}

.section {
    padding: 110px 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(248, 245, 237, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    width: min(calc(100% - 48px), var(--max-width));
    min-height: 105px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: block;
    flex: 0 0 auto;
}

.brand-logo {
    width: 215px;
    height: 86px;
    object-fit: contain;
    object-position: left center;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-nav a {
    color: var(--forest-dark);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.site-nav a:hover {
    color: var(--gold);
}

.site-nav .nav-contact {
    padding: 12px 22px;
    border: 1px solid var(--forest);
    border-radius: 999px;
}

.site-nav .nav-contact:hover {
    background: var(--forest);
    color: var(--white);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--forest-dark);
}


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

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 14px 27px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

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

.button-primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(35, 68, 54, 0.16);
}

.button-primary:hover {
    background: var(--forest-dark);
    box-shadow: 0 14px 30px rgba(35, 68, 54, 0.22);
}

.text-link {
    display: inline-block;
    color: var(--forest-dark);
    border-bottom: 1px solid var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link:hover {
    color: var(--gold);
}


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

.hero {
    position: relative;
    overflow: hidden;
    padding: 125px 0 135px;
    background:
        radial-gradient(
            circle at 88% 24%,
            rgba(180, 150, 90, 0.14),
            transparent 29%
        ),
        linear-gradient(
            135deg,
            var(--ivory) 0%,
            var(--white) 58%,
            var(--sage-light) 100%
        );
}

.hero::before {
    position: absolute;
    top: -230px;
    right: -150px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(180, 150, 90, 0.16);
    border-radius: 50%;
    content: "";
}

.hero::after {
    position: absolute;
    right: 13%;
    bottom: -180px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(35, 68, 54, 0.11);
    border-radius: 50%;
    content: "";
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.5fr);
    align-items: center;
    gap: 80px;
}

.hero-copy {
    max-width: 790px;
}

.hero-lead {
    max-width: 700px;
    margin-bottom: 30px;
    color: var(--brown);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.45;
}

.hero-body {
    max-width: 720px;
    margin-bottom: 38px;
    color: var(--text-soft);
}

.hero-mark {
    display: flex;
    position: relative;
    width: 260px;
    height: 260px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    justify-self: end;
    color: var(--forest);
    border: 1px solid rgba(180, 150, 90, 0.48);
    border-radius: 50%;
    font-family: var(--serif);
    line-height: 1.15;
    text-align: center;
}

.hero-mark::before,
.hero-mark::after {
    position: absolute;
    width: 72px;
    height: 1px;
    background: var(--gold);
    content: "";
}

.hero-mark::before {
    top: 54px;
}

.hero-mark::after {
    bottom: 54px;
}

.hero-mark span:first-child,
.hero-mark span:last-child {
    font-size: 1.85rem;
}

.hero-mark span:nth-child(2) {
    margin: 4px 0;
    color: var(--gold);
    font-size: 0.9rem;
    font-style: italic;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(55px, 8vw, 105px);
}

.about-photo-wrap {
    position: sticky;
    top: 145px;
}

.about-photo-wrap::before {
    position: absolute;
    z-index: 0;
    top: 24px;
    left: -24px;
    width: 100%;
    height: 100%;
    background: var(--sage);
    content: "";
}

.about-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 590px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.about-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.about-copy > p {
    color: var(--text-soft);
}

.about-closing {
    margin-top: 34px;
    color: var(--forest-dark) !important;
    font-family: var(--serif);
    font-size: 1.2rem;
    font-style: italic;
}


/* =========================================================
   SERVICES INTRO
   ========================================================= */

.services-intro {
    padding-bottom: 75px;
    background: var(--forest-dark);
    text-align: center;
}

.services-intro h2 {
    color: var(--white);
}

.services-intro .section-lead {
    margin-right: auto;
    margin-left: auto;
    color: rgba(255, 253, 248, 0.76);
}


/* =========================================================
   PROTECTING HOMES
   ========================================================= */

.homes-section {
    background: var(--sage-light);
}

.section-heading {
    max-width: 880px;
    margin-bottom: 65px;
}

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

.service-card {
    position: relative;
    min-height: 300px;
    padding: 40px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(35, 68, 54, 0.1);
    box-shadow: 0 10px 30px rgba(31, 45, 37, 0.055);
}

.service-card::after {
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(180, 150, 90, 0.23);
    border-radius: 50%;
    content: "";
}

.service-number {
    display: block;
    margin-bottom: 50px;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1rem;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 0;
    color: var(--text-soft);
}

.statement-panel {
    display: grid;
    margin-top: 45px;
    padding: 42px 48px;
    background: var(--forest);
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 50px;
}

.statement-panel p {
    max-width: 760px;
    margin: 0;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2.3vw, 1.75rem);
    line-height: 1.45;
}

.statement-panel .text-link {
    color: var(--white);
}


/* =========================================================
   LEGACY
   ========================================================= */

.legacy-section {
    position: relative;
    overflow: hidden;
    background: var(--ivory-deep);
}

.legacy-section::after {
    position: absolute;
    top: 50%;
    left: -170px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(180, 150, 90, 0.18);
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
}

.legacy-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(60px, 9vw, 120px);
}

.legacy-heading h2 {
    margin-bottom: 0;
}

.legacy-copy {
    padding-top: 43px;
    color: var(--text-soft);
}

.button-row {
    margin-top: 36px;
}


/* =========================================================
   SINGLE VENTURE
   ========================================================= */

.venture-section {
    background: var(--white);
}

.venture-inner {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: clamp(50px, 8vw, 100px);
}

.venture-label {
    padding-top: 15px;
}

.venture-label span {
    display: block;
}

.venture-label span:first-child {
    margin-bottom: 11px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.venture-label span:last-child {
    max-width: 180px;
    padding-top: 14px;
    color: var(--text-soft);
    border-top: 1px solid var(--gold-light);
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.4;
}

.venture-content {
    max-width: 790px;
}

.single-wordmark {
    margin-bottom: 14px;
    color: var(--forest);
    font-family: var(--serif);
    font-size: 1.5rem;
    letter-spacing: 0.04em;
}

.venture-content > p {
    color: var(--text-soft);
}

.venture-home {
    margin-top: 55px;
    padding: 42px;
    background: var(--sage-light);
    border-left: 3px solid var(--gold);
}

.venture-home h3 {
    margin-bottom: 20px;
}

.venture-home p:last-child {
    margin-bottom: 0;
}

.venture-highlight {
    color: var(--forest-dark);
    font-family: var(--serif);
    font-size: 1.45rem;
    font-style: italic;
}


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

.final-cta {
    position: relative;
    overflow: hidden;
    background: var(--forest-dark);
    text-align: center;
}

.final-cta::before,
.final-cta::after {
    position: absolute;
    border: 1px solid rgba(210, 189, 139, 0.13);
    border-radius: 50%;
    content: "";
}

.final-cta::before {
    top: -260px;
    left: -190px;
    width: 530px;
    height: 530px;
}

.final-cta::after {
    right: -140px;
    bottom: -250px;
    width: 460px;
    height: 460px;
}

.final-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.final-cta h2,
.final-cta h3 {
    color: var(--white);
}

.final-cta h3 {
    margin: 38px 0 25px;
    font-size: 1.7rem;
}

.final-cta p {
    color: rgba(255, 253, 248, 0.78);
}

.cta-topics {
    margin-bottom: 35px;
    color: var(--gold-light) !important;
    font-family: var(--serif);
    font-size: 1.3rem;
    font-style: italic;
}

.final-cta .button-primary {
    background: var(--gold);
    color: var(--forest-dark);
}

.final-cta .button-primary:hover {
    background: var(--gold-light);
}

.direct-contact {
    display: flex;
    margin-top: 55px;
    padding-top: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.direct-contact a {
    color: var(--white);
    text-decoration: none;
}

.direct-contact span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 48px 0;
    background: #11231c;
    color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 25px 50px;
}

.footer-brand p {
    margin-bottom: 2px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.25rem;
}

.footer-brand span {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.95rem;
    font-style: italic;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    text-decoration: none;
}

.copyright {
    grid-column: 1 / -1;
    margin: 10px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.75rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 85px 0;
    }

    .hero {
        padding: 90px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-mark {
        width: 220px;
        height: 220px;
        justify-self: start;
    }

    .about-grid,
    .legacy-grid {
        grid-template-columns: 1fr;
    }

    .about-photo-wrap {
        position: relative;
        top: auto;
        max-width: 570px;
    }

    .about-photo {
        min-height: 0;
    }

    .legacy-copy {
        padding-top: 0;
    }

    .venture-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .venture-label span:last-child {
        max-width: none;
    }

}


@media (max-width: 760px) {

    body {
        font-size: 16px;
    }

    .section-inner,
    .header-inner {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .header-inner {
        min-height: 88px;
    }

    .brand-logo {
        width: 175px;
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 88px;
        right: 0;
        left: 0;
        padding: 25px 24px 30px;
        background: var(--ivory);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 15px 30px rgba(31, 45, 37, 0.08);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }

    .site-nav .nav-contact {
        margin-top: 16px;
        padding: 12px 20px;
        border-bottom: 1px solid var(--forest);
        text-align: center;
    }

    h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    h2 {
        font-size: clamp(2.15rem, 10vw, 3.25rem);
    }

    .hero {
        padding: 75px 0 85px;
    }

    .hero-mark {
        display: none;
    }

    .about-grid {
        gap: 60px;
    }

    .about-photo-wrap::before {
        top: 14px;
        left: -14px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
        padding: 32px;
    }

    .service-number {
        margin-bottom: 32px;
    }

    .statement-panel {
        grid-template-columns: 1fr;
        padding: 34px;
        gap: 25px;
    }

    .venture-home {
        padding: 30px;
    }

    .direct-contact {
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        align-items: flex-start;
    }

}


@media (max-width: 480px) {

    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 65px 0 75px;
    }

    .service-card,
    .statement-panel,
    .venture-home {
        padding: 27px;
    }

}
/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-hero {
    padding: 100px 0 70px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(180, 150, 90, 0.14),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--ivory) 0%,
            var(--white) 100%
        );
    border-bottom: 1px solid var(--border);
}

.contact-hero-inner {
    max-width: 900px;
}

.contact-hero h1 {
    margin-bottom: 25px;
}

.contact-intro {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--brown);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    line-height: 1.5;
}

.contact-section {
    padding: 95px 0 120px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    align-items: start;
    gap: clamp(60px, 9vw, 115px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    color: var(--forest-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.optional {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--ivory);
    color: var(--charcoal);
    border: 1px solid rgba(35, 68, 54, 0.2);
    border-radius: 0;
    outline: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.form-field input,
.form-field select {
    min-height: 54px;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(180, 150, 90, 0.12);
}

.contact-form .button {
    align-self: flex-start;
    margin-top: 8px;
    border: 0;
    cursor: pointer;
}

.contact-details {
    padding: 42px;
    background: var(--sage-light);
    border-top: 3px solid var(--gold);
}

.contact-details h2 {
    margin-bottom: 38px;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.contact-method {
    padding: 26px 0;
    border-top: 1px solid var(--border);
}

.contact-label {
    display: block;
    margin-bottom: 7px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-method > a {
    color: var(--forest-dark);
    font-family: var(--serif);
    font-size: 1.2rem;
    text-decoration: none;
}

.contact-method > a:hover {
    color: var(--gold);
}

.contact-method p {
    margin: 8px 0 0;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.contact-note {
    margin-top: 20px;
    padding: 25px 0 0;
    border-top: 1px solid var(--border);
}

.contact-note p {
    margin: 0;
    color: var(--text-soft);
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
}

.contact-success {
    padding: 45px;
    background: var(--sage-light);
    border-left: 3px solid var(--gold);
}

.contact-success h2 {
    margin-bottom: 20px;
}

.contact-success a {
    color: var(--forest);
}

.success-signoff {
    margin-top: 30px;
    margin-bottom: 0;
    color: var(--forest-dark);
    font-family: var(--serif);
    font-size: 1.2rem;
    font-style: italic;
}


/* Contact responsive */

@media (max-width: 850px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        max-width: 600px;
    }

}

@media (max-width: 600px) {

    .contact-hero {
        padding: 70px 0 55px;
    }

    .contact-section {
        padding: 70px 0 85px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-details,
    .contact-success {
        padding: 30px;
    }

    .contact-form .button {
        width: 100%;
    }

}