/* Mapela "fresh" homepage concept (preview).
   Light and photo-led. Turquoise only on actions and the live dot, clay only
   on prices; everything else is ink on warm white. The one playful element
   is the stack of live-deal snapshots in the hero. */
:root {
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --ink: #10282A;
  --ink-soft: rgba(16, 40, 42, 0.72);
  --ink-faint: rgba(16, 40, 42, 0.5);
  --line: #E7E1D6;
  --teal: #0E7C7B;
  --teal-deep: #0A5F5E;
  --teal-bright: #2EC4C0;
  --teal-wash: #E3F4F2;
  --clay: #C4472F;
  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--font);
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Header with the big two-part search ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px var(--gutter);
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 28px; width: auto; }
.search {
  flex: 1;
  max-width: 640px;
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 20px -14px rgba(16, 40, 42, 0.45);
}
.search:focus-within { border-color: var(--teal); }
.field { flex: 1.4; display: flex; }
.field-where { flex: 1; border-left: 1.5px solid var(--line); }
.field input { width: 100%; border: 0; background: transparent; padding: 12px 18px; font: inherit; color: var(--ink); }
.field input::placeholder { color: var(--ink-faint); }
.field input:focus { outline: none; }
.search button {
  margin: 5px;
  width: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.search button:hover { background: var(--teal-deep); }
.top-links { display: flex; gap: 22px; margin-left: auto; }
.top-links a { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.top-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 96, "wdth" 88;
  max-width: 12ch;
}
.hero-sub { margin: 18px 0 0; font-size: 1.2rem; color: var(--ink-soft); }
.hero-sub b { color: var(--ink); font-weight: 700; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--teal-bright); margin-right: 8px; vertical-align: 2px; box-shadow: 0 0 0 4px rgba(46, 196, 192, 0.22); }

.picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
  transition: border-color 0.15s, transform 0.15s;
}
.pick img { width: 20px; height: 20px; }
.pick span { color: var(--ink-faint); font-weight: 550; font-variant-numeric: tabular-nums; }
.pick:hover { border-color: var(--teal); transform: translateY(-1px); }

/* The snapshots: three live deals, tilted and overlapping. */
.snaps { position: relative; height: 430px; }
.snap {
  position: absolute;
  width: 62%;
  background: var(--white);
  padding: 10px 10px 14px;
  border-radius: 14px;
  box-shadow: 0 2px 4px rgba(16, 40, 42, 0.06), 0 22px 44px -18px rgba(16, 40, 42, 0.42);
  text-decoration: none;
  animation: snap-in 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}
