/* ============================================================
   RUFUS COURT — CHESTER'S INDEPENDENT COURTYARD
   Main Stylesheet
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --terracotta:  #C4622D;
  --sage:        #6B8F71;
  --cream:       #F5EED8;
  --charcoal:    #2A2825;
  --mustard:     #D4A843;
  --warm-white:  #FAF6EE;
  --mid-brown:   #7A6652;
  --dark-green:  #3D5A4C;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --max-width:        1200px;
  --section-padding:  100px;
  --container-pad:    28px;
  --nav-height:       72px;

  --radius:    8px;
  --radius-lg: 16px;

  --ease: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography scale --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem);   font-weight: 900; }
h2 { font-size: clamp(2rem,   4vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; }
p  { line-height: 1.75; color: var(--mid-brown); }
.lead { font-size: 1.1rem; color: var(--charcoal); line-height: 1.7; }

/* --- Layout helpers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  transition: all var(--ease);
  cursor: pointer;
}
.btn--primary {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
}
.btn--primary:hover {
  background: #a8501f;
  border-color: #a8501f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 98, 45, 0.3);
}
.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.45);
}
.btn--ghost:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}
.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--outline:hover {
  background: var(--charcoal);
  color: white;
}

/* --- Section tag (small eyebrow label) --- */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.section-header--light .section-tag { color: var(--mustard); }
.section-header--light h2          { color: white; }
.section-header--light p           { color: rgba(255,255,255,0.65); }

/* --- Section header block --- */
.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-header h2 { margin: 10px 0 18px; }
.section-header p  { font-size: 1.05rem; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  transition: background var(--ease), box-shadow var(--ease);
}
.site-header.scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 400;
  transition: color var(--ease);
}
.nav-links a:hover { color: white; }

.nav-cta {
  padding: 9px 22px !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  border-radius: 4px !important;
  color: white !important;
  transition: all var(--ease) !important;
}
.nav-cta:hover {
  background: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--ease);
}


/* ============================================================
   POPUP — Solstice Festival
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 40, 37, 0.88);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}
.popup-overlay.popup-hidden {
  opacity: 0;
  pointer-events: none;
}
.popup-inner {
  position: relative;
  max-width: 520px;
  width: 100%;
  text-align: center;
}
.popup-inner img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  display: block;
}
.popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--ease), transform var(--ease);
}
.popup-close:hover { background: #a8501f; transform: scale(1.1); }
.popup-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.popup-note a {
  color: var(--mustard);
  font-weight: 500;
}
.popup-note a:hover { text-decoration: underline; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

/* Solid dark base — the hero image provides the visual richness */
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
}

/* Hero photo — right half with left-side fade */
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  z-index: 1;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Gradient that fades the image into the dark left side */
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #2A2825 0%,
    rgba(42, 40, 37, 0.75) 35%,
    rgba(42, 40, 37, 0.15) 65%,
    transparent 100%
  );
  z-index: 2;
}
/* Also darken the right edge slightly so it doesn't feel cut-off */
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(42, 40, 37, 0.3) 0%,
    transparent 30%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 80px) var(--container-pad) 120px;
  width: 100%;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--mustard);
  margin-bottom: 32px;
}

.hero h1 {
  color: white;
  max-width: 740px;
  margin-bottom: 30px;
}
.hero h1 em {
  font-style: italic;
  color: var(--mustard);
}

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.15rem;
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 52px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 44px;
  left: var(--container-pad);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}


/* ============================================================
   INTRO
   ============================================================ */
.intro {
  padding: var(--section-padding) 0;
  background: var(--warm-white);
}

.intro-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;
  align-items: center;
}

.intro-text h2 { margin-bottom: 28px; }
.intro-text p  { margin-bottom: 16px; }
.intro-text p:last-child { margin-bottom: 0; }

.intro-stats {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--mustard);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.stat + .stat {
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}


/* ============================================================
   THE COLLECTION
   ============================================================ */
.collection {
  padding: var(--section-padding) 0;
  background: var(--cream);
}

