:root {
    --cream: #f7f2eb;
    --cream-dark: #e9dfd3;
    --white: #ffffff;

    --brown: #513d35;
    --brown-dark: #352923;
    --brown-light: #765f55;

    --rose: #cfa69b;
    --rose-light: #e8d2cb;

    --green: #7d8975;
    --green-dark: #596451;

    --text: #302824;
    --muted: #756c66;

    --border: #ded4ca;

    --max-width: 1180px;

    --shadow:
        0 20px 50px rgba(62, 46, 38, 0.10);
}


/* -----------------------------
   RESET
------------------------------ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: var(--text);
    background: var(--cream);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.65;
}

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

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

a {
    color: inherit;
}

::selection {
    color: var(--white);
    background: var(--brown);
}


/* -----------------------------
   ACCESSIBILITY
------------------------------ */

.skip-link {
    position: fixed;
    z-index: 9999;

    top: 15px;
    left: 15px;

    padding: 12px 18px;

    color: white;
    background: var(--brown);

    text-decoration: none;

    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #2765a0;
    outline-offset: 4px;
}


/* -----------------------------
   GENERAL
------------------------------ */

.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;
}

.section {
    padding-block: 110px;
}

.eyebrow {
    margin: 0 0 15px;

    color: var(--green-dark);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #d8dfd3;
}

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

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(
        42px,
        5vw,
        68px
    );

    line-height: 1.05;
}

p {
    margin-top: 0;
}

.button {
    display: inline-flex;

    min-height: 50px;

    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border-radius: 2px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

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

.button-light {
    color: var(--brown-dark);
    background: var(--white);
}

.button-dark {
    color: white;
    background: var(--brown);
}

.button-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.7);
}

.button-outline:hover {
    color: var(--brown-dark);
    background: white;
}


/* -----------------------------
   HEADER
------------------------------ */

.site-header {
    position: sticky;
    z-index: 100;

    top: 0;

    background:
        rgba(247, 242, 235, 0.96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(10px);
}

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

    min-height: 86px;

    margin-inline: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.logo {
    display: inline-flex;

    flex-direction: column;

    color: var(--brown);

    text-decoration: none;

    line-height: 1;
}

.logo-ti {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 31px;

    letter-spacing: .08em;
}

.logo-sub {
    margin-top: 5px;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .35em;
}

.main-navigation {
    display: flex;

    align-items: center;

    gap: 28px;
}

.main-navigation a {
    position: relative;

    padding: 8px 0;

    color: var(--brown);

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.main-navigation a::after {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 1px;

    background: var(--brown);

    content: "";

    transform: scaleX(0);

    transform-origin: right;

    transition: transform 180ms ease;
}

.main-navigation a:hover::after {
    transform: scaleX(1);

    transform-origin: left;
}

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 10px;

    border: 1px solid var(--border);

    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--brown);
}


/* -----------------------------
   HERO
------------------------------ */

.hero {
    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: white;

    background:
        linear-gradient(
            110deg,
            rgba(48, 35, 30, .96),
            rgba(89, 65, 57, .88)
        );
}

.hero::before {
    position: absolute;

    width: 600px;
    height: 600px;

    right: -130px;
    top: 60px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(207,166,155,.65) 0%,
            rgba(207,166,155,.18) 45%,
            transparent 70%
        );

    content: "";
}

.hero::after {
    position: absolute;

    width: 420px;
    height: 420px;

    right: 140px;
    bottom: -210px;

    border-radius: 50%;

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

    content: "";
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;

    padding-block: 110px;
}

.hero-kicker {
    margin-bottom: 25px;

    color: #d5ddd0;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .2em;
}

.hero h1 {
    max-width: 760px;

    margin-bottom: 30px;

    font-size: clamp(
        58px,
        9vw,
        120px
    );

    line-height: .92;
}

.hero h1 em {
    color: #dfb8ad;

    font-style: italic;
}

.hero-text {
    max-width: 510px;

    margin-bottom: 35px;

    color: #e8dfda;

    font-size: 18px;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.hero-decoration span {
    position: absolute;

    z-index: 1;

    border-radius: 50%;

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

.hero-decoration span:nth-child(1) {
    width: 300px;
    height: 300px;

    right: 13%;
    top: 18%;
}

.hero-decoration span:nth-child(2) {
    width: 180px;
    height: 180px;

    right: 22%;
    top: 34%;
}

.hero-decoration span:nth-child(3) {
    width: 100px;
    height: 100px;

    right: 28%;
    top: 44%;

    background: rgba(207,166,155,.35);

    border: 0;
}


/* -----------------------------
   INTRO
------------------------------ */

.intro {
    background: var(--white);
}

.intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, .8fr);

    gap: 100px;

    align-items: start;
}