.snap:nth-child(1) { left: 0;   top: 46px;  transform: rotate(-5deg); animation-delay: 0.05s; z-index: 1; }
.snap:nth-child(2) { left: 36%; top: 0;     transform: rotate(4deg);  animation-delay: 0.18s; z-index: 2; }
.snap:nth-child(3) { left: 18%; top: 190px; transform: rotate(-1.5deg); animation-delay: 0.31s; z-index: 3; }
.snap:hover { z-index: 5; }
.snap .ph { aspect-ratio: 4 / 3; border-radius: 9px; }
.snap-cap { margin-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.snap-cap b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snap-cap span { flex: 0 0 auto; color: var(--teal-deep); font-weight: 650; font-size: 0.9rem; }
@keyframes snap-in { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Photos + fallback ---------- */
.ph { position: relative; overflow: hidden; background: var(--teal-wash); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  background: linear-gradient(140deg, var(--teal-wash), #F3EEE4);
  color: var(--teal-deep);
  font-weight: 650;
  font-size: 0.95rem;
}
.ph-fallback img { width: 34px; height: 34px; opacity: 0.75; object-fit: contain; }

/* ---------- Sections ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 750; letter-spacing: -0.02em; font-variation-settings: "opsz" 60, "wdth" 92; }
.sec-head a { font-weight: 650; color: var(--teal); text-decoration: none; white-space: nowrap; }
.sec-head a:hover { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Photo tiles: no box, just photo + text. */
.tiles {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72vw, 260px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.tile { scroll-snap-align: start; text-decoration: none; }
.tile .ph { aspect-ratio: 4 / 3; border-radius: 14px; }
.tile .ph img { transition: transform 0.35s ease; }
.tile:hover .ph img { transform: scale(1.04); }
.tile-name { margin: 10px 0 0; font-weight: 700; font-size: 1.05rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-deal { margin: 2px 0 0; color: var(--ink-soft); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-meta { margin: 6px 0 0; font-size: 0.92rem; color: var(--ink-faint); }
.when { font-weight: 650; color: var(--ink); }
.when.is-live { color: var(--teal-deep); }
.when.is-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); margin-right: 6px; vertical-align: 1px; }
.price { color: var(--clay); font-weight: 700; }

/* List rows: thumbnail + text, hairline dividers. */
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.row .ph { width: 76px; height: 76px; border-radius: 12px; }
.row .ph-fallback { font-size: 0; }
.row .ph-fallback img { width: 26px; height: 26px; }
.row-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-deal { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { font-size: 0.92rem; color: var(--ink-faint); }
.row:hover .row-name { color: var(--teal-deep); }

/* ---------- Map call-out ---------- */
.map-cta {
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 44px auto 0;
  padding: 28px 32px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.map-cta h2 { margin: 0; font-size: 1.5rem; font-weight: 750; letter-spacing: -0.015em; }
.map-cta p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.72); }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--teal-bright); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #245E6C; }

/* ---------- Footer ---------- */
.foot { max-width: var(--max); margin: 40px auto 0; padding: 28px var(--gutter) 48px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 0.9rem; }
.foot p { margin: 0 0 14px; max-width: 70ch; }
.foot a { color: var(--ink-soft); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  .top { flex-wrap: wrap; gap: 10px; }
  .top-links { gap: 14px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; gap: 8px; }
  .snaps { height: 300px; margin: 8px 6px 0; }
  .snap { width: 64%; }
  .snap:nth-child(3) { top: 128px; }
  .rows { grid-template-columns: 1fr; }
  .map-cta { flex-direction: column; align-items: flex-start; margin-left: var(--gutter); margin-right: var(--gutter); }
}
@media (max-width: 480px) {
  .field input { padding: 11px 14px; }
  .field-where { flex: 0.8; }
}

@media (prefers-reduced-motion: reduce) {
  .snap { animation: none; }
  .tile .ph img, .pick { transition: none; }
}

/* ==========================================================================
   v2: turquoise as the page's identity + Unbounded display type.
   ========================================================================== */
:root {
  --display: 'Unbounded', 'Bricolage Grotesque', system-ui, sans-serif;
  --teal: #2F7383;
  --teal-deep: #076B69;
  --teal-bright: #3FE0D0;
  --teal-wash: #E1F5F2;
  --hero-ink: #FFFFFF;
}

/* Full-bleed turquoise hero, content still on the page grid. */
.hero {
  max-width: none;
  padding: 64px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) 72px;
  background:
    radial-gradient(ellipse 55% 70% at 85% 30%, rgba(63, 224, 208, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(4, 77, 76, 0.55) 0%, transparent 60%),
    linear-gradient(160deg, #0FA19D 0%, #2F7383 45%, #08706E 100%);
  color: var(--hero-ink);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* A soft curve where the turquoise meets the page. */
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -60px;
  height: 120px;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-copy, .snaps { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--display);
  font-variation-settings: normal;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: none;
}
.rotator {
  position: relative;
  display: block;
  height: 1.08em;
  overflow: hidden;
  color: #FFE9A8;
}
.rotator > span {
  display: block;
  white-space: nowrap;
  animation: rot-in 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.1) both;
}
.rotator > span.is-out { animation: rot-out 0.35s ease-in both; }
@keyframes rot-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rot-out { from { transform: none; opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }
.h1-rest { display: block; }

.hero-sub { color: rgba(255, 255, 255, 0.82); }
.hero-sub b { color: #FFFFFF; }
.live-dot { background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(63, 224, 208, 0.35); }

.pick {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
}
.pick img { filter: brightness(0) invert(1); }
.pick span { color: rgba(255, 255, 255, 0.7); }
.pick:hover { background: #FFFFFF; color: var(--teal-deep); border-color: #FFFFFF; }
.pick:hover img { filter: none; }
.pick:hover span { color: var(--teal); }

.snap { box-shadow: 0 2px 4px rgba(0, 40, 40, 0.15), 0 26px 50px -18px rgba(0, 40, 40, 0.6); }
.snap-cap span { color: var(--teal); }

/* Search sits on light header; turquoise button. */
.search button { background: var(--teal); }
.search button:hover { background: var(--teal-deep); }

/* Section titles in the display face. */
.sec-head h2, .map-cta h2 {
  font-family: var(--display);
  font-variation-settings: normal;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
}
.sec-head a { color: var(--teal); }

/* "Later today" on a light turquoise band for rhythm. */
#later {
  max-width: none;
  margin-top: 24px;
  padding: 30px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) 22px;
  background: var(--teal-wash);
}
#later .row { border-top-color: rgba(11, 143, 140, 0.18); }

.when.is-live { color: var(--teal-deep); }
.price { color: var(--teal-deep); background: var(--teal-wash); padding: 0 6px; border-radius: 6px; }

.map-cta { background: linear-gradient(120deg, #08706E, #2F7383 60%, #10A8A3); }
.btn { background: #FFE9A8; color: #08403F; }
.btn:hover { background: #FFF3CC; }

@media (max-width: 860px) {
  .hero { padding-top: 36px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .rotator > span, .rotator > span.is-out { animation: none; }
}
.snap { color: var(--ink); }
@media (max-width: 860px) {
  .pick { font-size: 0.9rem; padding: 8px 13px 8px 10px; }
  .picks { gap: 8px; }
}

/* ==========================================================================
   v3: simple and modern. White + near-black, flat turquoise for actions and
   "live", copper for prices. One typeface (Geist). One photo in the hero.
   Overrides v1/v2 above.
   ========================================================================== */
:root {
  --font: 'Geist', system-ui, -apple-system, sans-serif;
  --display: 'Geist', system-ui, -apple-system, sans-serif;
  --paper: #FAFAF8;
  --white: #FFFFFF;
  --ink: #111417;
  --ink-soft: #4B5257;
  --ink-faint: #8A9095;
  --line: #ECEBE7;
  --teal: #3CC8C0;          /* flat modern turquoise */
  --teal-deep: #138F88;     /* turquoise for text on white (readable) */
  --teal-bright: #3CC8C0;
  --teal-wash: #E9F8F7;
  --copper: #B8734A;
  --copper-deep: #8F5232;
  --copper-sheen: linear-gradient(135deg, #D59A6C 0%, #B8734A 45%, #8F5232 100%);
}
body { font-family: var(--font); font-variation-settings: normal; letter-spacing: -0.005em; }

/* Header */
.top { background: rgba(250, 250, 248, 0.9); }
.search { border-width: 1px; box-shadow: none; }
.field-where { border-left-width: 1px; }
.search button { background: var(--teal); color: var(--ink); }
.search button:hover { background: #245E6C; }
.top-links a { font-weight: 500; }

/* Hero: calm, white, one photo */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px var(--gutter) 56px;
  background: none;
  color: var(--ink);
  overflow: visible;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
}
.hero::after { content: none; }
.hero h1 {
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 13ch;
  color: var(--ink);
}
.hero-sub { color: var(--ink-soft); font-size: 1.12rem; margin-top: 20px; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.live-dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(60, 200, 192, 0.22); }

.picks { gap: 8px; margin-top: 28px; }
.pick {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 14px 9px 11px;
  backdrop-filter: none;
  transition: border-color 0.15s;
}
.pick img { filter: none; width: 18px; height: 18px; opacity: 0.85; }
.pick span { color: var(--ink-faint); font-weight: 450; }
.pick:hover { background: var(--white); color: var(--ink); border-color: var(--ink); transform: none; }
.pick:hover img { filter: none; }
.pick:hover span { color: var(--ink-faint); }

/* One large photo instead of three tilted snapshots. */
.snaps { height: auto; }
.snap {
  position: relative;
  left: auto !important;
  top: auto !important;
  width: 100%;
  transform: none !important;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
  animation: none;
  background: none;
  color: var(--ink);
}
.snap:nth-child(n + 2) { display: none; }
.snap .ph { aspect-ratio: 5 / 4; border-radius: 20px; }
.snap-cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  gap: 14px;
  z-index: 2;
}
.snap-cap b { font-weight: 600; }
.snap-cap span { color: var(--teal-deep); font-weight: 600; }

/* Sections */
.sec-head h2, .map-cta h2 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.035em;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}
.sec-head a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.sec-head a:hover { text-decoration-color: var(--ink); }
#later { max-width: var(--max); margin-top: 0; padding: 28px var(--gutter) 8px; background: none; }
#later .row { border-top-color: var(--line); }
.tile .ph, .row .ph { border-radius: 14px; }
.tile-name, .row-name { font-weight: 600; }
.tile:hover .ph img { transform: scale(1.03); }

.when { font-weight: 500; color: var(--ink-soft); }
.when.is-live { color: var(--teal-deep); font-weight: 600; }
.when.is-live::before { background: var(--teal); }
.price { color: var(--copper-deep); background: none; padding: 0; font-weight: 650; }

/* Map call-out: near-black with the one copper sheen. */
.map-cta { background: var(--ink); border-radius: 20px; }
.map-cta p { color: rgba(255, 255, 255, 0.65); }
.btn { background: var(--copper-sheen); color: #FFFFFF; font-weight: 600; }
.btn:hover { background: var(--copper-sheen); filter: brightness(1.08); }

.ph { background: var(--teal-wash); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 24px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .snaps { margin: 0; }
}

/* ==========================================================================
   v4: palette from the user's turquoise beadwork reference — matte
   robin's-egg turquoise as the one strong color; rust and burgundy as small
   warm notes; blush-cream base; black outlines. Overrides v1-v3.
   ========================================================================== */
:root {
  --paper: #FDF8F3;         /* blush cream beads */
  --white: #FFFCFA;
  --ink: #29272B;           /* black outline beads */
  --ink-soft: #4F4744;
  --ink-faint: #8C817C;
  --line: #E8DDD7;
  --teal: #2F7383;          /* turquoise beads */
  --teal-deep: #2F7383;     /* turquoise readable as text */
  --teal-bright: #2F7383;
  --teal-wash: #E3EEF1;
  --rust: #C9431B;          /* rust / copper band */
  --rust-deep: #7A321C;
  --burgundy: #C9431B;      /* earring fringe */
  --copper: var(--rust);
  --copper-deep: var(--rust-deep);
}
.top { background: rgba(253, 248, 243, 0.92); }
.search { background: var(--white); }
.search button { background: var(--teal); color: var(--ink); }
.search button:hover { background: #245E6C; }

/* Hero photo sits on a turquoise block offset behind it — the one bold move. */
.snaps { position: relative; }
.snaps::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: 22px;
  background: var(--teal);
}
.snap { z-index: 1; }
.snap-cap { background: rgba(255, 252, 250, 0.95); }
.snap-cap span { color: var(--teal-deep); }

.pick { background: var(--white); }
.pick:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.pick:hover span { color: var(--teal-deep); }

.live-dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(47, 115, 131, 0.25); }
.when.is-live { color: var(--teal-deep); }
.when.is-live::before { background: var(--teal); }
.price { color: var(--rust); }

.sec-head a:hover { text-decoration-color: var(--burgundy); color: var(--burgundy); }
.tile:hover .tile-name, .row:hover .row-name { color: var(--burgundy); }

/* Map call-out in burgundy with a rust button. */
.map-cta { background: var(--burgundy); }
.map-cta p { color: rgba(255, 252, 250, 0.72); }
.btn { background: var(--teal); color: var(--ink); }
.btn:hover { background: #245E6C; filter: none; }

.ph { background: var(--teal-wash); }
.foot a:hover { color: var(--burgundy); }

@media (max-width: 860px) {
  .snaps::before { inset: 14px -10px -14px 14px; }
}

/* ==========================================================================
   v5 = example E: cream page, burgundy header + headline, deep turquoise
   frame and actions, rust prices, burgundy map panel. Overrides v1-v4.
   ========================================================================== */
:root {
  --paper: #FDF8F3;
  --burgundy: #C9431B;
  --deep: #2F7383;
  --deep-hover: #245E6C;
  --turq: #2F7383;
  --rust: #C9431B;
}
.top { background: var(--burgundy); border-bottom: 0; backdrop-filter: none; }
.brand img { filter: invert(1); }
.search { border-color: transparent; }
.search:focus-within { border-color: var(--turq); }
.search button { background: var(--deep); color: #FFFFFF; }
.search button:hover { background: var(--deep-hover); }
.top-links a { color: rgba(253, 248, 243, 0.82); }
.top-links a:hover { color: #FFFFFF; }

.hero h1 { color: var(--burgundy); }
.snaps::before { background: var(--deep); }
.snap-cap span { color: var(--deep); }

.pick:first-child { background: var(--deep); border-color: var(--deep); color: #FFFFFF; }
.pick:first-child img { filter: brightness(0) invert(1); opacity: 1; }
.pick:first-child span { color: rgba(255, 255, 255, 0.75); }
.pick:hover { border-color: var(--deep); color: var(--deep); }
.pick:first-child:hover { background: var(--deep-hover); color: #FFFFFF; }

.live-dot { background: var(--deep); box-shadow: 0 0 0 4px rgba(47, 115, 131, 0.2); }
.when.is-live { color: var(--deep); }
.when.is-live::before { background: var(--deep); }
.price { color: var(--rust); }

.sec-head a:hover, .tile:hover .tile-name, .row:hover .row-name { color: var(--burgundy); }

.map-cta { background: var(--burgundy); }
.btn { background: var(--turq); color: #29272B; }
.btn:hover { background: #245E6C; }

@media (max-width: 860px) {
  .top-links a { color: rgba(253, 248, 243, 0.9); }
}

/* ==========================================================================
   v6: Yelp-style rotating hero (one big photo at a time), icon cravings
   row, and text-led lists — far fewer photos. Palette E unchanged.
   ========================================================================== */
.hero, .snaps, .picks { display: none; }

.slides { position: relative; height: min(64vh, 560px); min-height: 380px; overflow: hidden; background: var(--ink); }
.slides-track, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 0.9s ease; }
.slide.is-on { opacity: 1; }
.slide-bg { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.03); transition: transform 7s ease-out; }
.slide.is-on .slide-bg { transform: scale(1); }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(41, 39, 43, 0.72) 0%, rgba(41, 39, 43, 0.35) 45%, rgba(41, 39, 43, 0) 75%),
              linear-gradient(0deg, rgba(41, 39, 43, 0.45) 0%, rgba(41, 39, 43, 0) 40%);
}
.slide-copy {
  position: absolute;
  z-index: 1;
  left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  bottom: 72px;
  max-width: 560px;
  color: #FFFFFF;
}
.slide-title {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.045em;
}
.slide-sub { margin: 14px 0 0; font-size: 1.1rem; color: rgba(255, 255, 255, 0.88); }
.slide-sub .live-dot { background: var(--turq); box-shadow: 0 0 0 4px rgba(47, 115, 131, 0.3); }
.slide-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--deep);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
}
.slide-cta:hover { background: var(--deep-hover); }
.slides-dots {
  position: absolute;
  z-index: 2;
  left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  bottom: 30px;
  display: flex;
  gap: 8px;
}
.slides-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.slides-dots button[aria-selected="true"] { background: #FFFFFF; }

/* Cravings: icons + counts, no photos */
.cravings { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 8px; }
.cravings-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.craving {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s;
}
.craving:hover { background: #FFFFFF; }
.craving-ico { width: 52px; height: 52px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; border: 1px solid var(--line); }
.craving-ico img { width: 26px; height: 26px; }
.craving b { font-weight: 600; font-size: 0.98rem; }
.craving-n { font-size: 0.88rem; color: var(--ink-faint); }
.craving:first-child .craving-ico { background: var(--deep); border-color: var(--deep); }
.craving:first-child .craving-ico img { filter: brightness(0) invert(1); }

/* Text-led lists */
.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.li-ico { width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--line); display: grid; place-items: center; }
.li-ico img { width: 20px; height: 20px; }
.li-main { min-width: 0; display: flex; flex-direction: column; }
.li-main b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-main > span { color: var(--ink-soft); font-size: 0.94rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 0.9rem; white-space: nowrap; }
.li-meta > span:last-child { color: var(--ink-faint); }
.li:hover b { color: var(--burgundy); }

@media (max-width: 860px) {
  .slides { height: 62vh; min-height: 420px; }
  .slide::after { background: linear-gradient(0deg, rgba(41, 39, 43, 0.82) 0%, rgba(41, 39, 43, 0.35) 55%, rgba(41, 39, 43, 0.1) 100%); }
  .slide-copy { right: var(--gutter); bottom: 60px; }
  .cravings-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .craving { padding: 12px 4px; }
  .list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide-bg { transition: none; }
}

/* Slides feature a real deal: category label, deal headline, two actions. */
.slide-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
}
.slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.slide-actions .slide-cta { margin-top: 0; }
.slide-all { color: #FFFFFF; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.5); text-underline-offset: 4px; }
.slide-all:hover { text-decoration-color: #FFFFFF; }

/* v7: less text below the hero */
.craving { gap: 10px; padding: 16px 8px; }
.craving b { font-weight: 550; }
.li { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 16px 0; }
.li-main b { font-weight: 600; }
.li-meta { font-size: 0.92rem; }
.map-cta { align-items: center; padding: 26px 32px; }
.map-cta h2 { margin: 0; }
.foot p { margin-bottom: 10px; }
@media (max-width: 860px) {
  /* All five categories fit on one row, no sideways scrolling. */
  .cravings-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
  .craving { padding: 10px 2px; gap: 8px; min-width: 0; }
  .craving-ico { width: 46px; height: 46px; }
  .craving-ico img { width: 23px; height: 23px; }
  .craving b { font-size: 0.78rem; text-align: center; line-height: 1.2; }
}

/* Map panel: a drawn map fading in from the right, behind the text. */
.map-cta { position: relative; overflow: hidden; min-height: 150px; }
.map-cta > h2, .map-cta > .btn { position: relative; z-index: 1; }
.map-cta-art {
  position: absolute;
  inset: 0 0 0 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  pointer-events: none;
}
.map-cta-art svg { width: 100%; height: 100%; display: block; }
.map-cta .btn { box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45); }
@media (max-width: 860px) {
  .map-cta { min-height: 190px; }
  .map-cta-art { inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
}
@media (max-width: 860px) {
  .map-cta-art { opacity: 0.55; top: 40%; }
}

/* ---------- Live homepage extras: sign-in button, support note, newsletter, cities ---------- */
.top .mapela-account-btn {
  margin-left: 4px; background: transparent; color: rgba(253, 248, 243, 0.92);
  border: 1px solid rgba(253, 248, 243, 0.4); border-radius: 999px; padding: 0;
  font: 600 0.9rem/1 var(--font); cursor: pointer;
}
.top .mapela-account-btn:hover { background: rgba(253, 248, 243, 0.12); }
.support {
  max-width: var(--max); margin: 28px auto 0; padding: 0 var(--gutter);
  color: var(--ink-soft); font-size: 0.95rem;
}
.support a { color: var(--burgundy); font-weight: 600; }
.news {
  max-width: var(--max); margin: 36px auto 0; padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
}
.news h2 { margin: 0; font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.news form { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 380px; }
.news input[type="email"], .news input[name="zip"] {
  font: inherit; font-size: 0.95rem; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); color: var(--ink);
}
.news input[type="email"] { flex: 1 1 200px; }
.news input[name="zip"] { width: 92px; }
.news button {
  font: inherit; font-weight: 600; padding: 10px 18px; border: 0; border-radius: 999px;
  background: var(--deep); color: #fff; cursor: pointer;
}
.news button:hover { background: var(--deep-hover); }
.news .fine { flex-basis: 100%; margin: 0; color: var(--ink-faint); font-size: 0.82rem; }
.news .honeypot { position: absolute; left: -9999px; }
.foot .cities { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot .cities a { text-decoration: none; }

/* What Mapela is, above the rotating deal photos. */
.intro { max-width: var(--max); margin: 0 auto; padding: 30px var(--gutter) 26px; }
.intro h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -0.04em;
  color: var(--burgundy);
}
.intro p { margin: 10px 0 0; max-width: 60ch; font-size: 1.1rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .intro { padding: 22px var(--gutter) 20px; }
  .intro p { font-size: 1rem; }
}

/* Headings in Catamaran (the wordmark's face); body text stays Geist. */
:root { --display: 'Catamaran', 'Geist', system-ui, -apple-system, sans-serif; }
.intro h1, .slide-title, .sec-head h2, .map-cta h2, h2, h3 { font-family: var(--display); letter-spacing: -0.01em; }
.intro h1, .slide-title { font-weight: 800; }
.sec-head h2, .map-cta h2 { font-weight: 700; }
.top .mapela-account-btn svg { width: 20px; height: 20px; flex: none; }

/* Bar-tile pattern (assets/img/pattern): zigzags, small nested diamonds and
   joined-diamond shapes, repeated side to side and kept faint, on the header
   and the headline band. The middle
   row of joined diamonds sits at 46% of the image height. */
.top {
  background-image: url("/assets/img/pattern/bar-tile-cream.png");
  background-size: auto 200px;
  background-position: center 46%;
  background-repeat: repeat-x;
}
.intro {
  max-width: none;
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background-image: url("/assets/img/pattern/bar-tile-dark.png");
  background-repeat: repeat-x;
}
.intro { background-size: auto 300px; background-position: center 46%; }

/* What we offer, picked out in the intro line; each opens the map filtered. */
.intro p a { color: var(--burgundy); font-weight: 700; text-decoration: none; }
.intro p a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Header + photo hero (2026-11-05): light top bar with the deal types, then
   a full-width photo with the headline, search and category pills, ending
   in a turquoise wave with the diamond.
   ========================================================================== */
.top {
  background: #FDF8F3;
  background-image: none;
  border-bottom: 1px solid rgba(41, 39, 43, 0.08);
  gap: 28px;
  padding: 14px max(var(--gutter), calc((100% - 1320px) / 2));
}
.brand img { height: 40px; width: auto; filter: none; }
.top-cats { display: flex; gap: 26px; margin-left: auto; }
.top-cats a, .top-saved {
  display: inline-flex; align-items: center; gap: 8px;
  color: #29272B; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.top-cats a:hover, .top-saved:hover { color: #C9431B; }
.top-saved { padding-left: 22px; border-left: 1px solid rgba(41, 39, 43, 0.15); }
.top-map {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: #C9431B; color: #FFFFFF; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.top-map:hover { background: #A3360F; }
.top .mapela-account-btn { border-color: rgba(41, 39, 43, 0.2); color: #29272B; }

.hero2 {
  position: relative;
  padding: 76px var(--gutter) 128px;
  background: linear-gradient(rgba(24, 18, 22, 0.6), rgba(24, 18, 22, 0.68)),
              url("/assets/img/hero/bar-cocktails.jpg") center / cover no-repeat;
  color: #FFFFFF;
  text-align: center;
}
.hero2-inner { max-width: 940px; margin: 0 auto; }
.hero2 h1 { margin: 0; line-height: 1.02; }
.hero2 .h1-a {
  display: block;
  font: 800 clamp(2.3rem, 5.2vw, 4.3rem)/1.05 var(--display);
  letter-spacing: -0.02em;
}
.hero2 .h1-b {
  display: block;
  margin-top: 4px;
  font: 400 clamp(2.6rem, 6vw, 5rem)/1.05 "Kaushan Script", cursive;
  color: #2F7383;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.swoosh { display: block; width: min(460px, 70%); height: 18px; margin: 2px auto 0; }
.hero2-sub { margin: 14px auto 28px; max-width: 46ch; font-size: 1.15rem; color: rgba(255, 255, 255, 0.92); }
.hero2 .search {
  display: flex; align-items: center; gap: 0;
  max-width: 880px; margin: 0 auto; padding: 8px;
  background: #FFFFFF; border: 0; border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}
.hero2 .search .field {
  display: flex; align-items: center; gap: 10px; flex: 1.4;
  padding: 0 18px; color: #2F7383; border: 0; background: none; min-width: 0;
}
.hero2 .search .field-where { flex: 1; border-left: 1px solid rgba(41, 39, 43, 0.15); color: #29272B; }
.hero2 .search input {
  width: 100%; min-width: 0; border: 0; outline: none; background: none;
  font: 400 1.05rem var(--font); color: #29272B; padding: 12px 0;
}
.hero2 .search button {
  flex: none; width: auto; height: auto; padding: 14px 28px; border: 0; border-radius: 999px;
  background: #2F7383; color: #FFFFFF; font: 700 1.05rem var(--font); cursor: pointer;
}
.hero2 .search button:hover { background: #245E6C; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: #FDF8F3; color: #29272B; font-weight: 600; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.pill:hover { background: #FFFFFF; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 76px; display: block; }

@media (max-width: 1100px) {
  .top-cats { display: none; }
  .top-saved { margin-left: auto; border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .top { flex-wrap: nowrap; gap: 14px; padding: 10px var(--gutter); }
  .brand img { height: 32px; }
  .top-saved { font-size: 0; gap: 0; }
  .top-map { padding: 9px 14px; font-size: 0.92rem; }
  .hero2 { padding: 44px var(--gutter) 104px; }
  .hero2-sub { font-size: 1rem; margin-bottom: 22px; }
  .hero2 .search { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 10px; gap: 6px; }
  .hero2 .search .field, .hero2 .search .field-where { border-left: 0; padding: 4px 10px; }
  .hero2 .search .field-where { border-top: 1px solid rgba(41, 39, 43, 0.12); }
  .hero2 .search button { width: 100%; }
  .pills { gap: 8px; }
  .pill { padding: 8px 13px; font-size: 0.9rem; }
  .wave { height: 54px; }
}
.hero2 .search button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.wave-diamond { position: absolute; left: 50%; bottom: 4px; width: 44px; height: 44px; transform: translateX(-50%); }
@media (max-width: 860px) {
  .hero2 .search button { padding: 13px 20px; }
  .wave-diamond { width: 34px; height: 34px; bottom: 2px; }
}

/* Rotating deal photos behind the hero (home.js startSlides), darkened by the
   overlay; only a small caption with the deal and restaurant shows. */
.hero2 .slides { position: absolute; inset: 0; height: auto; min-height: 0; background: none; overflow: hidden; }
.hero2::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(24, 18, 22, 0.58), rgba(24, 18, 22, 0.7));
}
.hero2-inner { position: relative; z-index: 2; }
.hero2 .wave, .hero2 .wave-diamond { z-index: 2; }
.hero2 .slide::after { content: none; }
.hero2 .slide-copy {
  z-index: 3; left: auto; right: max(var(--gutter), calc((100% - 1320px) / 2)); bottom: 96px;
  max-width: 320px; text-align: right; color: rgba(255, 255, 255, 0.85);
}
.hero2 .slide-label, .hero2 .slide-all { display: none; }
.hero2 .slide-title { font: 600 0.9rem/1.3 var(--font); letter-spacing: 0; }
.hero2 .slide-sub { margin: 2px 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); }
.hero2 .slide-sub .live-dot { width: 7px; height: 7px; }
.hero2 .slide-actions { margin-top: 4px; }
.hero2 .slide-cta { padding: 0; margin: 0; background: none; font-size: 0.8rem; font-weight: 600; color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .hero2 .slide-copy { left: var(--gutter); right: var(--gutter); max-width: none; bottom: 64px; text-align: center; }
}
.hero2 .slides-dots { display: none; }
.hero2 .slide-actions { justify-content: flex-end; }
@media (max-width: 860px) {
  .hero2 { padding-bottom: 168px; }
  .hero2 .slide-copy { bottom: 66px; }
  .hero2 .slide-actions { justify-content: center; }
}
/* Account button on the light bar: dark outline, burgundy when signed in. */
.top .mapela-account-btn { background: #FFFFFF; border: 1px solid rgba(41, 39, 43, 0.2); color: #29272B; }
.top .mapela-account-btn.is-signed-in { background: #C9431B; border-color: #C9431B; color: #FFFFFF; }
/* Phones: the map button is just the pin icon. */
@media (max-width: 860px) {
  .top-map { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .top-map svg { width: 20px; height: 20px; }
}
/* Phones: heart and map pin are plain icons; the account is the one circle. */
@media (max-width: 860px) {
  .top-map, .top-map:hover { width: 36px; height: 36px; background: none; color: #C9431B; }
  .top-map svg { width: 24px; height: 24px; }
  .top-saved img { width: 24px; height: 24px; }
  .top .mapela-account-btn { width: 38px; height: 38px; }
}
/* Phones: the map panel is one short row, title left and button right. */
@media (max-width: 860px) {
  .map-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; min-height: 0; padding: 16px 18px; }
  .map-cta h2 { font-size: 1.1rem; text-align: left; }
  .map-cta .btn { flex: none; padding: 10px 16px; font-size: 0.92rem; }
  .map-cta-art { opacity: 0.5; }
}
@media (max-width: 860px) {
  .map-cta-art {
    inset: 0; top: 0; opacity: 0.6;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 60%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 30%, #000 60%);
  }
}

/* Hero divider: cream-edged turquoise band dipping into a stepped diamond,
   burgundy rule beneath. Sliced, so the diamond keeps its size at any width. */
.hero2 .wave { height: 100px; }
@media (max-width: 860px) { .hero2 .wave { height: 64px; } }

/* ---------- Listing cards (On now near …) ---------- */
.dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dcard {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(41, 39, 43, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dcard:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(41, 39, 43, 0.10); border-color: #DCCFC7; }
.dc-top { position: relative; }
.dc-top .ph-fallback { padding-bottom: 56px; }
.dc-top .ph-fallback span { display: none; }
.dc-top .ph-fallback img { width: 44px; height: 44px; }
.dc-top .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.dc-top .ph img.photo { transition: transform 0.35s ease; }
.dcard:hover .dc-top .ph img.photo { transform: scale(1.04); }
.dc-top::after {
  content: ""; position: absolute; inset: 35% 0 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 16, 18, 0) 0%, rgba(20, 16, 18, 0.78) 100%);
}
.dc-over { position: absolute; left: 14px; right: 72px; bottom: 12px; z-index: 3; color: #FFFFFF; }
.dc-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc-meta { margin-top: 2px; font-size: 0.86rem; opacity: 0.92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-dist {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  background: rgba(255, 252, 250, 0.94); color: var(--ink); font-size: 0.8rem; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
}
.dc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dc-hours {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: #C9431B;
  border: 1.5px solid currentColor; border-radius: 8px; padding: 2px 8px 2px 6px; white-space: nowrap;
}
.dc-hours img { width: 16px; height: 16px; }
.dc-state { font-size: 0.8rem; font-weight: 600; color: var(--ink-faint); background: #F7E7D6; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.dc-state.is-live { color: #286A79; background: #E3EEF1; }
.dc-state.is-live::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2F7383; margin-right: 6px; vertical-align: 1px;
  animation: dc-pulse 1.8s ease-in-out infinite;
}
@keyframes dc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.dc-title { margin: 2px 0 0; font-weight: 650; line-height: 1.3; }
.dc-offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 0.93rem; }
.dc-offers li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: baseline; }
.dc-offers li.plain { grid-template-columns: minmax(0, 1fr); }
.dc-offers b { color: #C9431B; font-weight: 700; white-space: nowrap; }
.dc-offers span { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-more { margin: auto 0 0; padding-top: 2px; font-size: 0.85rem; color: var(--ink-faint); }
.dcard:hover .dc-title { color: #C9431B; }
@media (max-width: 1000px) { .dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .dcards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
  .dcards::-webkit-scrollbar { display: none; }
  .dcard { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .dcard, .dc-top .ph img.photo { transition: none; }
  .dc-state.is-live::before { animation: none; }
}

/* ---------- "Not here? Use my location" under the section title ---------- */
.sec-title { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.near-me {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none;
  font: 600 0.92rem/1.2 var(--font); color: #286A79; cursor: pointer;
}
.near-me:hover:not(:disabled) { color: #C9431B; text-decoration: underline; text-underline-offset: 3px; }
.near-me:disabled { color: var(--ink-faint); cursor: default; }
.sec-head:has(.near-me) { align-items: flex-start; }
.near-me { white-space: nowrap; text-align: left; }
@media (max-width: 640px) {
  .sec-head:has(.near-me) { display: grid; grid-template-columns: 1fr auto; row-gap: 2px; }
  .sec-head:has(.near-me) .sec-title { display: contents; }
  .sec-head:has(.near-me) h2 { grid-column: 1; grid-row: 1; }
  .sec-head:has(.near-me) > a { grid-column: 2; grid-row: 1; align-self: center; }
  .sec-head:has(.near-me) .near-me { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}

/* ==========================================================================
   2026-11-10 refresh: mountain-arrowhead logo, Nunito (rounded) type, a
   floating white header card with the tabs, and a rounded photo panel with
   the headline, search and pills set off to the left.
   ========================================================================== */
:root {
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hdr-h: 68px;
  --hdr-top: 16px;
  --panel-gap: 12px;
}
body { font-family: var(--font); letter-spacing: 0; }
.intro h1, .slide-title, .sec-head h2, .map-cta h2, h2, h3 { font-family: var(--display); letter-spacing: -0.01em; }
.sec-head h2, .map-cta h2 { font-weight: 800; }

/* ---- Header card ---- */
.top {
  position: sticky; top: var(--hdr-top); z-index: 100;
  width: min(1296px, calc(100% - 2 * (var(--panel-gap) + 24px)));
  height: var(--hdr-h);
  margin: calc(var(--panel-gap) + var(--hdr-top) - 0px) auto 0;
  padding: 0 14px 0 26px;
  display: flex; align-items: center; gap: 18px;
  background: #FFFFFF; background-image: none;
  border: 1px solid rgba(41, 39, 43, 0.06); border-radius: 999px;
  box-shadow: 0 10px 30px -12px rgba(41, 39, 43, 0.28);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.brand { flex: none; display: flex; }
.brand img { height: 38px; width: auto; filter: none; }
.top-cats { display: none; }
.top-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.top-nav > a, .top-menu > summary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  color: #29272B; font: 700 1rem/1 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer; list-style: none;
}
.top-menu > summary::-webkit-details-marker { display: none; }
.top-nav > a:hover, .top-menu > summary:hover, .top-menu[open] > summary { background: #F7E7D6; color: #C9431B; }
.top-menu { position: relative; }
.top-menu .chev { transition: transform 0.15s; }
.top-menu[open] .chev { transform: rotate(180deg); }
.top-menu .menu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px;
  display: grid; padding: 8px; background: #FFFFFF; border-radius: 18px;
  border: 1px solid rgba(41, 39, 43, 0.08);
  box-shadow: 0 18px 40px -14px rgba(41, 39, 43, 0.35);
}
.top-menu .menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  color: #29272B; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.top-menu .menu a:hover { background: #F7E7D6; color: #C9431B; }
.top-loc {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(41, 39, 43, 0.16);
  background: #FFFFFF; color: #29272B; font: 700 0.98rem/1 var(--font); cursor: pointer; white-space: nowrap;
}
.top-loc:hover { border-color: #C9431B; color: #C9431B; }
.top-saved { flex: none; margin: 0; padding: 0; border: 0; width: 40px; height: 40px; justify-content: center; border-radius: 50%; }
.top-saved:hover { background: #F7E7D6; }
.top-map { display: none; }
.top .mapela-account-btn { margin-left: 0; }

/* ---- Photo panel ---- */
.hero2 {
  margin: calc(-1 * (var(--hdr-h) + var(--hdr-top) + 16px)) var(--panel-gap) 0;
  padding: calc(var(--hdr-h) + var(--hdr-top) + 16px + 72px) max(56px, calc((100% - 1240px) / 2)) 96px;
  min-height: min(76vh, 680px);
  border-radius: 28px; overflow: hidden;
  display: flex; align-items: center;
  text-align: left; color: #29272B;
  background: #F1E6D6 url("/assets/img/hero/bar-cocktails.jpg") center / cover no-repeat;
}
/* Warm cream on the left for the text, the photo showing through on the right. */
.hero2::before {
  background:
    linear-gradient(90deg, rgba(253, 248, 243, 0.97) 0%, rgba(253, 248, 243, 0.9) 34%, rgba(253, 248, 243, 0.35) 60%, rgba(253, 248, 243, 0) 78%),
    linear-gradient(0deg, rgba(20, 16, 18, 0.45) 0%, rgba(20, 16, 18, 0) 32%);
}
.hero2-inner { max-width: 640px; margin: 0; }
.hero2 h1 { line-height: 1; }
.hero2 .h1-a, .hero2 .h1-b {
  display: block;
  font: 900 clamp(2.6rem, 5.4vw, 4.6rem)/1.02 var(--display);
  letter-spacing: -0.025em; color: #29272B; text-shadow: none;
}
.hero2 .h1-b { margin-top: 2px; color: #C9431B; }
.swoosh { width: min(360px, 62%); margin: 6px 0 0; }
.swoosh path { stroke: #2F7383; }
.hero2-sub { margin: 18px 0 30px; max-width: 34ch; font-size: 1.25rem; line-height: 1.4; color: rgba(41, 39, 43, 0.82); }
.hero2 .search {
  max-width: 640px; margin: 0;
  box-shadow: 0 14px 36px -12px rgba(41, 39, 43, 0.3); border: 1px solid rgba(41, 39, 43, 0.06);
}
.hero2 .search .field { color: #C9431B; }
.hero2 .search input { font-family: var(--font); font-weight: 600; }
.hero2 .search button { background: #29272B; font-family: var(--font); font-weight: 800; }
.hero2 .search button:hover { background: #C9431B; }
.pills { justify-content: flex-start; gap: 10px; margin-top: 22px; }
.pill {
  background: #FFFFFF; border: 1px solid rgba(41, 39, 43, 0.1);
  box-shadow: 0 4px 14px -8px rgba(41, 39, 43, 0.35); font-weight: 700;
}
.pill:hover { background: #FFFFFF; border-color: #C9431B; color: #C9431B; }
/* The rotating deal caption sits bottom right, over the photo. */
.hero2 .slide-copy { left: auto; right: max(28px, calc((100% - 1240px) / 2)); bottom: 26px; text-align: right; }
.hero2 .slide-title { font-family: var(--font); font-weight: 800; }

/* Flat deal-type row with icons (All Deals, Happy Hours, Meal Deals, Kids
   Eat Free, Events) + Cities menu; tightens as the window narrows. */
.top-nav > a img, .top-menu > summary img { width: 20px; height: 20px; flex: none; }
@media (max-width: 1360px) {
  .top-nav { gap: 0; }
  .top-nav > a, .top-menu > summary { padding: 10px 10px; font-size: 0.95rem; gap: 5px; }
}
/* 2026-11-14: the nav always keeps its icons; narrow desktops shorten the
   names instead (All, Drinks, Meals: the phone chips' words, for.js). */
.top-nav .nl-short { display: none; }
@media (max-width: 1080px) {
  .top-nav .nl-full { display: none; }
  .top-nav .nl-short { display: inline; }
}
@media (max-width: 1180px) {
  .top-nav > a, .top-menu > summary { padding: 9px 8px; font-size: 0.92rem; }
}
@media (max-width: 1100px) {
  .top-loc { padding: 10px; gap: 0; }
  .top-loc [data-loc-label], .top-loc .chev { display: none; }   /* just the pin */
}
@media (max-width: 960px) {
  .top-nav { display: none; }
  .top-loc { margin-left: auto; }
  .hero2 { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 860px) {
  :root { --hdr-h: 58px; --hdr-top: 10px; --panel-gap: 8px; }
  .top { width: calc(100% - 2 * (var(--panel-gap) + 10px)); padding: 0 8px 0 16px; gap: 6px; }
  .brand img { height: 30px; }
  .top-loc { padding: 8px 12px; font-size: 0.9rem; gap: 6px; }
  .top-loc .chev { display: none; }
  .top-saved { width: 36px; height: 36px; }
  .top .mapela-account-btn { width: 36px; height: 36px; }
  .hero2 {
    border-radius: 22px; min-height: 0;
    padding: calc(var(--hdr-h) + var(--hdr-top) + 16px + 34px) 20px 120px;
  }
  .hero2::before {
    background:
      linear-gradient(180deg, rgba(253, 248, 243, 0.96) 0%, rgba(253, 248, 243, 0.9) 62%, rgba(253, 248, 243, 0.2) 86%, rgba(20, 16, 18, 0.35) 100%);
  }
  .hero2-sub { font-size: 1.05rem; margin-bottom: 22px; }
  .hero2 .slide-copy { left: 20px; right: 20px; bottom: 20px; text-align: left; }
  .hero2 .slide-actions { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .top-loc span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
}
.hero2-inner { max-width: 760px; }
.hero2 .h1-a, .hero2 .h1-b { font-size: clamp(2.3rem, 4.6vw, 4.1rem); }
.hero2-sub { max-width: 42ch; }
@media (max-width: 480px) {
  .top-saved { display: none; }
  .brand img { height: 28px; }
  .top-loc { padding: 8px 10px; }
}

/* 2026-11-10 palette from the brand board: cream, charcoal, terracotta
   highlights, deep teal. */
:root {
  --terracotta: #C9431B; --terracotta-deep: #A3360F; --teal-brand: #2F7383;
  --burgundy: #C9431B; --rust: #C9431B; --turq: #2F7383; --deep: #2F7383; --deep-hover: #245E6C;
  --teal: #2F7383; --teal-deep: #286A79; --teal-bright: #2F7383; --teal-wash: #E3EEF1;
}
.btn, .search button { color: #FFFFFF; }
.hero2 .h1-b { color: #29272B; }
.swoosh path { stroke: #C9431B; }
.hero2 .search .field { color: #C9431B; }
.hero2 .search button { background: #C9431B; }
.hero2 .search button:hover { background: #A3360F; }
.sec-head > a, .sec-head a { color: #C9431B; text-decoration-color: rgba(201, 67, 27, 0.35); font-weight: 700; }
.top-nav > a:hover, .top-menu > summary:hover, .top-menu[open] > summary, .top-menu .menu a:hover { background: #F7E7D6; color: #C9431B; }
.top-loc:hover { border-color: #C9431B; color: #C9431B; }
.top-saved:hover { background: #F7E7D6; }
.pill:hover { border-color: #C9431B; color: #C9431B; }

/* Light beige (#F7E7D6, the brand board's cream tile) for bands, pills and
   hovers; the page itself is a near-white warm cream. */
:root { --paper: #FDF8F3; --beige: #F7E7D6; --beige-line: #EBD5BE; }
body { background: var(--paper); }
.hero2 { background-color: var(--beige); }
.hero2::before {
  background:
    linear-gradient(90deg, rgba(247, 231, 214, 0.97) 0%, rgba(247, 231, 214, 0.9) 34%, rgba(247, 231, 214, 0.35) 60%, rgba(247, 231, 214, 0) 78%),
    linear-gradient(0deg, rgba(20, 16, 18, 0.45) 0%, rgba(20, 16, 18, 0) 32%);
}
.pill { background: #FFF9F2; border-color: var(--beige-line); }
.top-loc { background: var(--beige); border-color: transparent; }
.top-loc:hover { background: #F2DCC5; border-color: transparent; }
.foot { max-width: none; margin-top: 48px; border-top: 0; background: var(--beige);
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.support { margin-bottom: 0; }
@media (max-width: 860px) {
  .hero2::before {
    background: linear-gradient(180deg, rgba(247, 231, 214, 0.96) 0%, rgba(247, 231, 214, 0.9) 62%, rgba(247, 231, 214, 0.2) 86%, rgba(20, 16, 18, 0.35) 100%);
  }
}
/* Traced logo v9: the arrowhead is taller than the wordmark, so a bit larger. */
.brand img { height: 50px; }
@media (max-width: 860px) { .brand img { height: 40px; } }
@media (max-width: 480px) { .brand img { height: 36px; } }

/* 2026-11-11 palette matched to the logo: burnt orange highlights, teal blue,
   deep slate blue for dark panels and buttons, beige and cream. */
:root { --slate: #16384A; --slate-hover: #0F2A39; --orange: #C9431B; --orange-bright: #FA7527; }
.map-cta { background: var(--slate); }
.map-cta .btn { background: var(--orange); color: #FFFFFF; }
.map-cta .btn:hover { background: #A3360F; }
.swoosh path { stroke: var(--orange-bright); }
/* Phones: one flowing, balanced headline so no word sits alone on a line. */
@media (max-width: 860px) {
  .hero2 h1 { text-wrap: balance; font: 900 clamp(2.1rem, 9vw, 2.9rem)/1.06 var(--display); letter-spacing: -0.025em; }
  .hero2 .h1-a, .hero2 .h1-b { display: inline; font: inherit; letter-spacing: inherit; }
}

/* 2026-11-14: Categories menu in the homepage nav. */
.top-menu .menu { z-index: 200; }

/* 2026-11-14: 'For' chip (assets/js/for.js): checkboxes for group deals
   (Kids Eat Free, Seniors, Military ...), all on by default; phones get a
   bottom sheet. */
header .for-menu .menu.for-panel { min-width: 300px; padding: 10px; }
.for-row label span, .for-all, .for-note { white-space: nowrap; }
.for-head { padding: 4px 8px 8px; color: #8C8380; font: 700 .76rem/1.2 var(--font-body, inherit); letter-spacing: .05em; text-transform: uppercase; }
.for-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 0 8px; border-radius: 10px; }
.for-row:hover { background: #F7E7D6; }
.for-row label { display: flex; flex: 1; align-items: center; gap: 10px; padding: 9px 0; color: #29272B; font: 600 .95rem/1.2 var(--font-body, inherit); cursor: pointer; }
.for-row input { width: 18px; height: 18px; margin: 0; accent-color: #C9431B; flex: none; }
.for-only, .map-header .for-menu .menu .for-only.nav-filter-btn {
  display: inline-block; width: auto; padding: 5px 8px; border: 0; border-radius: 999px; background: none;
  color: #C9431B; font: 600 .8rem/1 var(--font-body, inherit); text-decoration: none; cursor: pointer; opacity: .75;
}
.for-only:hover, .map-header .for-menu .menu .for-only.nav-filter-btn:hover { opacity: 1; background: #FFFFFF; }
.for-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 10px 8px 2px; border-top: 1px solid rgba(41, 39, 43, .1); }
.for-all { padding: 0; border: 0; background: none; color: #C9431B; font: 700 .85rem/1 var(--font-body, inherit); cursor: pointer; }
.for-note { color: #8C8380; font-size: .78rem; }
.for-sheet { position: fixed; inset: 0; z-index: 3000; display: none; align-items: flex-end; background: rgba(20, 18, 20, .35); }
.for-sheet.open { display: flex; }
.for-sheet-card { width: 100%; max-height: 82vh; overflow: auto; padding: 14px 12px calc(14px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; background: #FFFFFF; }
.for-sheet .for-row label { padding: 12px 0; font-size: 1rem; }
.for-done { width: 100%; margin-top: 12px; padding: 13px; border: 0; border-radius: 999px; background: #C9431B; color: #FFFFFF; font: 700 1rem/1 var(--font-body, inherit); cursor: pointer; }
.for-menu > summary .for-ico, .for-chip .for-ico { color: #C9431B; flex: none; }
.map-header .for-menu > summary .for-ico { width: 17px; height: 17px; }
.map-header .for-menu.active > summary .for-ico { color: #FFFFFF; }
.for-chip .for-ico { width: 18px; height: 18px; }
.for-chip.active .for-ico { color: currentColor; }
.for-row .for-ico { width: 20px; height: 20px; color: #C9431B; flex: none; }

.for-menu .cat-menu-label { display: inline-block; max-width: 10.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* 2026-11-15: off the map, For's icon + name go to the map (For only) like
   the other tabs; the chevron beside it opens the group checkboxes. */
.for-menu > summary .for-go { display: inline-flex; align-items: center; gap: inherit; color: inherit; text-decoration: none; }
.for-menu > summary .for-chev-btn { display: inline-flex; align-items: center; margin-left: 2px; padding: 2px 0 2px 6px; border-left: 1px solid rgba(41, 39, 43, .15); }
a.for-chip { text-decoration: none; }
.for-chip-split { display: flex; flex: 1 1 0; min-width: 0; }
.for-chip-split .mobile-filter-btn.for-chip { flex: 1 1 auto; border-radius: 22px 0 0 22px; border-right: 0; padding-right: 2px; }
.for-chip-chev {
  display: flex; align-items: center; padding: 0 9px 0 6px; flex: none;
  border: 1px solid var(--line-strong, #e2e2e6); border-left: 1px solid rgba(41, 39, 43, .12);
  border-radius: 0 22px 22px 0; background: var(--surface, #fff); color: var(--ink-soft, #666); cursor: pointer;
}

/* Social icons in the footer (added 2026-11-15) */
.foot nav.social-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.foot .social-links a { display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; color: var(--ink-soft);
  background: rgba(41, 39, 43, 0.06); transition: background 0.2s, color 0.2s; }
.foot .social-links a:hover, .foot .social-links a:focus-visible { color: var(--burgundy); background: rgba(41, 39, 43, 0.12); }
