/* Eat Broome — editorial design system */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,400&family=Inter:wght@400;500;600;700;800;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #FFD60A;
  --orange: #FF9F0A;
  --coral: #FF6B6B;
  --pink: #FF2D55;
  --cyan: #22D3EE;
  --cyan-deep: #06B6D4;
  --cyan-soft: #CFFAFE;
  --sand: #FEF3C7;
  --sand-deep: #FDE68A;

  --ink: #0F172A;
  --ink-soft: #1E293B;
  --muted: #64748B;
  --muted-light: #94A3B8;
  --border: #E2E8F0;
  --border-soft: #F1F5F9;
  --bg: #FFFFFF;
  --bg-warm: #FEFAF3;

  --serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --grad-sunset: linear-gradient(120deg, #FFD60A 0%, #FF9F0A 50%, #FF2D55 100%);
  --grad-tropical: linear-gradient(120deg, #FFD60A 0%, #22D3EE 100%);
  --grad-sea: linear-gradient(120deg, #67E8F9 0%, #22D3EE 50%, #06B6D4 100%);

  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 14px rgba(15,23,42,0.06), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg: 0 20px 48px rgba(15,23,42,0.10), 0 8px 16px rgba(15,23,42,0.05);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--orange); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.logo-text {
  font-family: var(--serif); font-weight: 900; font-size: 22px;
  letter-spacing: -0.03em; line-height: 1;
}
.main-nav {
  display: flex; gap: 4px; flex: 1; justify-content: center;
  font-size: 14.5px; font-weight: 500;
}
.main-nav a {
  padding: 8px 14px; border-radius: var(--radius-pill);
  color: var(--ink-soft); transition: all .15s;
}
.main-nav a:hover { background: var(--border-soft); color: var(--ink); }
.main-nav a.active { background: var(--ink); color: #fff; }
.header-cta { display: flex; gap: 8px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 0; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
  text-decoration: none; transition: all .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--orange); color: #fff; }
.btn-accent {
  background: var(--grad-sunset); color: #fff;
  background-size: 180% 180%; animation: shimmer 8s ease infinite;
  box-shadow: 0 8px 24px rgba(255,45,85,0.2);
}
.btn-accent:hover { box-shadow: 0 12px 32px rgba(255,45,85,0.3); color: #fff; }
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--border-soft); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -100px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,214,10,0.18) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,211,238,0.14) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin-bottom: 28px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.hero-kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,107,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 580px; margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-search {
  display: flex; gap: 8px;
  max-width: 520px; margin: 0 auto 40px;
  background: #fff; padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.hero-search input {
  flex: 1; padding: 14px 20px;
  border: 0; outline: 0; background: transparent;
  font-size: 15.5px; color: var(--ink);
}
.hero-search input::placeholder { color: var(--muted-light); }

.hero-stats {
  display: inline-flex; gap: 40px;
  padding: 16px 32px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 540px) { .hero-stats { gap: 24px; padding: 12px 22px; } }
.hero-stat { text-align: center; }
.hero-stat b {
  display: block; font-family: var(--serif);
  font-weight: 900; font-size: 26px; line-height: 1;
  color: var(--ink); letter-spacing: -0.02em;
}
.hero-stat span {
  display: block; margin-top: 4px;
  font-size: 11px; font-weight: 600;
  color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase;
}

.hero-logo {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 28px;
  box-shadow: 0 20px 40px rgba(255,45,85,0.18), 0 0 0 8px rgba(255,214,10,0.12);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; background: var(--bg); }
.section-warm { background: var(--bg-warm); }

.section-head { margin-bottom: 40px; text-align: center; }
.section-kicker {
  display: inline-block;
  font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--orange);
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05; letter-spacing: -0.035em;
  color: var(--ink);
}
.section-head p {
  max-width: 560px; margin: 14px auto 0;
  color: var(--muted); font-size: 1.05rem;
}

.section-head-inline {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px; gap: 20px;
}
.section-head-inline h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em; line-height: 1;
}
.section-head-inline .section-link {
  color: var(--orange); font-weight: 600; font-size: 14.5px;
  white-space: nowrap;
}