.intro h2 {
    max-width: 620px;

    margin-bottom: 0;
}

.intro-text {
    max-width: 500px;

    color: var(--muted);

    font-size: 17px;
}

.intro-text p {
    margin-bottom: 24px;
}

.arrow-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--brown);

    font-weight: 700;

    text-decoration: none;
}

.arrow-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}


/* -----------------------------
   FEATURE CARDS
------------------------------ */

.features {
    padding: 30px 0 110px;

    background: var(--white);
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.feature-card {
    position: relative;

    min-height: 390px;

    padding: 42px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;
}

.feature-card h2 {
    margin-bottom: 20px;

    font-size: 42px;
}

.feature-card p:not(.eyebrow) {
    max-width: 300px;

    margin-bottom: 25px;
}

.feature-card a {
    font-weight: 700;

    text-decoration: none;
}

.feature-card a:hover {
    text-decoration: underline;
}

.feature-dark {
    color: white;
    background: var(--brown);
}

.feature-sand {
    background: var(--cream-dark);
}

.feature-rose {
    background: var(--rose-light);
}

.feature-number {
    position: absolute;

    top: 25px;
    right: 30px;

    font-size: 12px;
    font-weight: 700;

    opacity: .5;
}


/* -----------------------------
   ABOUT
------------------------------ */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, .85fr);

    gap: 100px;
}

.about-heading h2 {
    max-width: 600px;
}

.about-heading h2 em {
    color: var(--rose);

    font-style: italic;
}

.about-copy {
    padding-top: 15px;

    color: var(--muted);

    font-size: 17px;
}

.about-copy .large {
    color: var(--brown);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    line-height: 1.45;
}


/* -----------------------------
   REPRESENTATIVES
------------------------------ */

.representatives {
    background: var(--white);
}

.section-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.section-heading.centered {
    margin-inline: auto;

    text-align: center;
}

.section-heading h2 {
    margin-bottom: 20px;
}

.section-heading > p:last-child {
    color: var(--muted);
}

.representative-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1px;

    border: 1px solid var(--border);

    background: var(--border);
}

.representative {
    position: relative;

    min-height: 220px;

    padding: 30px;

    background: var(--white);
}

.representative:hover {
    background: var(--cream);
}

.pin {
    display: block;

    margin-bottom: 45px;

    color: var(--rose);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .15em;
}

.representative h3 {
    margin-bottom: 3px;

    font-size: 29px;
}

.representative p {
    margin-bottom: 22px;

    color: var(--muted);
}

