/* =====================================================================
   LooseMap — /explore page
   Loaded together with home-sections.css (shared .eh-sec-head / .eh-eyebrow)
   ===================================================================== */

/* ---------- Hero ---------- */
.ex-hero {
    position: relative; color: #fff; padding: 3.25rem 0 2.75rem;
    background: linear-gradient(180deg, rgba(10,15,20,.62), rgba(10,15,20,.9)), var(--ex-hero-img, none) center/cover no-repeat, var(--eh-ink);
}
.ex-crumbs { font-size: .8rem; opacity: .8; margin-bottom: 1rem; }
.ex-crumbs a { color: #fff; text-decoration: none; }
.ex-crumbs a:hover { color: var(--eh-gold); }
.ex-crumbs span { margin: 0 .4rem; opacity: .6; }
.ex-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; margin-bottom: .4rem; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.35); }
.ex-hero p.lead { font-size: clamp(.95rem, 2vw, 1.15rem); opacity: .9; margin-bottom: 1.5rem; max-width: 560px; }

.ex-stats { display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem; margin-bottom: 1.75rem; }
.ex-stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.9rem; line-height: 1; color: var(--eh-gold); }
.ex-stat span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

.ex-search { display: flex; align-items: center; background: #fff; border-radius: 50px; padding: 6px 6px 6px 18px; max-width: 520px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.ex-search i { color: #8a94a3; }
.ex-search input { flex: 1; border: none; outline: none; background: transparent; padding: .5rem .75rem; font-size: .95rem; min-width: 0; color: var(--eh-ink); }
.ex-search button { border: none; background: transparent; color: #8a94a3; width: 34px; height: 34px; border-radius: 50%; display: none; }
.ex-search button.is-visible { display: inline-flex; align-items: center; justify-content: center; }
.ex-search button:hover { background: #f1f3f5; color: var(--eh-ink); }

/* ---------- Sticky anchor chips ---------- */
.ex-nav { position: sticky; top: 57px; z-index: 30; background: rgba(250,247,242,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(20,32,43,.08); }
.ex-nav .container { display: flex; gap: .5rem; overflow-x: auto; padding-top: .7rem; padding-bottom: .7rem; scrollbar-width: none; }
.ex-nav .container::-webkit-scrollbar { display: none; }
.ex-chip { white-space: nowrap; text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--eh-ink); padding: .4rem 1rem; border-radius: 50px; border: 1px solid rgba(20,32,43,.15); transition: all .2s ease; }
.ex-chip:hover { border-color: var(--eh-gold); color: var(--eh-ink); }
.ex-chip.is-active { background: var(--eh-ink); border-color: var(--eh-ink); color: #fff; }

.ex-section { padding: 3.5rem 0; scroll-margin-top: 110px; }

/* ---------- States bento ---------- */
.ex-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.ex-tile {
    position: relative; display: block; overflow: hidden; border-radius: 20px; color: #fff; text-decoration: none; background: #2d4739;
    transition: transform .3s ease, box-shadow .3s ease;
}
.ex-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(20,32,43,.22); color: #fff; }
.ex-tile.is-lead { grid-column: span 2; grid-row: span 2; }
.ex-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ex-tile:hover img { transform: scale(1.06); }
.ex-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10,15,20,.88) 0%, rgba(10,15,20,.2) 55%, rgba(10,15,20,.05) 100%); }
.ex-tile-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); border-radius: 50px; padding: .2rem .7rem; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.ex-tile-body { position: absolute; z-index: 2; left: 18px; right: 60px; bottom: 18px; }
.ex-tile-meta { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--eh-gold); font-weight: 700; margin-bottom: .25rem; }
.ex-tile h3 { font-size: 1.3rem; margin: 0; color: #fff; }
.ex-tile.is-lead h3 { font-size: 2.2rem; }
.ex-tile-desc { font-size: .85rem; opacity: 0; max-height: 0; overflow: hidden; margin: 0; transition: opacity .3s ease, max-height .35s ease, margin .3s ease; }
.ex-tile:hover .ex-tile-desc { opacity: .9; max-height: 5em; margin-top: .45rem; }
.ex-tile.is-lead .ex-tile-desc { opacity: .9; max-height: 6em; margin-top: .5rem; font-size: .95rem; }
.ex-tile-arrow { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--eh-gold); color: var(--eh-ink); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.ex-tile:hover .ex-tile-arrow { transform: rotate(45deg); }

.ex-hidden { display: none !important; }
.ex-empty { display: none; text-align: center; color: #6b7280; padding: 2rem 0; }
.ex-empty.is-visible { display: block; }

/* coming soon */
.ex-soon { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px dashed rgba(20,32,43,.2); }
.ex-soon h6 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #8a94a3; font-weight: 700; margin-bottom: .8rem; }
.ex-soon-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.ex-soon-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .9rem; border-radius: 50px; background: rgba(20,32,43,.05); color: #6b7280; font-size: .85rem; }
.ex-soon-pill em { font-style: normal; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: #b07d1a; font-weight: 700; }

/* ---------- Discover by type ---------- */
.ex-band-light { background: #fff; }
.ex-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ex-type {
    position: relative; display: block; text-decoration: none; color: var(--eh-ink);
    background: var(--eh-cream); border: 1px solid rgba(20,32,43,.08); border-radius: 20px; padding: 1.5rem 1.4rem 1.3rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.ex-type:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,32,43,.12); border-color: var(--eh-gold); color: var(--eh-ink); }
.ex-type-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--eh-ink); color: var(--eh-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.ex-type h3 { font-size: 1.15rem; margin: 0 0 .15rem; }
.ex-type small { color: #6b7280; }
.ex-type-arrow { position: absolute; top: 1.3rem; right: 1.3rem; color: #9aa4b1; transition: transform .25s ease, color .25s ease; }
a.ex-type:hover .ex-type-arrow { transform: translate(3px, -3px); color: var(--eh-gold); }

/* ---------- Browse by category (directory) ---------- */
.ex-band-dark { background: var(--eh-ink); color: #fff; }
.ex-band-dark .eh-section-title { color: #fff; }
.ex-band-dark .eh-section-sub { color: #9fb0bf; }
.ex-dir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ex-dir-col { padding: 0 1.5rem; border-left: 1px solid rgba(255,255,255,.12); }
.ex-dir-col:first-child { border-left: none; padding-left: 0; }
.ex-dir-col h3 { font-size: 1.2rem; margin: 0 0 1rem; }
.ex-dir-col h3 a { color: #fff; text-decoration: none; }
.ex-dir-col h3 a:hover { color: var(--eh-gold); }
.ex-dir-col ul { list-style: none; margin: 0; padding: 0; }
.ex-dir-col li a { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; color: #cbd5df; text-decoration: none; font-size: .92rem; border-bottom: 1px solid rgba(255,255,255,.06); transition: color .15s ease, padding-left .15s ease; }
.ex-dir-col li a i { opacity: 0; transition: opacity .15s ease; font-size: .8rem; }
.ex-dir-col li a:hover { color: var(--eh-gold); padding-left: 4px; }
.ex-dir-col li a:hover i { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ex-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .ex-tile.is-lead { grid-column: span 2; grid-row: span 1; }
    .ex-tile.is-lead h3 { font-size: 1.7rem; }
    .ex-types { grid-template-columns: repeat(2, 1fr); }
    .ex-dir { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; }
    .ex-dir-col:nth-child(odd) { border-left: none; padding-left: 0; }
}
@media (max-width: 575.98px) {
    .ex-hero { padding: 2.25rem 0 2rem; }
    .ex-stats { gap: 1.25rem 1.75rem; }
    .ex-section { padding: 2.5rem 0; }
    .ex-bento { grid-auto-rows: 190px; gap: 12px; }
    .ex-tile h3 { font-size: 1.05rem; }
    .ex-tile-body { right: 52px; left: 14px; bottom: 14px; }
    .ex-tile-arrow { width: 34px; height: 34px; right: 12px; bottom: 12px; }
    .ex-tile-desc { display: none; }
    .ex-tile.is-lead .ex-tile-desc { display: block; }
    .ex-types { gap: 12px; }
    .ex-type { padding: 1.1rem; }
    .ex-dir { grid-template-columns: 1fr; }
    .ex-dir-col, .ex-dir-col:nth-child(odd) { border-left: none; padding: 0; }
}