/* =========================================
   STUDIO OF SILENCE
   Base styles
   ========================================= */

:root {
    --color-dark: #1f2926;
    --color-text: #303936;
    --color-muted: #6d7772;
    --color-light: #f4f2ed;
    --color-white: #ffffff;
    --color-accent: #a1845c;
    --color-border: #ddd9d0;

    --max-width: 1180px;
    --content-width: 760px;

    --space-section: 100px;
}


/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-white);
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================
   LAYOUT
   ========================================= */

.container {
    width: min(100% - 40px, var(--max-width));
    margin-inline: auto;
}

.narrow {
    width: min(100% - 40px, var(--content-width));
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    position: relative;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    color: var(--color-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--color-dark);
}

.mobile-menu {
    display: none;
}

.mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 7px;

    cursor: pointer;
    list-style: none;

    color: var(--color-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.menu-arrow {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.mobile-menu[open] .menu-arrow {
    transform: rotate(180deg);
}

.mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;

    display: flex;
    flex-direction: column;

    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu nav a {
    padding: 16px 20px;
    color: var(--color-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu nav a:last-child {
    border-bottom: 0;
}

/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: flex-end;
    background: var(--color-dark);
    color: var(--color-white);
}

.hero-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(20, 25, 23, 0.08),
            rgba(20, 25, 23, 0.72)
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 90px;
}

.eyebrow,
.section-label {
    margin: 0 0 16px;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.hero .eyebrow {
    color: #d5bd99;
}

.hero h1 {
    max-width: 800px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0.02em;
}

.hero-intro {
    max-width: 600px;
    margin: 30px 0 35px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
}


/* =========================================
   BUTTON
   ========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 26px;

    background: var(--color-accent);
    color: var(--color-white);

    border: 1px solid var(--color-accent);
    border-radius: 2px;

    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    background: #8d704c;
    border-color: #8d704c;
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
    padding: var(--space-section) 0;
}

.section-light {
    background: var(--color-light);
}

.section-dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.section h2 {
    max-width: 850px;
    margin: 0 0 30px;

    color: var(--color-dark);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 400;
    line-height: 1.15;
}

.section-dark h2 {
    color: var(--color-white);
}

.section p {
    margin: 0 0 20px;
    font-size: 1.05rem;
}

.section-label {
    color: var(--color-accent);
}


/* =========================================
   FACTS
   ========================================= */

.facts {
    padding: 50px 0;
    background: var(--color-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.fact {
    padding: 10px 25px;
    text-align: center;
    border-right: 1px solid var(--color-border);
}

.fact:last-child {
    border-right: 0;
}

.fact strong {
    display: block;
    color: var(--color-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 1;
}

.fact span {
    display: block;
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 0.9rem;
}


/* =========================================
   AMENITIES
   ========================================= */

.section-soft {
    background: var(--color-light);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.amenity {
    min-height: 120px;
    display: flex;
    align-items: center;
    padding: 30px;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.amenity h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
}


/* =========================================
   GALLERY
   ========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 50px;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}


/* =========================================
   LOCATION
   ========================================= */

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.location-intro h2 {
    margin-top: 0;
}

.location-text {
    padding-top: 35px;
}

.location-text p {
    margin-bottom: 24px;
}

.location-text p:last-child {
    margin-bottom: 0;
}

.location-map {
    margin-top: 60px;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}


/* =========================================
   CONTACT
   ========================================= */

.contact-section {
    background: var(--color-dark);
    color: #fff;
}

.contact-section .section-label {
    color: rgba(255, 255, 255, 0.55);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-intro h2 {
    margin-top: 0;
    color: #fff;
}

.contact-intro > p:last-child {
    max-width: 500px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.75);
}

.contact-details {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-item {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.5);
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
}

.contact-item a:hover {
    opacity: 0.7;
}


/* =========================================
   SPACE FEATURE
   ========================================= */

.space-feature {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    min-height: 500px;
    margin-top: 50px;
    background: var(--color-light);
}

.space-image {
    min-height: 500px;
    overflow: hidden;
}

.space-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.space-number {
    margin: 0 0 15px !important;
    color: var(--color-accent);
    font-size: 0.8rem !important;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.space-content h3 {
    margin: 0 0 25px;
    color: var(--color-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.1;
}

.space-content p:last-child {
    max-width: 420px;
    color: var(--color-muted);
}

.space-feature-reverse .space-image {
    order: 2;
}

.space-feature-reverse .space-content {
    order: 1;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

.desktop-nav {
    display: none;
}

.mobile-menu {
    display: block;
}


    .hero {
        min-height: 600px;
    }

    /* LOCATION */

    .location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-text {
        padding-top: 0;
    }

    .location-map {
        margin-top: 40px;
    }

    .location-map iframe {
        height: 320px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid img {
        height: 240px;
    }

    .space-feature {
        grid-template-columns: 1fr;
    }

    .space-image {
        min-height: 400px;
    }

    .space-content {
        padding: 45px 35px;
    }

    .space-feature-reverse .space-image,
    .space-feature-reverse .space-content {
        order: initial;
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .amenity {
        min-height: 100px;
        padding: 25px 20px;
    }

    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-intro > p:last-child {
        margin-top: 20px;
    }

    .contact-item {
        padding: 24px 0;
    }
}


@media (max-width: 600px) {

    .container,
    .narrow {
        width: min(100% - 30px, var(--max-width));
    }

    :root {
        --space-section: 70px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

    .fact:nth-child(2) {
        border-right: 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}