.representative a {
    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.representative a:hover {
    text-decoration: underline;
}

.representatives-more {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 30px;

    margin-top: 45px;
}

.representatives-more p {
    margin: 0;

    color: var(--muted);
}


/* -----------------------------
   NEWS
------------------------------ */

.news {
    background: var(--cream);
}

.news-heading {
    display: grid;

    grid-template-columns: 1fr .7fr;

    gap: 60px;

    align-items: end;

    max-width: none;
}

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.news-card {
    background: white;

    border: 1px solid var(--border);

    overflow: hidden;
}

.news-image {
    min-height: 250px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-family:
        Georgia,
        serif;

    font-size: 32px;

    letter-spacing: .1em;
}

.news-image-one {
    color: white;

    background:
        linear-gradient(
            135deg,
            #624c42,
            #b99184
        );
}

.news-image-two {
    color: var(--brown);

    background:
        linear-gradient(
            135deg,
            #e8ddce,
            #cbb69e
        );
}

.news-image-three {
    color: white;

    background:
        linear-gradient(
            135deg,
            #68745f,
            #aab6a0
        );
}

.news-content {
    padding: 30px;
}

.news-category {
    color: var(--green-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .15em;
}

.news-content h3 {
    margin: 13px 0;

    font-size: 27px;

    line-height: 1.15;
}

.news-content p {
    color: var(--muted);
}

.news-content a {
    display: inline-block;

    margin-top: 10px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}


/* -----------------------------
   CARE
------------------------------ */

.care {
    color: white;

    background: var(--green-dark);
}

.care-grid {
    display: grid;

    grid-template-columns:
        .8fr
        1fr;

    gap: 100px;
}

.care-title h2 {
    max-width: 550px;

    color: white;
}

.care-list {
    border-top: 1px solid rgba(255,255,255,.25);
}

.care-list details {
    border-bottom: 1px solid rgba(255,255,255,.25);
}

.care-list summary {
    padding: 25px 0;

    cursor: pointer;

    list-style: none;

    font-family:
        Georgia,
        serif;

    font-size: 25px;
}

.care-list summary::-webkit-details-marker {
    display: none;
}

.care-list summary::after {
    float: right;

    content: "+";

    font-family: Arial, sans-serif;
}

.care-list details[open] summary::after {
    content: "−";
}

.care-list details p {
    max-width: 600px;

    padding-bottom: 25px;

    margin: 0;

    color: #dce2d8;
}


/* -----------------------------
   CONTACT
------------------------------ */

.contact {
    background: var(--white);
}

.contact-box {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 80px;

    padding: 70px;

    color: white;

    background: var(--brown);
}

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

.contact-intro p:last-child {
    max-width: 420px;

    color: #ddd1cb;
}

.contact-box address {
    display: flex;

    flex-direction: column;

    gap: 25px;

    font-style: normal;
}

.contact-item {
    display: flex;

    flex-direction: column;

    gap: 3px;

    padding-bottom: 20px;

    border-bottom:
        1px solid
        rgba(255,255,255,.2);
}

.contact-item span {
    color: #c9bcb6;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .15em;
    text-transform: uppercase;
}

.contact-item strong,
.contact-item a {
    color: white;

    font-size: 20px;
}

.contact-item a {
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}


/* -----------------------------
   FOOTER
------------------------------ */

.footer {
    color: #ddd4cf;

    background: var(--brown-dark);
}

.footer-inner {
    min-height: 100px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer-logo {
    color: white;

    font-family:
        Georgia,
        serif;

    font-size: 19px;

    letter-spacing: .08em;

    text-decoration: none;
}

.footer p {
    margin: 0;

    font-size: 13px;
}

.footer-inner > a:last-child {
    font-size: 13px;

    text-decoration: none;
}

.footer-inner > a:last-child:hover {
    text-decoration: underline;
}


/* -----------------------------
   TABLET
------------------------------ */

@media (max-width: 900px) {

    .main-navigation {
        gap: 17px;
    }

    .main-navigation a {
        font-size: 12px;
    }

    .intro-grid,
    .about-grid,
    .care-grid {
        gap: 55px;
    }

    .feature-grid,
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card:last-child,
    .news-card:last-child {
        grid-column: 1 / -1;
    }

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

}


/* -----------------------------
   MOBILE
------------------------------ */

@media (max-width: 700px) {

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

    .section {
        padding-block: 75px;
    }

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

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;

        top: 100%;
        right: 16px;
        left: 16px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px;

        background: white;

        border:
            1px solid
            var(--border);

        box-shadow: var(--shadow);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation a {
        padding: 14px;

        font-size: 14px;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding-block: 90px;
    }

    .hero h1 {
        font-size: clamp(
            55px,
            17vw,
            85px
        );
    }

    .hero-text {
        font-size: 16px;
    }

    .intro-grid,
    .about-grid,
    .care-grid,
    .contact-box,
    .news-heading {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .feature-grid,
    .news-grid,
    .representative-grid {
        grid-template-columns: 1fr;
    }

    .feature-card:last-child,
    .news-card:last-child {
        grid-column: auto;
    }

    .feature-card {
        min-height: 330px;

        padding: 32px;
    }

    .representative-grid {
        border: 0;

        background: transparent;

        gap: 12px;
    }

    .representative {
        border: 1px solid var(--border);
    }

    .representatives-more {
        flex-direction: column;

        text-align: center;
    }

    .contact-box {
        width: min(
            calc(100% - 32px),
            var(--max-width)
        );

        padding: 40px 25px;
    }

    .footer-inner {
        min-height: 150px;

        align-items: flex-start;

        flex-direction: column;

        justify-content: center;
    }

}


/* -----------------------------
   REDUCED MOTION
------------------------------ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

}
