@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;1,6..96,400&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
    --cream:        #eddcc6;
    --cream-soft:   #f3e7d6;
    --cream-deep:   #e3d0b6;
    --paper:        #faf4ea;

    --ink:          #2c2c2c;
    --ink-soft:     #4a453d;
    /* Darkened from #756c5e: the old value measured 3.85:1 on the cream
       background, below the 4.5:1 WCAG AA needs for body text. */
    --ink-muted:    #655d50;

    --rule:         #c4b294;
    /* Darkened from #a3906f, which measured 2.31:1 — under the 3:1 that
       WCAG requires for borders and other meaningful UI edges. */
    --rule-strong:  #8f7a58;

    --moss:         #55654d;
    --moss-dark:    #3f4c39;

    --display: 'Bodoni Moda', serif;
    --body:    'EB Garamond', serif;

    --wrap:      1200px;
    --wrap-text: 760px;

    --shadow-soft: 0 2px 20px rgba(44, 44, 44, 0.07);
    --shadow-lift: 0 10px 34px rgba(44, 44, 44, 0.14);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--body);
    background-color: var(--cream);
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.85;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
}

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

/* A `display` rule silently beats the [hidden] attribute, which bites any
   element we toggle from JS. Make hidden mean hidden. */
[hidden] {
    display: none !important;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--moss);
    outline-offset: 3px;
}

/* Visible only to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Accessible skip link for keyboard users */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 20px;
    z-index: 999;
    font-family: var(--body);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.logo-container h1,
.logo-container .wordmark {
    font-family: var(--display);
    font-weight: 400;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    color: var(--ink);
    line-height: 1.2;
    text-decoration: none;
    display: block;
}

.logo-container .tagline {
    font-family: var(--body);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: 6px;
}

/* Section heading with a rule beneath — the site's signature device */
.section-heading {
    font-family: var(--body);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--ink);
    text-align: center;
    font-weight: 400;
    margin: 0 auto 12px;
    padding-bottom: 22px;
}

.section-rule {
    width: 90%;
    max-width: var(--wrap);
    margin: 0 auto 44px;
    border: 0;
    border-top: 1px solid var(--rule-strong);
}

.section-lead {
    font-family: var(--body);
    text-align: center;
    max-width: var(--wrap-text);
    margin: -20px auto 44px;
    padding: 0 24px;
    color: var(--ink-muted);
    font-style: italic;
}

.page-header {
    text-align: center;
    padding: 30px 24px 0;
}

.page-header h1 {
    font-family: var(--body);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--ink);
}

