:root{
    --text: #0f1115;
    --text-soft: #2b2f33;
    --overlay: rgba(255,255,255,0.60);
    --ink: #0b1220;
    --ink-2: #1b2433;
    --gold: #c7a764; /* subtle luxury accent */
    --card: rgba(255,255,255,0.88);
    --ring: rgba(0,0,0,0.06);
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    background-image: url('img/background_image.png');
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    min-height: 100dvh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Legibility overlay to ensure text is readable on all devices */
body::before{
    content: "";
    position: fixed;
    inset: 0;
    /* Softer center so the illustration shows through more */
    background:
      radial-gradient(ellipse 70% 55% at 50% 40%,
        rgba(255,255,255,0.70) 0%,
        rgba(255,255,255,0.54) 45%,
        rgba(255,255,255,0.38) 65%,
        rgba(255,255,255,0.22) 78%,
        rgba(255,255,255,0.10) 92%,
        rgba(255,255,255,0.00) 100%);
    pointer-events: none;
    z-index: 0;
}

/* New shell wrapper for perfect centering across sizes */
.shell {
    max-width: min(1120px, 92vw);
    margin-inline: auto;
    padding-inline: clamp(16px, 2.6vw, 28px);
    position: relative;
}

/* Rebuilt hero grid */
.hero {
    min-height: calc(100dvh - 48px);
    display: grid;
    place-content: center;
    text-align: center;
    padding-block: clamp(36px, 6vw, 72px);
    position: relative;
    width: 100%;
    z-index: 1; /* keep above body overlay */
}

/* removed inner hero overlay; handled at body level for consistent centering */
.hero::before{ content: none; }

/* Elevated, editorial headline style */
.hero h1 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    font-size: clamp(2.2rem, 4.6vw + 1rem, 4.75rem);
    margin: 0 auto 18px;
    max-width: 22ch;
    color: #111111;
}

/* Signature brand masthead */
.brand-title,
.hero-title {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: clamp(0.98, 1.2vw, 1.05);
    font-size: clamp(2.3rem, 8vw, 5.2rem);
    margin: 0 auto 10px;
    color: #0f0f0f;
    display: grid;
    gap: 10px;
    padding: 0 clamp(4px, 2vw, 8px);
}

.brand-tag,
.hero-title .hero-kicker {
    display: block;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: clamp(0.82rem, 0.8vw + 0.72rem, 1rem);
    color: #5a6472;
}

/* Optional fine underline flourish */
.brand-title::after,
.hero-title::after {
    content: "";
    justify-self: center;
    width: clamp(82px, 18vw, 180px);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.28), transparent);
    border-radius: 2px;
    margin-top: 12px;
}

.lead,
.hero .subhead {
    font-size: clamp(1.04rem, 0.9vw + 0.86rem, 1.24rem);
    line-height: 1.65;
    margin: 0 auto 14px;
    color: #1f2530; /* stronger contrast */
    max-width: min(58ch, 92vw);
    padding: 0 clamp(6px, 2vw, 10px);
}

.footnote,
.hero .note {
    font-size: clamp(0.96rem, 0.7vw + 0.74rem, 1.04rem);
    margin: 12px auto 0;
    color: #2c333a;
    max-width: min(60ch, 92vw);
    padding: 0 clamp(6px, 2vw, 10px);
}

/* Booking CTA Card (rebuilt) */
.booking,
.cta-card {
    margin: clamp(18px, 4.2vw, 28px) auto 18px;
    width: min(820px, 92%);
    /* keep card translucent without causing heavy blur on low-end/mobile */
    background: rgba(255,255,255,0.78);
    -webkit-backdrop-filter: saturate(140%) blur(6px);
    backdrop-filter: saturate(140%) blur(6px);
    border: 1px solid var(--ring);
    border-radius: 18px;
    box-shadow: var(--shadow), 0 1px 0 rgba(255,255,255,0.75) inset;
    overflow: hidden;
    text-align: left;
}

.booking-header,
.cta-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6b7280;
    padding: clamp(10px, 2.6vw, 14px) clamp(14px, 3vw, 18px) 0;
}
.booking-header .dot,
.booking .dot {
    width: 8px;
    height: 8px;
    background: #6b7280;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(107,114,128,0.15);
}
.booking-header .eyebrow { line-height: 1; }

