/* ═══════════════════════════════════════════════
   CafeSense — style.css
   Aesthetic: Luxury Editorial Dark
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,600&family=DM+Sans:wght@200;300;400;500&family=Syne:wght@400;500;600;700;800&display=swap');

/* ── RESET & ROOT ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #080706;
  --ink2: #0f0d0b;
  --ink3: #161310;
  --cream: #f0e6d0;
  --cream2: #d9cbb0;
  --cream3: #c4b090;
  --warm: #b8924a;
  --espresso: #1c1208;
  --gold: #c49a3c;
  --gold2: #d4aa55;
  --gold3: #e8c870;
  --gold-glow: rgba(196, 154, 60, 0.15);
  --gold-border: rgba(196, 154, 60, 0.22);
  --text-muted: rgba(240, 230, 208, 0.4);
  --text-faint: rgba(240, 230, 208, 0.2);
  --r: 3px;
  --shadow: 0 24px 60px rgba(0,0,0,0.7);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
#cur {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold3);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
#cur2 {
  position: fixed;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(196,154,60,0.5);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
}
body:has(a:hover) #cur,
body:has(button:hover) #cur { width: 18px; height: 18px; background: var(--gold3); }
body:has(a:hover) #cur2,
body:has(button:hover) #cur2 { width: 56px; height: 56px; border-color: rgba(212,170,85,0.7); }
@media (max-width: 768px) { #cur, #cur2 { display: none; } }

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px;
  animation: grainShift 0.8s steps(2) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2px, 2px); }
  50%  { transform: translate(1px,-1px); }
  75%  { transform: translate(-1px, 1px); }
}

/* ── THREE.JS CANVAS ── */
#cv { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ════════════════════════
   NAVIGATION
════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  padding: 1.6rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, border-color 0.4s, padding 0.3s;
}
nav.scrolled {
  background: rgba(8,7,6,0.95);
  border-bottom: 1px solid var(--gold-border);
  backdrop-filter: blur(24px);
  padding: 1rem 3.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-decoration: none;
  position: relative;
}
.logo em {
  font-style: italic;
  color: var(--gold2);
}
.logo::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold2);
  transition: width 0.35s ease;
}
.logo:hover::after { width: 100%; }

.nav-r { display: flex; align-items: center; gap: 2rem; }
.nav-tag {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}
.nav-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--gold2);
  text-transform: uppercase;
  font-weight: 500;
}
.nav-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold2);
  box-shadow: 0 0 6px var(--gold2);
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px var(--gold2); }
  50%       { opacity: 0.35; transform: scale(0.7); box-shadow: none; }
}
@media (max-width: 600px) {
  nav { padding: 1.2rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-tag { display: none; }
}

/* ════════════════════════
   HERO
════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.hero-inner {
  width: 100%;
  max-width: 1440px;
  padding: 0 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  gap: 4rem;
}

/* Left column */
.hero-l {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
}
.hero-eyebrow {
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: riseIn 0.8s ease 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}

.hero-hed {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 6.5vw, 8.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: riseIn 1s ease 0.5s forwards;
}
.hero-hed .line1 { display: block; color: var(--cream); }
.hero-hed .line2 {
  display: block;
  font-style: italic;
  color: var(--gold2);
  font-weight: 400;
  position: relative;
}
.hero-hed .line3 {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.28em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream3);
  margin-top: 0.8em;
}

.hero-desc {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--text-muted);
  max-width: 380px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: riseIn 0.9s ease 0.7s forwards;
}

/* Search Bar */
.search-wrap { opacity: 0; animation: riseIn 0.8s ease 0.9s forwards; }
.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid var(--gold-border);
  border-radius: var(--r);
  background: rgba(240,230,208,0.03);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(196,154,60,0);
}
.search-bar:focus-within {
  border-color: rgba(212,170,85,0.65);
  background: rgba(240,230,208,0.05);
  box-shadow: 0 0 0 3px rgba(196,154,60,0.08), 0 8px 40px rgba(0,0,0,0.5);
}
.s-prefix {
  padding: 0 1rem 0 1.3rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold2);
  flex-shrink: 0;
  border-right: 1px solid var(--gold-border);
  font-weight: 600;
}
.s-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--cream);
  padding: 1.1rem 0.8rem;
  letter-spacing: 0.04em;
}
.s-input::placeholder { color: var(--text-faint); }
.s-go {
  padding: 1rem 1.6rem;
  background: var(--gold);
  color: var(--ink);
  border: none;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}
