:root {
    --ink: #0e1118;
    --ink-soft: #1d2230;
    --paper: #f7f6f1;
    --accent: #7CE85F;       /* GTA green */
    --accent-deep: #2dbd1e;
    --hairline: rgba(255,255,255,0.22);
    --hairline-strong: rgba(255,255,255,0.45);
    --shadow-spec: 0 1px 0 rgba(255,255,255,0.55) inset, 0 -1px 0 rgba(255,255,255,0.08) inset;
    --shadow-card: 0 30px 60px -20px rgba(10, 18, 40, 0.35), 0 12px 24px -8px rgba(10, 18, 40, 0.18);
    --radius-pill: 999px;
    --radius-card: 28px;
    --radius-tile: 24px;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
  }

  /* ---------- AMBIENT BACKDROP ---------- */
  .backdrop {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background:
      radial-gradient(120% 90% at 50% 0%, #e7eef5 0%, transparent 60%),
      linear-gradient(180deg, #eef1f5 0%, #e6ebf1 100%);
  }
  .backdrop::before, .backdrop::after, .orb {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
  }
  /* one accent color + soft neutrals — much calmer */
  .backdrop::before {
    width: 720px; height: 720px;
    left: -160px; top: -200px;
    background: radial-gradient(circle, rgba(124, 232, 95, 0.45) 0%, rgba(124, 232, 95, 0) 65%);
    animation: drift-a 22s ease-in-out infinite;
  }
  .backdrop::after {
    width: 640px; height: 640px;
    right: -160px; top: 10%;
    background: radial-gradient(circle, rgba(160, 175, 200, 0.5) 0%, rgba(160, 175, 200, 0) 65%);
    animation: drift-b 26s ease-in-out infinite;
  }
  .orb-a {
    width: 600px; height: 600px;
    right: -180px; bottom: -200px;
    background: radial-gradient(circle, rgba(124, 232, 95, 0.35) 0%, rgba(124, 232, 95, 0) 60%);
    animation: drift-c 24s ease-in-out infinite;
  }
  /* orb-b and orb-c removed for performance */
  .orb-b, .orb-c { display: none; }

  /* dynamic, non-symmetric paths — feels alive, never settles */
  @keyframes drift-a {
    0%   { transform: translate3d(0,0,0)     scale(1); }
    50%  { transform: translate3d(120px, 140px, 0) scale(1.08); }
    100% { transform: translate3d(0,0,0)     scale(1); }
  }
  @keyframes drift-b {
    0%   { transform: translate3d(0,0,0)       scale(1); }
    50%  { transform: translate3d(-140px, 180px, 0) scale(1.12); }
    100% { transform: translate3d(0,0,0)       scale(1); }
  }
  @keyframes drift-c {
    0%   { transform: translate3d(0,0,0)        scale(1); }
    50%  { transform: translate3d(-160px, -200px, 0) scale(1.1); }
    100% { transform: translate3d(0,0,0)        scale(1); }
  }

  /* grain noise removed for performance */
  .backdrop .grain { display: none; }

  /* ---------- GLASS PRIMITIVE ---------- */
  .glass {
    position: relative;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.28) 100%);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
    backdrop-filter: blur(10px) saturate(1.4);
    border: 1px solid var(--hairline);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.65) inset,
      0 0 0 0.5px rgba(255,255,255,0.4) inset,
      0 18px 36px -18px rgba(20, 30, 60, 0.25),
      0 6px 12px -6px rgba(20, 30, 60, 0.12);
    border-radius: var(--radius-card);
    overflow: hidden;
  }
  /* refractive highlight sheen */
  .glass::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,0.45) 0%, transparent 50%);
    border-radius: inherit;
  }
  /* removed second ::after pseudo-layer for performance */
  .glass::after { display: none; }

  /* ---------- LAYOUT ---------- */
  .shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 32px 80px;
    position: relative;
  }

  /* ---------- TOP NAV ---------- */
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px 10px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 28px;
    position: sticky;
    top: 20px;
    z-index: 50;
    /* override .glass to be much more transparent — true liquid glass */
    background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
    -webkit-backdrop-filter: blur(14px) saturate(1.6);
    backdrop-filter: blur(14px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.32);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.7) inset,
      0 0 0 0.5px rgba(255,255,255,0.3) inset,
      0 8px 20px -8px rgba(20, 30, 60, 0.14);
  }
  .topbar::before {
    background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.4) 0%, transparent 60%);
  }
  .logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.04em;
    color: var(--ink);
  }
  .logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 10px;
    margin-right: 10px;
    background: linear-gradient(140deg, #1c1f28 0%, #2d3140 100%);
    color: var(--accent);
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 14px -4px rgba(0,0,0,0.25);
    position: relative;
  }
  .logo-mark::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1.5px solid var(--accent);
    border-radius: 7px;
    opacity: 0.55;
  }
  .logo .gt { color: var(--ink); }
  .logo .a { color: var(--accent-deep); }
  .logo .rest { color: var(--ink); }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav-link {
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background .25s ease, transform .25s ease;
    cursor: pointer;
  }
  .nav-link:hover { background: rgba(255,255,255,0.45); }
  .nav-link.active {
    background: rgba(255,255,255,0.6);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 0 0 1px rgba(255,255,255,0.5) inset;
  }
  .nav-search {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.6);
    cursor: pointer;
    margin-left: 4px;
  }
  .nav-search:hover { background: rgba(255,255,255,0.7); }

  /* ---------- HERO ---------- */
  .hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
    margin: 40px 8px 24px;
  }
  .crumbs {
    font-size: 13px;
    color: rgba(14, 17, 24, 0.55);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
  }
  .crumbs a { color: rgba(14, 17, 24, 0.65); text-decoration: none; }
  .crumbs a:hover { color: var(--ink); }
  .crumbs .sep { margin: 0 8px; opacity: 0.4; }

  .hero h1 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(48px, 7vw, 92px);
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--ink);
  }
  .hero h1 em {
    font-style: italic;
    color: rgba(14, 17, 24, 0.55);
  }
  .hero-meta {
    text-align: right;
    color: rgba(14, 17, 24, 0.6);
    font-size: 13px;
    line-height: 1.5;
  }
  .hero-meta .num {
    display: block;
    font-family: 'Instrument Serif', serif;
    font-size: 56px;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
  }

  /* view toggle */
  .view-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: var(--radius-pill);
    gap: 2px;
    margin-top: 8px;
  }
  .view-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: rgba(14, 17, 24, 0.7);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: all .25s ease;
  }
  .view-btn.active {
    background: rgba(255,255,255,0.75);
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 0 0 1px rgba(255,255,255,0.5);
  }
  .view-btn svg { width: 14px; height: 14px; }

  /* ---------- TOOLBAR ---------- */
  .toolbar {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 16px;
    align-items: center;
    margin: 28px 0 24px;
    padding: 12px;
    border-radius: var(--radius-pill);
  }

  .search-field {
    display: flex; align-items: center; gap: 12px;
    flex: 1;
    padding: 0 6px 0 22px;
    height: 52px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, inset 0 0 0 0.5px rgba(255,255,255,0.4);
    transition: background .25s ease, box-shadow .25s ease;
  }
  .search-field:focus-within {
    background: rgba(255,255,255,0.7);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 0 0 3px rgba(124, 232, 95, 0.25);
  }
  .search-field svg { width: 18px; height: 18px; color: rgba(14, 17, 24, 0.5); flex: 0 0 18px; }
  .search-field input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    height: 100%;
  }
  .search-field input::placeholder { color: rgba(14, 17, 24, 0.4); }
  .clear-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 0;
    background: rgba(14, 17, 24, 0.08);
    color: rgba(14, 17, 24, 0.6);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease;
  }
  .clear-btn:hover { background: rgba(14, 17, 24, 0.15); }
  .clear-btn svg { width: 12px; height: 12px; }

  .filter-pills {
    display: flex; gap: 6px; align-items: center;
    flex-wrap: nowrap;
    padding-right: 8px;
  }

  /* ---------- BODY GRID ---------- */
  .body-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  /* ---------- FILTER PANEL ---------- */
  .filter-panel {
    padding: 24px;
    position: sticky;
    top: 100px;
  }
  .filter-panel h3 {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.18em;
    font-weight: 600;
    color: rgba(14, 17, 24, 0.5);
    text-transform: uppercase;
  }
  .filter-panel .label-row {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 14px;
  }
  .clear-link {
    font-size: 11px;
    color: rgba(14, 17, 24, 0.55);
    background: none; border: 0; cursor: pointer; padding: 0;
    text-decoration: underline;
    text-decoration-color: rgba(14, 17, 24, 0.2);
  }
  .clear-link:hover { color: var(--ink); }

  .cat-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
  .cat {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: background .2s ease;
    user-select: none;
    position: relative;
  }
  .cat:hover { background: rgba(255,255,255,0.4); }
  .cat.checked { background: rgba(255,255,255,0.6); }
  .cat .check {
    width: 20px; height: 20px;
    border-radius: 7px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(14,17,24,0.18);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 20px;
    transition: all .2s ease;
  }
  .cat.checked .check {
    background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
    border-color: var(--accent-deep);
  }
  .cat .check svg { width: 12px; height: 12px; color: white; opacity: 0; transition: opacity .2s ease; }
  .cat.checked .check svg { opacity: 1; }
  .cat .name { font-size: 14px; font-weight: 500; flex: 1; }
  .cat .count {
    font-size: 11px;
    color: rgba(14, 17, 24, 0.45);
    font-variant-numeric: tabular-nums;
  }

  .slider-row { margin-bottom: 22px; }
  .slider-row .vals {
    display: flex; justify-content: space-between;
    font-size: 12px;
    color: rgba(14, 17, 24, 0.6);
    margin-top: 8px;
    font-variant-numeric: tabular-nums;
  }
  /* ---------- LIQUID GLASS SEGMENTED CONTROL (sliding capsule) ---------- */
  .lq-segment {
    position: relative;
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: rgba(14, 17, 24, 0.05);
    box-shadow:
      inset 0 1px 2px rgba(14, 17, 24, 0.07),
      inset 0 0 0 0.5px rgba(14, 17, 24, 0.05);
    align-items: stretch;
    isolation: isolate;
  }
  .lq-segment.full { width: 100%; }
  .lq-segment.full .lq-seg-btn { flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px; }
  .lq-segment.naked {
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .lq-segment.naked .lq-seg-indicator { top: 0; bottom: 0; }
  /* the sliding capsule — same look in every context */
  .lq-seg-indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    box-sizing: border-box;
    border-radius: 999px;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.45) 100%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(6px) saturate(1.5);
    backdrop-filter: blur(6px) saturate(1.5);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 -1px 0 rgba(255, 255, 255, 0.15) inset,
      0 0 0 0.5px rgba(255, 255, 255, 0.4) inset,
      0 6px 16px -4px rgba(14, 22, 50, 0.18),
      0 2px 4px -1px rgba(14, 22, 50, 0.10);
    transition:
      transform 520ms cubic-bezier(.34, 1.56, .64, 1),
      width 520ms cubic-bezier(.34, 1.56, .64, 1),
      opacity 200ms ease;
    pointer-events: none;
    z-index: 0;
  }
  /* glossy refraction strip on the capsule */
  .lq-seg-indicator::before {
    content: '';
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 50%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
  }
  .lq-seg-btn {
    position: relative;
    z-index: 1;
    background: transparent;
    border: 0;
    padding: 10px 18px;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: rgba(14, 17, 24, 0.6);
    cursor: pointer;
    transition: color 240ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    letter-spacing: 0.02em;
    line-height: 1;
  }
  .lq-seg-btn:hover { color: var(--ink); }
  .lq-seg-btn.on   { color: var(--ink); font-weight: 600; }
  .lq-seg-btn svg  { width: 14px; height: 14px; }
  .lq-slider {
    width: 100%;
    padding: 14px 0 10px;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }
  .lq-track {
    position: relative;
    height: 30px;
    border-radius: 999px;
    background: rgba(14, 17, 24, 0.06);
    box-shadow:
      inset 0 1px 2px rgba(14,17,24,0.10),
      inset 0 0 0 0.5px rgba(14,17,24,0.06),
      0 1px 0 rgba(255,255,255,0.7);
    cursor: pointer;
    overflow: visible;
  }
  /* tiny tick markings inside the track for a tactile feel */
  .lq-ticks {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    justify-content: space-between;
    pointer-events: none;
  }
  .lq-ticks i {
    width: 2px; height: 8px;
    border-radius: 2px;
    background: rgba(14,17,24,0.10);
  }
  /* the moving liquid capsule */
  .lq-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: var(--w, 64px);
    height: 34px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.35) 45%, rgba(255,255,255,0.6) 100%);
    -webkit-backdrop-filter: blur(6px) saturate(1.4);
    backdrop-filter: blur(6px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.95) inset,
      0 -1px 0 rgba(255,255,255,0.15) inset,
      0 0 0 0.5px rgba(255,255,255,0.5) inset,
      0 6px 16px -4px rgba(14, 22, 50, 0.30),
      0 2px 6px -1px rgba(14, 22, 50, 0.18);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    cursor: grab;
    transition:
      width 220ms cubic-bezier(.34,1.56,.64,1),
      height 220ms cubic-bezier(.34,1.56,.64,1),
      box-shadow 200ms ease,
      transform 220ms cubic-bezier(.34,1.56,.64,1);
  }
  .lq-thumb::before {
    /* specular highlight */
    content: '';
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 45%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    opacity: 0.9;
  }
  .lq-thumb::after {
    /* refraction edge */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,0.4) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
  }
  .lq-thumb.drag {
    cursor: grabbing;
    width: calc(var(--w, 64px) + 14px);
    height: 38px;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.95) inset,
      0 -1px 0 rgba(255,255,255,0.18) inset,
      0 0 0 0.5px rgba(255,255,255,0.6) inset,
      0 12px 24px -4px rgba(14, 22, 50, 0.40),
      0 4px 10px -1px rgba(14, 22, 50, 0.22),
      0 0 0 6px rgba(124, 232, 95, 0.18);
  }
  /* glowing trail under the thumb on drag */
  .lq-glow {
    position: absolute;
    top: 50%;
    height: 28px;
    transform: translateY(-50%);
    left: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(124, 232, 95, 0) 0%, rgba(124, 232, 95, 0.55) 60%, rgba(124, 232, 95, 0.85) 100%);
    filter: blur(8px);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
  }
  .lq-slider.dragging .lq-glow { opacity: 0.9; }
  /* a subtle filled portion (the "wet" part) */
  .lq-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(124,232,95,0.0) 0%, rgba(124,232,95,0.55) 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 0 12px rgba(124,232,95,0.35);
    pointer-events: none;
  }

  .seg {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border-radius: 999px;
    background: rgba(14, 17, 24, 0.06);
    width: 100%;
    margin-top: 4px;
  }
  .seg button {
    flex: 1;
    padding: 7px 10px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 12px;
    color: rgba(14,17,24,0.6);
    cursor: pointer;
    font-weight: 500;
  }
  .seg button.on {
    background: white;
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 0 0 1px rgba(255,255,255,0.5);
  }

  /* ---------- RESULTS ---------- */
  .results-meta {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 6px 16px;
    color: rgba(14, 17, 24, 0.65);
    font-size: 13px;
  }
  .results-meta strong { color: var(--ink); font-weight: 600; }
  .results-meta .sort {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.5);
    font-size: 12.5px;
    cursor: pointer;
  }
  .results-meta .sort svg { width: 12px; height: 12px; }

  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  @media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 720px) { .grid { grid-template-columns: 1fr; } .body-grid { grid-template-columns: 1fr; } }

  .card {
    border-radius: var(--radius-tile);
    padding: 0;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
    cursor: pointer;
    display: flex; flex-direction: column;
  }
  .card:hover {
    transform: translateY(-4px);
  }
  .card .media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--m1, #cfd6e0), var(--m2, #a5b1c2));
  }
  .card .media::after {
    /* shimmer placeholder */
    content: '';
    position: absolute; inset: 0;
    background: none;
    mix-blend-mode: overlay;
  }
  .card .media .glyph {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 64px;
  }
  .card .media .tag {
    position: absolute;
    top: 12px; left: 12px;
    padding: 5px 10px 5px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: inline-flex; align-items: center; gap: 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  }
  .card .media .tag .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: white;
    box-shadow: 0 0 6px rgba(255,255,255,0.8);
  }
  .card .media .bookmark {
    position: absolute;
    top: 10px; right: 10px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.5);
    display: inline-flex; align-items: center; justify-content: center;
    color: white;
    cursor: pointer;
    transition: background .2s ease;
  }
  .card .media .bookmark:hover { background: rgba(255,255,255,0.6); }
  .card .media .bookmark.on { background: white; color: var(--ink); }
  .card .media .bookmark svg { width: 14px; height: 14px; }

  .card .body {
    padding: 14px 16px 16px;
    background: rgba(255,255,255,0.82);
    border-top: 1px solid rgba(255,255,255,0.6);
  }
  .card .body .row1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 6px;}
  .card h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .card .price {
    font-family: 'Instrument Serif', serif;
    font-size: 22px;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .card .price small { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(14, 17, 24, 0.55); font-weight: 400; }
  .card .meta {
    display: flex; align-items: center; gap: 12px;
    font-size: 12px;
    color: rgba(14, 17, 24, 0.65);
  }
  .card .meta span { display: inline-flex; align-items: center; gap: 5px; }
  .card .meta svg { width: 11px; height: 11px; opacity: 0.7; }
  .card .meta .rating { color: var(--ink); font-weight: 500; }
  .card .meta .rating svg { color: #ffb028; opacity: 1; }

  /* card media color palette presets */
  .m-forest { --m1: #4a7c4a; --m2: #1f3a28; }
  .m-water  { --m1: #4c97c8; --m2: #1d3e6e; }
  .m-clay   { --m1: #e2935e; --m2: #a04d2b; }
  .m-coral  { --m1: #ff8a82; --m2: #c43864; }
  .m-violet { --m1: #9d7dff; --m2: #4b2da1; }
  .m-sun    { --m1: #ffcc66; --m2: #d97a1f; }
  .m-mint   { --m1: #88d8b0; --m2: #2e8b6b; }
  .m-night  { --m1: #4a5b80; --m2: #1a1f33; }
  .m-pink   { --m1: #ffa3c7; --m2: #c44a8f; }

  /* ---------- MAP VIEW ---------- */
  .map-view {
    height: 640px;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
  }
  .map-canvas {
    position: absolute; inset: 0;
    background:
      radial-gradient(60% 80% at 30% 40%, rgba(124, 232, 95, 0.15) 0%, transparent 60%),
      radial-gradient(40% 60% at 70% 70%, rgba(255, 180, 100, 0.2) 0%, transparent 60%),
      linear-gradient(180deg, #e9f1ea 0%, #d8e6dc 100%);
  }
  .map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; }
  .pin {
    position: absolute;
    width: 44px; height: 44px;
    transform: translate(-50%, -100%);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    color: white;
    font-size: 18px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
    box-shadow: 0 8px 18px -4px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.5) inset;
    transition: transform .25s ease;
    rotate: -45deg;
  }
  .pin > span { rotate: 45deg; }
  .pin:hover { transform: translate(-50%, -110%) scale(1.08); }
  .pin.alt { background: linear-gradient(140deg, #ff7a5b 0%, #c84a2b 100%); }
  .pin.alt2 { background: linear-gradient(140deg, #4c97c8 0%, #1d3e6e 100%); }

  /* ---------- FOOTER STRIP ---------- */
  .pagination {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin: 32px 0 0;
  }
  .pg {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--ink);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
  }
  .pg.on {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
  }
  .pg.next { width: auto; padding: 0 16px; gap: 6px; }

  
  /* perf: card + small repeated surfaces no longer use backdrop-filter */
  .card {
    position: relative;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.7) inset,
      0 12px 24px -12px rgba(20,30,60,0.18);
    border-radius: var(--radius-tile);
    overflow: hidden;
  }
  .stat {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 8px 16px -10px rgba(20,30,60,0.15);
  }
  /* remove the .glass ::before sheen from card since it's been stripped */

  /* utility */
  .row { display: flex; align-items: center; gap: 10px; }

  /* ============================================================ */
  /* ====================== HOME PAGE  ========================== */
  /* ============================================================ */

  .home {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 32px 100px;
    position: relative;
  }

  /* ---------- HOME HERO ---------- */
  .h-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
  }
  .h-eyebrow {
    display: inline-flex;
    align-items: center; gap: 10px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    margin-bottom: 28px;
    animation: pop-in 800ms cubic-bezier(.34,1.56,.64,1) both;
  }
  .h-eyebrow .pulse-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
    display: inline-flex; align-items: center; justify-content: center;
    color: white;
    position: relative;
    box-shadow: 0 0 0 0 rgba(124, 232, 95, 0.7);
    animation: pulse 2.4s ease-out infinite;
  }
  @keyframes pulse {
    0%   { box-shadow: 0 0 0 0   rgba(124, 232, 95, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(124, 232, 95, 0); }
    100% { box-shadow: 0 0 0 0   rgba(124, 232, 95, 0); }
  }
  @keyframes pop-in {
    0% { opacity: 0; transform: translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }

  .h-headline {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(64px, 11vw, 168px);
    line-height: 0.92;
    letter-spacing: -0.035em;
    margin: 0;
    color: var(--ink);
  }
  .h-headline em {
    font-style: italic;
    color: rgba(14, 17, 24, 0.5);
  }
  /* reveal one word/letter at a time */
  .reveal-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-right: 0.12em;
  }
  .reveal-word > span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise 900ms cubic-bezier(.2,.7,.2,1) forwards;
  }
  @keyframes rise {
    to { transform: translateY(0%); }
  }

  /* rotating word ("activity / adventure / community...") */
  .word-rotator {
    display: inline-flex;
    align-items: flex-start;
    height: 1.25em;
    line-height: 1.25em;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
    color: var(--accent-deep);
  }
  .word-rotator-stack {
    display: flex; flex-direction: column;
    animation: rotateWord 16s cubic-bezier(.7,0,.3,1) infinite;
  }
  .word-rotator-stack span {
    height: 1.25em; line-height: 1.25em;
    display: block;
    font-style: italic;
  }
  @keyframes rotateWord {
    0%,    10%   { transform: translateY(0); }
    12.5%, 22.5% { transform: translateY(-1.25em); }
    25%,   35%   { transform: translateY(-2.5em); }
    37.5%, 47.5% { transform: translateY(-3.75em); }
    50%,   60%   { transform: translateY(-5em); }
    62.5%, 72.5% { transform: translateY(-6.25em); }
    75%,   85%   { transform: translateY(-7.5em); }
    87.5%, 100%  { transform: translateY(-8.75em); }
  }

  .h-sub {
    max-width: 620px;
    margin: 26px auto 36px;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(14,17,24,0.65);
    animation: fade-up 1000ms ease 200ms both;
  }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ---------- CTA BUTTONS ---------- */
  .h-cta-row {
    display: inline-flex;
    gap: 12px;
    padding: 8px;
    border-radius: 999px;
    animation: fade-up 1100ms ease 320ms both;
  }
  .btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid rgba(255,255,255,0.65);
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.25) 100%);

    box-shadow:
      0 1px 0 rgba(255,255,255,0.95) inset,
      0 -1px 0 rgba(255,255,255,0.2) inset,
      0 10px 24px -6px rgba(14,22,50,0.22),
      0 2px 6px rgba(14,22,50,0.10);
    cursor: pointer;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
    position: relative;
    overflow: hidden;
  }
  .btn-glass:hover {
    transform: translateY(-2px);
    box-shadow:
      0 1px 0 rgba(255,255,255,1) inset,
      0 -1px 0 rgba(255,255,255,0.25) inset,
      0 16px 32px -6px rgba(14,22,50,0.28),
      0 4px 8px rgba(14,22,50,0.12);
  }
  .btn-glass.primary {
    background: linear-gradient(140deg, #15161c 0%, #2a2d3a 100%);
    color: white;
    border-color: rgba(255,255,255,0.18);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.25) inset,
      0 -1px 0 rgba(0,0,0,0.3) inset,
      0 10px 24px -6px rgba(14,22,50,0.45),
      0 2px 6px rgba(14,22,50,0.25);
  }
  .btn-glass.primary .arrow-bubble {
    background: var(--accent);
    color: var(--ink);
  }
  .btn-glass .arrow-bubble {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(14,17,24,0.85);
    color: white;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  }
  .btn-glass:hover .arrow-bubble {
    transform: rotate(-45deg);
  }
  .btn-glass .arrow-bubble svg { width: 12px; height: 12px; }
  /* shimmer that sweeps across on hover */
  .btn-glass .sweep {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .8s ease;
    pointer-events: none;
  }
  .btn-glass:hover .sweep { transform: translateX(100%); }

  /* ---------- FLOATING TILES ORBIT ---------- */
  .h-orbit {
    position: relative;
    height: 520px;
    margin: -40px auto 60px;
    max-width: 1100px;
  }
  .o-center {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    text-align: center;
    z-index: 2;
  }
  .o-center .o-big {
    font-family: 'Instrument Serif', serif;
    font-size: 96px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
    display: block;
    font-variant-numeric: tabular-nums;
  }
  .o-center .o-label {
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(14,17,24,0.55);
    font-weight: 500;
  }

  .o-tile {
    position: absolute;
    width: 132px; height: 132px;
    border-radius: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    color: white;
    font-size: 52px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.5) inset,
      0 -1px 0 rgba(0,0,0,0.10) inset,
      0 20px 40px -10px rgba(14,22,50,0.30),
      0 8px 16px -4px rgba(14,22,50,0.15);
    cursor: pointer;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
    overflow: hidden;
  }
  .o-tile::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,0.55) 0%, transparent 50%),
      repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 18px);
    mix-blend-mode: overlay;
    pointer-events: none;
  }
  .o-tile::after {
    /* glass label below tile */
    content: attr(data-label);
    position: absolute;
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%);
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.6);
    color: var(--ink);
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: none;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .25s ease, bottom .25s ease;
  }
  .o-tile:hover { transform: translate3d(0,-6px,0) scale(1.05) !important; }
  .o-tile:hover::after { opacity: 1; bottom: -26px; }

  .o-1 { top: 4%;  left: 8%;  background: linear-gradient(140deg, #4a7c4a, #1f3a28); animation: float-orbit-1 9s ease-in-out infinite; }
  .o-2 { top: 8%;  right: 10%; background: linear-gradient(140deg, #4c97c8, #1d3e6e); animation: float-orbit-2 11s ease-in-out infinite; }
  .o-3 { top: 50%; left: 2%;  background: linear-gradient(140deg, #e2935e, #a04d2b); animation: float-orbit-3 10s ease-in-out infinite; }
  .o-4 { top: 56%; right: 3%; background: linear-gradient(140deg, #9d7dff, #4b2da1); animation: float-orbit-4 12s ease-in-out infinite; }
  .o-5 { bottom: 6%; left: 24%; background: linear-gradient(140deg, #ff8a82, #c43864); animation: float-orbit-5 13s ease-in-out infinite; }
  .o-6 { bottom: 2%; right: 26%; background: linear-gradient(140deg, #88d8b0, #2e8b6b); animation: float-orbit-6 8.5s ease-in-out infinite; }
  .o-7 { top: 30%; left: 28%; width: 96px; height: 96px; font-size: 38px; background: linear-gradient(140deg, #ffcc66, #d97a1f); animation: float-orbit-7 10s ease-in-out infinite; }
  .o-8 { top: 28%; right: 30%; width: 96px; height: 96px; font-size: 38px; background: linear-gradient(140deg, #ffa3c7, #c44a8f); animation: float-orbit-8 11.5s ease-in-out infinite; }

  @keyframes float-orbit-1 { 0%,100%{transform:translate(0,0) rotate(-3deg)} 50%{transform:translate(12px,-18px) rotate(2deg)} }
  @keyframes float-orbit-2 { 0%,100%{transform:translate(0,0) rotate(2deg)} 50%{transform:translate(-14px,-16px) rotate(-3deg)} }
  @keyframes float-orbit-3 { 0%,100%{transform:translate(0,0) rotate(-2deg)} 50%{transform:translate(16px,12px) rotate(3deg)} }
  @keyframes float-orbit-4 { 0%,100%{transform:translate(0,0) rotate(3deg)} 50%{transform:translate(-12px,14px) rotate(-2deg)} }
  @keyframes float-orbit-5 { 0%,100%{transform:translate(0,0) rotate(2deg)} 50%{transform:translate(10px,-16px) rotate(-3deg)} }
  @keyframes float-orbit-6 { 0%,100%{transform:translate(0,0) rotate(-3deg)} 50%{transform:translate(-14px,-12px) rotate(2deg)} }
  @keyframes float-orbit-7 { 0%,100%{transform:translate(0,0) rotate(-4deg)} 50%{transform:translate(14px,18px) rotate(4deg)} }
  @keyframes float-orbit-8 { 0%,100%{transform:translate(0,0) rotate(4deg)} 50%{transform:translate(-16px,16px) rotate(-3deg)} }

  /* a faint orbiting ring guideline */
  .o-ring {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .o-ring svg { width: 100%; height: 100%; opacity: 0.35; }

  /* ---------- MARQUEE ---------- */
  .h-marquee {
    margin: 0 -100vw 80px;
    padding: 0 100vw;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  }
  .marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marquee 40s linear infinite;
    align-items: center;
  }
  .marquee-track span {
    font-family: 'Instrument Serif', serif;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    white-space: nowrap;
  }
  .marquee-track em {
    color: rgba(14,17,24,0.35);
    font-style: italic;
  }
  .marquee-track .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(124, 232, 95, 0.7);
  }
  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ---------- STATS BAND ---------- */
  .h-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 80px;
  }
  .stat {
    padding: 32px 24px;
    border-radius: 28px;
    text-align: center;
  }
  .stat .num {
    font-family: 'Instrument Serif', serif;
    font-size: 72px;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
  }
  .stat .lbl {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(14,17,24,0.55);
    font-weight: 500;
  }
  @media (max-width: 800px) { .h-stats { grid-template-columns: repeat(2, 1fr); } .h-orbit { height: 480px; } }

  /* ---------- FEATURED ACTIVITIES STRIP ---------- */
  .h-section-head {
    display: flex; align-items: end; justify-content: space-between;
    margin-bottom: 28px;
    gap: 24px;
  }
  .h-section-head h2 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(40px, 5.2vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin: 0;
  }
  .h-section-head h2 em { font-style: italic; color: rgba(14,17,24,0.5); }
  .h-section-head p {
    max-width: 380px;
    color: rgba(14,17,24,0.6);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
  }

  .h-featured {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 80px;
  }
  @media (max-width: 1000px) { .h-featured { grid-template-columns: repeat(2, 1fr); } }
  .feat {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.5) inset,
      0 24px 60px -20px rgba(20, 30, 60, 0.30);
    transition: transform .5s cubic-bezier(.34,1.56,.64,1);
  }
  .feat:hover { transform: translateY(-6px) scale(1.02); }
  .feat .bg {
    position: absolute; inset: 0;
    background: linear-gradient(140deg, var(--c1), var(--c2));
    transition: transform 1s ease;
  }
  .feat:hover .bg { transform: scale(1.06); }
  .feat .bg::after {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,0.35) 0%, transparent 60%),
      repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 18px);
  }
  .feat .glyph {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 96px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform .6s cubic-bezier(.34,1.56,.64,1);
  }
  .feat:hover .glyph { transform: translateY(-8px) scale(1.08); }
  .feat .label {
    position: absolute;
    left: 14px; right: 14px; bottom: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
  }
  .feat .label strong { font-weight: 600; font-size: 14px; letter-spacing: -0.005em; }
  .feat .label small { font-size: 11px; opacity: 0.8; letter-spacing: 0.04em; }
  .feat .label svg { width: 14px; height: 14px; flex: 0 0 14px; }

  /* ---------- ABOUT BAND ---------- */
  .about-band {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 80px;
  }
  @media (max-width: 900px) { .about-band { grid-template-columns: 1fr; } }
  .about-card {
    padding: 48px;
    border-radius: 32px;
  }
  .about-card .quote-mark {
    font-family: 'Instrument Serif', serif;
    font-size: 120px;
    line-height: 0.4;
    color: var(--accent);
    height: 40px;
    display: block;
  }
  .about-card h3 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 24px 0 16px;
  }
  .about-card h3 em { font-style: italic; color: rgba(14,17,24,0.5); }
  .about-card p { font-size: 15px; line-height: 1.6; color: rgba(14,17,24,0.7); margin: 0 0 12px; }
  .about-card .sig {
    margin-top: 24px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(14,17,24,0.5);
  }

  .image-card {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    background:
      conic-gradient(from 200deg at 50% 50%, #ff8a5b, #c44a8f, #4c97c8, #88d8b0, #ffcc66, #ff8a5b);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.5) inset,
      0 30px 80px -20px rgba(20, 30, 60, 0.4);

  }
  @keyframes hue-rotate { to { filter: hue-rotate(360deg); } }
  .image-card::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(80% 60% at 30% 30%, rgba(255,255,255,0.5) 0%, transparent 50%),
      radial-gradient(60% 40% at 70% 80%, rgba(0,0,0,0.2) 0%, transparent 60%);
  }
  .image-card::after { display: none; }
  .image-card .floating-glyph {
    position: absolute;
    font-size: 140px;
    color: white;
    text-shadow: 0 8px 24px rgba(0,0,0,0.25);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: bob 5s ease-in-out infinite;
  }
  @keyframes bob {
    0%,100% { transform: translate(-50%, -50%) rotate(-3deg); }
    50%     { transform: translate(-50%, -56%) rotate(3deg); }
  }

  /* ---------- FINAL CTA ---------- */
  .final-cta {
    padding: 80px 32px;
    border-radius: 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(60% 60% at 20% 30%, rgba(124, 232, 95, 0.4) 0%, transparent 60%),
      radial-gradient(50% 50% at 80% 70%, rgba(124, 232, 95, 0.25) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
  }
  .final-cta > * { position: relative; z-index: 1; }
  .final-cta h2 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
  }
  .final-cta h2 em { font-style: italic; color: rgba(14,17,24,0.5); }
  .final-cta p {
    font-size: 16px;
    color: rgba(14,17,24,0.65);
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.5;
  }

  /* perf: skip rendering off-screen sections until they scroll into view */
  .h-orbit       { content-visibility: auto; contain-intrinsic-size: 520px; }
  .h-stats       { content-visibility: auto; contain-intrinsic-size: 200px; }
  .h-featured    { content-visibility: auto; contain-intrinsic-size: 520px; }
  .about-band    { content-visibility: auto; contain-intrinsic-size: 480px; }
  .final-cta     { content-visibility: auto; contain-intrinsic-size: 420px; }
  .map-view      { content-visibility: auto; contain-intrinsic-size: 640px; }

  /* perf: respect reduced-motion — pause infinite animations + drop heavy filters */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
    }
    .backdrop::before, .backdrop::after, .orb { filter: none; opacity: 0.4; }
  }


/* ============================================================ */
/* ============ ACTIVITY DETAIL PAGE (added) ================== */
/* ============================================================ */
.detail { max-width: 1100px; margin: 0 auto; padding: 28px 32px 90px; position: relative; }

.detail-hero {
  display: grid;
  grid-template-columns: 168px minmax(0,1fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-card);
  margin: 18px 0 24px;
}
.detail-figure {
  width: 168px; height: 168px;
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 84px;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,0.22);
  background: linear-gradient(140deg, var(--m1, #cfd6e0), var(--m2, #a5b1c2));
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 20px 40px -12px rgba(14,22,50,0.35);
  position: relative; overflow: hidden;
}
.detail-figure::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,0.5) 0%, transparent 55%),
             repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 18px);
  mix-blend-mode: overlay;
}
.detail-hero h1 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(40px, 6vw, 72px); line-height: 0.98; letter-spacing: -0.025em;
  margin: 6px 0 12px; color: var(--ink);
}
.detail-hero .lede { font-size: 18px; line-height: 1.5; color: rgba(14,17,24,0.66); margin: 0; max-width: 60ch; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(124,232,95,0.22); border: 1px solid rgba(124,232,95,0.45);
  color: var(--accent-deep); font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.cat-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-deep); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 880px) { .detail-grid { grid-template-columns: 1fr; } .detail-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

.section-card { padding: 28px 30px; border-radius: var(--radius-card); margin-bottom: 20px; }
.section-card h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 30px;
  letter-spacing: -0.02em; margin: 0 0 14px; color: var(--ink);
}
.section-card h2 .ico { font-size: 22px; margin-right: 8px; }

.prose { font-size: 15.5px; line-height: 1.68; color: rgba(14,17,24,0.82); }
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-decoration-color: rgba(45,189,30,0.4); }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 14px; padding: 6px 0 6px 18px; border-left: 3px solid var(--accent); color: rgba(14,17,24,0.7); font-style: italic; }

