﻿:root {
    --bg: #f8f5ee;
    --bg-muted: #f0ece3;
    --surface: #fffdf9;
    --text: #1b1915;
    --muted: #756d61;
    --line: rgba(65, 57, 46, 0.09);
    --accent: #62785d;
    --accent-dark: #4d6348;
    --mint: #dcead7;
    --sand: #ecd8be;
    --peach: #efd4c0;
    --shadow: 0 28px 60px rgba(44, 38, 28, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fbf8f2 0%, #f6f1e8 100%);
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.brand {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.9rem;
    font-style: italic;
}

.topbar .brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.topbar .brand img {
    width: clamp(140px, 18vw, 210px);
    height: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav a {
    position: relative;
    padding: 6px 0;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: var(--text);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav:hover a.active::after {
    opacity: 0;
    transform: scaleX(0.35);
}

.nav a:hover::after,
.nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-cta,
.btn {
    border-radius: 999px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-cta {
    padding: 14px 24px;
    background: var(--accent-dark);
    color: #fff;
    font-size: 0.95rem;
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-1px);
}

.section {
    padding: 56px 0;
}

.hero {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 56px;
    align-items: center;
    min-height: 760px;
}

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

.eyebrow {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.4rem, 6vw, 5.4rem);
    line-height: 0.96;
}

.hero-copy p,
.section-heading p,
.service-card p,
.footer p,
.footer a {
    color: var(--muted);
    line-height: 1.8;
}

.hero-copy p {
    max-width: 470px;
    margin: 28px 0 34px;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 30px;
    border: 1px solid transparent;
    font-weight: 600;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary {
    border-color: rgba(98, 120, 93, 0.35);
    color: #5e6b56;
    background: rgba(255, 255, 255, 0.45);
}

.hero-visual {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.hero-visual img {
    transform: scale(1.10);
}

.portrait-card {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    aspect-ratio: 0.8;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #d7d0c5;
}

.shape {
    position: absolute;
    border-radius: 24px;
    z-index: 1;
}

.shape-peach {
    top: 70px;
    right: -16px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(239, 212, 192, 0.45);
}

.shape-green {
    left: 10px;
    bottom: 36px;
    width: 120px;
    height: 120px;
    background: rgba(198, 223, 192, 0.7);
    box-shadow: 0 18px 36px rgba(123, 148, 116, 0.15);
}

.section-muted {
    width: 100%;
    background: var(--bg-muted);
    box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

.section-muted .section-heading,
.section-muted .cards {
    width: min(1120px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.section-heading.center {
    text-align: center;
    padding-top: 6px;
}

.section-heading h2 {
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: 1;
}

.section-heading p {
    max-width: 640px;
    margin: 14px auto 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 8px;
}

.service-card {
    padding: 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(79, 72, 58, 0.06);
    box-shadow: 0 10px 25px rgba(65, 54, 35, 0.05);
}

.icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    margin-bottom: 22px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #403628;
}

.icon.mint {
    background: var(--mint);
}

.icon.sand {
    background: var(--sand);
}

.icon.peach {
    background: var(--peach);
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.service-card p {
    margin: 0 0 22px;
    font-size: 0.95rem;
}

.service-card a {
    font-size: 0.92rem;
    font-weight: 700;
}

.service-card a::after {
    content: "->";
    margin-left: 8px;
}

.quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    text-align: center;
}

.quote-mark {
    color: #b7cfb0;
    font-family: "Cormorant Garamond", serif;
    font-size: 4.2rem;
    line-height: 1;
}

blockquote {
    max-width: 760px;
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    line-height: 1.15;
    margin-top: 8px;
}

cite {
    margin-top: 18px;
    font-style: normal;
    color: #b49b6f;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
}

.sanctuary {
    border-top: 1px solid var(--line);
}

.section-heading.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.section-heading.split p {
    margin: 12px 0 0;
}

.heading-line {
    flex: 0 0 90px;
    height: 1px;
    background: rgba(98, 120, 93, 0.35);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-card {
    overflow: hidden;
    border-radius: 10px;
    min-height: 280px;
    background: #ddd3c5;
    box-shadow: 0 10px 25px rgba(41, 35, 25, 0.06);
}

.gallery-card img {
    transition: transform 0.45s ease;
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.gallery-card.tall,
.gallery-card.wide {
    min-height: 360px;
}

.hours-modal[hidden] {
    display: none;
}

.hours-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.hours-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 25, 21, 0.38);
    backdrop-filter: blur(3px);
}

.hours-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    padding: 32px 28px 28px;
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 24px 60px rgba(28, 22, 16, 0.18);
    border: 1px solid rgba(65, 57, 46, 0.08);
}

.hours-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #eef1e8;
    color: #2c3328;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.hours-modal__eyebrow {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hours-modal__title {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
}

.hours-modal__text {
    margin: 0;
    color: #4f4a43;
    line-height: 1.7;
    font-size: 1rem;
}

.footer {
    margin-top: 32px;
    padding: 36px max(24px, calc((100% - 1120px) / 2)) 54px;
    background: #dfe6d9;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
}

.footer-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand {
    margin-bottom: 8px;
    font-size: 1rem;
    max-width: 120px;
}

.footer-brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer h4 {
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    color: #5c6654;
}

.footer p,
.footer a {
    display: block;
    margin: 0 0 8px;
    font-size: 0.88rem;
}

@media (max-width: 980px) {
    .topbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 28px;
    }

    .hero-copy {
        max-width: none;
        text-align: center;
    }

    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .cards,
    .gallery,
    .footer {
        grid-template-columns: 1fr;
    }

    .section-heading.split {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .topbar,
    .section {
        width: min(100% - 28px, 1120px);
    }

    .topbar .brand img {
        width: 190px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    h1 {
        font-size: 3.1rem;
    }

    .portrait-card {
        aspect-ratio: 0.86;
    }

    blockquote {
        font-size: 1.4rem;
    }

    .section-muted .section-heading,
    .section-muted .cards {
        width: min(100% - 28px, 1120px);
    }
}
