/* =====================================================================
   The Cigar Lounge
   ---------------------------------------------------------------------
   The only DARK page in the facility set. The lounge is a windowless room
   inside the Courtroom Bar, so the page is lit the way the room is —
   low light, brass, and one warm pool of light per section — rather than
   the cream ground the Spa and Pool pages use.

   Everything is namespaced .cl-* so nothing here can leak onto another
   facility page. The brand accent (--primary-color) is kept; only the
   ground and the text colours are inverted.
   ===================================================================== */
:root {
    --cl-night:   #14110f;   /* page ground */
    --cl-panel:   #1c1815;   /* cards, rails */
    --cl-raised:  #241f1a;   /* hover / raised state */
    --cl-ember:   #d08a4e;   /* warmer than the brand tan, used sparingly */
    --cl-ink:     #f3ece3;   /* headings on dark */
    --cl-muted:   rgba(243, 236, 227, 0.62);
    --cl-hair:    rgba(196, 156, 116, 0.22);
}

/* ---------- Shared type ---------- */
.cl-eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.9rem;
}

.cl-section-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: var(--cl-ink);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin: 0 0 1.25rem;
}

.cl-section-sub {
    color: var(--cl-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 620px;
    margin: 0;
}

/* ---------- Scroll reveal ---------- */
.cl-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .cl-reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   Hero — the Pool's and Courtroom Bar's banner: full-bleed slideshow,
   scroll cue on the photograph, breadcrumbs under an overlapping card
   ===================================================================== */
.cl-edge {
    position: relative;
    background: var(--cl-night);
    padding: 0 0 clamp(4rem, 9vw, 7rem);
    /* hero-about-us-style.css gives the bare header selector min-height 100vh. */
    min-height: 0;
    isolation: isolate;
    --cl-card-overlap: 5rem;
    --cl-crumb-h: 3rem;
}

.cl-edge .breadcrumbs {
    position: relative;
    z-index: 1;
    min-height: var(--cl-crumb-h);
    display: flex;
    align-items: center;
}
.cl-edge .breadcrumbs_inner { width: 100%; padding-block: 0; }

.cl-edge_media {
    position: relative;
    margin: 0;
    height: 88vh;
    min-height: 560px;
    overflow: hidden;
}

/* The global sheet sizes and darkens these for a 100vh header; scope it back. */
.cl-edge .header_bg_swiper,
.cl-edge .header_bg_swiper .swiper-slide { width: 100%; height: 100%; }
.cl-edge .header_bg_swiper { position: absolute; inset: 0; }
.cl-edge .header_bg_swiper img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block !important;
    filter: none;
}

/* The card is the one lit surface on a dark page, so it keeps the panel
   tone rather than going white like the Pool's. */
.cl-edge_card {
    position: relative;
    z-index: 2;
    max-width: min(660px, calc(100% - 2.5rem));
    margin: calc((var(--cl-card-overlap) + var(--cl-crumb-h)) * -1) auto 0;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--cl-panel);
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    text-align: center;
    animation: cl-rise 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cl-edge_title {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    color: var(--cl-ink);
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.08;
    margin: 0 0 1.4rem;
}

.cl-edge_card p,
.cl-edge_copy { color: var(--cl-muted); line-height: 1.85; margin: 0 0 1.75rem; }
.cl-edge_copy p { margin: 0 0 1.1rem; }
.cl-edge_copy p:last-child { margin-bottom: 0; }

.cl-edge_scroll {
    position: absolute;
    left: 50%;
    bottom: calc(var(--cl-card-overlap) + 2.5rem);
    z-index: 3;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: var(--white);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    animation: cl-bob 2.4s ease-in-out infinite;
}
.cl-edge_scroll:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--cl-night); }

@media (prefers-reduced-motion: reduce) {
    .cl-edge_scroll { animation: none; transform: translateX(-50%); }
    .cl-edge_card { animation: none; }
}

/* Still used by the CTA section further down the page. */
.cl-hero_eyebrow {
    display: inline-block;
    font-size: 0.86rem;
    letter-spacing: 0.44em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

@keyframes cl-rise {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: none; }
}
@keyframes cl-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* =====================================================================
   Breadcrumbs — dark variant, since the page below the hero stays dark
   ===================================================================== */
.breadcrumbs {
    background: var(--cl-panel);
    border-top: 1px solid var(--cl-hair);
    border-bottom: 1px solid var(--cl-hair);
}
.breadcrumbs_inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
    color: var(--cl-muted);
}
.breadcrumbs a { color: var(--cl-ink); font-weight: 600; }
.breadcrumbs a:hover { color: var(--primary-color); }
.breadcrumbs .current { color: var(--cl-muted); }

/* =====================================================================
   Hours + House Rules
   ===================================================================== */
.cl-info {
    background: var(--cl-night);
    padding: clamp(4rem, 9vw, 7rem) 1.25rem;
}