.s-go:hover { background: var(--gold3); }
.s-go:active { transform: scale(0.97); }

/* Vibe pills */
.vibe-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.9rem;
}
.vibe {
  padding: 5px 14px;
  border: 1px solid rgba(196,154,60,0.15);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  border-radius: 1px;
  font-family: 'DM Sans', sans-serif;
}
.vibe:hover {
  border-color: var(--gold2);
  color: var(--gold2);
  background: var(--gold-glow);
  transform: translateY(-1px);
}

/* Region + City rows */
.region-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 1.8rem;
  opacity: 0;
  animation: riseIn 0.8s ease 1.1s forwards;
}
.rtab {
  padding: 5px 14px;
  border: 1px solid rgba(196,154,60,0.14);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
}
.rtab.act, .rtab:hover {
  border-color: var(--gold2);
  color: var(--gold2);
  background: var(--gold-glow);
}

.city-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 0.7rem;
  min-height: 30px;
  opacity: 0;
  animation: riseIn 0.8s ease 1.2s forwards;
}
.cbtn {
  padding: 4px 12px;
  border: 1px solid rgba(196,154,60,0.1);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  cursor: pointer;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
}
.cbtn.act, .cbtn:hover {
  border-color: rgba(196,154,60,0.45);
  color: var(--warm);
  background: rgba(196,154,60,0.06);
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ── HERO RIGHT (Cup Scene) ── */
.hero-r {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.cup-scene { position: relative; z-index: 3; }
.cup-orbit { animation: orbit 7s ease-in-out infinite; }
@keyframes orbit {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%       { transform: translateY(-16px) rotate(0.6deg); }
  70%       { transform: translateY(10px) rotate(-0.6deg); }
}

#pourCanvas {
  position: absolute;
  top: -130px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 400px;
  pointer-events: none;
  z-index: 5;
}

.hero-vert {
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(196,154,60,0.25);
  white-space: nowrap;
  font-weight: 600;
}

/* Scroll indicator */
.scroll-ind {
  position: absolute;
  bottom: 2.5rem;
  left: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeSlide 1s ease 1.6s forwards;
  z-index: 5;
}
.scroll-line {
  width: 50px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.scroll-txt {
  font-size: 0.52rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}

/* ════════════════════════
   STATS MARQUEE
════════════════════════ */
.marquee-wrap {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  background: var(--espresso);
  padding: 0.75rem 0;
  overflow: hidden;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--espresso), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--espresso), transparent); }

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.mq-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0 2.5rem;
  flex-shrink: 0;
}
.mq-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold2);
  letter-spacing: 0.04em;
}
.mq-lbl {
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240,230,208,0.3);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
}
.mq-sep { color: var(--gold-border); font-size: 0.8rem; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════════
   MAIN SECTION
════════════════════════ */
.main { position: relative; z-index: 10; background: var(--ink); }

/* Progress bar */
.prog-bar { height: 2px; background: transparent; overflow: hidden; }
.prog-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold3));
  transition: width 0.3s;
  box-shadow: 0 0 12px var(--gold2);
}