.businesses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ---- Option B: compact biz-tile cards ---- */
.biz-tile {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px rgba(42,40,37,0.06);
  transition: box-shadow var(--ease);
}
.biz-tile:hover {
  box-shadow: 0 8px 24px rgba(42,40,37,0.13);
}
.biz-tile .card-accent-bar {
  height: 4px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}
.biz-tile-image {
  aspect-ratio: 3 / 2;
  background: linear-gradient(160deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 55%, #0d0c0b) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.biz-tile-image::after {
  display: none;
}
.biz-tile-placeholder-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(240, 232, 220, 0.88);
  text-align: center;
  padding: 0 24px;
  line-height: 1.35;
}
.biz-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.biz-tile-image:has(img) .biz-tile-placeholder-name {
  display: none;
}
.biz-tile-body {
  padding: 16px 18px 20px;
}
.biz-tile-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.25;
}
.biz-tile-tagline {
  font-size: 0.82rem;
  color: var(--mid-brown);
  line-height: 1.55;
}
.biz-tile-desc {
  font-size: 0.82rem;
  color: var(--mid-brown);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
}
.biz-tile:hover .biz-tile-desc {
  max-height: 200px;
  margin-top: 10px;
}
.biz-tile-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
}
.biz-tile:hover .biz-tile-link {
  max-height: 40px;
  opacity: 1;
  margin-top: 10px;
}
.biz-tile.card-hidden { display: none; }

.business-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(42, 40, 37, 0.13);
}

/* The coloured accent bar at top of each card */
.card-accent-bar {
  height: 5px;
  background: var(--accent, var(--terracotta));
  flex-shrink: 0;
}

/* Optional photo area (uncomment in HTML to use) */
.card-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Tag pills */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.tag {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--warm-white);
  color: var(--mid-brown);
  border: 1px solid rgba(122, 102, 82, 0.18);
}

.card-body h3 {
  color: var(--charcoal);
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.card-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent, var(--terracotta));
  margin-bottom: 16px;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mid-brown);
  flex: 1;
  margin-bottom: 28px;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent, var(--terracotta));
  margin-top: auto;
  align-self: flex-start;
  letter-spacing: 0.01em;
  transition: opacity var(--ease);
}
.card-link:hover { opacity: 0.7; text-decoration: underline; }

/* Footer note below the grid */
.collection-footer {
  margin-top: 40px;
  padding: 28px 36px;
  background: white;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--mustard);
}
.collection-footer p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin: 0;
}


/* ============================================================
   WHAT'S ON
   ============================================================ */
.events {
  padding: var(--section-padding) 0;
  background: var(--charcoal);
}

.events-intro-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 48px;
}
.events-intro-left .section-header {
  margin-bottom: 0;
}

.alexanders-cta { display: block; }
.alexanders-cta .btn--primary {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 700;
  padding: 14px 24px;
  letter-spacing: 0;
  display: inline-block;
  white-space: nowrap;
}

.events-intro {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 0;
  align-items: start;
  margin-bottom: 24px;
}
.events-intro .section-header {
  text-align: left;
}

.events-hero-image {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.events-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.events-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #2A2825 0%,
    rgba(42,40,37,0.2) 15%,
    transparent 30%,
    transparent 70%,
    rgba(42,40,37,0.2) 85%,
    #2A2825 100%
  );
  z-index: 1;
}
.events-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #2A2825 0%, transparent 25%);
  z-index: 1;
}

.seetickets-embed {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: var(--radius);
  background: white;
}

.events-layout {
  display: block;
  align-items: start;
}

/* Main widget panel */
.events-widget {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.events-widget-header {
  padding: 22px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.events-widget-header h3 {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
}
.events-all-link {
  font-size: 0.82rem;
  color: var(--mustard);
  font-weight: 500;
  transition: opacity var(--ease);
}
.events-all-link:hover { opacity: 0.7; }

.events-widget-body { padding: 30px; }

.events-placeholder {
  padding: 50px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.events-placeholder p {
  color: rgba(255,255,255,0.4);
  font-style: italic;
  font-size: 0.95rem;
}

/* Sidebar cards */
.events-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--accent, var(--sage));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: white;
  margin-bottom: 10px;
}
.sidebar-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 14px;
}
.sidebar-card a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mustard);
  transition: opacity var(--ease);
}
.sidebar-card a:hover { opacity: 0.7; }


