/* San Diego Events This Weekend — sunny SoCal guide */
:root {
  --sky: #0ea5e9;
  --sky-deep: #0369a1;
  --sky-soft: #e0f2fe;
  --sun: #fbbf24;
  --sun-hot: #f59e0b;
  --coral: #f97316;
  --palm: #0f766e;
  --sand: #fffbeb;
  --foam: #fffef9;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --border: rgba(3, 105, 161, 0.12);
  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --max: 70rem;
  --radius: 0.75rem;
  --shadow: 0 12px 40px rgba(3, 105, 161, 0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sky-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--coral); }
a:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--sky-deep); color: #fff; padding: 0.75rem 1.25rem;
}
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 254, 249, 0.9);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.95rem 0; gap: 1.25rem; flex-wrap: wrap;
}
.logo {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
  color: var(--sky-deep); text-decoration: none; letter-spacing: -0.02em; line-height: 1.25;
}
.logo span {
  display: block; font-family: var(--sans); font-size: 0.68rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.15rem;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.15rem; list-style: none; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; font-weight: 560;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--sky-deep); }
.hero {
  background: linear-gradient(160deg, #0369a1 0%, #0ea5e9 42%, #38bdf8 72%, #fde68a 100%);
  color: #fff; padding: 4.25rem 0 4.75rem; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 72px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 72' preserveAspectRatio='none'%3E%3Cpath fill='%23fffef9' d='M0,36 C250,72 450,0 700,36 C900,64 1100,48 1200,36 L1200,72 L0,72 Z'/%3E%3C/svg%3E") no-repeat bottom / 100% 72px;
}
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fef3c7; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 700; line-height: 1.15; max-width: 16ch; margin-bottom: 1.15rem;
}
.hero-lead { font-size: 1.15rem; max-width: 38rem; opacity: 0.95; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--sky-deep); }
.btn-primary:hover { background: #fef3c7; color: var(--sky-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-media {
  position: relative; z-index: 1; max-width: 52rem; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); border: 3px solid rgba(255,255,255,.35);
}
.hero-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.notice {
  background: var(--sand); border-bottom: 1px solid var(--border); padding: 1rem 0;
}
.notice p { font-size: 0.95rem; color: var(--ink-soft); }
.notice strong { color: var(--sky-deep); }
.content-section { padding: 4rem 0; }
.content-section.alt { background: var(--sand); }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 0.65rem;
}
h2 {
  font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.25; margin-bottom: 1rem; color: var(--ink); letter-spacing: -0.02em;
}
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.55rem; color: var(--sky-deep); }
.prose p { margin-bottom: 1rem; color: var(--ink-soft); max-width: 62ch; }
.prose ul { margin: 0.75rem 0 1.25rem 1.25rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.4rem; }
.split {
  display: grid; gap: 2rem;
  grid-template-columns: 1.4fr 1fr; align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.accent-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.accent-box h3 { margin-top: 0; }
.accent-box p { color: var(--ink-soft); font-size: 0.98rem; }
.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.75rem;
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 6px 24px rgba(3,105,161,.08);
  display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16/10; background: var(--sky-soft); overflow: hidden; }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.2rem 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin: 0 0 0.5rem; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.card-body p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.card-body .card-link {
  margin-top: 1rem; font-weight: 700; font-size: 0.9rem; text-decoration: none; color: var(--sky-deep);
}
.card-body .card-link:hover { color: var(--coral); }
.venue-list { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.venue-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline;
  justify-content: space-between;
}
.venue-item strong { color: var(--ink); }
.venue-item span { color: var(--muted); font-size: 0.92rem; }
.venue-item a { font-weight: 650; font-size: 0.92rem; text-decoration: none; }
.tips {
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}
.tip {
  background: #fff; border-left: 4px solid var(--sun); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.15rem; box-shadow: 0 4px 16px rgba(3,105,161,.06);
}
.tip h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.tip p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.section-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.section-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.page-hero {
  background: linear-gradient(135deg, var(--sky-deep), var(--sky));
  color: #fff; padding: 3.25rem 0 3rem;
}
.page-hero h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
.page-hero p { max-width: 42rem; opacity: 0.95; }
.page-hero .section-label { color: #fef3c7; }
.page-body { padding: 3rem 0 4rem; }
.page-body h2 { margin-top: 2rem; }
.page-body ul { margin: 0.75rem 0 1.25rem 1.25rem; color: var(--ink-soft); }
.page-body li { margin-bottom: 0.4rem; }
.page-body p { color: var(--ink-soft); max-width: 65ch; margin-bottom: 1rem; }
.site-footer {
  background: #0c4a6e; color: #e0f2fe; padding: 3rem 0 2rem; margin-top: 2rem;
}
.footer-inner {
  display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; }
.site-footer .logo span { color: #7dd3fc; }
.site-footer p { font-size: 0.92rem; color: #bae6fd; margin-top: 0.85rem; max-width: 36ch; }
.site-footer a { color: #fef3c7; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-nav { list-style: none; display: grid; gap: 0.45rem; }
.footer-nav a { font-size: 0.95rem; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(125,211,252,.25);
  font-size: 0.85rem; color: #7dd3fc;
}
