@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

:root {
  --navy: #1B3A5C;
  --navy-dark: #0F2235;
  --navy-deep: #061525;
  --blue: #85B7EB;
  --blue-dark: #2A6BAD;
  --blue-light: #B5D4F4;
  --blue-ice: #EBF3FC;
  --blue-mist: #F4F9FE;
  --blue-cool: #C9DDF4;
  --blue-warm: #B8D1ED;
  --blue-cyan: #A7D4E8;
  --blue-cyan-ice: #E7F4FA;
  --blue-violet: #B8C5EE;
  --blue-violet-ice: #ECF0FC;
  --blue-deep-vibrant: #4A8BD4;
  --teal: #4BBFA0;
  --teal-dark: #1A7A62;
  --teal-light: #9FE1CB;
  --teal-ice: #EAF7F3;
  --pink: #F4C0D1;
  --pink-deep: #D97A99;
  --pink-light: #FDF0F4;
  --pink-tint: #FBE8EE;
  --amber: #E8960F;
  --amber-deep: #B36F00;
  --amber-light: #FEF3DC;
  --amber-tint: #FDEBC8;
  --rose: #E89887;
  --rose-tint: #FBE5DE;
  --green: #7AB840;
  --green-deep: #4F8825;
  --green-tint: #ECF6DD;
  --sage: #C8D8B6;
  --sage-tint: #EEF4E5;
  --cream: #FDFAF6;
  --cream-dark: #F4EFE7;
  --sand: #F7EBD9;
  --sand-deep: #E8D4B0;
  --white: #ffffff;
  --ink: #18181A;
  --ink-light: #2E2E33;
  --muted: #52525A;
  --hint: #76767E;
  --border: rgba(27,58,92,0.1);
  --border-mid: rgba(27,58,92,0.16);
  --max-content-w: 1180px;
  --max-prose-w: 760px;
  --sidebar-w: 220px;
  --serif: 'DM Serif Display', Georgia, serif;
  --body: 'Lora', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

.site-wrap {
  width: 100%;
  margin: 0;
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Home nav cards - 3 columns on wide screens, 2 on smaller */
@media (min-width: 1100px) {
  .home-nav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* ── ANIMATIONS ── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.25} }
@keyframes fadein { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.page { animation: fadein 0.24s ease-out both; }

/* ══════════════════════════════════════
   TOP NAV — shared across all breakpoints
══════════════════════════════════════ */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  flex-shrink: 0;
}
.site-nav {
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 35%, #2A5A8C 70%, #3A6FA8 100%);
  padding: 0 28px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 1px solid rgba(133,183,235,0.18);
  position: relative;
  min-height: 56px;
  box-shadow: 0 1px 0 rgba(133,183,235,0.08), 0 4px 14px rgba(15,34,53,0.08);
}
.site-nav::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 50%, transparent 100%);
  opacity: 0.4;
  pointer-events: none;
}
.site-nav-brand {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  color: #E8F4FF;
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  padding: 0 24px 0 0;
  border-right: 0.5px solid rgba(133,183,235,0.15);
  gap: 8px;
}
.site-nav-brand-icon {
  font-size: 16px;
  color: var(--blue);
}
.site-nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding-left: 8px;
}
.site-nav-links::-webkit-scrollbar { display: none; }
.site-nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(220,236,253,0.78);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 0 14px;
  height: 56px;
  white-space: nowrap;
  transition: color 0.15s;
  position: relative;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.site-nav-links a i { font-size: 14px; opacity: 0.7; transition: opacity 0.15s; }
.site-nav-links a:hover { color: #FFFFFF; }
.site-nav-links a:hover i { opacity: 1; }
.site-nav-links a.active { color: #FFFFFF; font-weight: 500; }
.site-nav-links a.active i { opacity: 1; color: var(--blue-light); }
.site-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  border-radius: 2px 2px 0 0;
}
.site-nav-links a.happenings-btn { color: rgba(133,183,235,0.85); }
.site-nav-links a.happenings-btn:hover { color: var(--blue-light); }
.site-nav-links a.happenings-btn.active { color: var(--blue-light); }
.site-nav-links a.happenings-btn::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 4px;
  flex-shrink: 0;
  animation: pulse 2s infinite;
  box-shadow: 0 0 6px rgba(133,183,235,0.7);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
}
.nav-cta-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-dark) !important;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--blue-light) 60%, var(--blue) 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 9px 18px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  align-self: center;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(133,183,235,0.35), inset 0 0 0 1px rgba(255,255,255,0.4);
}
.nav-cta-btn i { font-size: 14px; }
.nav-cta-btn:hover { background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 30%, var(--blue-light) 100%) !important; color: var(--navy-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(133,183,235,0.5), inset 0 0 0 1px rgba(255,255,255,0.6); }
.nav-cta-btn.active::after { display: none !important; }

