/* ═══════════════════════════════════════════════════════════════════
   wh-project-content.css — CRM-managed banner, flat walkthroughs, blog
   and FAQ on project pages (see assets/js/wh-project-content.js).
   Colours come from each page's own variables, so every project keeps
   its palette.
   ═══════════════════════════════════════════════════════════════════ */

.whc, .whc-hero, .whc-hero-ctrl, .whc-lightbox, .whc-plan-video {
    --whc-gold: var(--gold, #C9A961);
    --whc-ink: var(--ink, var(--wm-ink, var(--m-deep, #1C1A15)));
    --whc-accent: var(--m-accent, var(--g-accent, var(--gold-dark, #A8893F)));
    --whc-paper: #FBF8F2;
    --whc-line: rgba(28, 26, 21, .1);
    --whc-muted: #6E675C;
    --whc-serif: 'Playfair Display', Georgia, serif;
    --whc-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --whc-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── Hero media ─────────────────────────────────────────────────── */
.whc-hero { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0d0c0a; opacity: 0; transition: opacity 1s var(--whc-ease); }
.whc-hero.is-ready { opacity: 1; }
.whc-hero-under { transition: opacity 1s var(--whc-ease); }
.whc-hero-under.is-hidden { opacity: 0 !important; pointer-events: none; }

.whc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--whc-ease); }
.whc-slide.is-active { opacity: 1; z-index: 1; }
.whc-slide img, .whc-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Zoom resets only after the slide has faded out (the delay), so it never jumps on screen. */
.whc-slide img { transform: scale(1.08); transform-origin: 60% 40%; transition: transform 0s linear 1.5s; }
.whc-slide.is-active img { transform: scale(1); transition: transform 7.5s linear; }
.whc-slide:nth-child(even) img { transform-origin: 30% 70%; }

/* ── Text over a banner video (project, company, config, location) ── */
.whc-hero.whc-has-copy::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
        linear-gradient(0deg, rgba(8, 7, 5, .78) 0%, rgba(8, 7, 5, .38) 32%, rgba(8, 7, 5, 0) 58%),
        linear-gradient(90deg, rgba(8, 7, 5, .55) 0%, rgba(8, 7, 5, 0) 55%);
}
.whc-hero-copy {
    --whc-gold: var(--gold, #C9A961);
    position: absolute; z-index: 3; pointer-events: none;
    left: clamp(20px, 7vw, 120px); right: clamp(20px, 7vw, 120px);
    bottom: clamp(96px, 15vh, 170px);
    max-width: 640px; text-align: left; color: #fff; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
.whc-hc-brand {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: clamp(10px, .85vw, 12.5px); font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #E5C989;
}
.whc-hc-brand::before { content: ''; width: clamp(28px, 3vw, 46px); height: 1px; background: linear-gradient(90deg, transparent, #E5C989); }
.whc-hc-title {
    margin: clamp(10px, 1.2vw, 16px) 0 clamp(16px, 1.8vw, 24px);
    font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.02; letter-spacing: -.01em;
    font-size: clamp(2.3rem, 5.6vw, 5.4rem); color: #fff;
}
.whc-hc-title em {
    font-style: italic; font-weight: 500;
    background: linear-gradient(100deg, #F3DFAE 0%, #D9B66B 45%, #B8924A 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
    filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .35)); padding-right: .06em;
}
.whc-hc-meta {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 0;
    padding: 6px; border-radius: 999px;
    background: rgba(12, 11, 9, .38); border: 1px solid rgba(229, 201, 137, .35);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.whc-hc-item {
    display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px 8px 12px;
    font-size: clamp(12.5px, 1vw, 15px); font-weight: 600; letter-spacing: .02em; color: #fff; text-shadow: none;
}
.whc-hc-item + .whc-hc-item { border-left: 1px solid rgba(229, 201, 137, .35); padding-left: 16px; }
.whc-hc-item svg { width: 16px; height: 16px; flex: none; fill: #E5C989; }
/* Enters line by line once the video is showing */
.whc-hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--whc-ease, ease), transform .9s var(--whc-ease, ease); }
.whc-hero-copy.is-in > * { opacity: 1; transform: none; }
.whc-hero-copy.is-in > :nth-child(2) { transition-delay: .15s; }
.whc-hero-copy.is-in > :nth-child(3) { transition-delay: .3s; }
@media (min-width: 768px) and (max-width: 1199.98px) {
    /* Tablets: banners are often short here, so keep the block compact and just above the play / sound buttons */
    .whc-hero-copy { bottom: clamp(76px, 9vw, 110px); left: clamp(20px, 5vw, 64px); }
    .whc-hc-title { font-size: clamp(2rem, 4.6vw, 3.6rem); margin: 8px 0 14px; }
    .whc-hc-item { padding: 6px 14px 6px 10px; font-size: 13px; }
}
@media (max-width: 767.98px) {
    /* Phones: centred, above the MahaRERA badge and the play / sound buttons */
    .whc-hero-copy { left: 16px; right: 16px; bottom: auto; top: 50%; transform: translateY(-30%); text-align: center; }
    .whc-hc-brand { font-size: 10px; letter-spacing: .26em; gap: 10px; }
    .whc-hc-brand::after { content: ''; width: 28px; height: 1px; background: linear-gradient(270deg, transparent, #E5C989); }
    .whc-hc-title { font-size: clamp(1.9rem, 9vw, 2.6rem); margin: 8px 0 14px; }
    /* Each detail becomes its own pill and wraps, so long locations never run off screen */
    .whc-hc-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .whc-hc-item {
        font-size: 12px; padding: 7px 13px 7px 10px; gap: 7px; border-radius: 999px;
        background: rgba(12, 11, 9, .45); border: 1px solid rgba(229, 201, 137, .35);
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    }
    .whc-hc-item + .whc-hc-item { border-left: 1px solid rgba(229, 201, 137, .35); padding-left: 10px; }
    .whc-hc-item svg { width: 14px; height: 14px; }
    .whc-hero.whc-has-copy::after {
        background: linear-gradient(0deg, rgba(8, 7, 5, .7) 0%, rgba(8, 7, 5, .25) 45%, rgba(8, 7, 5, .45) 100%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .whc-hero-copy > * { transition: none; transform: none; }
}

.whc-hero-ctrl {
    position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 34px); z-index: 4;
    display: flex; align-items: center; gap: 10px;
}
.whc-bars { display: flex; gap: 6px; }
.whc-bar {
    width: 38px; height: 22px; padding: 9px 0; border: 0; background: none; cursor: pointer; position: relative;
}
.whc-bar::before, .whc-bar i {
    content: ''; position: absolute; left: 0; top: 9px; height: 3px; border-radius: 3px;
}
.whc-bar::before { right: 0; background: rgba(255, 255, 255, .35); }
.whc-bar i { width: 0; background: #fff; }
.whc-bar.is-done i { width: 100%; }
.whc-bar.is-active i { animation: whc-fill var(--whc-dur, 6s) linear forwards; }
.whc-hero-ctrl.is-paused .whc-bar.is-active i { animation-play-state: paused; }
@keyframes whc-fill { from { width: 0; } to { width: 100%; } }

.whc-round {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(12, 11, 9, .35); color: #fff; display: inline-flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer;
    transition: background .25s, transform .25s, border-color .25s;
}
.whc-round:hover { background: rgba(12, 11, 9, .6); border-color: #fff; transform: scale(1.06); }
.whc-round:focus-visible, .whc-bar:focus-visible { outline: 2px solid var(--whc-gold); outline-offset: 3px; }
.whc-round svg { width: 16px; height: 16px; fill: currentColor; }

/* Keyword line inside the hero H1 of the upcoming-project pages ("2 to 6 BHK Luxury Flats in Kharghar") */
.hero-title .hero-h1-kw {
    display: block; margin-top: 14px; font-family: 'Montserrat', sans-serif; font-style: normal; font-weight: 600;
    font-size: clamp(.8rem, 1.5vw, 1.05rem); letter-spacing: 2.5px; line-height: 1.5; text-transform: uppercase; color: rgba(255, 255, 255, .88);
}

/* ── Shared section chrome ──────────────────────────────────────── */
.whc { font-family: var(--whc-sans); color: var(--whc-ink); padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.whc-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.whc-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; color: var(--whc-accent); margin-bottom: 14px;
}
.whc-eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--whc-gold); }
.whc-title {
    font-family: var(--whc-serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em;
    font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 14px; color: var(--whc-ink);
}
.whc-title em { font-style: italic; font-weight: 500; color: var(--whc-accent); }
.whc-lead { color: var(--whc-muted); font-size: 15px; line-height: 1.75; max-width: 560px; margin: 0; }
.whc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }

.whc-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px;
    font: 700 12px/1 var(--whc-sans); letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none;
    border: 1.5px solid var(--whc-ink); color: var(--whc-ink); background: transparent; cursor: pointer;
    transition: background .3s, color .3s, transform .3s, border-color .3s;
}
.whc-btn:hover { background: var(--whc-ink); color: #fff; transform: translateY(-2px); }
.whc-btn.solid { background: var(--whc-gold); border-color: var(--whc-gold); color: #1C1A15; }
.whc-btn.solid:hover { background: #fff; border-color: #fff; color: #1C1A15; }
.whc-btn svg { width: 14px; height: 14px; fill: currentColor; transition: transform .3s; }
.whc-btn:hover svg { transform: translateX(3px); }

.whc-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--whc-ease), transform .9s var(--whc-ease); transition-delay: var(--whc-d, 0s); }
.whc-reveal.is-in { opacity: 1; transform: none; }

/* ── Walkthroughs ───────────────────────────────────────────────── */
.whc-walk { background: var(--whc-ink); color: #fff; overflow: hidden; }
.whc-walk::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 50% at 85% 0%, color-mix(in srgb, var(--whc-gold) 22%, transparent), transparent 70%);
}
.whc-walk .whc-title { color: #fff; }
.whc-walk .whc-title em { color: var(--whc-gold); }
.whc-walk .whc-lead { color: rgba(255, 255, 255, .7); }
.whc-walk .whc-eyebrow { color: var(--whc-gold); }

.whc-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin-bottom: 22px; }
.whc-tabs::-webkit-scrollbar { display: none; }
.whc-tab {
    flex: 0 0 auto; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: rgba(255, 255, 255, .8);
    border-radius: 999px; padding: 10px 20px; font: 600 13px/1 var(--whc-sans); letter-spacing: .4px; cursor: pointer;
    transition: all .3s var(--whc-ease);
}
.whc-tab:hover { border-color: var(--whc-gold); color: #fff; }
.whc-tab[aria-selected="true"] { background: var(--whc-gold); border-color: var(--whc-gold); color: #1C1A15; }
.whc-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.whc-stage {
    position: relative; border-radius: clamp(14px, 2vw, 24px); overflow: hidden; aspect-ratio: 16 / 9; background: #000;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.whc-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--whc-ease); }
.whc-stage video.is-active { opacity: 1; }
.whc-stage-cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 3vw, 32px);
    display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent);
}
.whc-stage-cap b { display: block; font-family: var(--whc-serif); font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.1; }
.whc-stage-cap span { font-size: 13px; color: rgba(255, 255, 255, .75); }
.whc-live {
    position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #fff;
}
.whc-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: whc-pulse 1.6s infinite; }
@keyframes whc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Video inside an existing configuration card */
.whc-plan-video {
    position: relative; margin: 0 0 18px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #111; cursor: pointer;
}
.whc-plan-video video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--whc-ease); }
.whc-plan-video:hover video { transform: scale(1.04); }
.whc-plan-video .whc-live { top: 10px; left: 10px; }
.whc-plan-video .whc-round { position: absolute; right: 10px; bottom: 10px; z-index: 2; }

/* ── Blog ───────────────────────────────────────────────────────── */
.whc-blog { background: var(--whc-paper); }
/* Card row: scrolls sideways, one "page" = what fits (3 / 2 / 1 cards). */
.whc-cards {
    --whc-gap: clamp(18px, 2.4vw, 30px);
    display: flex; gap: var(--whc-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; padding: 8px 2px 14px; margin: -8px -2px -14px; outline: none;
}
.whc-cards::-webkit-scrollbar { display: none; }
.whc-cards > .whc-card { flex: 0 0 calc((100% - 2 * var(--whc-gap)) / 3); scroll-snap-align: start; }
.whc-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.whc-pager[hidden] { display: none; }
.whc-pg {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--whc-line); background: #fff; color: var(--whc-ink);
    display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.whc-pg svg { width: 16px; height: 16px; fill: currentColor; }
.whc-pg-prev svg { transform: rotate(180deg); }
.whc-pg:hover:not(:disabled) { background: var(--whc-ink); color: #fff; border-color: var(--whc-ink); }
.whc-pg:disabled { opacity: .35; cursor: default; }
.whc-pg:focus-visible, .whc-dots button:focus-visible { outline: 2px solid var(--whc-gold); outline-offset: 3px; }
.whc-dots { display: flex; gap: 16px; align-items: center; } /* 16px gap keeps each dot an easy, separate tap target */
.whc-dots button {
    width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(28, 26, 21, .2); cursor: pointer;
    transition: width .4s var(--whc-ease), background .3s;
}
.whc-dots button.is-active { width: 28px; background: var(--whc-accent); }
.whc-card {
    display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
    border: 1px solid var(--whc-line); transition: transform .5s var(--whc-ease), box-shadow .5s var(--whc-ease);
}
.whc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(28, 26, 21, .35); }
.whc-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--whc-ink), var(--whc-accent)); }
.whc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--whc-ease); }
.whc-card:hover .whc-card-img img { transform: scale(1.06); }
.whc-date {
    position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92);
    font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--whc-ink);
}
.whc-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.whc-card h3 { font-family: var(--whc-serif); font-size: 1.28rem; font-weight: 700; line-height: 1.3; margin: 0 0 10px; color: var(--whc-ink); }
.whc-card p {
    font-size: 14px; line-height: 1.7; color: var(--whc-muted); margin: 0 0 18px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.whc-more { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--whc-accent); display: inline-flex; align-items: center; gap: 8px; }
.whc-more svg { width: 14px; height: 14px; fill: currentColor; transition: transform .3s; }
.whc-card:hover .whc-more svg { transform: translateX(4px); }

/* ── FAQ ────────────────────────────────────────────────────────── */
.whc-faq { background: #fff; }
.whc-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.whc-faq-side { position: sticky; top: 110px; }
.whc-help {
    margin-top: 32px; padding: 26px; border-radius: 20px; background: var(--whc-ink); color: #fff; position: relative; overflow: hidden;
}
.whc-help::after {
    content: ''; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--whc-gold) 50%, transparent);
}
.whc-help b { display: block; font-family: var(--whc-serif); font-size: 1.35rem; margin-bottom: 6px; }
.whc-help p { color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.whc-help .whc-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.whc-help .whc-btn:not(.solid) { border-color: rgba(255, 255, 255, .4); color: #fff; }
.whc-help .whc-btn:not(.solid):hover { background: #fff; color: #1C1A15; }

.whc-qa { border-bottom: 1px solid var(--whc-line); }
.whc-qa:first-child { border-top: 1px solid var(--whc-line); }
.whc-qa summary {
    list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
    padding: 24px 4px; font-family: var(--whc-serif); font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; line-height: 1.4;
    transition: color .3s;
}
.whc-qa summary::-webkit-details-marker { display: none; }
.whc-qa summary:hover, .whc-qa[open] summary { color: var(--whc-accent); }
.whc-qa summary:focus-visible { outline: 2px solid var(--whc-gold); outline-offset: 2px; border-radius: 6px; }
.whc-num { font: 700 12px/1 var(--whc-sans); letter-spacing: 1px; color: var(--whc-gold); min-width: 22px; }
.whc-pm { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--whc-line); position: relative; flex: 0 0 auto; transition: background .3s, border-color .3s, transform .45s var(--whc-ease); }
.whc-pm::before, .whc-pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--whc-ease); }
.whc-pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.whc-qa[open] .whc-pm { background: var(--whc-ink); border-color: var(--whc-ink); color: #fff; transform: rotate(180deg); }
.whc-qa[open] .whc-pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.whc-ans { overflow: hidden; }
.whc-ans div { padding: 0 56px 26px 44px; color: var(--whc-muted); font-size: 15px; line-height: 1.8; white-space: pre-line; }

/* ── Amenities, 3D "coverflow" look (Aspire) ───────────────────── */
.whc-cf {
    --whc-gold: var(--gold, #C9A961);
    --cf-ink: var(--m-deep, var(--ink, #2A1A12));
    --cf-w: clamp(250px, 34vw, 500px);     /* centre card width */
    --cf-step: calc(var(--cf-w) * .62);   /* how far each side card sits from the next */
    --cf-ease: cubic-bezier(.22, .61, .36, 1);
    position: relative; margin-top: 46px; outline: none; font-family: 'Montserrat', system-ui, sans-serif;
}
.whc-cf-stage {
    position: relative; height: calc(var(--cf-w) * .75 + 196px); perspective: 1500px; perspective-origin: 50% 40%;
    touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
/* Gold glow behind the centre card */
.whc-cf-stage::before {
    content: ''; position: absolute; left: 50%; top: 42%; width: calc(var(--cf-w) * 1.3); height: calc(var(--cf-w) * .8);
    transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(201, 169, 97, .38), transparent); filter: blur(10px);
}

.whc-cf-card {
    --d: 0; --a: 0;
    position: absolute; left: 50%; top: 0; width: var(--cf-w); margin-left: calc(var(--cf-w) / -2);
    padding: 0; border: 0; background: #14100c; border-radius: 18px; overflow: hidden; cursor: pointer; text-align: center;
    display: flex; flex-direction: column;
    transform-style: preserve-3d;
    transform:
        translateX(calc(var(--d) * var(--cf-step)))
        translateZ(calc(var(--a) * -170px))
        rotateY(calc(var(--d) * -36deg))
        scale(calc(1 - var(--a) * .06));
    filter: brightness(calc(1 - var(--a) * .22));
    box-shadow: 0 30px 60px -28px rgba(20, 12, 6, .7);
    transition: transform .95s var(--cf-ease), filter .95s var(--cf-ease), opacity .6s, box-shadow .6s;
    /* Mirror-like reflection under each card (Chrome, Edge, Safari) */
    -webkit-box-reflect: below 10px linear-gradient(transparent 72%, rgba(255, 255, 255, .22));
}
.whc-cf-card.is-far { opacity: 0; pointer-events: none; }
.whc-cf-card.is-jump { transition: none; opacity: 0; }
.whc-cf-card.is-active { cursor: zoom-in; box-shadow: 0 40px 80px -30px rgba(20, 12, 6, .85), 0 0 0 1.5px rgba(201, 169, 97, .55); }
.whc-cf-card:focus-visible { outline: 2px solid var(--whc-gold); outline-offset: 4px; }

.whc-cf-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.whc-cf-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); transition: transform 1.4s var(--cf-ease); pointer-events: none; }
.whc-cf-card.is-active .whc-cf-img img { transform: scale(1); }
.whc-cf-card.is-active:hover .whc-cf-img img { transform: scale(1.05); }

.whc-cf-cap {
    display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 96px; padding: 16px 20px 18px;
    background: linear-gradient(180deg, #1b140e, #0e0a07); color: #fff;
}
.whc-cf-cap small { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; color: #E5C989; }
.whc-cf-cap b { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.5rem); line-height: 1.2; }
.whc-cf-card:not(.is-active) .whc-cf-cap b { font-size: clamp(.95rem, 1.2vw, 1.15rem); }

.whc-cf-zoom {
    position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(12, 11, 9, .45); border: 1px solid rgba(255, 255, 255, .45); color: #fff;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transform: scale(.8); transition: opacity .4s, transform .4s;
}
.whc-cf-zoom svg { width: 16px; height: 16px; fill: currentColor; }
.whc-cf-card.is-active .whc-cf-zoom { opacity: 1; transform: none; transition-delay: .5s; }

.whc-cf-arrow {
    position: absolute; top: calc(var(--cf-w) * .42); z-index: 30; width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; color: var(--cf-ink);
    background: rgba(255, 255, 255, .85); border: 1px solid rgba(201, 169, 97, .55);
    box-shadow: 0 12px 30px -14px rgba(20, 12, 6, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: background .3s, color .3s, transform .3s;
}
.whc-cf-arrow svg { width: 20px; height: 20px; fill: currentColor; }
.whc-cf-arrow:hover { background: var(--cf-ink); color: #fff; transform: scale(1.06); }
.whc-cf-arrow:focus-visible, .whc-cf-dots button:focus-visible { outline: 2px solid var(--whc-gold); outline-offset: 3px; }
.whc-cf-prev { left: max(0px, calc(50% - var(--cf-w) * 1.55)); }
.whc-cf-next { right: max(0px, calc(50% - var(--cf-w) * 1.55)); }

/* Progress dots: the current one stretches and fills over the time it is shown */
.whc-cf-dots { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.whc-cf-dots button { position: relative; width: 26px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .5s var(--cf-ease); }
.whc-cf-dots button::before, .whc-cf-dots i { content: ''; position: absolute; left: 0; top: 10px; height: 4px; border-radius: 4px; }
.whc-cf-dots button::before { right: 0; background: rgba(42, 26, 18, .18); }
.whc-cf-dots i { width: 0; background: linear-gradient(90deg, var(--whc-gold), #E5C989); }
.whc-cf-dots button.is-active { width: 58px; }
.whc-cf.is-running .whc-cf-dots button.is-active i { animation: whc-fill var(--whc-cf-ms, 4.6s) linear forwards; }
.whc-cf.is-held .whc-cf-dots button.is-active i { animation-play-state: paused; }
.whc-cf-note { text-align: center; margin: 14px 0 0; font-size: 12px; color: var(--cf-ink); opacity: .55; }

@media (max-width: 991.98px) {
    .whc-cf { --cf-w: clamp(240px, 52vw, 420px); --cf-step: calc(var(--cf-w) * .5); }
    .whc-cf-arrow { width: 48px; height: 48px; }
}
@media (max-width: 575.98px) {
    .whc-cf { --cf-w: 74vw; --cf-step: calc(var(--cf-w) * .42); margin-top: 30px; }
    .whc-cf-card { transform: translateX(calc(var(--d) * var(--cf-step))) translateZ(calc(var(--a) * -150px)) rotateY(calc(var(--d) * -30deg)) scale(calc(1 - var(--a) * .08)); }
    .whc-cf-cap { min-height: 80px; padding: 12px 14px 14px; }
    .whc-cf-stage { height: calc(var(--cf-w) * .75 + 150px); }
    .whc-cf-arrow { top: calc(var(--cf-w) * .3); width: 42px; height: 42px; }
    .whc-cf-prev { left: 4px; } .whc-cf-next { right: 4px; }
    .whc-cf-dots { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .whc-cf-card, .whc-cf-img img { transition: none; }
}

/* ── Location & connectivity ────────────────────────────────────── */
.whc-loc { background: linear-gradient(180deg, #fff 0%, var(--whc-paper) 100%); overflow: hidden; }
/* The CRM map takes over the page's #location / #connectivity id; some pages paint that id
   dark (e.g. Aspire), which hid the dark "Well connected" heading. Keep the map's own look. */
#location.whc-loc { background: linear-gradient(180deg, #fff 0%, var(--whc-paper) 100%); }
#location.whc-loc::before, #location.whc-loc::after { content: none; }

/* Connectivity cards: centred card in focus, neighbours recede */
.whc-rail-wrap { position: relative; margin: 0 0 clamp(36px, 5vw, 64px); }
.whc-rail {
    display: flex; gap: clamp(14px, 2vw, 26px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 18px calc(50% - min(170px, 40vw)); outline: none;
}
.whc-rail::-webkit-scrollbar { display: none; }
.whc-hl {
    position: relative; flex: 0 0 min(340px, 80vw); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; scroll-snap-align: center;
    background: var(--whc-ink); cursor: pointer; transform: scale(.88); opacity: .55; filter: saturate(.6);
    transition: transform .7s var(--whc-ease), opacity .7s var(--whc-ease), filter .7s var(--whc-ease), box-shadow .7s var(--whc-ease);
}
.whc-hl.is-focus { transform: scale(1); opacity: 1; filter: none; box-shadow: 0 34px 60px -30px rgba(28, 26, 21, .55); }
.whc-hl img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--whc-ease); }
.whc-hl.is-focus img { transform: scale(1.04); }
.whc-hl-cap {
    position: absolute; inset: auto 0 0 0; padding: 70px 22px 22px; color: #fff;
    background: linear-gradient(0deg, rgba(10, 9, 7, .9) 0%, rgba(10, 9, 7, .55) 55%, transparent 100%);
}
.whc-hl-cat { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--whc-gold); margin-bottom: 8px; }
.whc-hl h3 { font-family: var(--whc-serif); font-size: 1.45rem; line-height: 1.2; margin: 0 0 6px; color: #fff; }
.whc-hl p { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .78); margin: 0 0 12px; }
.whc-hl-time { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; }
.whc-rail-wrap .whc-round { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; background: rgba(255, 255, 255, .92); color: var(--whc-ink); border-color: var(--whc-line); }
.whc-rail-wrap .whc-round:hover { background: var(--whc-ink); color: #fff; transform: translateY(-50%) scale(1.06); }
.whc-rail-prev { left: max(8px, calc(50% - min(170px, 40vw) - 70px)); }
.whc-rail-prev svg { transform: rotate(180deg); }
.whc-rail-next { right: max(8px, calc(50% - min(170px, 40vw) - 70px)); }

/* Map explorer */
.whc-explore {
    display: grid; grid-template-columns: minmax(280px, 380px) 1fr; border-radius: 24px; overflow: hidden; background: #fff;
    border: 1px solid var(--whc-line); box-shadow: 0 30px 70px -40px rgba(28, 26, 21, .4); height: clamp(560px, 80vh, 900px);
}
/* Big screens: the location block uses more of the width than the other sections. */
@media (min-width: 1400px) {
    .whc-loc .whc-wrap { width: min(1560px, 100% - 64px); }
    .whc-explore { grid-template-columns: minmax(320px, 420px) 1fr; }
}
.whc-explore-list { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--whc-line); }
.whc-ltabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 14px 14px 0; border-bottom: 1px solid var(--whc-line); flex: 0 0 auto; }
.whc-ltabs::-webkit-scrollbar { display: none; }
.whc-ltabs button {
    flex: 0 0 auto; border: 0; background: none; padding: 10px 12px 12px; font: 700 11px/1 var(--whc-sans); letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--whc-muted); border-bottom: 2px solid transparent; cursor: pointer; transition: color .25s, border-color .25s;
}
.whc-ltabs button:hover { color: var(--whc-ink); }
.whc-ltabs button[aria-selected="true"] { color: var(--whc-accent); border-color: var(--whc-accent); }
.whc-places { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; flex: 1; min-height: 0; position: relative; scrollbar-width: thin; }
.whc-place {
    width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: left; border: 0; background: none;
    padding: 15px 20px; font: 500 14.5px/1.35 var(--whc-sans); color: var(--whc-ink); cursor: pointer; position: relative; transition: background .25s;
}
.whc-place::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--whc-accent); transform: scaleY(0); transition: transform .35s var(--whc-ease); }
.whc-place:hover { background: var(--whc-paper); }
.whc-place.is-active { background: color-mix(in srgb, var(--whc-gold) 12%, #fff); }
.whc-place.is-active::before { transform: scaleY(1); }
.whc-place:focus-visible { outline: 2px solid var(--whc-gold); outline-offset: -2px; }
.whc-places li + li .whc-place { border-top: 1px solid rgba(28, 26, 21, .06); }
.whc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.whc-pmeta { font-size: 12px; font-weight: 700; color: var(--whc-muted); white-space: nowrap; }
.whc-explore-map { position: relative; display: flex; flex-direction: column; min-height: 0; }
.whc-map { flex: 1; min-height: 0; background: #ece6da; z-index: 0; }
.whc-map .leaflet-tile-pane { filter: saturate(.7) sepia(.12) brightness(1.02); }
.whc-explore.no-map .whc-map::after { content: 'Map could not load'; display: grid; place-items: center; height: 100%; color: var(--whc-muted); font-size: 13px; }
.whc-map-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--whc-line); background: #fff; flex-wrap: wrap; }
.whc-map-foot b { display: block; font-family: var(--whc-serif); font-size: 1.05rem; }
.whc-map-foot span { font-size: 12.5px; color: var(--whc-muted); }
.whc-map-foot .whc-btn { padding: 11px 18px; }

/* Markers (Leaflet divIcons) */
.whc-mk { background: none; border: 0; }
.whc-mk-pin {
    position: absolute; left: 3px; top: 0; width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
    background: var(--c); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); transition: transform .3s var(--whc-ease);
}
.whc-mk.is-active .whc-mk-pin { transform: rotate(-45deg) scale(1.35); }
.whc-mk-tag {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 8px; border-radius: 6px;
    background: #fff; border: 1px solid rgba(28, 26, 21, .15); font: 700 11px/1.2 'Montserrat', sans-serif; color: #1C1A15; box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.whc-mk.is-active .whc-mk-tag { background: #1C1A15; color: #fff; border-color: #1C1A15; }
.whc-mk-home { background: none; border: 0; }
.whc-home-pin {
    position: absolute; left: -16px; top: -40px; width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
    background: var(--gold-dark, #A8893F); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}
.whc-home-pin::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.whc-home-tag {
    position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 6px;
    background: var(--gold-dark, #A8893F); color: #fff; font: 700 12px/1 'Montserrat', sans-serif; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.whc-pop .leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.whc-pop .leaflet-popup-content { margin: 12px 16px; font-family: 'Montserrat', sans-serif; }
.whc-pop b { display: block; font-size: 14px; color: #1C1A15; margin-bottom: 3px; }
.whc-pop span { font-size: 12px; color: #6E675C; }

/* ── Lightbox ───────────────────────────────────────────────────── */
.whc-lightbox {
    width: min(1100px, 100vw - 24px); max-width: none; padding: 0; border: 0; border-radius: 18px; background: #000; overflow: visible;
}
.whc-lightbox::backdrop { background: rgba(8, 7, 6, .88); backdrop-filter: blur(4px); }
.whc-lightbox[open] { animation: whc-pop .45s var(--whc-ease); }
@keyframes whc-pop { from { opacity: 0; transform: scale(.94); } }
.whc-lightbox video { width: 100%; max-height: 82vh; display: block; border-radius: 18px; background: #000; }
.whc-lightbox .whc-round { position: absolute; top: -52px; right: 0; }
.whc-lightbox-cap { position: absolute; left: 0; top: -46px; color: #fff; font-family: var(--whc-serif); font-size: 1.2rem; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .whc-faq-grid { grid-template-columns: 1fr; }
    .whc-faq-side { position: static; }
    .whc-cards > .whc-card { flex-basis: calc((100% - var(--whc-gap)) / 2); }
    .whc-explore { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
    .whc-explore-map { order: -1; }
    .whc-map { height: clamp(380px, 60vh, 520px); flex: none; }
    .whc-explore-list { border-right: 0; border-top: 1px solid var(--whc-line); }
    .whc-places { max-height: 360px; }
}
@media (max-width: 767px) {
    .whc-cards { --whc-gap: 14px; }
    .whc-cards > .whc-card { flex-basis: 100%; }
    .whc-pager { margin-top: 24px; }
    .whc-stage { aspect-ratio: 4 / 5; }
    .whc-stage-cap { flex-direction: column; align-items: flex-start; }
    .whc-ans div { padding: 0 8px 22px 40px; }
    .whc-qa summary { gap: 12px; padding: 20px 2px; }
    .whc-hero-ctrl { bottom: 14px; }
    .whc-bar { width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .whc-reveal { opacity: 1; transform: none; transition: none; }
    .whc-slide img, .whc-slide.is-active img { transform: none; transition: none; }
    .whc-slide, .whc-hero, .whc-stage video { transition-duration: .01s; }
    .whc-live::before { animation: none; }
    .whc-hl, .whc-hl img { transition: none; }
}

/* ── Plan card with the walkthrough playing behind its text ────────── */
#configuration .plan-card.whc-has-bg { background: #0c0b09; border-color: rgba(201, 169, 97, .35); isolation: isolate; min-height: 460px; }
#configuration .plan-card.whc-has-bg > *:not(.whc-plan-bg) { position: relative; z-index: 1; }
#configuration .plan-card.whc-has-bg::after { z-index: 1; }
.whc-plan-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.whc-plan-bg video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1.2s var(--whc-ease); }
#configuration .plan-card.whc-has-bg:hover .whc-plan-bg video { transform: scale(1.08); }
.whc-plan-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12, 11, 9, .35) 0%, rgba(12, 11, 9, .5) 45%, rgba(12, 11, 9, .85) 100%);
}
/* Text on the video: always light, whatever the card's own theme. */
#configuration .plan-card.whc-has-bg .plan-name,
#configuration .plan-card.whc-has-bg .plan-unit,
#configuration .plan-card.whc-has-bg .plan-points li,
#configuration .plan-card.whc-has-bg .plan-desc { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
#configuration .plan-card.whc-has-bg .plan-unit small { color: rgba(255, 255, 255, .75); }
#configuration .plan-card.whc-has-bg .plan-num { color: #E5C989; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
#configuration .plan-card.whc-has-bg .plan-points i,
#configuration .plan-card.whc-has-bg .plan-type { color: #E5C989; }
#configuration .plan-card.whc-has-bg .plan-area,
#configuration .plan-card.whc-has-bg .plan-type { border-color: rgba(229, 201, 137, .3); }
#configuration .plan-card.whc-has-bg .plan-tag { color: #E5C989; background: rgba(12, 11, 9, .45); border-color: rgba(229, 201, 137, .4); backdrop-filter: blur(6px); }
.whc-plan-watch {
    position: absolute !important; top: 18px; right: 18px; z-index: 2 !important;
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35); background: rgba(12, 11, 9, .45); backdrop-filter: blur(8px);
    color: #fff; font: 700 11px/1 'Montserrat', sans-serif; letter-spacing: 1.4px; text-transform: uppercase; cursor: pointer;
    transition: background .3s, border-color .3s, transform .3s;
}
.whc-plan-watch:hover { background: rgba(201, 169, 97, .85); border-color: transparent; transform: scale(1.04); }
.whc-plan-watch:focus-visible { outline: 2px solid var(--whc-gold); outline-offset: 3px; }
.whc-plan-watch-ico { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #0c0b09; display: grid; place-items: center; }
.whc-plan-watch-ico svg { width: 11px; height: 11px; fill: currentColor; margin-left: 2px; }
@media (max-width: 767px) { #configuration .plan-card.whc-has-bg { min-height: 420px; } .whc-plan-watch { top: 14px; right: 14px; } }
@media (prefers-reduced-motion: reduce) { .whc-plan-bg video { transition: none; } }
/* ── Amenities: expanding image panels ─────────────────────────────── */
.whc-amen { background: var(--whc-paper); }
.whc-amen-panels { display: flex; gap: 14px; height: clamp(440px, 66vh, 660px); }
.whc-amen-panel {
    position: relative; flex: 1 1 0; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 22px; overflow: hidden;
    background: #1c1a15; color: #fff; text-align: center; cursor: pointer; isolation: isolate;
    font-family: var(--whc-sans); transition: flex-grow .85s var(--whc-ease), box-shadow .6s var(--whc-ease);
}
.whc-amen-panel.is-active { flex-grow: 5; cursor: zoom-in; box-shadow: 0 34px 70px -34px rgba(28, 26, 21, .6); }
.whc-amen-panel img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
    transform: scale(1.12); filter: saturate(.8) brightness(.85); transition: transform 1.6s var(--whc-ease), filter .8s var(--whc-ease);
}
.whc-amen-panel.is-active img { transform: scale(1); filter: none; }
.whc-amen-panel::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(12, 11, 9, 0) 38%, rgba(12, 11, 9, .55) 68%, rgba(12, 11, 9, .88) 100%);
}
.whc-amen-cap { position: absolute; left: 10px; right: 10px; bottom: 30px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.whc-amen-num {
    font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--whc-gold); line-height: 1;
    opacity: 0; transform: translateY(10px); transition: opacity .5s var(--whc-ease) .2s, transform .5s var(--whc-ease) .2s;
}
.whc-amen-name {
    font-size: 15px; font-weight: 700; line-height: 1.25; text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
    overflow-wrap: anywhere; transition: font-size .45s var(--whc-ease);
}
.whc-amen-panel.is-active .whc-amen-name { font-size: clamp(1.4rem, 2.3vw, 2.15rem); }
.whc-amen-line { width: 0; height: 2px; background: var(--whc-gold); transition: width .6s var(--whc-ease) .25s; }
.whc-amen-panel.is-active .whc-amen-num { opacity: 1; transform: none; }
.whc-amen-panel.is-active .whc-amen-line { width: 52px; }
.whc-amen-zoom {
    position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(12, 11, 9, .35); border: 1px solid rgba(255, 255, 255, .4);
    backdrop-filter: blur(6px); opacity: 0; transform: scale(.8); transition: opacity .4s, transform .4s, background .3s;
}
.whc-amen-zoom svg { width: 15px; height: 15px; fill: #fff; }
.whc-amen-panel.is-active .whc-amen-zoom { opacity: 1; transform: none; }
.whc-amen-panel.is-active:hover .whc-amen-zoom { background: var(--whc-gold); border-color: var(--whc-gold); }
.whc-amen-panel:focus-visible { outline: 3px solid var(--whc-gold); outline-offset: 3px; }
.whc-amen-note { text-align: center; margin: 22px 0 0; font-size: 12px; font-style: italic; color: var(--whc-muted); }

/* Full-screen image viewer (same frame as the video lightbox) */
.whc-imgbox img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 18px; background: #000; object-fit: contain; }
.whc-imgbox .whc-imgbox-close { position: absolute; top: -52px; right: 0; }
.whc-imgbox .whc-imgbox-prev, .whc-imgbox .whc-imgbox-next { position: absolute; top: 50%; margin-top: -22px; }
.whc-imgbox .whc-imgbox-prev { left: 14px; }
.whc-imgbox .whc-imgbox-prev svg { transform: rotate(180deg); }
.whc-imgbox .whc-imgbox-next { right: 14px; }
.whc-imgbox [hidden] { display: none; }

@media (max-width: 991px) and (min-width: 768px) {
    .whc-amen-panels { gap: 10px; height: 460px; }
    .whc-amen-name { font-size: 13px; }
}
/* Phones: a swipeable row of full cards, every caption shown. */
@media (max-width: 767px) {
    .whc-amen-panels {
        height: auto; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: -16px; padding: 4px 16px 12px;
    }
    .whc-amen-panels::-webkit-scrollbar { display: none; }
    .whc-amen-panel, .whc-amen-panel.is-active { flex: 0 0 82%; height: 400px; scroll-snap-align: center; cursor: pointer; }
    .whc-amen-panel img { transform: none; filter: none; }
    .whc-amen-panel .whc-amen-num { opacity: 1; transform: none; }
    .whc-amen-panel .whc-amen-name, .whc-amen-panel.is-active .whc-amen-name { font-size: 1.35rem; }
    .whc-amen-panel .whc-amen-line { width: 44px; }
    .whc-amen-panel .whc-amen-zoom { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .whc-amen-panel, .whc-amen-panel img, .whc-amen-num, .whc-amen-line, .whc-amen-name { transition: none; }
}

/* Many amenities (7+): the narrow strips carry their name vertically, unbroken. */
@media (min-width: 768px) {
    .whc-amen-panels.is-many .whc-amen-panel:not(.is-active) .whc-amen-name {
        writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
        max-height: 340px; overflow: hidden; text-overflow: ellipsis; font-size: 15px; letter-spacing: .3px;
    }
    .whc-amen-panels.is-many .whc-amen-panel:not(.is-active) .whc-amen-cap { bottom: 26px; }
}
