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

:root {
    --plum-deep: #5A2D52;
    --plum: #7B3F6B;
    --plum-light: #A0547D;
    --plum-pale: #EDE4EA;
    --plum-faint: #F7F2F5;
    --amber: #D4A843;
    --amber-light: #E8C96A;
    --amber-pale: #FDF3E0;
    --cream: #FAF8F5;
    --white: #FFFFFF;
    --text-dark: #1A1418;
    --text-mid: #4A3F45;
    --text-light: #7A6E74;
    --text-muted: #A89AA0;
    --line: #E8E0E4;
    --line-light: #F0EBEE;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --nav-h: 72px;
    --container: 1200px;
    --radius: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--plum);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    z-index: 1000;
    font-size: 0.875rem;
    text-decoration: none;
}
.skip-link:focus {
    top: 1rem;
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 100;
    transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--plum);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.nav-logo-icon {
    color: var(--plum);
}
.nav.scrolled .nav-logo-icon {
    color: var(--plum);
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.nav-menu a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width var(--transition);
}
.nav-menu a:hover {
    color: var(--plum);
}
.nav-menu a:hover::after {
    width: 100%;
}

/* HAMBURGER */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    position: relative;
    padding: 0;
}
.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 20px;
    height: 1px;
    background: var(--text-dark);
    transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 1px;
    background: var(--text-dark);
    transition: var(--transition);
}
.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
    overflow: hidden;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        var(--plum-deep) 0%,
        var(--plum) 35%,
        var(--plum-light) 60%,
        var(--amber) 100%
    );
    z-index: 0;
}
.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(90, 45, 82, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 168, 67, 0.3) 0%, transparent 50%);
}
.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--cream), transparent);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}
.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}
.hero-accent {
    font-style: italic;
    color: var(--amber-light);
    font-weight: 300;
}
.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background: var(--amber);
    color: var(--text-dark);
    border-color: var(--amber);
}
.btn-primary:hover {
    background: var(--amber-light);
    border-color: var(--amber-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}
.btn-ghost-light {
    background: transparent;
    color: var(--plum);
    border-color: var(--plum);
}
.btn-ghost-light:hover {
    background: var(--plum);
    color: var(--white);
}
.btn-full {
    width: 100%;
    justify-content: center;
}

/* SECTIONS */
.section {
    padding: 7rem 2rem;
}
.container {
    max-width: var(--container);
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* COTTAGE */
.cottage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.cottage-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 7/5;
}
.cottage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.cottage-image:hover img {
    transform: scale(1.03);
}
.cottage-details p {
    color: var(--text-mid);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}
.cottage-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.highlight {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-mid);
    font-weight: 400;
}
.highlight svg {
    color: var(--amber);
    flex-shrink: 0;
}

/* AMENITIES */
.amenities {
    background: var(--white);
}
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.amenity-card {
    padding: 2rem;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    transition: var(--transition);
}
.amenity-card:hover {
    border-color: var(--plum-pale);
    box-shadow: 0 4px 24px rgba(123, 63, 107, 0.06);
    transform: translateY(-2px);
}
.amenity-icon {
    color: var(--plum);
    margin-bottom: 1.25rem;
}
.amenity-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}
.amenity-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* SURROUNDINGS */
.surroundings-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.surroundings-text p {
    color: var(--text-mid);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}
.img-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.img-stack img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-stack img:hover {
    transform: scale(1.02);
}

/* GALLERY */
.gallery {
    background: var(--white);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
    transform: scale(1.04);
}
.gallery-item--wide {
    grid-column: span 7;
    aspect-ratio: 9/5;
}
.gallery-item:not(.gallery-item--wide) {
    grid-column: span 5;
    aspect-ratio: 4/3;
}

/* CTA */
.cta-section {
    background: linear-gradient(
        160deg,
        var(--plum-deep) 0%,
        var(--plum) 50%,
        var(--plum-light) 100%
    );
    padding: 6rem 2rem;
    text-align: center;
}
.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}
.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 1rem;
}
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-actions .btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.cta-actions .btn-ghost-light:hover {
    background: var(--white);
    color: var(--plum);
    border-color: var(--white);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-intro {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-icon {
    color: var(--plum);
    flex-shrink: 0;
    margin-top: 0.125rem;
}
.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.contact-value {
    font-size: 0.9375rem;
    color: var(--text-mid);
    text-decoration: none;
    line-height: 1.6;
}
.contact-value:hover {
    color: var(--plum);
}

/* FORM */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.5rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum-light);
    box-shadow: 0 0 0 3px rgba(123, 63, 107, 0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
}
.form-success {
    text-align: center;
    padding: 3rem 1rem;
}
.form-success svg {
    margin-bottom: 1rem;
}
.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.form-success p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* FOOTER */
.footer {
    background: var(--plum-deep);
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 2rem;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
}
.footer-logo svg {
    color: var(--amber-light);
}
.footer-tagline {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.875rem;
}
.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-contact a:hover {
    color: var(--amber-light);
}
.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .cottage-grid,
    .surroundings-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item--wide {
        grid-column: span 12;
    }
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 64px;
    }
    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }
    .nav-menu a {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }
    .nav-toggle {
        display: block;
    }
    .section {
        padding: 5rem 1.5rem;
    }
    .hero {
        padding: calc(var(--nav-h) + 1rem) 1.5rem 3rem;
    }
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item--wide,
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 12;
        aspect-ratio: 16/9;
    }
    .cottage-highlights {
        grid-template-columns: 1fr;
    }
    .img-stack {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 1.5rem;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