.page-heading { padding: 56px 0 32px; border-bottom: 1px solid var(--border-soft); }
.page-heading h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em; line-height: 1;
}
.page-heading p { max-width: 680px; margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* ============ CATEGORY RAIL ============ */
.chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px;
  color: var(--ink-soft);
  transition: all .15s;
}
.chip:hover {
  border-color: var(--ink); color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.chip-emoji { font-size: 17px; }

/* ============ VENUE CARDS ============ */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.venue-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all .25s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
  color: inherit;
}
.venue-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grad-tropical);
}
.venue-card-image img { width: 100%; height: 100%; object-fit: cover; }
.venue-card-image .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 68px; opacity: 0.65;
  color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.venue-card-badges {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
  pointer-events: none;
}
.venue-card-badges > * { pointer-events: auto; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.03em;
}
.badge-open { background: #16A34A; color: #fff; }
.badge-closed { background: rgba(15,23,42,0.82); color: #fff; }
.badge-rating { background: #fff; color: var(--ink); font-weight: 800; box-shadow: var(--shadow-sm); }
.badge-area { background: rgba(255,255,255,0.96); color: var(--ink-soft); box-shadow: var(--shadow-sm); }

.venue-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.venue-card-title {
  font-family: var(--serif); font-weight: 800;
  font-size: 1.15rem; line-height: 1.15;
  letter-spacing: -0.018em;
}
.venue-card-meta { font-size: 13px; color: var(--muted); }
.venue-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.venue-tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--border-soft); color: var(--ink-soft);
  text-transform: lowercase;
}

/* ============ AREA TILES ============ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.area-card {
  position: relative;
  display: block;
  padding: 32px 26px 24px;
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
  min-height: 220px;
  isolation: isolate;
  transition: transform .2s;
}
.area-card:hover { transform: translateY(-4px); color: #fff; }
.area-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--area-bg);
  z-index: -1;
}
.area-name {
  font-family: var(--serif); font-weight: 900;
  font-size: 1.8rem; line-height: 1;
  letter-spacing: -0.03em;
}
.area-count {
  display: inline-block; margin-top: 10px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.22); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
}
.area-blurb { margin-top: 14px; font-size: 14px; opacity: 0.95; line-height: 1.45; }

.area-cable-beach   { --area-bg: linear-gradient(135deg, #FFD60A 0%, #FF9F0A 50%, #FF6B6B 100%); }
.area-chinatown     { --area-bg: linear-gradient(135deg, #FF6B6B 0%, #FF2D55 100%); }
.area-old-broome    { --area-bg: linear-gradient(135deg, #67E8F9 0%, #06B6D4 100%); }
.area-town-beach    { --area-bg: linear-gradient(135deg, #FFD60A 0%, #22D3EE 100%); }
.area-djugun        { --area-bg: linear-gradient(135deg, #FF9F0A 0%, #FFD60A 100%); }
.area-broome-north  { --area-bg: linear-gradient(135deg, #A78BFA 0%, #22D3EE 100%); }

/* ============ FEATURE STRIP ============ */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
@media (max-width: 720px) { .feature-strip { grid-template-columns: 1fr 1fr; gap: 28px; } }
.feature-item h4 {
  font-family: var(--serif); font-weight: 800;
  font-size: 1.05rem; line-height: 1.2; margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.feature-item p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.feature-icon { font-size: 24px; margin-bottom: 8px; }

/* ============ EDITORIAL CARD ============ */
.editorial {
  background: var(--bg-warm);
  padding: 80px 0;
}
.editorial-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  max-width: 1040px; margin: 0 auto;
  padding: 48px;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  align-items: center;
}
@media (max-width: 860px) {
  .editorial-card { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
}
.editorial-kicker {
  font-family: var(--serif); font-style: italic;
  color: var(--orange); font-size: 17px;
  margin-bottom: 12px;
}
.editorial-card h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.editorial-card p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 12px; line-height: 1.65; }
.editorial-card .btn { margin-top: 12px; }
.editorial-visual {
  aspect-ratio: 1; border-radius: var(--radius-lg);
  background: var(--grad-sunset);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -0.03em; line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.18);
  position: relative; overflow: hidden;
}
.editorial-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.25), transparent 60%);
}

/* ============ CTA STRIP ============ */
.cta-strip {
  padding: 80px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(255,214,10,0.18), transparent 60%),
    radial-gradient(700px 500px at 80% 90%, rgba(255,45,85,0.22), transparent 60%);
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip .section-kicker { color: var(--gold); }
.cta-strip h2 {
  font-family: var(--serif); font-weight: 900; color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05;
  letter-spacing: -0.03em; margin: 8px 0 18px;
}
.cta-strip p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 24px; }