.aside-card { padding: 24px; border-radius: var(--radius-card); margin-bottom: 20px; position: sticky; top: 96px; }
.aside-card h3 { margin: 0 0 14px; font-size: 11px; letter-spacing: 0.18em; font-weight: 600; color: rgba(14,17,24,0.5); text-transform: uppercase; }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgba(14,17,24,0.08); }
.fact:first-of-type { border-top: 0; }
.fact .k { font-size: 12px; color: rgba(14,17,24,0.5); width: 96px; flex: 0 0 96px; padding-top: 2px; letter-spacing: 0.02em; }
.fact .v { font-size: 14px; color: var(--ink); font-weight: 500; flex: 1; line-height: 1.4; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
  font-size: 12.5px; color: rgba(14,17,24,0.78); font-weight: 500;
}

.loc-list { display: flex; flex-direction: column; gap: 2px; }
.loc {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px;
  font-size: 13.5px; color: rgba(14,17,24,0.8); transition: background .2s ease;
}
.loc:hover { background: rgba(255,255,255,0.45); }
.loc .pinico { width: 26px; height: 26px; border-radius: 8px; flex: 0 0 26px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff; }
.loc .pinico svg { width: 13px; height: 13px; }

.mini-map { height: 240px; border-radius: 20px; overflow: hidden; position: relative; margin-top: 8px;
  background: radial-gradient(60% 80% at 30% 40%, rgba(124,232,95,0.15) 0%, transparent 60%),
             radial-gradient(40% 60% at 70% 70%, rgba(76,151,200,0.16) 0%, transparent 60%),
             linear-gradient(180deg, #e9f1ea 0%, #d8e6dc 100%);
  border: 1px solid rgba(255,255,255,0.6); }
.mini-map .mpin { position: absolute; width: 14px; height: 14px; transform: translate(-50%,-50%);
  border-radius: 50%; background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,0.25); }