.booking-body,
.cta-body {
    display: grid;
    gap: clamp(10px, 2.6vw, 16px);
    align-items: center;
    padding: clamp(10px, 2.6vw, 14px) clamp(14px, 3vw, 18px) clamp(14px, 3vw, 18px);
}
.booking-copy { margin: 0; color: #1f2937; font-size: clamp(0.98rem, 0.6vw + 0.84rem, 1.06rem); }

.cta-body p {
    margin: 0;
    color: #1f2937;
    font-size: clamp(0.98rem, 0.6vw + 0.84rem, 1.06rem);
}

.button,
.cta-button {
    justify-self: start;
    display: inline-block;
    font-weight: 600;
    font-size: clamp(0.92rem, 0.5vw + 0.82rem, 0.98rem);
    color: #ffffff;
    background: linear-gradient(135deg, var(--ink), var(--ink-2));
    padding: clamp(10px, 1.8vw, 12px) clamp(14px, 2.4vw, 18px);
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(17,24,39,0.16);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    border: 1px solid rgba(255,255,255,0.12);
    white-space: nowrap;
}

.button:hover,
.button:focus-visible,
.cta-button:hover,
.cta-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(17,24,39,0.2);
    background: linear-gradient(135deg, #0f172a, #0b1220);
}

@media (min-width: 640px) {
    .hero { 
        padding-block: clamp(44px, 6.5vw, 88px);
        align-content: center;
        justify-items: center;
    }
    .brand-title, .hero-title { font-size: clamp(2.6rem, 6.8vw, 5.2rem); }
    .booking-body, .cta-body { grid-template-columns: 1fr auto; }
    .booking, .cta-card { margin-left: auto; margin-right: auto; }
}
@media (min-width: 1024px) {
    body { background-position: center 60%; }
    .container { width: min(1100px, 86%); }
}

/* Optional: elevate on entrance */
@media (prefers-reduced-motion: no-preference) {
    .booking, .cta-card { animation: fadeUp 700ms ease-out 140ms both; }
    .brand-title, .hero-title { animation: fadeUp 600ms ease-out 40ms both; }
}

/* Gentle lift for legibility */
.hero h1,
.hero .subhead,
.hero .note {
    text-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* Accessibility and small-screen clarity */
@media (max-width: 420px) {
    /* Force-disable ALL backdrop filters and any descendant blur on mobile */
    * {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        filter: none !important;
    }
    .booking, .cta-card {
        background: rgba(255,255,255,0.88);
    }
    /* Make the legibility overlay very light so artwork stays sharp */
    body::before{
        background:
          radial-gradient(ellipse 85% 70% at 50% 38%,
            rgba(255,255,255,0.76) 0%,
            rgba(255,255,255,0.62) 48%,
            rgba(255,255,255,0.42) 70%,
            rgba(255,255,255,0.20) 86%,
            rgba(255,255,255,0.06) 100%);
    }
    .hero {
        display: grid;
        grid-auto-rows: min-content;
        align-content: center;
        justify-items: center;
        min-height: calc(100dvh - 48px);
        padding-top: max(40px, env(safe-area-inset-top));
        padding-bottom: max(32px, env(safe-area-inset-bottom));
    }
    .brand-title, .hero-title {
        font-size: clamp(2rem, 10.5vw, 2.6rem);
        line-height: 1.04;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .brand-tag { letter-spacing: 0.16em; font-size: 0.84rem; }
    .lead, .subhead, .note, .footnote {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .booking, .cta-card {
        width: min(92vw, 560px);
        margin-left: auto;
        margin-right: auto;
    }
    .booking-body, .cta-body {
        justify-items: center;
        text-align: center;
    }
    .button, .cta-button { justify-self: center; }
}

/* Motion polish */
@media (prefers-reduced-motion: no-preference) {
    .hero h1 { animation: fadeUp 600ms ease-out 60ms both; }
    .hero .subhead { animation: fadeUp 700ms ease-out 120ms both; }
    .hero .note { animation: fadeUp 800ms ease-out 180ms both; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