.cl-info_inner {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.cl-info_card {
    background: var(--cl-panel);
    border: 1px solid var(--cl-hair);
    border-top: 2px solid var(--primary-color);
    padding: 2.25rem 2rem 2rem;
    border-radius: 2px;
    transition: background 0.4s ease, transform 0.4s ease;
}
.cl-info_card:hover { background: var(--cl-raised); transform: translateY(-3px); }

.cl-info_title {
    font-size: 1.4rem;
    color: var(--cl-ink);
    font-weight: 500;
    margin: 0 0 1.5rem;
}

.cl-info_list { padding: 0; margin: 0; }
.cl-info_list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(243, 236, 227, 0.08);
}
.cl-info_list li:last-child { border-bottom: none; }

.cl-info_day  { color: var(--cl-ink); font-size: 0.95rem; }
.cl-info_time { color: var(--cl-muted); font-size: 0.9rem; text-align: right; }

/* .cl-chips is used by the hero card. */
.cl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.8rem;
    padding: 0;
    margin: 0;
}
.cl-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.05rem;
    border: 1px solid var(--cl-hair);
    border-radius: 999px;
    background: var(--cl-night);
    color: var(--cl-ink);
    font-size: 0.84rem;
    letter-spacing: 0.05em;
    transition: 0.3s;
}
.cl-chips li:hover {
    border-color: var(--primary-color);
    background: var(--cl-raised);
    transform: translateY(-2px);
}
.cl-chips i { color: var(--primary-color); font-size: 1rem; }

/* =====================================================================
   The Room — a horizontal rail of tall plates with the caption set over
   the image. Scroll-snaps, and the arrows step it one plate at a time.
   ===================================================================== */
.cl-room {
    background: var(--cl-night);
    padding: clamp(4rem, 9vw, 7rem) 0;
    overflow: hidden;
}

.cl-room_head {
    max-width: var(--max-width);
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.cl-room_nav { display: flex; gap: 0.6rem; }

.cl-room_arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--cl-hair);
    background: transparent;
    color: var(--cl-ink);
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
}
.cl-room_arrow:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--cl-night);
}
.cl-room_arrow:disabled { opacity: 0.3; cursor: default; }

.cl-room_rail {
    display: flex;
    gap: clamp(1rem, 2vw, 1.75rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 max(1.25rem, calc((100vw - var(--max-width)) / 2)) 1rem;
    scrollbar-width: none;
}
.cl-room_rail::-webkit-scrollbar { display: none; }

.cl-plate {
    position: relative;
    flex: 0 0 clamp(260px, 32vw, 400px);
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 3px;
    isolation: isolate;
    background: var(--cl-panel);
}

.cl-plate_media { position: absolute; inset: 0; margin: 0; }
.cl-plate_media img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block !important;
    filter: brightness(0.62) saturate(0.88);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
.cl-plate:hover .cl-plate_media img { transform: scale(1.06); filter: brightness(0.82) saturate(1); }

.cl-plate_body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 1.75rem 1.6rem 1.6rem;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 17, 15, 0.86) 58%, rgba(20, 17, 15, 0.96) 100%);
}

/* Over a photograph the brand tan loses too much contrast, so the plate
   eyebrow is lifted a shade and given a shadow the flat sections do not need. */
.cl-plate_body .cl-eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.68rem;
    color: var(--cl-ember);
    text-shadow: 0 1px 10px rgba(20, 17, 15, 0.9);
}

.cl-plate_title {
    font-size: 1.2rem;
    color: var(--cl-ink);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 0 0.55rem;
    text-shadow: 0 1px 12px rgba(20, 17, 15, 0.85);
}

/* The paragraph stays clipped until hover so the rail reads as pictures
   first and captions second. */
.cl-plate_body p {
    color: var(--cl-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.55s ease, opacity 0.45s ease;
}
.cl-plate:hover .cl-plate_body p,
.cl-plate:focus-within .cl-plate_body p { max-height: 10rem; opacity: 1; }

/* =====================================================================
   CTA
   ===================================================================== */
.cl-cta {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 440px;
    padding: clamp(4rem, 9vw, 7rem) 1.25rem;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    color: var(--cl-ink);
}

.cl-cta_media { position: absolute; inset: 0; z-index: 0; }
.cl-cta_media img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
}

.cl-cta_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 17, 15, 0.92) 0%, rgba(20, 17, 15, 0.74) 100%);
    transition: opacity 0.5s ease;
}
.cl-cta:hover .cl-cta_overlay { opacity: 0.55; }

.cl-cta_content { position: relative; z-index: 2; max-width: 640px; }