/* ── HAMBURGER (mobile only) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 56px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(181,212,244,0.8);
  border-radius: 2px;
  transition: all 0.22s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(133,183,235,0.12);
  z-index: 199;
  padding: 8px 0 20px;
  animation: drawerIn 0.22s ease-out both;
}
@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-drawer.open { display: block; }
.mobile-drawer a {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 13px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: rgba(181,212,244,0.75);
  text-align: left;
  transition: background 0.12s, color 0.12s;
}
.mobile-drawer a:hover { background: rgba(133,183,235,0.08); color: #E8F4FF; }
.mobile-drawer a.active { color: #ffffff; font-weight: 500; }
.mobile-drawer a i { font-size: 18px; width: 22px; flex-shrink: 0; }
.mobile-drawer a.happenings-mob { color: rgba(133,183,235,0.9); }
.mobile-drawer a.happenings-mob::after {
  content: 'Live';
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  background: rgba(133,183,235,0.2);
  color: var(--blue-light);
  border-radius: 99px;
  margin-left: auto;
  letter-spacing: 0.05em;
}
.mobile-drawer .drawer-cta {
  margin: 12px 24px 0;
  background: var(--blue);
  color: var(--navy) !important;
  font-weight: 500;
  border-radius: 12px;
  justify-content: center;
  font-size: 14px;
  padding: 15px 24px;
  gap: 8px;
}
.mobile-drawer .drawer-cta:hover { background: var(--blue-light); }
.mobile-drawer .drawer-divider {
  height: 0.5px;
  background: rgba(133,183,235,0.1);
  margin: 8px 24px;
}

/* ══════════════════════════════════════
   DESKTOP LAYOUT — sidebar + content
══════════════════════════════════════ */
.layout {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Sidebar (desktop only) */
.sidebar {
  display: none;
  width: var(--sidebar-w);
  flex-shrink: 0;
  border-right: 0.5px solid rgba(133,183,235,0.25);
  background: linear-gradient(180deg, #F4F9FE 0%, var(--blue-ice) 30%, #EEF5FC 100%);
  position: relative;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.sidebar::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(133,183,235,0.4) 30%, rgba(133,183,235,0.4) 70%, transparent 100%);
}

/* Sidebar emoji icons - native, always render, no CDN dependency */
.sb-emoji {
  font-size: 17px;
  line-height: 1;
  display: inline-block;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', system-ui, sans-serif;
  font-style: normal;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.sb-label {
  flex: 1;
  min-width: 0;
}

/* Collapsed sidebar - shrunk to icon rail */
.sidebar.collapsed { width: 64px; }
.sidebar.collapsed .sidebar-label { display: none; }
.sidebar.collapsed .sidebar-divider { margin: 8px 12px 16px; }
.sidebar.collapsed .sidebar-btn {
  justify-content: center;
  padding: 12px 0;
  gap: 0;
  border-radius: 0;
  overflow: hidden;
}
.sidebar.collapsed .sb-label {
  display: none;
}
.sidebar.collapsed .sb-emoji {
  font-size: 20px;
  width: auto;
}
.sidebar.collapsed .sidebar-btn::after { display: none !important; }
.sidebar.collapsed .sidebar-btn.active::before {
  left: 0; top: 4px; bottom: 4px;
}
.sidebar.collapsed .sidebar-cta {
  margin: 0 8px !important;
  padding: 11px 0 !important;
  border-radius: 10px !important;
  justify-content: center !important;
}

/* Sidebar toggle button - sits on the right edge */
.sidebar-toggle {
  position: absolute;
  top: 18px;
  right: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 0.5px solid rgba(42,107,173,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(27,58,92,0.12);
  transition: background 0.15s, transform 0.2s ease, box-shadow 0.15s;
  padding: 0;
}
.sidebar-toggle i { font-size: 15px; transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.sidebar-toggle:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(27,58,92,0.18);
  transform: scale(1.08);
}
.sidebar.collapsed .sidebar-toggle i { transform: rotate(180deg); }
.sidebar-inner {
  position: sticky;
  top: 56px;
  padding: 28px 0 24px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar-inner::-webkit-scrollbar { display: none; }
.sidebar-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-dark);
  padding: 0 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  border-radius: 2px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}
.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-light);
  text-align: left;
  transition: background 0.14s, color 0.14s, transform 0.12s;
  border-radius: 0;
  letter-spacing: 0.01em;
  position: relative;
}
.sidebar-btn i { font-size: 16px; flex-shrink: 0; transition: transform 0.14s; }
.sidebar-btn .sb-emoji { transition: transform 0.14s; }
.sidebar-btn:hover { background: rgba(255,255,255,0.55); color: var(--ink); }
.sidebar-btn:hover i,
.sidebar-btn:hover .sb-emoji { transform: scale(1.12); }
.sidebar-btn.active {
  color: var(--navy);
  font-weight: 600;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 1px 2px rgba(27,58,92,0.04);
}
.sidebar-btn.active::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 0 3px 3px 0;
}
/* Themed icon colors per nav item — all blue family with subtle temperature variation */
#side-home i      { color: var(--blue-dark); }
#side-history i   { color: var(--blue-violet); }
#side-living i    { color: var(--blue-cyan); }
#side-eat i       { color: var(--blue); }
#side-wellness i  { color: var(--blue-warm); }
.sidebar-btn.happenings-side { color: var(--blue-dark); font-weight: 500; }
.sidebar-btn.happenings-side i { color: var(--blue-dark); }
.sidebar-btn.happenings-side::after {
  content: '●';
  font-size: 7px;
  color: var(--blue);
  margin-left: auto;
  animation: pulse 2s infinite;
  line-height: 1;
}
.sidebar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(133,183,235,0.4) 50%, transparent 100%);
  margin: 10px 16px 16px;
}
.sidebar-cta {
  margin: 0 14px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #2A5A8C 100%) !important;
  color: #E8F4FF !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  justify-content: center !important;
  font-size: 13px !important;
  padding: 12px 16px !important;
  gap: 7px !important;
  box-shadow: 0 4px 12px rgba(15,34,53,0.18), inset 0 0 0 1px rgba(133,183,235,0.18) !important;
}
.sidebar-cta:hover { background: linear-gradient(135deg, var(--navy) 0%, #2A5A8C 50%, #3A6FA8 100%) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,34,53,0.25), inset 0 0 0 1px rgba(133,183,235,0.28) !important; }
.sidebar-cta i { color: var(--blue-light) !important; }
.sidebar-cta.active { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #2A5A8C 100%) !important; color: #E8F4FF !important; }
.sidebar-cta.active::before { display: none !important; }

/* Content area */
.content-area {
  flex: 1;
  min-width: 0;
}

/* ══════════════════════════════════════
   BREAKPOINTS
══════════════════════════════════════ */

/* Desktop — show sidebar, hide top nav links */
@media (min-width: 900px) {
  .sidebar { display: block; }
  .site-nav-links { display: none; }
  .nav-cta-btn { display: none; }
  .nav-hamburger { display: none !important; }
  .mobile-drawer { display: none !important; }
  .site-nav { padding: 0 28px; }
  .section { padding: 44px 48px; }
  .cover-content { padding: 40px 48px 44px; }
  .happenings-hero { padding: 56px 48px 48px; }
  .cta-section { padding: 48px; }
  .footer-body { padding: 32px 48px 28px; }
  .footer-cta { padding: 28px 48px; }
  .footer-bottom { padding: 16px 48px; }
  .nudge-bar { left: var(--sidebar-w); right: 0; transform: translateY(100%); }
  .nudge-bar.visible { transform: translateY(0); }
  body.sidebar-collapsed-state .nudge-bar { left: 64px; }
  [id] { scroll-margin-top: 56px; }
}

/* Tablet — single column, wider content, full top nav */
@media (min-width: 521px) and (max-width: 899px) {
  .sidebar { display: none; }
  .nav-hamburger { display: none !important; }
  .mobile-drawer { display: none !important; }
  .site-nav-links { display: flex; }
  .nav-cta-btn { display: flex; align-items: center; }
  .section { padding: 36px 36px; }
  [id] { scroll-margin-top: 56px; }
}

/* Mobile — hamburger only */
@media (max-width: 520px) {
  .sidebar { display: none; }
  .site-nav-links { display: none; }
  .nav-cta-btn { display: none; }
  .nav-hamburger { display: flex; }
  .site-nav { padding: 0 16px; }
  .section { padding: 28px 20px; }
  .happenings-hero { padding: 14px 20px 12px; }
  .cta-section { padding: 28px 20px; }
  .footer-body-inner { grid-template-columns: 1fr 1fr; }
  .footer-cta { padding: 20px 20px; }
  .footer-bottom { padding: 14px 20px; }
  .cover-content { padding: 24px 20px 28px; }
  .section-num { font-size: 56px; top: 18px; right: 14px; }
  [id] { scroll-margin-top: 56px; }
}

/* ── PAGE CONTAINERS ── */



/* Top accent stripe on every page — subtle thematic punctuation */
.page:not(#page-home):not(#page-explore)::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--page-accent, linear-gradient(90deg, var(--blue), var(--teal-light)));
  position: relative;
  z-index: 1;
}
.page#page-history { --page-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--pink-deep)); }
.page#page-living  { --page-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--teal)); }
.page#page-eat     { --page-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--amber)); }
.page#page-wellness { --page-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--green)); }
.page#page-happenings { --page-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--teal-light)); }

/* ── PER-PAGE BACKGROUND THEMING — every page is a variation on baby blue ── */
.page#page-history { background: linear-gradient(180deg, var(--blue-violet-ice) 0%, var(--blue-mist) 200px, var(--cream) 480px); }
.page#page-living  { background: linear-gradient(180deg, var(--blue-cyan-ice) 0%, var(--blue-mist) 200px, var(--cream) 480px); }
.page#page-eat     { background: linear-gradient(180deg, var(--blue-ice) 0%, #F0F5FB 200px, var(--cream) 480px); }
.page#page-wellness{ background: linear-gradient(180deg, var(--blue-cyan-ice) 0%, var(--blue-ice) 200px, var(--cream) 480px); }
.page#page-happenings { background: linear-gradient(180deg, var(--blue-mist) 0%, var(--cream) 360px); }

/* Section variants — alternating tints inside a page */
.section.tint-cream    { background: var(--cream-dark); }
.section.tint-pink     { background: var(--pink-tint); }
.section.tint-rose     { background: var(--rose-tint); }
.section.tint-teal     { background: var(--teal-ice); }
.section.tint-sage     { background: var(--sage-tint); }
.section.tint-sand     { background: var(--sand); }
.section.tint-amber    { background: var(--amber-tint); }
.section.tint-green    { background: var(--green-tint); }
.section.tint-blue     { background: var(--blue-ice); }
.section.tint-cream-dark { background: var(--cream-dark); }

/* ── SECTION NAV ── */
.section-nav {
  position: relative;
  top: auto;
  z-index: auto;
  background: rgba(253,250,246,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border-mid);
  border-top: 0.5px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 12px;
  transition: color 0.15s;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  position: relative;
}
.section-nav a:hover { color: var(--blue-dark); }
.section-nav a.active {
  color: var(--blue-dark);
  font-weight: 600;
}
.section-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12px; right: 12px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  border-radius: 2px 2px 0 0;
}

/* ── COVER ── */
.cover {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cover-bar-top { height: 4px; background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue-deep-vibrant) 20%, var(--blue) 40%, var(--blue-light) 55%, #F5C36A 70%, var(--blue) 85%, var(--blue-dark) 100%); flex-shrink: 0; }
.cover-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* On wider viewports, cap the SVG so it doesn't stretch into a void on ultrawide screens */
  max-width: 1400px;
  left: 50%;
  transform: translateX(-50%);
}
.cover-content {
  position: relative;
  z-index: 2;
  padding: 36px 36px 38px;
  background: linear-gradient(to top, rgba(6,14,28,0.98) 50%, rgba(6,14,28,0.45) 80%, transparent);
}
/* Cover inner wrapper: caps content at 1180px, centers the column, everything inside left-aligns naturally */
.cover-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.cover-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cover-title {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 400;
  color: #EEF5FF;
  line-height: 1.05;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.cover-title em {
  background: linear-gradient(135deg, #F5C36A 0%, #F4C0D1 50%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}
.cover-rule {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light) 0%, var(--blue) 100%);
  margin: 16px 0;
  border-radius: 2px;
}
.cover-sub {
  font-family: var(--body);
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  color: rgba(181,212,244,0.9);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 380px;
}
.cover-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 0.5px solid rgba(133,183,235,0.2);
  padding-top: 16px;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 60%, var(--blue-deep-vibrant) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  color: #042C53;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 2px rgba(133,183,235,0.25);
}
.author-name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: #EEF5FF;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}
.author-handle {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--blue);
  font-weight: 300;
}

/* ── COVER CTA ── */
.cover-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cover-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--navy-dark);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.12s;
  white-space: nowrap;
  text-decoration: none;
}
.cover-btn-primary i { font-size: 16px; }
.cover-btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}
.cover-btn-primary:active { transform: translateY(0); }
.cover-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: rgba(181,212,244,0.75);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  padding: 12px 4px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  white-space: nowrap;
}
.cover-btn-ghost i { font-size: 13px; }
.cover-btn-ghost:hover { color: #E8F4FF; }

/* ── SECTIONS ── */
.section {
  padding: 40px 32px;
  border-bottom: none;
  position: relative;
}

/* Modern editorial layout: sections go full-width, but prose stays readable.
   Direct prose children of .section are capped at a comfortable reading column.
   Wider elements (grids, maps, photo slots, cards) opt out with .wide-content. */
.section > .eyebrow,
.section > .section-headline,
.section > .section-subhead,
.section > .rule,
.section > .body-text,
.section > .pullquote,
.section > .honesty-box,
.section > .verify-box,
.section > .living-note,
.section > .map-note,
.section > .sub-label,
.section > .photo-caption,
.section > p,
.section > h1,
.section > h2,
.section > h3,
.section > .photo-slot,
/* Prose-width children: text and inline button rows */
.section > div:not([class]),
.section > div[style*="display:flex"]:not([class]),
.section > div[style*="display: flex"]:not([class]) {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Card grids (display:grid) get wider treatment — 1180px */
.section > div[style*="display:grid"]:not([class]),
.section > div[style*="display: grid"]:not([class]) {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* Inline action wrappers in sections — keep buttons aligned with the prose column above them */
.section > .prose-action {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Card lists and grids get more breathing room — wider than prose but still capped */
.section > .card,
.section > .news-card,
.section > .happening-card,
.section > .school-card {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* Wide content (grids, multi-column layouts, maps) gets even more space */
.section > .two-col,
.section > .three-col,
.section > .market-grid,
.section > .arch-tags,
.section > .timeline,
.section > .eat-group,
.section > #eat-filters,
.section > #eat-vibes,
.section > #eat-map,
.section > [id$="-grid"] {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* Full-bleed escape hatch for any element that should span edge-to-edge */
.section > .full-bleed {
  max-width: none;
  margin-left: -32px;
  margin-right: -32px;
}
.section:not(:last-of-type)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 8%; right: 8%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(133,183,235,0.45) 30%, rgba(133,183,235,0.45) 70%, transparent 100%);
  pointer-events: none;
}
/* Page-themed dividers all baby blue */
.page#page-history .section:not(:last-of-type)::after,
.page#page-living .section:not(:last-of-type)::after,
.page#page-eat .section:not(:last-of-type)::after,
.page#page-wellness .section:not(:last-of-type)::after,
.page#page-happenings .section:not(:last-of-type)::after { background: linear-gradient(90deg, transparent 0%, rgba(133,183,235,0.55) 30%, rgba(42,107,173,0.4) 50%, rgba(133,183,235,0.55) 70%, transparent 100%); }
.section:last-of-type { border-bottom: none; }

/* Decorative large background number */
.section-num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--serif);
  font-size: 80px;
  font-style: italic;
  color: var(--border);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.03em;
}
.page#page-history .section-num { color: rgba(217,122,153,0.18); }
.page#page-living  .section-num { color: rgba(75,191,160,0.16); }
.page#page-eat     .section-num { color: rgba(232,150,15,0.14); }
.page#page-wellness .section-num { color: rgba(122,184,64,0.16); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-mid) 0%, transparent 100%);
  opacity: 1;
}
.page#page-history .eyebrow { color: var(--blue-dark); }
.page#page-living  .eyebrow { color: var(--blue-dark); }
.page#page-eat     .eyebrow { color: var(--blue-dark); }
.page#page-wellness .eyebrow { color: var(--blue-dark); }
.page#page-happenings .eyebrow { color: var(--blue-dark); }

.section-headline {
  font-family: var(--serif);
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section-subhead {
  font-family: var(--serif);
  font-size: clamp(19px, 3vw, 30px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.rule {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin: 18px 0;
  opacity: 1;
  background-size: 200% 100%;
}

.body-text {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 400;
}
.body-text.small {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
}

/* ── PULLQUOTE ── */
.pullquote {
  margin: 28px 0;
  padding: 22px 24px 22px 30px;
  background: linear-gradient(135deg, var(--blue-mist) 0%, var(--blue-ice) 100%);
  border-radius: 4px;
  border-left: 4px solid var(--blue-dark);
  position: relative;
  box-shadow: 0 1px 0 rgba(42,107,173,0.06);
}
.pullquote::before {
  content: '\201C';
  font-family: var(--body);
  font-size: 64px;
  font-style: italic;
  color: var(--blue-dark);
  opacity: 0.22;
  position: absolute;
  top: 4px;
  left: 18px;
  line-height: 1;
  pointer-events: none;
}
.pullquote p {
  font-family: var(--body);
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
  padding-left: 14px;
}
.pullquote cite {
  display: block;
  margin-top: 10px;
  padding-left: 14px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ── CARDS ── */
.card {
  background: linear-gradient(180deg, var(--white) 0%, #FEFCF9 100%);
  border: 0.5px solid var(--border-mid);
  border-radius: 14px;
  padding: 15px 17px;
  margin-bottom: 10px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.18s;
  position: relative;
}
.card:hover {
  border-color: rgba(27,58,92,0.28);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27,58,92,0.07);
}
.card.featured {
  border-color: var(--amber);
  border-width: 1px;
  background: linear-gradient(180deg, #FFFBF2 0%, #FEF5E0 100%);
  box-shadow: 0 2px 0 rgba(232,150,15,0.08);
}
.card.featured:hover {
  box-shadow: 0 8px 22px rgba(232,150,15,0.18);
  border-color: var(--amber-deep);
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 5px; }
.card-name { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); flex: 1; letter-spacing: 0.01em; }
.card-since { font-family: var(--sans); font-size: 11px; color: var(--navy); margin-bottom: 5px; font-weight: 500; letter-spacing: 0.03em; opacity: 0.65; }
.card-desc { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.card-tip { font-family: var(--sans); font-size: 12px; color: var(--hint); display: flex; align-items: flex-start; gap: 5px; font-weight: 400; }
.card-tip i { font-size: 13px; margin-top: 1px; flex-shrink: 0; color: var(--blue-dark); }

/* ── PILLS ── */
.pill {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.pill-amber { background: linear-gradient(135deg, #FBE5B8, #F9D58F); color: #6B3F00; box-shadow: inset 0 0 0 0.5px rgba(179,111,0,0.18); }
.pill-blue  { background: linear-gradient(135deg, #D6E8FA, #B5D4F4); color: #0C447C; box-shadow: inset 0 0 0 0.5px rgba(42,107,173,0.18); }
.pill-teal  { background: linear-gradient(135deg, #C5EADC, #9FE1CB); color: #085041; box-shadow: inset 0 0 0 0.5px rgba(26,122,98,0.2); }
.pill-pink  { background: linear-gradient(135deg, #FBD9E2, #F4C0D1); color: #72243E; box-shadow: inset 0 0 0 0.5px rgba(114,36,62,0.16); }
.pill-purple{ background: linear-gradient(135deg, #E0DDFB, #C9C4F4); color: #3C3489; box-shadow: inset 0 0 0 0.5px rgba(60,52,137,0.16); }
.pill-green { background: linear-gradient(135deg, #DEEEC1, #C8E29C); color: #2D5A0E; box-shadow: inset 0 0 0 0.5px rgba(45,90,14,0.18); }
.pill-red   { background: linear-gradient(135deg, #FDDCDC, #F9BFBF); color: #7A1F1F; box-shadow: inset 0 0 0 0.5px rgba(122,31,31,0.16); }
.pill-live  { background: var(--teal-ice); color: #085041; display: inline-flex; align-items: center; gap: 5px; box-shadow: inset 0 0 0 0.5px rgba(26,122,98,0.2); }
.pill-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }

/* ── GRIDS ── */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 16px 0; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 16px 0; }
@media (max-width: 480px) { .three-col { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ── STAT CARDS ── */
.stat-card {
  background: linear-gradient(180deg, var(--white) 0%, #FCFAF5 100%);
  border: 0.5px solid var(--border-mid);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(75,191,160,0.14); }
.stat-num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep-vibrant) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.stat-label { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.4; }

/* ── FACT CARDS ── */
.fact-card {
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-ice) 100%);
  border: 0.5px solid rgba(42,107,173,0.18);
  border-radius: 14px;
  padding: 16px 14px;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.fact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--blue-dark), var(--blue));
}
.fact-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(42,107,173,0.18); }
.fact-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep-vibrant) 60%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 2px;
  padding-left: 8px;
  line-height: 1;
}
.fact-label { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.4; padding-left: 8px; }

/* ── SEASON CARDS ── */
.season-card {
  background: var(--white);
  border: 0.5px solid var(--border-mid);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.season-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent, var(--blue));
}
.season-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(27,58,92,0.08); }
.season-card.spring { --accent: linear-gradient(90deg, var(--blue-violet), var(--blue-light)); }
.season-card.summer { --accent: linear-gradient(90deg, var(--blue-cyan), #B5DCEA); }
.season-card.fall   { --accent: linear-gradient(90deg, var(--blue-dark), var(--blue)); }
.season-card.winter { --accent: linear-gradient(90deg, var(--blue), var(--blue-cool)); }
.season-name { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; margin-top: 4px; }
.sdot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255,255,255,1), 0 0 0 3px rgba(27,58,92,0.08); }
.season-desc { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.55; }

/* ── WHO CARDS ── */
.who-card {
  background: var(--white);
  border: 0.5px solid var(--border-mid);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.who-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(27,58,92,0.07); }
.who-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.who-card.locals .who-icon-wrap { background: linear-gradient(135deg, var(--blue-violet-ice), var(--blue-cool)); }
.who-card.locals .who-icon-wrap i { color: var(--blue-deep-vibrant); }
.who-card.creatives .who-icon-wrap { background: linear-gradient(135deg, var(--blue-cyan-ice), #C6E5F0); }
.who-card.creatives .who-icon-wrap i { color: var(--blue-dark); }
.who-card.rocket .who-icon-wrap { background: linear-gradient(135deg, var(--blue-ice), var(--blue-light)); }
.who-card.rocket .who-icon-wrap i { color: var(--blue-dark); }
.who-card i { font-size: 22px; }
.who-label { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.who-desc { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.45; }

/* ── TIMELINE ── */
.timeline { margin: 16px 0; }
.tl-row { display: flex; gap: 16px; padding-bottom: 18px; position: relative; }
.tl-row:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px; top: 26px; bottom: 0;
  width: 1.5px;
  background: linear-gradient(180deg, var(--blue-dark), var(--blue) 50%, var(--blue-light));
}
.tl-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 2px; flex-shrink: 0; }
.tl-year { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--blue-dark); letter-spacing: 0.04em; min-width: 36px; text-align: center; }
.tl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue-dark);
  border: 2.5px solid var(--cream);
  box-shadow: 0 0 0 1.5px var(--blue-dark), 0 0 0 4px rgba(133,183,235,0.25);
}
.tl-label { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.tl-desc { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.55; }

/* ── ARCH TAGS ── */
.arch-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.arch-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-dark);
  background: linear-gradient(135deg, var(--blue-ice) 0%, var(--blue-violet-ice) 100%);
  border: 0.5px solid rgba(42,107,173,0.25);
  padding: 5px 13px;
  border-radius: 99px;
  letter-spacing: 0.01em;
  cursor: default;
  user-select: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.arch-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(42,107,173,0.18);
}

/* ── FOCUS STYLES ── */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.cover-btn-primary:focus-visible,
.cover-btn-ghost:focus-visible,
.nav-cta-btn:focus-visible { border-radius: 8px; }
.nav-card:focus-visible,
.card:focus-visible,
.happening-card:focus-visible { border-radius: 14px; }
.eat-filter:focus-visible { border-radius: 99px; }

/* ── SUB LABEL ── */
.sub-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-dark);
  opacity: 0.9;
  text-transform: uppercase;
  margin: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-label i { font-size: 14px; opacity: 1; color: var(--blue-dark); }
.page#page-history .sub-label,
.page#page-history .sub-label i { color: var(--blue-dark); }
.page#page-living .sub-label,
.page#page-living .sub-label i { color: var(--blue-dark); }
.page#page-eat .sub-label,
.page#page-eat .sub-label i { color: var(--blue-dark); }
.page#page-wellness .sub-label,
.page#page-wellness .sub-label i { color: var(--blue-dark); }

/* ── INFO BOXES — all baby blue family with subtle warm/cool variation ── */
.honesty-box {
  background: linear-gradient(135deg, var(--blue-ice) 0%, var(--blue-mist) 100%);
  border-left: 4px solid var(--blue-dark);
  border-radius: 0 14px 14px 0;
  padding: 16px 18px;
  margin: 18px 0;
  box-shadow: 0 1px 0 rgba(42,107,173,0.06);
}
.honesty-box p { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-light); line-height: 1.65; }
.honesty-box p strong { color: var(--blue-dark); font-weight: 600; }

.verify-box {
  background: linear-gradient(135deg, var(--blue-cyan-ice) 0%, var(--blue-mist) 100%);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 0.5px solid rgba(42,107,173,0.22);
}
.verify-box i { font-size: 20px; color: var(--blue-deep-vibrant); flex-shrink: 0; margin-top: 1px; }
.verify-box p { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-light); line-height: 1.6; }
.verify-box p strong { color: var(--blue-dark); font-weight: 600; }

.living-note {
  background: linear-gradient(135deg, var(--blue-violet-ice) 0%, var(--blue-mist) 100%);
  border: 0.5px solid rgba(42,107,173,0.2);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.living-note i { font-size: 20px; color: var(--blue-deep-vibrant); flex-shrink: 0; margin-top: 1px; }
.living-note p { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-light); line-height: 1.6; }
.living-note p strong { color: var(--blue-dark); font-weight: 600; }

.map-note {
  background: linear-gradient(135deg, var(--blue-ice) 0%, var(--blue-cyan-ice) 100%);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 0.5px solid rgba(42,107,173,0.2);
}
.map-note i { font-size: 22px; color: var(--blue-dark); flex-shrink: 0; }
.map-note p { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-light); line-height: 1.5; }
.map-note p strong { color: var(--blue-dark); font-weight: 600; }
.map-note a { color: var(--blue-dark); font-weight: 600; }

/* ── SCHOOL CARDS ── */
.school-card {
  background: var(--white);
  border: 0.5px solid var(--border-mid);
  border-radius: 12px;
  padding: 14px 16px 14px 18px;
  margin-bottom: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.school-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue-dark), var(--blue));
}
.school-card.magnet::before { background: linear-gradient(180deg, var(--blue-deep-vibrant), var(--blue-violet)); }
.school-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(27,58,92,0.07); }
.school-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 3px; }
.school-name { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); flex: 1; }
.school-grade { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--hint); margin-bottom: 5px; letter-spacing: 0.01em; }
.school-desc { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.6; }