/* ============================================================
   INSTAGRAM / GALLERY
   ============================================================ */
.gallery-section {
  padding: var(--section-padding) 0;
  background: var(--warm-white);
}

.insta-placeholder {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: 2px dashed rgba(122, 102, 82, 0.25);
}
.insta-icon { color: var(--terracotta); opacity: 0.6; }
.insta-placeholder p {
  font-style: italic;
  max-width: 380px;
  font-size: 0.95rem;
}


/* ============================================================
   VISIT
   ============================================================ */
.visit {
  padding: var(--section-padding) 0;
  background: var(--cream);
}

.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.visit-info .section-tag { display: block; margin-bottom: 12px; }
.visit-info h2   { margin-bottom: 20px; }
.visit-info .lead { margin-bottom: 44px; }

.visit-details {
  display: flex;
  flex-direction: column;
}
.detail-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(122, 102, 82, 0.18);
}
.detail-item:first-child { padding-top: 0; }
.detail-item:last-child  { border-bottom: none; }

.detail-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  padding-top: 3px;
  line-height: 1.5;
}
.detail-value {
  font-size: 0.92rem;
  color: var(--mid-brown);
  line-height: 1.7;
}

.visit-map {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.map-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--terracotta);
  transition: opacity var(--ease);
}
.map-link:hover { opacity: 0.7; }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}
.social-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
  font-weight: 500;
}
.social-link:hover { color: white; }

.footer-nav h4 {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  font-family: var(--font-sans);
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--ease);
}
.footer-nav a:hover { color: white; }

.footer-bottom {
  padding: 28px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}


/* ============================================================
   BUTTON VARIANT — outline on dark bg
   ============================================================ */
.btn--outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover {
  background: white;
  color: var(--charcoal);
  border-color: white;
}

/* section-tag light variant */
.section-tag--light { color: var(--mustard); }

/* ============================================================
   SOLSTICE FESTIVAL FEATURE (TEMPORARY — remove after 21 June 2026)
   ============================================================ */
.solstice-feature {
  background: linear-gradient(135deg, rgba(196, 98, 45, 0.12) 0%, rgba(212, 168, 67, 0.08) 100%);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.solstice-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--terracotta), var(--mustard));
}
.solstice-inner {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  align-items: start;
}
.solstice-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mustard);
  margin-bottom: 12px;
}
.solstice-date {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  font-weight: 400;
}
.solstice-info h3 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}
.solstice-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}
.solstice-lineup-label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mustard);
  margin-bottom: 10px;
}
.solstice-lineup {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.solstice-lineup li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.solstice-lineup li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--terracotta);
}
.solstice-lineup strong { color: white; }
.solstice-extras {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  font-style: italic;
}
.solstice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stag {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 3px;
  background: rgba(212, 168, 67, 0.15);
  color: var(--mustard);
  border: 1px solid rgba(212, 168, 67, 0.3);
}
.solstice-poster {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.solstice-poster img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ============================================================
   LIVE AT RUFUS COURT — teaser section
   ============================================================ */
.living-teaser {
  padding: var(--section-padding) 0;
  background: var(--charcoal);
}
.living-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}
.living-text h2 { color: white; margin: 12px 0 20px; }
.living-text p  { color: rgba(255,255,255,0.6); font-size: 1.05rem; margin-bottom: 32px; }

.living-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.living-stat-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.living-stat-item:first-child { padding-top: 0; }
.living-stat-item:last-child  { border-bottom: none; }
.living-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--mustard);
  line-height: 1;
  margin-bottom: 6px;
}
.living-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   FILTER TABS
   ============================================================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 24px;
  border: 1.5px solid rgba(42, 40, 37, 0.2);
  border-radius: 40px;
  background: transparent;
  color: var(--mid-brown);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.filter-btn.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}
.business-card.card-hidden {
  display: none;
}

/* ============================================================
   SCROLL FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   COMMUNITY EVENTS FEED
   ============================================================ */
.community-events-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(42,40,37,0.1);
}

.community-events-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.community-events-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--cream);
}

.events-submit-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.events-submit-link:hover { text-decoration: underline; }

.community-events-grid {
  display: block;
}