.page-header p {
    max-width: var(--wrap-text);
    margin: 14px auto 0;
    color: var(--ink-muted);
    font-style: italic;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap {
    width: 90%;
    max-width: var(--wrap);
    margin: 0 auto;
}

.wrap-text {
    width: 88%;
    max-width: var(--wrap-text);
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

.section-tight {
    padding: 36px 0;
}

main {
    display: block;
}

/* ==========================================================================
   About / prose blocks
   ========================================================================== */

.about-container {
    width: 88%;
    max-width: var(--wrap-text);
    margin: 60px auto;
}

.about-content p,
.prose p {
    font-family: var(--body);
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--ink-soft);
    margin-bottom: 22px;
    letter-spacing: 0.03em;
}

.about-content p {
    text-align: center;
}

.prose h2 {
    font-family: var(--body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.02rem;
    font-weight: 400;
    color: var(--ink);
    margin: 44px 0 16px;
}

.prose h3 {
    font-family: var(--body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    margin: 30px 0 10px;
    letter-spacing: 0.04em;
}

.prose ul {
    list-style: none;
    margin: 0 0 24px;
}

.prose ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.prose ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--rule-strong);
}

.prose a {
    color: var(--moss-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.about-heading {
    font-family: var(--body);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.2rem;
    color: var(--ink);
    text-align: center;
    margin-top: 60px;
    font-weight: 400;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule-strong);
    margin-bottom: 40px;
    display: block;
}

.standard-text p {
    font-family: var(--body);
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--ink-soft);
    letter-spacing: 0.03em;
    margin-bottom: 22px;
    text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    font-family: var(--body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.78rem;
    text-decoration: none;
    padding: 15px 34px;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover,
.btn:focus {
    background-color: var(--ink);
    color: var(--paper);
}

.btn-primary {
    background-color: var(--moss);
    border-color: var(--moss);
    color: var(--paper);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--moss-dark);
    border-color: var(--moss-dark);
    color: var(--paper);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn[disabled],
.btn[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 34px;
}

/* ==========================================================================
   Direct-booking value banner
   ========================================================================== */

.direct-banner {
    background-color: var(--moss);
    color: var(--paper);
    text-align: center;
    padding: 12px 20px;
    font-family: var(--body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.banner-short {
    display: none;
}

.direct-banner a {
    color: var(--paper);
    text-underline-offset: 4px;
}

.value-strip {
    background-color: var(--cream-soft);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 46px 0;
}

.value-grid {
    width: 90%;
    max-width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 34px;
    text-align: center;
}

.value-grid h3 {
    font-family: var(--body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 8px;
}

.value-grid p {
    font-size: 0.95rem;
    color: var(--ink-muted);
    line-height: 1.7;
}

.value-grid i {
    font-size: 1.3rem;
    color: var(--moss);
    margin-bottom: 14px;
    display: block;
}

/* ==========================================================================
   Trust badges (rating, superhost)
   ========================================================================== */

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 28px 0;
}

.badge {
    font-family: var(--body);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    border: 1px solid var(--rule-strong);
    padding: 7px 16px;
    background: var(--cream-soft);
    white-space: nowrap;
}

.badge i {
    color: var(--moss);
    margin-right: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    width: 88%;
    max-width: var(--wrap);
    margin: 70px auto 0;
    padding-top: 46px;
    border-top: 1px solid var(--rule-strong);
    font-family: var(--body);
}

.footer-left  { text-align: left; }
.footer-right { text-align: right; }

.footer-center {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer-center a,
.footer-center a:visited,
.footer-right a,
.footer-right a:visited {
    color: var(--ink-soft);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-right a,
.footer-right a:visited {
    justify-content: flex-end;
}

.footer-center a:hover,
.footer-right a:hover {
    color: var(--moss-dark);
}

.footer-center i,
.footer-right i {
    width: 20px;
    text-align: center;
}

.footer-label {
    display: block !important;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    padding-bottom: 24px;
    color: var(--ink);
}

.footer-container p {
    margin: 2px 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.footer-bottom {
    width: 88%;
    max-width: var(--wrap);
    margin: 46px auto 0;
    padding: 22px 0 30px;
    border-top: 1px solid var(--rule);
    text-align: center;
    font-family: var(--body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--ink-muted);
}

.footer-bottom a {
    color: var(--ink-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ==========================================================================
   Sticky booking bar — phones only
   The single highest-value thing on a small screen: never more than a thumb
   away from checking dates.
   ========================================================================== */

.sticky-book {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: var(--paper);
    border-top: 1px solid var(--rule-strong);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(44, 44, 44, 0.12);
    align-items: center;
    gap: 14px;
}

.sticky-book .sticky-copy {
    flex: 1;
    min-width: 0;
}

.sticky-book .sticky-copy strong {
    display: block;
    font-family: var(--body);
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 400;
}

.sticky-book .sticky-copy span {
    display: block;
    font-size: 0.74rem;
    color: var(--ink-muted);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-book .btn {
    padding: 13px 20px;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 46px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 780px) {
    body {
        font-size: 1rem;
    }

    /* Room for the sticky bar so it never covers the footer */
    body.has-sticky-book {
        padding-bottom: 78px;
    }

    .sticky-book {
        display: flex;
    }

    /* Comfortable tap targets everywhere (WCAG 2.5.8 wants 24px minimum;
       44px is the practical thumb target). */
    .btn {
        padding: 15px 26px;
        min-height: 46px;
    }

    .nav-list a,
    .footer-center a,
    .footer-right a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .footer-center a,
    .footer-right a {
        justify-content: center;
    }

    .trust-row {
        gap: 10px;
        margin: 22px 0;
    }

    .badge {
        font-size: 0.72rem;
        padding: 6px 12px;
        letter-spacing: 1.5px;
    }

    /* One tight line on phones instead of a three-line wall of text */
    .direct-banner {
        font-size: 0.72rem;
        letter-spacing: 1px;
        padding: 9px 14px;
    }

    .banner-full {
        display: none;
    }

    .banner-short {
        display: inline;
    }

    .section-lead,
    .page-header p {
        font-size: 0.95rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 34px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        text-align: center;
    }

    .footer-center a,
    .footer-right a {
        justify-content: center;
    }

    .footer-label {
        padding-bottom: 14px;
    }

    .about-container {
        margin: 40px auto;
    }

    .section {
        padding: 40px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