/* ── WHAT'S HAPPENING ── */
.happening-card {
  background: linear-gradient(180deg, var(--white) 0%, #FCFAF5 100%);
  border: 0.5px solid var(--border-mid);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.18s;
}
.happening-card:hover {
  border-color: rgba(27,58,92,0.26);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27,58,92,0.08);
}
.happening-card.featured {
  border-color: var(--blue);
  border-width: 1px;
  background: linear-gradient(180deg, var(--blue-ice) 0%, var(--white) 80%);
  box-shadow: 0 2px 0 rgba(133,183,235,0.18);
}
.happening-card.featured:hover {
  border-color: var(--blue-dark);
  box-shadow: 0 8px 22px rgba(42,107,173,0.22);
}
.happening-date {
  min-width: 50px;
  text-align: center;
  flex-shrink: 0;
  padding: 8px 6px 9px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(15,34,53,0.18);
}
.happening-month { font-family: var(--sans); font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-light); }
.happening-day {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.05;
  margin: 2px 0;
}
.happening-dow { font-family: var(--sans); font-size: 9px; font-weight: 400; color: rgba(181,212,244,0.7); text-transform: uppercase; letter-spacing: 0.08em; }
.happening-card.featured .happening-date {
  background: linear-gradient(180deg, var(--blue-dark) 0%, #1F4F87 100%);
  box-shadow: 0 2px 8px rgba(42,107,173,0.32);
}
.happening-card.featured .happening-day {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.happening-card.featured .happening-month { color: var(--blue-light); }
.happening-card.featured .happening-dow { color: rgba(181,212,244,0.85); }
.happening-body { flex: 1; }
.happening-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.happening-name { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); flex: 1; line-height: 1.4; }
.happening-desc { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.6; margin-bottom: 7px; }
.happening-meta { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--hint); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.happening-meta span { display: flex; align-items: center; gap: 4px; }
.happening-meta i { font-size: 12px; color: var(--blue-dark); }
.happening-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-dark);
  text-decoration: none;
  margin-top: 8px;
  letter-spacing: 0.01em;
  transition: color 0.14s, gap 0.14s;
}
.happening-link i { font-size: 11px; transition: transform 0.14s; }
.happening-link:hover { color: var(--blue-deep-vibrant); gap: 7px; }
.happening-link:hover i { transform: translateX(2px); }

