:root {
    --ink-deep: #0F1D16;
}
body { 
    
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    margin: 0;
    color: var(--ink);
    line-height: 1.5;
    padding: 0; background: #fff; }

h1, h2, h3, .headline { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.3px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; padding: 16px 36px;
    background: var(--ink-deep);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .site-brand { color: #fff; }
.site-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; font-family: 'Fraunces', serif; color: var(--ink-deep); }
.site-brand .mark {
    width: 34px; height: 34px; border-radius: 9px; background: var(--qb-green); color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.site-header nav a { margin-left: 26px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.82); text-decoration: none; letter-spacing: 0.1px; }
.site-header nav a:hover { color: #fff; }
.site-header nav a.nav-cta {
    background: var(--qb-green); color: #fff; padding: 9px 18px; border-radius: 20px;
}
.site-header nav a.nav-cta:hover { background: var(--qb-green-dark); color: #fff; }

/* ---------- Hero: full-bleed photo with gradient scrim ---------- */
.hero-section {
    position: relative; text-align: center; padding: 130px 20px 110px; overflow: hidden;
    background-color: var(--ink-deep);
    background-image:
        linear-gradient(180deg, rgba(15,29,22,0.55) 0%, rgba(15,29,22,0.78) 65%, rgba(15,29,22,0.95) 100%),
        url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=70');
    background-size: cover; background-position: center 35%;
}
.hero-eyebrow {
    display: inline-block; color: #fff; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero-section h1 { color: #fff; font-size: 52px; max-width: 720px; margin: 0 auto 18px; line-height: 1.1; font-weight: 600; }
.hero-section .subtitle { color: rgba(255,255,255,0.88); font-size: 17px; max-width: 540px; margin: 0 auto 36px; font-family: 'Inter', sans-serif; }

.hero-search {
    max-width: 560px; margin: 0 auto; display: flex; gap: 8px; background: rgba(255,255,255,0.97);
    padding: 8px; border-radius: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-search input {
    border: none; padding: 13px 18px; font-size: 15px; border-radius: 32px; flex: 1; background: transparent;
}
.hero-search input:focus { outline: none; box-shadow: none; }
.hero-search button {
    border-radius: 32px; padding: 13px 26px; font-weight: 700; white-space: nowrap;
}

.trust-strip { display: flex; justify-content: center; gap: 56px; margin-top: 54px; flex-wrap: wrap; }
.trust-stat { text-align: center; }
.trust-stat strong { display: block; font-family: 'Fraunces', serif; font-size: 30px; color: #fff; font-weight: 600; }
.trust-stat span { font-size: 12px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.8px; }

/* ---------- How it works ---------- */
.how-it-works { max-width: 980px; margin: 0 auto; padding: 88px 20px 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; text-align: center; }
@media (max-width: 700px) { .how-it-works { grid-template-columns: 1fr; } }
.how-step .icon-circle {
    width: 62px; height: 62px; border-radius: 50%; background: var(--qb-green-tint); color: var(--qb-green-dark);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 24px;
}
.how-step h3 { font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.how-step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; font-family: 'Inter', sans-serif; }

.section { max-width: 1080px; margin: 0 auto; padding: 10px 20px 70px; }
.section-head { text-align: center; margin-bottom: 38px; }
.section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--qb-green-dark); margin-bottom: 8px; display: block; }
.section-head h2 { font-size: 32px; margin-bottom: 8px; font-weight: 600; }
.section-head p { color: var(--ink-soft); font-size: 15px; font-family: 'Inter', sans-serif; }

/* ---------- Featured: magazine-style photo cards ---------- */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .featured-grid { grid-template-columns: 1fr; } }
.featured-card {
    position: relative; display: block; border-radius: 16px; overflow: hidden; text-decoration: none;
    height: 340px; box-shadow: 0 12px 30px rgba(15,29,22,0.12);
}
.featured-card img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.featured-card:hover img { transform: scale(1.08); }
.featured-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.82) 100%);
}
.featured-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 2; color: #fff; }
.featured-card-name { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 600; margin-bottom: 6px; text-decoration: none; }
.featured-card-desc { font-size: 12.5px; color: rgba(255,255,255,0.85); line-height: 1.4; margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.featured-card-amenities { display: flex; flex-wrap: wrap; gap: 5px; }
.featured-card-amenities span { font-size: 10px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 3px 9px; border-radius: 10px; font-weight: 600; backdrop-filter: blur(3px); }

/* ---------- Directory grid ---------- */
/* ---------- Hotels on the Map ---------- */
.hotel-map {
    height: 440px; border-radius: 20px; overflow: hidden; border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(15,29,22,0.08);
}
.map-pin-dot {
    width: 16px; height: 16px; border-radius: 50%; background: var(--qb-green);
    border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.leaflet-popup-content { font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.5; }
.leaflet-popup-content strong { font-family: 'Fraunces', serif; font-size: 14px; }
.leaflet-popup-content a { color: var(--qb-green-dark); }

.directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.hotel-card {
    display: block; background: #fff; border: 1px solid var(--border); border-radius: 14px;
    overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color 0.15s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.hotel-card:hover { border-color: transparent; text-decoration: none; transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,29,22,0.1); }
.hotel-card-photo-wrap { position: relative; overflow: hidden; height: 152px; }
.hotel-card-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.hotel-card:hover .hotel-card-photo { transform: scale(1.06); }
.hotel-card-photo-placeholder {
    width: 100%; height: 152px; background: linear-gradient(135deg, var(--qb-green-tint), #eaf3ea); color: var(--qb-green);
    display: flex; align-items: center; justify-content: center;
}
.hotel-card-body { padding: 17px 18px; }
.hotel-card-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; margin-bottom: 5px; }
.hotel-card-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.45; margin-bottom: 11px; min-height: 37px; font-family: 'Inter', sans-serif; }
.hotel-card-amenities { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 11px; }
.hotel-card-amenities span { font-size: 10.5px; background: var(--qb-green-tint); color: var(--qb-green-dark); padding: 3px 9px; border-radius: 10px; font-weight: 600; }
.hotel-card-cta { font-size: 13px; font-weight: 700; color: var(--qb-green-dark); display: flex; align-items: center; gap: 4px; }
.no-hotels { text-align: center; color: var(--ink-soft); padding: 40px 0; grid-column: 1 / -1; }

/* ---------- Owner CTA ---------- */
.owner-cta {
    position: relative; text-align: center; padding: 60px 40px; overflow: hidden;
    background: var(--ink-deep); color: #fff;
    max-width: 1080px; width: calc(100% - 40px); margin: 60px auto 26px; border-radius: 26px;
    box-shadow: 0 20px 46px rgba(15,29,22,0.22);
}
.owner-cta::before {
    content: ''; position: absolute; inset: 0; opacity: 0.5;
    background-image: radial-gradient(circle at 20% 30%, rgba(44,160,28,0.35), transparent 45%),
                       radial-gradient(circle at 80% 70%, rgba(44,160,28,0.25), transparent 45%);
}
.owner-cta > * { position: relative; z-index: 1; }
.owner-cta h2 { color: #fff; font-size: 30px; margin-bottom: 12px; font-weight: 600; }
.owner-cta p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 26px; font-family: 'Inter', sans-serif; }
.owner-cta a.qb-btn { background: var(--qb-green); color: #fff; padding: 14px 30px; font-size: 15px; border-radius: 26px; }
.owner-cta a.qb-btn:hover { background: var(--qb-green-dark); }

/* ---------- Newsletter band - a separate card, warm amber tone so it
   reads as a distinct section from the green Owner CTA above it rather
   than blending into one continuous block. ---------- */
.newsletter-band {
    position: relative; overflow: hidden;
    background: #3A2412; color: #fff; text-align: center; padding: 60px 40px;
    background-image: radial-gradient(circle at 15% 20%, rgba(217,142,33,0.38), transparent 42%),
                       radial-gradient(circle at 85% 80%, rgba(217,142,33,0.26), transparent 42%);
    max-width: 1080px; width: calc(100% - 40px); margin: 26px auto 60px; border-radius: 26px;
    box-shadow: 0 20px 46px rgba(58,36,18,0.22);
}
.newsletter-band h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.newsletter-band p { color: rgba(255,255,255,0.72); font-size: 14px; max-width: 480px; margin: 0 auto 22px; font-family: 'Inter', sans-serif; }
.newsletter-form { max-width: 440px; margin: 0 auto; display: flex; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); padding: 6px; border-radius: 30px; }
.newsletter-form input {
    flex: 1; border: none; background: transparent; padding: 11px 16px; font-size: 14px; color: #fff; border-radius: 24px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus { outline: none; box-shadow: none; }
.newsletter-form button { border-radius: 24px; padding: 11px 22px; font-weight: 700; white-space: nowrap; background: #D98E21; border-color: #D98E21; }
.newsletter-form button:hover { background: #b8760f; border-color: #b8760f; }
.newsletter-msg { font-size: 12.5px; margin-top: 12px; min-height: 16px; font-family: 'Inter', sans-serif; }
.newsletter-msg.success { color: #f0c98a; }
.newsletter-msg.error { color: #f3a2a2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); border-top: 1px solid rgba(255,255,255,0.08); padding: 50px 20px 26px; }
.footer-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: rgba(255,255,255,0.5); margin-bottom: 14px; font-family: 'Inter', sans-serif; font-weight: 700; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.85); text-decoration: none; margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; font-family: 'Inter', sans-serif; }
.site-footer .site-brand { color: #fff; }
.site-footer .site-brand .mark { background: var(--qb-green); }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
    display: flex; align-items: center; justify-content: center; margin: 0; transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { background: var(--qb-green); color: #fff; }
.footer-bottom {
    max-width: 1080px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.45); font-family: 'Inter', sans-serif; margin: 0; }
.footer-bottom .site-brand { font-size: 14px; }

/* ---------- Subpage hero (About, Contact, Careers, What We Do) ---------- */
.page-hero {
    text-align: center; padding: 90px 20px 60px;
    background: linear-gradient(180deg, var(--qb-green-tint) 0%, #fff 100%);
}
.page-hero .hero-eyebrow { color: var(--qb-green-dark); background: #fff; border: 1px solid var(--border); }
.page-hero h1 { font-size: 38px; max-width: 640px; margin: 0 auto 14px; }
.page-hero p.subtitle { max-width: 520px; margin: 0 auto; font-size: 15.5px; font-family: 'Inter', sans-serif; color: var(--ink-soft); }
.page-content { max-width: 780px; margin: 0 auto; padding: 60px 20px; font-family: 'Inter', sans-serif; }
.page-content h2 { font-size: 24px; margin: 36px 0 14px; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { font-size: 15px; line-height: 1.75; color: var(--ink); margin-bottom: 16px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0; }
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { background: var(--bg); border-radius: 14px; padding: 24px; text-align: center; }
.value-card .icon-circle { width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--qb-green-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 20px; box-shadow: 0 6px 14px rgba(15,29,22,0.06); }
.value-card h3 { font-size: 15px; margin-bottom: 6px; font-family: 'Fraunces', serif; }
.value-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; padding: 60px 20px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .icon-circle { width: 42px; height: 42px; border-radius: 50%; background: var(--qb-green-tint); color: var(--qb-green-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-info-item h4 { font-size: 14px; margin-bottom: 3px; }
.contact-info-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; font-family: 'Inter', sans-serif; }

/* ---------- Mobile hamburger nav ---------- */
.nav-toggle { display: none; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .site-header nav {
        position: absolute; top: 100%; left: 0; right: 0; background: var(--ink-deep); flex-direction: column;
        padding: 10px 24px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); display: none;
        box-shadow: 0 12px 24px rgba(0,0,0,0.25);
    }
    .site-header nav.open { display: flex; }
    .site-header nav a { margin: 10px 0; }
    .hero-section h1 { font-size: 34px; }
}

/* ---------- Ken Burns hero motion ---------- */
.hero-section { background-size: 115%; animation: heroPan 24s ease-in-out infinite alternate; }
@keyframes heroPan {
    0% { background-size: 108%; background-position: center 30%; }
    100% { background-size: 122%; background-position: center 42%; }
}
@media (prefers-reduced-motion: reduce) { .hero-section { animation: none; } }

/* ---------- Amenity filter chips ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.filter-chip {
    background: #fff; border: 1px solid var(--border); color: var(--ink-soft); font-size: 12.5px; font-weight: 600;
    padding: 7px 16px; border-radius: 18px; cursor: pointer; transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--qb-green); color: var(--qb-green-dark); }
.filter-chip.active { background: var(--qb-green); border-color: var(--qb-green); color: #fff; }

/* ---------- Why Book With Us ---------- */
.trust-section { background: var(--qb-green-tint); padding: 64px 20px; }
.trust-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
@media (max-width: 800px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
.trust-item .icon-circle {
    width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--qb-green-dark);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 22px;
    box-shadow: 0 6px 16px rgba(15,29,22,0.08);
}
.trust-item h3 { font-size: 15px; margin-bottom: 6px; font-weight: 600; font-family: 'Fraunces', serif; }
.trust-item p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; font-family: 'Inter', sans-serif; }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; bottom: 26px; right: 26px; width: 44px; height: 44px; border-radius: 50%;
    background: var(--ink-deep); color: #fff; border: none; cursor: pointer; display: flex;
    align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s ease; z-index: 60;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--qb-green); }

/* ---------- Global ---------- */
html { scroll-behavior: smooth; }

/* ============================================================
   "App Experience" testimonial form + modal
   Shared by share_your_experience.php (full page) and the modal
   opened from the footer link on every page, so the two cannot
   drift visually.
   ============================================================ */

/* ---------- The form itself ---------- */
.exp-form { display: grid; gap: 20px; }
.exp-form__field label {
    display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 7px; color: var(--ink);
}
.exp-form__field input[type="text"],
.exp-form__field input[type="email"],
.exp-form__field select,
.exp-form__field textarea {
    width: 100%; box-sizing: border-box; padding: 14px; border: 1px solid #D6D6D6;
    border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--ink);
    background: #fff; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.exp-form__field textarea { resize: vertical; line-height: 1.55; }
.exp-form__field input:focus,
.exp-form__field select:focus,
.exp-form__field textarea:focus {
    outline: none; border-color: var(--qb-green);
    box-shadow: 0 0 0 3px var(--qb-green-tint);
}
.exp-form__hint { font-size: 13px; color: var(--ink-soft); margin: 7px 0 0; line-height: 1.5; }

.exp-form__consent { background: #FBF7EF; border: 1px solid #E8DCC4; border-radius: 10px; padding: 16px 18px; }
.exp-form__consent label {
    display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.55; cursor: pointer;
}
.exp-form__consent input[type="checkbox"] {
    width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 2px 0 0;
}

.exp-form__submit {
    width: 100%; padding: 17px; font-size: 16px; font-weight: 800; background: #B8E04A;
    color: #1A1A1A; border: none; border-radius: 999px; cursor: pointer; box-shadow: none;
    transition: filter 0.15s ease;
}
.exp-form__submit:hover:not(:disabled) { filter: brightness(0.95); }
.exp-form__submit:disabled { opacity: 0.6; cursor: default; }

.exp-form__foot {
    font-size: 12.5px; color: var(--ink-soft); margin: 0; text-align: center; line-height: 1.55;
}

/* Validation / server error banner, shown above the fields */
.exp-form__alert {
    border: 1px solid #F0C8C8; background: #FDF2F2; border-radius: 10px; padding: 13px 16px;
    font-size: 13.5px; color: #97231D; line-height: 1.5;
}
.exp-form__alert[hidden] { display: none; }

/* ---------- Result panels (thank-you / error) ---------- */
.exp-result { border-radius: 12px; padding: 28px 30px; text-align: center; }
.exp-result--ok { border: 1px solid #BFE0C3; background: #EDF7EE; }
.exp-result--ok h2 { margin: 0 0 10px; font-size: 20px; color: #1E5B27; }
.exp-result--ok p { margin: 0; font-size: 15px; line-height: 1.6; color: #1E5B27; }
.exp-result__back { margin: 16px 0 0 !important; font-size: 13.5px !important; }
.exp-result__back a { font-weight: 700; color: #14532D; }
.exp-result--err {
    border: 1px solid #F0C8C8; background: #FDF2F2; padding: 13px 16px; margin-bottom: 22px;
    font-size: 13.5px; color: #97231D; text-align: left;
}

/* ---------- Modal shell ---------- */
.exp-modal[hidden] { display: none; }
.exp-modal {
    position: fixed; inset: 0; z-index: 200; display: flex;
    align-items: center; justify-content: center; padding: 24px;
}
.exp-modal__backdrop {
    position: absolute; inset: 0; background: rgba(15, 29, 22, 0.55);
    backdrop-filter: blur(2px); animation: expFade 0.2s ease;
}
.exp-modal__panel {
    position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 620px;
    max-height: calc(100vh - 48px); overflow-y: auto; padding: 34px 34px 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); animation: expRise 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.exp-modal__close {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
    background: #F3F4F6; border: none; color: var(--ink-soft); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.15s ease;
}
.exp-modal__close:hover { background: #E5E7EB; color: var(--ink); }

.exp-modal__head { margin-bottom: 26px; padding-right: 34px; }
.exp-modal__eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.1px;
    text-transform: uppercase; color: var(--qb-green-dark); background: var(--qb-green-tint);
    border-radius: 999px; padding: 5px 13px; margin-bottom: 12px;
}
.exp-modal__head h2 {
    font-family: 'Fraunces', serif; font-size: 26px; margin: 0 0 8px; color: var(--ink-deep); line-height: 1.2;
}
.exp-modal__head p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

.exp-modal__status { font-size: 14px; color: var(--ink-soft); text-align: center; padding: 30px 0; }
.exp-modal__status--err { color: #97231D; }
.exp-modal__status a { color: var(--qb-green-dark); font-weight: 700; }

/* Stops the page scrolling behind the open dialog */
body.exp-modal-open { overflow: hidden; }

@keyframes expFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes expRise { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 620px) {
    .exp-modal { padding: 0; align-items: flex-end; }
    .exp-modal__panel {
        max-width: 100%; border-radius: 18px 18px 0 0; max-height: 92vh; padding: 30px 20px 24px;
    }
    .exp-modal__head h2 { font-size: 22px; }
}

/* Respect a reduced-motion preference - the animations are decoration */
@media (prefers-reduced-motion: reduce) {
    .exp-modal__backdrop, .exp-modal__panel { animation: none; }
}