.cl-cta_title {
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    color: var(--cl-ink);
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin: 0 0 1.1rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.cl-cta_text {
    color: rgba(243, 236, 227, 0.85);
    line-height: 1.8;
    margin: 0 0 2.2rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.cl-cta_actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cl-cta_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.95rem 2.6rem;
    border: 1px solid var(--primary-color);
    border-radius: 2px;
    color: var(--cl-ink);
    font-size: 0.85rem;
    font-family: inherit;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: rgba(20, 17, 15, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    transition: 0.35s;
}
.cl-cta_btn:hover { background: var(--primary-color); color: var(--cl-night); }

/* The second button is quieter than the first — the enquiry is the priority. */
.cl-cta_btn--ghost {
    border-color: rgba(243, 236, 227, 0.55);
    background: transparent;
}
.cl-cta_btn--ghost:hover {
    background: rgba(243, 236, 227, 0.14);
    border-color: var(--cl-ink);
    color: var(--cl-ink);
}

.cl-cta_icon { font-size: 0.85rem; transition: transform 0.3s ease; }
.cl-cta_btn:hover .cl-cta_icon--arrow { transform: translateX(5px); }
.cl-expand_toggle_btn[aria-expanded="true"] .cl-cta_icon { transform: rotate(180deg); }

/* =====================================================================
   Collapsible section holding the service + the ledger
   ===================================================================== */
.cl-expansion {
    display: none;
    animation: cl-expand-in 0.5s ease;
}
.cl-expansion.open { display: block; }

@keyframes cl-expand-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   The Service — four steps read left to right, against the Spa's ritual
   which reads top to bottom. The hairline runs through the numerals.
   ===================================================================== */
.cl-service {
    background: var(--cl-panel);
    border-top: 1px solid var(--cl-hair);
    padding: clamp(4rem, 9vw, 7rem) 1.25rem;
}

.cl-service_inner { max-width: var(--max-width); margin: 0 auto; }

.cl-service_head {
    max-width: 680px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
    text-align: center;
}
.cl-service_head .cl-section-sub { margin: 0 auto; }

.cl-service_steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1.75rem, 3vw, 2.5rem);
    padding: 0;
    margin: 0;
    /* style.css only clears markers on ul, so an ol keeps its 1. 2. 3. */
    list-style: none;
}

/* The rule sits behind the numeral row rather than beside the list. */
.cl-service_steps::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--cl-hair) 8%, var(--cl-hair) 92%, transparent 100%);
}

.cl-service_step { position: relative; }

.cl-service_index {
    position: relative;
    z-index: 1;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cl-panel);
    border: 1px solid rgba(196, 156, 116, 0.55);
    color: var(--primary-color);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.cl-service_step:hover .cl-service_index {
    background: var(--primary-color);
    color: var(--cl-night);
    transform: scale(1.06);
}

.cl-service_body h3 {
    font-size: 1.2rem;
    color: var(--cl-ink);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 0 0.7rem;
}
.cl-service_body p {
    color: var(--cl-muted);
    font-size: 0.93rem;
    line-height: 1.8;
    margin: 0;
}

/* =====================================================================
   The Ledger — the humidor list, set as a register rather than a menu
   ===================================================================== */
.cl-ledger {
    background: var(--cl-night);
    padding: clamp(4rem, 9vw, 7rem) 1.25rem;
}

.cl-ledger_inner { max-width: var(--max-width); margin: 0 auto; }

.cl-ledger_head {
    max-width: 680px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}
.cl-ledger_head .cl-section-sub { margin: 0 auto; }

.cl-ledger_groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
}

.cl-ledger_group_title {
    font-size: 1.05rem;
    color: var(--cl-ink);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}

.cl-ledger_group_sub {
    color: var(--cl-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.cl-ledger_group_rule {
    display: block;
    height: 1px;
    background: rgba(196, 156, 116, 0.45);
    margin-bottom: 0.5rem;
}

.cl-ledger_list { padding: 0; margin: 0; list-style: none; }

.cl-ledger_list li {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(243, 236, 227, 0.08);
}
.cl-ledger_list li:last-child { border-bottom: none; }

.cl-ledger_row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.cl-ledger_name {
    color: var(--cl-ink);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.cl-ledger_origin {
    flex: 0 0 auto;
    color: var(--primary-color);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: right;
}

.cl-ledger_meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
}

.cl-ledger_vitola {
    color: var(--cl-muted);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

/* Strength as five dots — a figure without publishing a score. */
.cl-strength {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.cl-strength_label {
    color: rgba(243, 236, 227, 0.42);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-right: 0.15rem;
}
.cl-strength_dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid rgba(196, 156, 116, 0.55);
}
.cl-strength_dot.is-filled { background: var(--cl-ember); border-color: var(--cl-ember); }

.cl-ledger_list p {
    color: var(--cl-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
    max-width: 48ch;
}

.cl-ledger_note {
    max-width: 680px;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
    text-align: center;
    color: rgba(243, 236, 227, 0.48);
    font-size: 0.85rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
}

@media (max-width: 640px) {
    .cl-edge_media { height: 78vh; min-height: 460px; }
    .cl-edge { --cl-card-overlap: 2.5rem; }
    .cl-cta_actions { flex-direction: column; align-items: stretch; }
    .cl-cta_btn { width: 100%; }
    .cl-room_head { align-items: flex-start; }
    .cl-plate { flex-basis: 78vw; aspect-ratio: 4 / 5; }
    /* No hover on touch, so the captions are simply always open. */
    .cl-plate_body p { max-height: 10rem; opacity: 1; }
    .cl-service_steps::before { display: none; }
    .cl-info_list li, .cl-ledger_row { flex-direction: column; gap: 0.25rem; align-items: flex-start; }
    .cl-info_time, .cl-ledger_origin { text-align: left; }
}