.news-card {
  background: linear-gradient(180deg, var(--white) 0%, #FCFAF5 100%);
  border: 0.5px solid var(--border-mid);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.18s;
}
.news-card:hover {
  border-color: rgba(27,58,92,0.26);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27,58,92,0.07);
}
.news-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 5px; }
.news-title { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); flex: 1; line-height: 1.45; }
.news-desc { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.6; margin-bottom: 7px; }
.news-meta { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--hint); letter-spacing: 0.01em; }

.market-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 16px 0; }
.market-card {
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-ice) 100%);
  border: 0.5px solid rgba(42,107,173,0.22);
  border-radius: 14px;
  padding: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(42,107,173,0.16);
}
.market-num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep-vibrant) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.market-trend { font-family: var(--sans); font-size: 10px; font-weight: 500; margin-bottom: 3px; letter-spacing: 0.02em; }
.market-trend.up { color: #2D5A0E; }
.market-trend.down { color: #7A1F1F; }
.market-trend.neutral { color: var(--hint); }
.market-label { font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--muted); line-height: 1.4; }
.market-updated { font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--hint); font-style: italic; margin-top: 14px; }

/* ── WHAT'S HAPPENING HERO ── */
.happenings-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--blue-dark) 80%, var(--blue-deep-vibrant) 100%);
  padding: 36px 32px 32px;
  border-bottom: 0.5px solid rgba(133,183,235,0.25);
  position: relative;
  overflow: hidden;
}
.happenings-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.happenings-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(181,212,244,0.3), transparent 70%);
  pointer-events: none;
}
.happenings-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(15,34,53,0.4), transparent);
  pointer-events: none;
}
.happenings-hero-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
}
.happenings-hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px rgba(181,212,244,0.7);
  animation: pulse 2s infinite;
}
.happenings-hero h1 {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 400;
  color: #F0F7FF;
  line-height: 1.12;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  position: relative;
}
.happenings-hero p {
  font-family: var(--sans);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 400;
  color: rgba(199,222,247,0.85);
  line-height: 1.55;
  position: relative;
  max-width: 580px;
}