.events-month-group {
  margin-bottom: 28px;
}

.events-month-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(184,92,56,0.25);
}

.events-list {
  display: flex;
  flex-direction: column;
}

.event-row {
  border-bottom: 1px solid rgba(42,40,37,0.07);
}

.event-row-summary {
  display: grid;
  grid-template-columns: 110px 65px 1fr 1.5fr 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 6px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius);
  transition: background var(--ease);
}
.event-row-summary:hover {
  background: rgba(42,40,37,0.03);
}

.event-row-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
}

.event-row-time {
  font-size: 0.8rem;
  color: var(--mid-brown);
  white-space: nowrap;
}

.event-row-business {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mustard);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-row-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--cream);
  font-weight: 600;
}

.event-row-chevron {
  font-size: 0.8rem;
  color: var(--terracotta);
  transition: transform 0.25s ease;
  display: inline-block;
  text-align: right;
}
.event-row.open .event-row-chevron {
  transform: rotate(180deg);
}

.event-row-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 6px;
}
.event-row.open .event-row-detail {
  max-height: 300px;
  padding: 0 6px 16px;
}

.event-detail-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 2px;
}

.event-detail-meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mustard);
  margin: 0 0 10px;
}

.event-row-detail p {
  font-size: 0.88rem;
  color: var(--mid-brown);
  line-height: 1.65;
  margin: 0 0 10px;
}

.ce-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--terracotta);
  text-decoration: none;
  display: inline-block;
}
.ce-link:hover { text-decoration: underline; }

.events-loading,
.events-empty,
.events-error {
  color: var(--mid-brown);
  font-size: 0.9rem;
  padding: 32px 0;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-padding: 80px; }

  .intro-layout  { grid-template-columns: 1fr; gap: 60px; }
  .intro-stats   { flex-direction: row; justify-content: space-around; }
  .stat + .stat  { padding-top: 0; border-top: none; padding-left: 36px; border-left: 1px solid rgba(255,255,255,0.08); }

  .businesses-grid { grid-template-columns: repeat(3, 1fr); }

  .events-layout { grid-template-columns: 1fr; }

  .solstice-inner { grid-template-columns: 1fr 200px; gap: 32px; }

  .visit-layout { grid-template-columns: 1fr; gap: 56px; }
  .visit-map    { position: static; }

  .living-layout { grid-template-columns: 1fr; gap: 48px; }
  .living-stats  { flex-direction: row; gap: 0; }
  .living-stat-item { flex: 1; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.08); padding: 0 24px; }
  .living-stat-item:last-child { border-right: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-padding: 64px; --container-pad: 20px; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }
  .nav-links.open  { display: flex; }
  .nav-toggle      { display: flex; }
  .nav-links .nav-cta { margin-top: 8px; display: inline-block; }

  /* Hero: hide image on mobile, just dark background */
  .hero-image { display: none; }

  .hero-scroll-hint { display: none; }

  .intro-stats { flex-direction: column; }
  .stat + .stat { padding-left: 0; border-left: none; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.08); }

  .businesses-grid { grid-template-columns: repeat(2, 1fr); }

  .events-intro { grid-template-columns: 1fr; }
  .events-hero-image { height: 360px; margin-top: 32px; }
  .events-hero-image::after {
    background:
      linear-gradient(to right, #2A2825 0%, transparent 15%),
      linear-gradient(to left,  #2A2825 0%, transparent 15%);
  }

  .event-row-summary { grid-template-columns: 100px 1fr 18px; gap: 8px; }
  .event-row-time    { display: none; }
  .event-row-business { display: none; }

  .solstice-feature { padding: 32px 24px; }
  .solstice-inner   { grid-template-columns: 1fr; }
  .solstice-poster  { position: static; order: -1; max-width: 200px; margin: 0 auto; }

  .detail-item { grid-template-columns: 1fr; gap: 6px; }

  .living-stats { flex-direction: column; }
  .living-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
  .living-stat-item:last-child { border-bottom: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .card-body { padding: 24px; }
  .insta-placeholder { padding: 56px 24px; }
  .events-placeholder { padding: 40px 16px; }

  .popup-inner { max-width: 100%; }
}