/* Status line */
.status-line {
  display: none;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 3.5rem;
  background: rgba(28,18,8,0.7);
  border-bottom: 1px solid var(--gold-border);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-family: 'Syne', sans-serif;
}
.status-line.on { display: flex; }
.s-spin {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(196,154,60,0.3);
  border-top-color: var(--gold2);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── TOOLBAR ── */
.toolbar-strip {
  border-bottom: 1px solid rgba(196,154,60,0.1);
  padding: 0.85rem 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  background: rgba(8,7,6,0.96);
  backdrop-filter: blur(24px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.tb-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  flex-shrink: 0;
  font-weight: 600;
}
.ftag {
  padding: 5px 14px;
  border: 1px solid rgba(196,154,60,0.14);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,230,208,0.35);
  cursor: pointer;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
}
.ftag.on {
  background: rgba(196,154,60,0.1);
  border-color: var(--gold2);
  color: var(--gold2);
}
.ftag:hover:not(.on) {
  border-color: rgba(196,154,60,0.4);
  color: var(--cream2);
}
.tb-sep { width: 1px; height: 18px; background: rgba(196,154,60,0.1); flex-shrink: 0; }
.tb-sort {
  background: transparent;
  border: 1px solid rgba(196,154,60,0.14);
  color: rgba(240,230,208,0.45);
  font-size: 0.6rem;
  padding: 5px 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  letter-spacing: 0.08em;
  transition: border-color 0.2s;
}
.tb-sort:hover { border-color: rgba(196,154,60,0.4); }
.tb-sort option { background: var(--espresso); }
.tb-r {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.res-cnt-txt {
  font-family: 'Syne', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.refresh-btn {
  padding: 5px 14px;
  border: 1px solid rgba(196,154,60,0.2);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold2);
  cursor: pointer;
  background: transparent;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  transition: var(--transition);
}
.refresh-btn:hover { background: rgba(196,154,60,0.08); border-color: var(--gold2); }

@media (max-width: 600px) {
  .toolbar-strip { padding: 0.8rem 1rem; }
  .tb-r .res-cnt-txt { display: none; }
}

/* ── RESULT HEADER ── */
.res-header {
  padding: 3.5rem 3.5rem 1.5rem;
  border-bottom: 1px solid rgba(196,154,60,0.07);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 2rem;
}
.res-city {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.015em;
  line-height: 1;
}
.res-city em { font-style: italic; color: var(--gold2); }
.res-sub {
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
@media (max-width: 600px) {
  .res-header { padding: 2rem 1rem 1rem; grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ════════════════════════
   LAYOUT
════════════════════════ */
.layout {
  display: grid;
  grid-template-columns: 1fr 400px;
}
@media (max-width: 1050px) {
  .layout { grid-template-columns: 1fr; }
  .map-col { display: none; }
}
.cards-col { padding: 2rem 3.5rem; }
@media (max-width: 600px) { .cards-col { padding: 1rem; } }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1px;
  background: rgba(196,154,60,0.07);
}
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }

/* ════════════════════════
   CARD
════════════════════════ */
.card {
  background: var(--ink2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1), background 0.25s;
  overflow: hidden;
  position: relative;
}
.card.vis { opacity: 1; transform: none; }
.card:hover { background: #151210; }

.c-img-wrap {
  height: 210px;
  overflow: hidden;
  position: relative;
  background: #160e07;
}
.c-ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1208 0%, #231a0e 50%, #1a1208 100%);
  background-size: 200% 200%;
  animation: shimmer 2.2s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
.c-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.65s ease;
}
.c-img.on { opacity: 1; }
.card:hover .c-img.on { transform: scale(1.05); }

/* Gradient overlay */
.c-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,7,6,0.95) 0%,
    rgba(8,7,6,0.3) 45%,
    transparent 100%
  );
  z-index: 1;
}