/* ── HOME QUICK NAV CARDS — all baby blue family, section color as accent ── */
.nav-card {
  background: linear-gradient(180deg, var(--blue-mist) 0%, var(--white) 75%);
  border: 0.5px solid rgba(133,183,235,0.35);
  border-radius: 16px;
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.nav-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, linear-gradient(90deg, var(--blue-dark), var(--blue)));
  opacity: 0.95;
}
.nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(42,107,173,0.16);
  border-color: var(--blue);
}
/* Each card: blue is the canvas, section color is a small accent on the top stripe */
.nav-card.card-history  { --card-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--pink-deep)); background: linear-gradient(180deg, var(--blue-violet-ice) 0%, var(--white) 75%); }
.nav-card.card-living   { --card-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--teal)); background: linear-gradient(180deg, var(--blue-cyan-ice) 0%, var(--white) 75%); }
.nav-card.card-eat      { --card-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--amber)); background: linear-gradient(180deg, var(--blue-mist) 0%, var(--white) 75%); }
.nav-card.card-wellness { --card-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--green)); background: linear-gradient(180deg, var(--blue-cyan-ice) 0%, var(--white) 75%); }
.nav-card.card-schools  { --card-accent: linear-gradient(90deg, var(--blue-dark), var(--blue-deep-vibrant), var(--blue)); background: linear-gradient(180deg, var(--blue-ice) 0%, var(--white) 75%); }
.nav-card.featured-card {
  --card-accent: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--teal-light));
  background: linear-gradient(180deg, var(--blue-ice) 0%, var(--white) 80%);
  border-color: var(--blue);
}
.nav-card.featured-card:hover { background: linear-gradient(180deg, var(--blue-cool) 0%, var(--white) 80%); }
.nav-card-icon { font-size: 22px; margin-bottom: 10px; display: block; }
.nav-card-icon .emoji-lg {
  font-size: 26px;
  line-height: 1;
  display: inline-block;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', system-ui, sans-serif;
  font-style: normal;
}