/* ============ VENUE DETAIL PAGE ============ */
.venue-hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border-soft);
}
.venue-hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02;
  letter-spacing: -0.035em; margin: 12px 0 8px;
}
.venue-hero-meta { color: var(--muted); font-size: 15px; }
.venue-main { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding: 40px 0 72px; }
@media (max-width: 860px) { .venue-main { grid-template-columns: 1fr; } }

.info-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  margin-bottom: 20px;
}
.info-card h3 {
  font-family: var(--serif); font-weight: 800;
  font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 14px;
}

.rating-display {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--grad-sunset); color: #fff;
  box-shadow: 0 12px 32px rgba(255,45,85,0.22);
}
.rating-big {
  font-family: var(--serif); font-weight: 900;
  font-size: 3rem; line-height: 1; letter-spacing: -0.04em;
}
.rating-stars { letter-spacing: 2px; font-size: 16px; }

.hours-table { width: 100%; font-size: 14px; }
.hours-table tr { border-bottom: 1px solid var(--border-soft); }
.hours-table tr:last-child { border-bottom: 0; }
.hours-table td { padding: 10px 0; color: var(--ink-soft); }
.hours-table td:first-child { font-weight: 600; width: 110px; color: var(--ink); }
.hours-table tr.today { color: var(--orange); font-weight: 600; }
.hours-table tr.today td { color: var(--orange); }