.c-badges {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  display: flex;
  gap: 4px;
}
.badge {
  padding: 3px 9px;
  font-family: 'Syne', sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.b-open  { background: rgba(90,190,100,0.12); color: #90e0a0; border: 1px solid rgba(90,190,100,0.28); }
.b-closed{ background: rgba(200,60,60,0.1);   color: #e89090; border: 1px solid rgba(200,60,60,0.22); }
.b-new   { background: rgba(196,154,60,0.1);  color: var(--gold2); border: 1px solid var(--gold-border); }

.c-rating {
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 2;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold2);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.c-body {
  padding: 1.3rem 1.3rem 1.5rem;
  position: relative;
}
.c-num {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(196,154,60,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.c-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 0.3rem;
  transition: color 0.2s;
}
.card:hover .c-name { color: var(--gold3); }
.c-loc {
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
}
.c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 1.1rem;
}
.ctag {
  padding: 2px 8px;
  border: 1px solid rgba(196,154,60,0.1);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,230,208,0.28);
  transition: border-color 0.2s, color 0.2s;
}
.card:hover .ctag {
  border-color: rgba(196,154,60,0.2);
  color: rgba(240,230,208,0.45);
}
.c-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.c-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold2);
}
.c-price-sub {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 2px;
  font-family: 'Syne', sans-serif;
}
.c-arrow {
  width: 30px; height: 30px;
  border: 1px solid rgba(196,154,60,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gold2);
  transition: var(--transition);
}
.card:hover .c-arrow {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateX(3px);
}

/* ── LOAD MORE ── */
.load-wrap {
  grid-column: 1 / -1;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-top: 1px solid rgba(196,154,60,0.07);
}
.lm-btn {
  padding: 0.9rem 2.8rem;
  border: 1px solid rgba(196,154,60,0.28);
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold2);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.lm-btn:hover { background: rgba(196,154,60,0.07); border-color: var(--gold2); transform: translateY(-1px); }
.lm-btn:disabled { opacity: 0.3; pointer-events: none; }
.lm-spin {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(196,154,60,0.3);
  border-top-color: var(--gold2);
  animation: spin 0.7s linear infinite;
  display: none;
}
.lm-btn.loading .lm-spin { display: block; }
.lm-info {
  font-family: 'Syne', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── EMPTY STATE ── */
.empty-state {
  grid-column: 1 / -1;
  padding: 7rem 2rem;
  text-align: center;
}
.empty-ico {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  color: rgba(196,154,60,0.1);
  margin-bottom: 1rem;
}
.empty-h {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.empty-p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 2;
  max-width: 280px;
  margin: 0 auto 1.8rem;
}
.retry {
  padding: 0.7rem 2.2rem;
  border: 1px solid rgba(196,154,60,0.28);
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold2);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.retry:hover { background: rgba(196,154,60,0.07); }

/* ── SKELETONS ── */
.skel { background: var(--ink2); border: none; }
.skel-img {
  height: 210px;
  background: linear-gradient(135deg, #141008 0%, #1c1510 50%, #141008 100%);
  background-size: 200% 200%;
  animation: shimmer 1.8s ease-in-out infinite;
}
.skel-body { padding: 1.2rem; }
.skel-line {
  background: #1c1510;
  border-radius: 1px;
  margin-bottom: 0.6rem;
  animation: shimmer 1.8s ease-in-out infinite;
  background-size: 200% 200%;
}

/* ════════════════════════
   MAP COLUMN
════════════════════════ */
.map-col {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(196,154,60,0.1);
}
.map-head {
  padding: 1rem 1.3rem;
  border-bottom: 1px solid rgba(196,154,60,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--espresso);
  flex-shrink: 0;
}
.map-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.map-city-badge {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold2);
  font-style: italic;
}
.map-gm {
  font-family: 'Syne', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold2);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--gold-border);
  transition: var(--transition);
  font-weight: 600;
}
.map-gm:hover { background: rgba(196,154,60,0.08); }
#leafMap { flex: 1; width: 100%; }
.map-ph {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #0c0a08;
}
.map-ph-ico {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: rgba(196,154,60,0.07);
}
.map-ph-txt {
  font-family: 'Syne', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  max-width: 160px;
  line-height: 2;
  font-weight: 600;
}
.map-foot {
  padding: 0.8rem 1.3rem;
  border-top: 1px solid rgba(196,154,60,0.1);
  background: var(--espresso);
  flex-shrink: 0;
}
.map-foot-txt {
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: rgba(240,230,208,0.22);
}
.map-legend { display: flex; gap: 1rem; margin-top: 0.4rem; }
.leg-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-family: 'Syne', sans-serif;
}
.leg-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }

/* ════════════════════════
   MODAL
════════════════════════ */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(4,3,2,0.88);
  backdrop-filter: blur(28px) saturate(0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.modal-bg.open { opacity: 1; pointer-events: all; }

.modal {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 901;
  background: #110c06;
  border-top: 1px solid rgba(196,154,60,0.22);
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
  max-width: 700px;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: 0 -24px 80px rgba(0,0,0,0.8);
}
.modal-bg.open .modal { transform: none; }
.modal::-webkit-scrollbar { width: 2px; }
.modal::-webkit-scrollbar-thumb { background: rgba(196,154,60,0.2); }

.modal-drag {
  width: 36px; height: 45px;
  /* background: rgba(196,154,60,0.22); */
  margin: 1.2rem auto 0.5rem;
  border-radius: 2px;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196,154,60,0.2);
  color: rgba(240,230,208,0.45);
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--transition);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
}
.modal-close:hover { background: rgba(196,154,60,0.1); color: var(--cream); border-color: var(--gold2); }

.modal-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #1a1208;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-img-g {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #110c06 0%, transparent 60%);
  z-index: 1;
}

.modal-body { padding: 1.6rem 2.2rem 2.8rem; }
.modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.modal-loc {
  font-family: 'Syne', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  font-weight: 600;
}
.modal-price-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(196,154,60,0.14);
  margin-bottom: 1.5rem;
  background: rgba(196,154,60,0.03);
}
.modal-price-amt {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold2);
}
.modal-price-lbl {
  font-family: 'Syne', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 600;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(196,154,60,0.07);
  margin-bottom: 1.5rem;
}
.m-det {
  padding: 0.85rem;
  background: #110c06;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  transition: background 0.2s;
}
.m-det:hover { background: #160e08; }
.m-det-ico { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; opacity: 0.7; }
.m-det-lbl {
  font-family: 'Syne', sans-serif;
  font-size: 0.46rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
  font-weight: 600;
}
.m-det-val { font-size: 0.8rem; color: var(--cream); font-weight: 300; }

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 1.5rem;
}
.modal-tag {
  padding: 3px 10px;
  border: 1px solid rgba(196,154,60,0.14);
  font-family: 'Syne', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,230,208,0.32);
  font-weight: 600;
}

.modal-desc {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(196,154,60,0.1);
  margin-bottom: 1.5rem;
  background: rgba(196,154,60,0.025);
}
.modal-desc p { font-size: 0.82rem; line-height: 1.9; color: var(--text-muted); font-weight: 300; }

.modal-actions { display: flex; gap: 8px; margin-bottom: 1rem; }
.m-act-primary {
  flex: 1;
  padding: 0.95rem;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.m-act-primary:hover { background: var(--gold3); }
.m-act-sec {
  flex: 1;
  padding: 0.95rem;
  border: 1px solid rgba(196,154,60,0.28);
  color: var(--gold2);
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.m-act-sec:hover { background: rgba(196,154,60,0.08); border-color: var(--gold2); }

.m-coords {
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  margin-top: 0.5rem;
  font-weight: 600;
}
.m-osm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem;
  border: 1px solid rgba(196,154,60,0.1);
  font-family: 'Syne', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,230,208,0.28);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: var(--transition);
  font-weight: 600;
}
.m-osm:hover { border-color: rgba(196,154,60,0.24); color: var(--warm); }

@media (max-width: 500px) {
  .modal-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 1.2rem 1.2rem 2rem; }
}

/* ════════════════════════
   MOBILE LAYOUT
════════════════════════ */
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
    gap: 0;
  }
  .hero-l { padding-right: 0; padding-top: 6.5rem; padding-bottom: 1rem; }
  .hero-r { height: 320px; min-height: 0; }
  .hero-vert { display: none; }
  .cup-scene svg { width: 220px !important; height: auto !important; }
}

/* ════════════════════════
   SCROLLBAR
════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(196,154,60,0.2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(196,154,60,0.35); }

/* ════════════════════════
   SELECTION
════════════════════════ */
::selection { background: rgba(196,154,60,0.25); color: var(--cream); }