.emoji-md {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', system-ui, sans-serif;
  font-style: normal;
  vertical-align: -2px;
}

.emoji-sm {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', system-ui, sans-serif;
  font-style: normal;
  vertical-align: -1px;
}
.nav-card-title { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.nav-card-sub { font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--muted); line-height: 1.4; }

/* ── CTA SECTION ── */
.cta-section {
  background: radial-gradient(ellipse at top left, #1A4570 0%, var(--navy) 40%, var(--navy-dark) 100%);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.cta-section-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(133,183,235,0.22), transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(74,139,212,0.18), transparent 70%);
  pointer-events: none;
}
.cta-eyebrow { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: 0.22em; color: var(--blue-light); text-transform: uppercase; margin-bottom: 14px; position: relative; }
.cta-headline {
  font-family: var(--serif);
  font-size: clamp(24px, 4.2vw, 44px);
  font-weight: 400;
  color: #EEF5FF;
  line-height: 1.12;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  position: relative;
}
.cta-sub {
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 16px);
  font-style: italic;
  color: rgba(181,212,244,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
  position: relative;
}
.cta-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; position: relative; }
.cta-card {
  background: rgba(133,183,235,0.1);
  border: 0.5px solid rgba(133,183,235,0.28);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.cta-card:hover {
  background: rgba(133,183,235,0.2);
  border-color: rgba(133,183,235,0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.cta-card:nth-child(1) .cta-icon { background: linear-gradient(135deg, rgba(133,183,235,0.32), rgba(181,212,244,0.2)); color: var(--blue-light); }
.cta-card:nth-child(2) .cta-icon { background: linear-gradient(135deg, rgba(167,212,232,0.32), rgba(133,183,235,0.2)); color: #E0EEFC; }
.cta-card:nth-child(3) .cta-icon { background: linear-gradient(135deg, rgba(74,139,212,0.32), rgba(133,183,235,0.2)); color: var(--blue-light); }
.cta-card:nth-child(4) .cta-icon { background: linear-gradient(135deg, rgba(184,209,237,0.32), rgba(133,183,235,0.2)); color: var(--blue-light); }
.cta-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(133,183,235,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 18px;
}
.cta-name { font-family: var(--sans); font-size: 13px; font-weight: 500; color: #EEF5FF; margin-bottom: 4px; letter-spacing: 0.01em; }
.cta-desc { font-family: var(--sans); font-size: 12px; font-weight: 300; color: rgba(181,212,244,0.8); line-height: 1.6; margin-bottom: 5px; }
.cta-link { font-family: var(--sans); font-size: 11px; color: var(--blue-light); font-weight: 500; letter-spacing: 0.02em; }
.sig {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 0.5px solid rgba(133,183,235,0.18);
  padding-top: 22px;
  position: relative;
}
.sig-av {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  color: #042C53;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(133,183,235,0.15);
}
.sig-name { font-family: var(--sans); font-size: 13px; font-weight: 500; color: #EEF5FF; margin-bottom: 3px; }
.sig-role { font-family: var(--sans); font-size: 11px; font-weight: 300; color: rgba(133,183,235,0.8); }

/* ── FOOTER ── */
.footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 50%, #07182A 100%);
  border-top: 0.5px solid rgba(133,183,235,0.2);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 30%, var(--blue-light) 70%, transparent 100%);
  opacity: 0.45;
}
.footer-cta {
  background: linear-gradient(135deg, #1F4674 0%, var(--navy) 60%, var(--navy-dark) 100%);
  padding: 28px 32px;
  border-bottom: 0.5px solid rgba(133,183,235,0.18);
  position: relative;
  overflow: hidden;
}
.footer-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}
.footer-cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(133,183,235,0.18), transparent 70%);
  pointer-events: none;
}
.footer-cta-text { flex: 1; min-width: 180px; position: relative; }
.footer-cta-headline {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  color: #F0F7FF;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.footer-cta-sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: rgba(181,212,244,0.75);
  line-height: 1.5;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--blue-light) 60%, var(--blue) 100%);
  color: var(--navy-dark);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(133,183,235,0.35), inset 0 0 0 1px rgba(255,255,255,0.4);
  position: relative;
}
.footer-cta-btn i { font-size: 15px; }
.footer-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(133,183,235,0.5), inset 0 0 0 1px rgba(255,255,255,0.6); }