.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(14,17,24,0.6);
  text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.5); }
.back-link:hover { background: rgba(255,255,255,0.65); color: var(--ink); }
.back-link svg { width: 14px; height: 14px; }

.site-footer { max-width: 1320px; margin: 40px auto 0; padding: 36px 32px 60px; }
.footer-inner { padding: 32px 36px; border-radius: var(--radius-card); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-inner .f-brand { font-weight: 800; letter-spacing: 0.04em; font-size: 17px; }
.footer-inner .f-brand .a { color: var(--accent-deep); }
.footer-inner p { margin: 6px 0 0; font-size: 13px; color: rgba(14,17,24,0.6); max-width: 52ch; line-height: 1.5; }
.footer-inner nav { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-inner nav a { font-size: 13px; color: rgba(14,17,24,0.7); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.footer-inner nav a:hover { background: rgba(255,255,255,0.5); color: var(--ink); }

.page-wrap { max-width: 820px; margin: 0 auto; padding: 28px 32px 90px; }
.page-wrap .page-head h1 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(44px,7vw,84px); line-height: 0.95; letter-spacing: -0.03em; margin: 18px 0 10px; }
.page-wrap .page-head .lede { color: rgba(14,17,24,0.6); font-size: 17px; margin: 0 0 26px; }
.article-card { padding: 40px 44px; border-radius: var(--radius-card); }
@media (max-width: 620px){ .article-card { padding: 28px 22px; } .detail { padding: 24px 18px 70px; } }

.blog-list { display: grid; gap: 18px; }
.blog-item { display: block; padding: 26px 28px; border-radius: var(--radius-card); text-decoration: none; color: inherit; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.blog-item:hover { transform: translateY(-3px); }
.blog-item h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 30px; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 8px; }
.blog-item p { margin: 0; color: rgba(14,17,24,0.65); font-size: 14px; line-height: 1.55; }
.blog-item .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; color: var(--accent-deep); font-size: 13px; font-weight: 600; }

/* card anchor reset so activity cards can be links */
a.card { text-decoration: none; color: inherit; display: flex; }


/* listing card subtitle + misc (added) */
.card .body .card-sub {
  margin: 2px 0 10px; font-size: 13px; line-height: 1.4;
  color: rgba(14,17,24,0.6);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .body .row1 { margin-bottom: 4px; }
.map-note { position: absolute; left: 16px; bottom: 14px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.6);
  font-size: 12px; color: rgba(14,17,24,0.7); }
.map-view .pin { text-decoration: none; }
.pg:disabled { opacity: 0.4; cursor: default; }
.pg-gap { padding: 0 4px; color: rgba(14,17,24,0.4); align-self: center; }
.results-meta .sort { cursor: default; }
/* keep the heavy backdrop calm while a big grid is mounted */
.shell .grid .card .media { will-change: transform; }


/* embedded figures in About/blog prose (from Drupal media tokens) */
.embed-fig { margin: 4px 0 16px 22px; float: right; width: 250px; max-width: 46%; }
.embed-fig img { display: block; width: 100%; height: auto; border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 16px 30px -14px rgba(20,30,60,0.3); }
.embed-fig figcaption { font-size: 12px; color: rgba(14,17,24,0.6); padding: 8px 4px 0; line-height: 1.45; }
.embed-fig.placeholder .ph { height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 42px; border-radius: 18px; color: rgba(255,255,255,0.92);
  background: linear-gradient(140deg, #9fb0c4, #5a6b86);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 16px 30px -14px rgba(20,30,60,0.3); }
@media (max-width: 620px){ .embed-fig { float: none; width: 100%; max-width: 100%; margin: 0 0 16px; } }


/* ============ Leaflet / OpenStreetMap maps (added) ============ */
.leaflet-container { font: inherit; background: #dce5df; }
/* listing map fills the glass panel */
.map-view { padding: 0; position: relative; isolation: isolate; }
.listing-map { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius-card); }
/* detail-page map replaces the old stylised mini-map */
.detail-map { height: 240px; border-radius: 18px; margin-top: 4px; overflow: hidden;
  isolation: isolate; border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 22px -12px rgba(20,30,60,0.25); }
/* custom liquid-glass green pin (no marker image assets needed) */
.gta-divicon { background: none; border: 0; }
.gta-pin { display: block; width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(140deg, #7CE85F 0%, #2dbd1e 100%);
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.35); }
.gta-pin.alt { background: linear-gradient(140deg, #ff8a5b, #c84a2b); }
.gta-pin.alt2 { background: linear-gradient(140deg, #4c97c8, #1d3e6e); }
/* glassy popups + controls */
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 12px 30px -8px rgba(20,30,60,0.4); }
.leaflet-popup-content { font-size: 13px; line-height: 1.4; margin: 10px 14px; }
.leaflet-popup-content a { color: var(--accent-deep); text-decoration: none; font-weight: 600; }
.leaflet-popup-content .pc-sub { color: rgba(14,17,24,0.6); font-size: 12px; }
.leaflet-bar a { border-radius: 8px !important; color: var(--ink); }
.map-view .map-note { z-index: 500; }


/* ====== distance / geolocation controls + Google Maps links (added) ====== */
.near-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; margin-bottom: 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--ink); cursor: pointer; transition: background .2s ease; }
.near-btn:hover { background: rgba(255,255,255,0.74); }
.near-btn:disabled { opacity: 0.65; cursor: default; }
.geo-status { font-size: 12.5px; line-height: 1.45; color: rgba(14,17,24,0.78); margin-bottom: 10px;
  background: rgba(124,232,95,0.18); border: 1px solid rgba(124,232,95,0.4); padding: 9px 12px; border-radius: 12px; }
/* "you are here" map marker */
.you-pin { display: block; width: 16px; height: 16px; border-radius: 50%; background: #2b7fff;
  border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(43,127,255,0.30), 0 2px 6px rgba(0,0,0,0.35); }
/* clickable location rows -> Google Maps */
a.loc { text-decoration: none; color: rgba(14,17,24,0.82); }
.loc .ext { margin-left: auto; color: rgba(14,17,24,0.30); font-size: 12px; transition: color .2s ease; }
a.loc:hover { background: rgba(124,232,95,0.16); }
a.loc:hover .ext { color: var(--accent-deep); }
/* popup Google Maps link */
.leaflet-popup-content .pc-gmap { display: inline-block; margin-top: 6px; color: var(--accent-deep);
  font-weight: 600; font-size: 12px; text-decoration: none; }
.leaflet-popup-content .pc-gmap:hover { text-decoration: underline; }


/* ============ real CDN media (photos + video) over fallbacks ============ */
/* listing + related cards: photo on top, gradient+glyph behind as fallback */
.card .media { position: relative; }
.card .media .glyph { z-index: 0; }
.card .media .media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; display: block; }
.card .media .tag, .card .media .bookmark { z-index: 2; }

/* detail hero photo */
.detail-figure { position: relative; }
.detail-figure .figure-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* home featured photo */
.feat .bg { z-index: 0; }
.feat .feat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.feat .glyph, .feat .label { z-index: 2; }

/* embedded video player */
.activity-video { width: 100%; max-height: 460px; border-radius: 16px; display: block; background: #000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 16px 30px -14px rgba(20,30,60,0.3); }

/* photo gallery */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-grid .ph-cell { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 8px 18px -10px rgba(20,30,60,0.25); }
.photo-grid .ph-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.photo-grid .ph-cell:hover img { transform: scale(1.06); }


.embed-fig .ph{display:flex;align-items:center;justify-content:center;height:160px;font-size:42px;border-radius:18px;color:rgba(255,255,255,0.92);background:linear-gradient(140deg,#9fb0c4,#5a6b86);box-shadow:0 1px 0 rgba(255,255,255,0.5) inset,0 16px 30px -14px rgba(20,30,60,0.3);}

/* ============ SVG icons + photo tiles replacing emojis ============ */
.section-card h2 .ico { display: inline-flex; vertical-align: -4px; margin-right: 9px; color: var(--accent-deep); }
.section-card h2 .ico svg { width: 22px; height: 22px; }
.near-btn svg { width: 15px; height: 15px; }
.loc .ext { display: inline-flex; }
.loc .ext svg { width: 14px; height: 14px; }
.empty-ico { display: flex; justify-content: center; margin-bottom: 10px; color: rgba(14,17,24,0.35); }
.empty-ico svg { width: 40px; height: 40px; }
.h-eyebrow .pulse-dot svg { width: 12px; height: 12px; }

/* media fallback icon (behind the photo; visible only if a photo is missing) */
.media-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 0; color: rgba(255,255,255,0.85); }
.media-fallback svg { width: 40px; height: 40px; }
.detail-figure .media-fallback svg { width: 60px; height: 60px; }

/* home orbit tiles now hold real photos */
.o-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; z-index: 0; }

/* about-band image card holds a real photo */
.image-card .ic-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }


/* page hero banner (about/blog) + 3-up stats */
.page-hero { border-radius: var(--radius-card); overflow: hidden; margin: 0 0 24px; aspect-ratio: 21 / 9; box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 24px 50px -24px rgba(20,30,60,0.35); }
.page-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px){ .h-stats { grid-template-columns: repeat(2, 1fr); } }

/* video badge on cards + has-video filter row */
.card .media .vid-badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(14,17,24,0.66); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.card .media .vid-badge svg { width: 12px; height: 12px; }
