* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pine: #24382c;
    --pine-deep: #1a2b21;
    --cream: #f7f4ed;
    --paper: #fffdf9;
    --ink: #2b3129;
    --ink-soft: #5c6357;
    --terracotta: #a65b41;
    --hairline: #e0dbcf;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pine);
}

.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--terracotta);
    display: block;
    margin-bottom: 1rem;
}

/* ---------- Hero ---------- */

.hero-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

.hero {
    flex: 1;
    background:
        linear-gradient(to bottom, rgba(20, 30, 24, 0.25) 0%, rgba(20, 30, 24, 0.15) 45%, rgba(20, 30, 24, 0.65) 100%),
        url('img/banner.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.hero-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.hero .eyebrow {
    color: #e8d7b0;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(2.75rem, 6.5vw, 4.75rem);
    font-weight: 500;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    margin-bottom: 0.75rem;
}

.hero p {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
    max-width: 34em;
}

.hero-rule {
    width: 56px;
    height: 1px;
    background: #e8d7b0;
    margin-bottom: 1.5rem;
}

/* ---------- Contact bar ---------- */

.contact-bar {
    background: var(--pine);
    color: #fff;
}

.contact-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 3rem;
    flex-wrap: wrap;
}

.contact-bar .bar-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e8d7b0;
}

.contact-bar a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.contact-bar a:hover {
    color: #e8d7b0;
}

.contact-bar svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    opacity: 0.75;
}

/* ---------- Layout ---------- */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5.5rem 0;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem 5rem;
    align-items: start;
}

.split h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
}

.lede {
    font-size: 1.125rem;
}

.lede p + p {
    margin-top: 1.25rem;
}

.lede strong {
    font-weight: 600;
    color: var(--pine);
}

/* ---------- Amenities ---------- */

.amenities {
    margin-top: 3.5rem;
    border-top: 1px solid var(--hairline);
    padding-top: 2.5rem;
}

.amenities ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 3rem;
    margin-top: 1.25rem;
}

.amenities li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink-soft);
}

.amenities li::before {
    content: '·';
    color: var(--terracotta);
    font-weight: 700;
    margin-right: 0.75rem;
}

/* ---------- Seasons ---------- */

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

.seasons.section {
    padding: 5.5rem 0;
}

.seasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
    margin-top: 3rem;
}

.season h3 {
    font-size: 1.45rem;
    margin-bottom: 0.9rem;
}

.season p {
    color: var(--ink-soft);
}

.ski-panel {
    grid-column: 1 / -1;
    background: var(--paper);
    border: 1px solid var(--hairline);
    padding: 2.75rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 2rem 4rem;
    align-items: start;
}

.ski-panel h3 {
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
}

.ski-list {
    list-style: none;
}

.ski-list li {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.55rem 0;
    font-size: 1rem;
}

.ski-list .name {
    font-weight: 500;
    color: var(--pine);
    white-space: nowrap;
}

.ski-list .leader {
    flex: 1;
    border-bottom: 1px dotted #c9c2b2;
    transform: translateY(-4px);
}

.ski-list .dist {
    color: var(--ink-soft);
    white-space: nowrap;
}

.ski-panel .note {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

/* ---------- Gallery ---------- */

.gallery-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.gallery-head h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
}

.gallery-head span {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 10px;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    background: var(--cream);
}

.gallery-grid a:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid a:last-child {
    grid-column: span 2;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.035);
}

/* ---------- Contact ---------- */

.contact {
    background: var(--pine-deep);
    color: #fff;
    padding: 5.5rem 0;
}

.contact .eyebrow {
    color: #e8d7b0;
}

.contact h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-intro {
    color: rgba(255, 255, 255, 0.75);
    max-width: 34em;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 3rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-item .label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item a,
.contact-item address {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    line-height: 1.4;
}

.contact-item a {
    border-bottom: 1px solid rgba(232, 215, 176, 0.5);
    transition: border-color 0.2s ease;
}

.contact-item a:hover {
    border-color: #e8d7b0;
}

.footer {
    background: var(--pine-deep);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    padding: 0 0 2rem;
    text-align: center;
}

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 16, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: zoom-out;
    padding: 3vh 3vw;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .split,
    .seasons-grid,
    .ski-panel {
        grid-template-columns: 1fr;
    }

    .ski-panel {
        padding: 2rem 1.5rem;
    }

    .ski-list .name,
    .ski-list .dist {
        white-space: normal;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

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

    .section {
        padding: 3.5rem 0;
    }

    .seasons.section {
        padding: 3.5rem 0;
    }

    .contact {
        padding: 3.5rem 0;
    }

    .hero-inner {
        padding-bottom: 3.5rem;
    }

    .contact-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 1.5rem 1.25rem;
    }

    .contact-bar .bar-label {
        margin-bottom: -0.2rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .amenities ul {
        grid-template-columns: 1fr;
    }
}

/* ---------- Subpages ---------- */

.page-hero {
    background:
        linear-gradient(to bottom, rgba(20, 30, 24, 0.45) 0%, rgba(20, 30, 24, 0.7) 100%),
        url('img/banner.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-top: 7rem;
}

.page-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.page-hero .eyebrow,
.page-hero .eyebrow a {
    color: #e8d7b0;
    text-decoration: none;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.prose {
    max-width: 46em;
}

.prose h2 {
    font-size: 1.55rem;
    margin: 2.75rem 0 1rem;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul {
    list-style: none;
    margin-bottom: 1.25rem;
}

.prose li {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink-soft);
}

.prose li::before {
    content: '·';
    color: var(--terracotta);
    font-weight: 700;
    margin-right: 0.75rem;
}

.prose a {
    color: var(--terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.more-links {
    margin-top: 2.5rem;
    color: var(--ink-soft);
}

.more-links a {
    color: var(--terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer nav {
    margin-bottom: 0.75rem;
}

.footer nav a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    margin: 0 0.75rem;
}

.footer nav a:hover {
    color: #e8d7b0;
}

@media (max-width: 860px) {
    .page-hero {
        padding-top: 4.5rem;
    }

    .page-hero-inner {
        padding: 0 1.25rem 2.5rem;
    }
}

/* ---------- Responsive banner (mobile LCP) ---------- */

@media (max-width: 860px) {
    .hero {
        background-image:
            linear-gradient(to bottom, rgba(20, 30, 24, 0.25) 0%, rgba(20, 30, 24, 0.15) 45%, rgba(20, 30, 24, 0.65) 100%),
            url('img/banner-small.webp');
    }

    .page-hero {
        background-image:
            linear-gradient(to bottom, rgba(20, 30, 24, 0.45) 0%, rgba(20, 30, 24, 0.7) 100%),
            url('img/banner-small.webp');
    }
}