.footer-body {
  padding: 32px 32px 28px;
}
.footer-body-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.footer-col-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-col-label::before {
  content: '';
  width: 16px;
  height: 2px;
  border-radius: 2px;
}
.footer-col:nth-child(1) .footer-col-label { color: var(--blue-light); }
.footer-col:nth-child(1) .footer-col-label::before { background: linear-gradient(90deg, var(--blue-light), var(--blue)); }
.footer-col:nth-child(2) .footer-col-label { color: #C9DDF4; }
.footer-col:nth-child(2) .footer-col-label::before { background: linear-gradient(90deg, #C9DDF4, var(--blue-light)); }
.footer-col:nth-child(3) .footer-col-label { color: #A7D4E8; }
.footer-col:nth-child(3) .footer-col-label::before { background: linear-gradient(90deg, #A7D4E8, var(--blue-cyan)); }
.footer-col a, .footer-col button {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(199,222,247,0.72);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 11px;
  text-align: left;
  letter-spacing: 0.01em;
  transition: color 0.14s, transform 0.14s;
  line-height: 1;
}
.footer-col a:hover, .footer-col button:hover { color: #FFFFFF; transform: translateX(2px); }
.footer-col a.happenings-link, .footer-col button.happenings-link { color: rgba(181,212,244,0.85); }
.footer-col a.happenings-link:hover, .footer-col button.happenings-link:hover { color: var(--blue-light); }

.footer-bottom {
  padding: 16px 32px;
  border-top: 0.5px solid rgba(133,183,235,0.12);
  background: rgba(7,24,42,0.4);
}
.footer-bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  color: rgba(199,222,247,0.55);
  letter-spacing: 0.01em;
}
.footer-updated {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(133,183,235,0.55);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-updated i {
  font-size: 12px;
  opacity: 0.75;
}
@media (max-width: 520px) {
  .footer-updated { font-size: 10px; gap: 4px; }
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(181,212,244,0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.14s, transform 0.14s;
}
.footer-social a i { font-size: 15px; }
.footer-social a:hover { color: var(--blue-light); transform: translateY(-1px); }

.footer-bar { height: 4px; background: linear-gradient(90deg, var(--blue-dark), var(--blue-deep-vibrant), var(--blue), var(--blue-light), var(--blue)); opacity: 0.95; }

@media (max-width: 520px) {
  .footer-body-inner { grid-template-columns: 1fr 1fr; }
  .footer-cta { padding: 22px 20px; }
  .footer-bottom { padding: 14px 20px; }
}

/* ── STICKY NUDGE BAR ── */
.nudge-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  z-index: 150;
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.nudge-bar.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nudge-bar-inner {
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 60%, #1F4674 100%);
  border-top: 1px solid rgba(133,183,235,0.25);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 -4px 18px rgba(15,34,53,0.18);
}
.nudge-bar-text {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(199,222,247,0.78);
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}
.nudge-bar-text strong {
  font-weight: 600;
  color: #FFFFFF;
  display: block;
}
.nudge-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nudge-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--blue-light) 60%, var(--blue) 100%);
  color: var(--navy-dark);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s, box-shadow 0.15s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(133,183,235,0.3), inset 0 0 0 1px rgba(255,255,255,0.4);
}
.nudge-btn-primary i { font-size: 13px; }
.nudge-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(133,183,235,0.45), inset 0 0 0 1px rgba(255,255,255,0.6); }
.nudge-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(133,183,235,0.14);
  color: rgba(199,222,247,0.85);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 7px;
  border: 0.5px solid rgba(133,183,235,0.28);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.nudge-btn-secondary i { font-size: 12px; }
.nudge-btn-secondary:hover { background: rgba(133,183,235,0.24); color: #FFFFFF; }
.nudge-dismiss {
  background: none;
  border: none;
  color: rgba(133,183,235,0.35);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.14s;
  flex-shrink: 0;
}
.nudge-dismiss:hover { color: rgba(133,183,235,0.7); }
/* add bottom padding to pages so content isn't hidden behind nudge bar */
.page { padding-bottom: 60px; }
.page#page-home,
.page#page-explore { padding-bottom: 0; }

/* ── MAP PINS ── */
.map-pin { transition: transform 0.18s ease; transform-origin: center bottom; transform-box: fill-box; }
.map-pin:hover { transform: translateY(-4px) scale(1.08); }
.map-pin:hover circle { filter: drop-shadow(0 4px 8px rgba(27,58,92,0.4)); }
.map-pin:focus { outline: none; }
.map-pin:focus circle { stroke: var(--blue-light); stroke-width: 3; }

.card-pin-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  margin-right: 8px;
  flex-shrink: 0;
  vertical-align: middle;
  line-height: 1;
}
.card.featured .card-pin-num {
  background: linear-gradient(180deg, #F5C36A 0%, #B36F00 100%);
}

/* Card flash highlight when pin tapped */
@keyframes cardFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(133,183,235,0); }
  20% { box-shadow: 0 0 0 4px rgba(133,183,235,0.5), 0 6px 18px rgba(42,107,173,0.16); }
  60% { box-shadow: 0 0 0 4px rgba(133,183,235,0.3), 0 6px 18px rgba(42,107,173,0.12); }
}
.card.flash, .happening-card.flash { animation: cardFlash 1.4s ease-out; }

/* ── SHARE BUTTONS ── */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-dark);
  background: rgba(255,255,255,0.85);
  border: 0.5px solid rgba(42,107,173,0.25);
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.share-btn i { font-size: 15px; color: var(--blue-deep-vibrant); }
.share-btn:hover {
  background: #FFFFFF;
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42,107,173,0.16);
}
.share-btn.copied {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: var(--navy-dark);
  border-color: var(--blue-dark);
}
.share-btn.copied i { color: var(--navy-dark); }

/* ── PHOTO SYSTEM ── */
/* Universal image base — every <img.photo> on the site uses these */
.photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: var(--blue-mist);
}