.review {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 14px;
}
.review-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.review-author { font-weight: 700; font-size: 14.5px; }
.review-date { color: var(--muted); font-size: 12.5px; }
.review-stars { color: var(--gold); letter-spacing: 2px; }
.review-body { color: var(--ink-soft); line-height: 1.6; }
.review-actions {
  display: flex; gap: 14px; margin-top: 12px;
  font-size: 13px; color: var(--muted);
}
.review-actions button {
  background: transparent; border: 0; color: var(--muted);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.review-actions button:hover { background: var(--border-soft); color: var(--ink); }

/* ============ FORMS ============ */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; margin-bottom: 6px;
  font-weight: 600; font-size: 14px; color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff; color: var(--ink);
  transition: border-color .15s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 0; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,159,10,0.12);
}
.form-help { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-error { font-size: 13px; color: var(--coral); margin-top: 4px; }
.form-success { font-size: 13px; color: #16A34A; margin-top: 4px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink); color: #fff;
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 40px 32px; margin-bottom: 48px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { width: 38px; height: 38px; border-radius: 50%; }
.footer-logo span {
  font-family: var(--serif); font-weight: 900; font-size: 20px;
  color: #fff; letter-spacing: -0.02em;
}
.footer-about { color: rgba(255,255,255,0.75); font-size: 14.5px; line-height: 1.6; }

.footer-col h4 {
  font-weight: 700; font-size: 14px; margin-bottom: 14px;
  color: #fff; letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.68); font-size: 14px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--gold); }

.footer-copy {
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.58); font-size: 13px; line-height: 1.6;
  text-align: center;
}
.footer-copy p:first-child { margin-bottom: 8px; }

/* ============ UTILITIES ============ */
.muted { color: var(--muted); }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

.loader {
  width: 20px; height: 20px; margin-right: 12px;
  border: 2px solid var(--border);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-row {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; color: var(--muted);
  font-size: 14.5px;
}

.stars { color: var(--gold); letter-spacing: 1px; }
.stars .empty { color: var(--border); }

/* Auth states */
[data-auth-signed-in] { display: none; }
[data-auth-signed-out] { display: block; }
body.signed-in [data-auth-signed-in] { display: block; }
body.signed-in [data-auth-signed-out] { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .header-inner { height: 64px; gap: 20px; }
  .logo-text { font-size: 18px; }
  .main-nav { display: none; }
  .section { padding: 60px 0; }
  .hero { padding: 52px 0 72px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-search { margin: 0 auto 32px; }
  .venue-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
}

/* ============ COMPATIBILITY SHIMS (for existing interior pages) ============ */
:root {
  /* Old color vars → new palette */
  --color-bg: var(--bg);
  --color-paper: var(--bg);
  --color-surface: var(--bg-warm);
  --color-ink: var(--ink);
  --color-muted: var(--muted);
  --color-border: var(--border);
  --color-pindan: var(--orange);
  --color-pindan-deep: var(--pink);
  --color-sky: var(--cyan);
  --color-sky-deep: var(--cyan-deep);
  --color-sun: var(--gold);
  --color-sand: var(--sand);
  --color-camel: var(--orange);
  --color-sunset-1: var(--gold);
  --color-sunset-2: var(--orange);
  --color-sunset-3: var(--coral);
  --color-sunset-4: var(--pink);

  /* Old font vars */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;

  /* Old radius names */
  --radius-sm-old: 8px;
  --radius-md: 12px;
  --radius-lg-old: 20px;

  /* Old gradients */
  --gradient-sunset: var(--grad-sunset);
  --gradient-sea: var(--grad-sea);
  --gradient-tropical: var(--grad-tropical);
}

/* Old logo-text with subtitle */
.logo-text small {
  display: block;
  font-family: var(--sans);
  font-weight: 500; font-size: 11px;
  color: var(--muted); letter-spacing: 0.05em;
  text-transform: uppercase; margin-top: 2px;
}

/* Old footer patterns */
.footer-col h5 {
  font-weight: 700; font-size: 14px; margin-bottom: 14px;
  color: #fff; letter-spacing: 0.05em;
}
.footer-col a {
  display: block; margin-bottom: 8px;
  color: rgba(255,255,255,0.68); font-size: 14px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; }
.footer-brand span {
  font-family: var(--serif); font-weight: 900; font-size: 20px;
  color: #fff; letter-spacing: -0.02em;
}

/* ============ HERO V2 — editorial magazine style ============ */
/* Override old hero */
.hero { display: none; }

.hero-v2 {
  padding: 56px 0 32px;
  background: #FFF;
  position: relative;
  overflow: hidden;
}
.hero-v2::before {
  content: "";
  position: absolute;
  top: 20%; right: -10%;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse, rgba(255,214,10,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-v2-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-v2-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-v2-visual { order: -1; }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
}

.hero-v2-headline {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-v2-serif {
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.hero-v2-emph {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  position: relative;
}
.hero-v2-emph::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 10px;
  background: var(--grad-sunset);
  border-radius: var(--radius-pill);
  opacity: 0.22;
  filter: blur(2px);
}

.hero-v2-lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-v2-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-v2-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.hero-v2-stats > div:not(.divider) { display: flex; flex-direction: column; gap: 4px; }
.hero-v2-stats b {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-v2-stats span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-v2-stats .divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Visual side — magazine-cover style */
.hero-v2-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}
.hero-v2-frame {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #FFD60A 0%, #FF9F0A 35%, #FF6B6B 70%, #FF2D55 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(255,45,85,0.20),
    0 10px 20px rgba(0,0,0,0.08);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}
.hero-v2-frame:hover {
  transform: rotate(-1deg) scale(1.01);
}
.hero-v2-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.3), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(34,211,238,0.25), transparent 60%);
  pointer-events: none;
}
.hero-v2-frame img {
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: 72%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  mix-blend-mode: normal;
}

.hero-v2-frame-caption {
  position: absolute;
  left: 24px; right: 24px;
  bottom: 24px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  color: #fff;
  z-index: 2;
}
.hero-v2-caption-kicker {
  display: block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.hero-v2-caption-title {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-v2-sticker {
  position: absolute;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(15,23,42,0.10);
  z-index: 3;
}
.hero-v2-sticker-1 {
  top: 14px; right: -12px;
  transform: rotate(5deg);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.hero-v2-sticker-2 {
  bottom: 20%; left: -20px;
  transform: rotate(-4deg);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Search bar section */
.search-section {
  padding: 24px 0 40px;
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  padding: 8px 8px 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: box-shadow .2s, border-color .2s;
}
.hero-search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,159,10,0.12), 0 10px 30px rgba(15,23,42,0.08);
}
.hero-search .search-icon {
  color: var(--muted);
  flex-shrink: 0;
}
.hero-search input {
  flex: 1;
  padding: 12px 0;
  border: 0; outline: 0; background: transparent;
  font-size: 15.5px;
  color: var(--ink);
}
.hero-search input::placeholder { color: var(--muted-light); }

/* Chip as <a> */
a.chip { text-decoration: none; }

/* Kicker style fix on section-head-inline */
.section-head-inline > div .section-kicker {
  display: block;
  margin-bottom: 6px;
}

/* Editorial emoji bigger */
.editorial-visual-emoji {
  font-size: clamp(5rem, 9vw, 8rem);
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.2));
}

/* ============ HERO V3 — full-bleed editorial ============ */
.hero-v2 { display: none; }

.hero-v3 {
  position: relative;
  padding: 64px 0 80px;
  background: #FFFBF4;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.hero-v3::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background:
    radial-gradient(ellipse 50% 60% at 20% 40%, rgba(255,214,10,0.22), transparent 60%),
    radial-gradient(ellipse 45% 55% at 80% 30%, rgba(255,107,107,0.18), transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 80%, rgba(34,211,238,0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-v3-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-v3-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-v3-tag img {
  width: 22px; height: 22px; border-radius: 50%;
}

.hero-v3-headline {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3.8rem, 11vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero-v3-headline .italic {
  font-style: italic;
  font-weight: 400;
}
.hero-v3-headline .coloured {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-v3-lead {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-v3-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-v3-search {
  max-width: 620px;
  margin: 0 auto 44px;
}

.hero-v3-meta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-v3-meta-row .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--border);
}
.hero-v3-meta-row b {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-right: 4px;
}

/* Marquee of neighbourhoods */
.hero-v3-marquee {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: #FFF;
}
.hero-v3-marquee-track {
  display: inline-flex;
  gap: 48px;
  padding-left: 48px;
  animation: marquee-scroll 38s linear infinite;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}
.hero-v3-marquee-track span {
  color: var(--ink);
  opacity: 0.9;
}
.hero-v3-marquee-track .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 700;
}
.hero-v3-marquee-track .star {
  color: var(--coral);
  font-style: normal;
  font-weight: 900;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hide old search section when using v3 */
.hero-v3 ~ .search-section { display: none; }

@media (max-width: 640px) {
  .hero-v3 { padding: 48px 0 56px; }
  .hero-v3-cta-row { flex-direction: column; align-items: stretch; }
  .hero-v3-cta-row .btn { width: 100%; }
}

/* ============ HERO V4 — Infatuation-style content-first ============ */
.hero-v3 { display: none; }

.hero-v4 {
  padding: 40px 0 16px;
  background: #FFF;
  border-bottom: 1px solid var(--border-soft);
}
.hero-v4-masthead {
  text-align: center;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 40px;
}
.hero-v4-nameplate {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin: 0;
}
.hero-v4-nameplate .italic {
  font-style: italic;
  font-weight: 400;
}
.hero-v4-tagline {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-v4-rule {
  display: flex; align-items: center; gap: 14px;
  justify-content: center;
  margin-top: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-light);
}
.hero-v4-rule::before, .hero-v4-rule::after {
  content: ""; flex: 0 0 50px; height: 1px; background: var(--border);
}

/* Editorial lead — featured story */
.editorial-lead {
  padding: 16px 0 56px;
}
.editorial-lead-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .editorial-lead-grid { grid-template-columns: 1fr; gap: 32px; }
}
.editorial-lead-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #FFD60A 0%, #FF6B6B 50%, #FF2D55 100%);
  box-shadow: var(--shadow-lg);
}
.editorial-lead-image::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(34,211,238,0.25), transparent 60%);
}
.editorial-lead-image-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(5rem, 10vw, 9rem);
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.2));
  z-index: 1;
}
.editorial-lead-image .rating-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  z-index: 2;
}

.editorial-lead-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.editorial-lead-kicker::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--coral);
}
.editorial-lead-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
  text-wrap: balance;
}
.editorial-lead-dek {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.editorial-lead-byline {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.editorial-lead-byline b { color: var(--ink); font-weight: 700; }

/* Search — magazine style */
.mag-search {
  margin: 0 auto 56px;
  max-width: 560px;
}
.mag-search-label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Venue rating cards (Infatuation-style) */
.rating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 24px;
}
.rating-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.rating-card:hover { transform: translateY(-3px); }
.rating-card-image {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.rating-card-image::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 60%);
}
.rating-card-image .rating-num {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.02em;
  z-index: 2;
}
.rating-card-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.rating-card-meta .sep {
  width: 3px; height: 3px; border-radius: 50%; background: var(--border);
}
.rating-card-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.rating-card-blurb {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}
.rating-card-cuisine {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Section heads - magazine style */
.mag-section-head {
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.mag-section-head h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.mag-section-head .section-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 10px 0;
  display: block;
}
.mag-section-head a {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.mag-section-head a:hover {
  background: var(--ink);
  color: #fff;
}