/* Photo slot wrapper — replaces nothing visually, gives consistent ratio + radius + shadow */
.photo-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-mist) 0%, var(--blue-ice) 50%, var(--blue-cyan-ice) 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(27,58,92,0.08), 0 0 0 0.5px rgba(42,107,173,0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.photo-slot:hover {
  box-shadow: 0 6px 22px rgba(27,58,92,0.14), 0 0 0 0.5px rgba(42,107,173,0.18);
}

/* Aspect-ratio variants */
.photo-slot.ratio-hero { aspect-ratio: 16 / 9; }
.photo-slot.ratio-portrait { aspect-ratio: 4 / 5; }
.photo-slot.ratio-square { aspect-ratio: 1 / 1; }
.photo-slot.ratio-landscape { aspect-ratio: 3 / 2; }
.photo-slot.ratio-wide { aspect-ratio: 21 / 9; }
.photo-slot.ratio-eat { aspect-ratio: 4 / 3; }

/* Placeholder treatment - shown when no image is loaded yet */
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue-mist) 0%, var(--blue-ice) 60%, var(--blue-cyan-ice) 100%);
  border-radius: inherit;
  pointer-events: none;
  text-align: center;
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(133,183,235,0.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(74,139,212,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.photo-placeholder-emoji {
  font-size: 32px;
  line-height: 1;
  opacity: 0.55;
  filter: saturate(0.7);
  position: relative;
  z-index: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', system-ui, sans-serif;
}
.photo-placeholder-caption {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  opacity: 0.55;
  position: relative;
  z-index: 1;
}
.photo-placeholder-note {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--blue-dark);
  opacity: 0.5;
  font-style: italic;
  max-width: 200px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.photo-slot.compact .photo-placeholder-emoji { font-size: 22px; }
.photo-slot.compact .photo-placeholder-caption { font-size: 9px; }
.photo-slot.compact .photo-placeholder-note { display: none; }

/* When an actual image is loaded, hide the placeholder */
.photo-slot img.photo:not([src=""]):not([src*="placeholder"]) ~ .photo-placeholder {
  display: none;
}

/* Hero image slot — large, dominant */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 22px;
}

/* Caption shown beneath a photo slot — for credit, season tags, etc. */
.photo-caption {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Seasonal moment strip — small, dynamic */
.seasonal-strip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(133,183,235,0.16);
  border: 0.5px solid rgba(133,183,235,0.3);
  border-radius: 99px;
  padding: 5px 11px 5px 5px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: #C7DEF7;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: 14px;
  max-width: max-content;
}
.seasonal-strip-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.seasonal-strip-thumb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.seasonal-strip-text { display: flex; flex-direction: column; gap: 1px; }
.seasonal-strip-label { font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; line-height: 1; }
.seasonal-strip-name { font-size: 11px; font-weight: 500; line-height: 1.1; }

/* Eat card thumbnail */
.card .eat-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-mist) 0%, var(--blue-cyan-ice) 100%);
  position: relative;
  margin-right: 13px;
}
.card .eat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .eat-thumb .eat-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0.5;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', system-ui, sans-serif;
}
.card.with-thumb { display: flex; align-items: flex-start; gap: 0; }
.card.with-thumb .eat-thumb { margin-top: 2px; }
.card.with-thumb > div.card-body { flex: 1; min-width: 0; }

/* Instagram feed container styling */
.ig-feed-section {
  background: linear-gradient(180deg, var(--blue-ice) 0%, var(--cream) 100%);
  padding: 36px 32px;
  border-top: 0.5px solid rgba(42,107,173,0.12);
  border-bottom: 0.5px solid rgba(42,107,173,0.12);
}
.ig-feed-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.ig-feed-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ig-feed-title-block .ig-feed-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ig-feed-title-block .ig-feed-eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal-active);
  animation: pulse 2s infinite;
}
.ig-feed-title-block h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.ig-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep-vibrant));
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 99px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.12s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(42,107,173,0.22);
  flex-shrink: 0;
}
.ig-follow-btn i { font-size: 14px; }
.ig-follow-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(42,107,173,0.32); }

/* IG embed container - where the widget script will render */
.ig-embed-container {
  min-height: 200px;
  border-radius: 12px;
  background: #fff;
  border: 0.5px dashed rgba(42,107,173,0.22);
  padding: 14px;
  position: relative;
}
.ig-embed-container.has-embed {
  border: none;
  padding: 0;
  background: transparent;
}
.ig-embed-fallback {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 1100px) {
  .ig-embed-fallback { grid-template-columns: repeat(6, 1fr); }
}
.ig-embed-fallback .photo-slot { border-radius: 10px; }
.ig-embed-setup-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--blue-ice);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ig-embed-setup-note i { font-size: 14px; color: var(--blue-dark); flex-shrink: 0; margin-top: 1px; opacity: 0.8; }
.ig-embed-setup-note strong { color: var(--ink); font-weight: 500; }

@media (max-width: 520px) {
  .ig-feed-section { padding: 28px 20px; }
  .ig-embed-fallback { grid-template-columns: repeat(2, 1fr); }
}


.eat-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  background: var(--white);
  border: 0.5px solid var(--border-mid);
  border-radius: 99px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.eat-filter i { font-size: 13px; }
.eat-filter .emoji {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  vertical-align: -1px;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', system-ui, sans-serif;
  font-style: normal;
}
.eat-filter:hover { color: var(--blue-dark); border-color: var(--blue); background: var(--blue-ice); }
.eat-filter.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep-vibrant) 60%, var(--blue) 100%);
  border-color: var(--blue-dark);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(42,107,173,0.32);
}
.eat-filter.active i { color: var(--blue-light); }

/* Vibe filter pills - slightly warmer/different feel to distinguish */
.eat-filter.vibe-filter { background: #fff; }
.eat-filter.vibe-filter:hover { background: var(--blue-violet-ice); border-color: var(--blue-violet); color: var(--blue-dark); }
.eat-filter.vibe-filter.active {
  background: linear-gradient(135deg, #4a5fa8 0%, #6478c4 60%, #8a9fd9 100%);
  border-color: #4a5fa8;
  color: #fff;
}
.eat-filter.vibe-filter.active i { color: #c5d1ee; }

/* Cara picks toggle - active state */
#cara-pick-label.active {
  background: linear-gradient(135deg, var(--amber-tint), var(--amber-light));
  border-color: var(--amber-deep);
  box-shadow: 0 2px 8px rgba(232,150,15,0.22);
}
[id] { scroll-margin-top: 56px; }
@media print { .site-nav, .section-nav { display: none; } .site-wrap { box-shadow: none; } }
