/* ════════════════════════════════════════════════════════════════════
   Orange County Network — prototype
   Vintage California travel-poster system pulled from the OCN badge:
   sunset amber sky, navy band, ocean teal, cream paper, gold trim.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --navy: #16324c;
  --navy-2: #1d4360;
  --navy-deep: #0e2438;
  --teal: #2e7e9e;
  --cream: #faf3e3;
  --paper: #fffaf0;
  --sand: #f1e3c4;
  --gold: #d9a441;
  --amber: #f4a93c;
  --coral: #e2572b;
  --coral-dark: #c4441d;
  --ink: #22303c;
  --shadow: 0 2px 0 rgba(22, 50, 76, .9);
  --card-shadow: 0 1px 2px rgba(22,50,76,.10), 0 8px 24px -12px rgba(22,50,76,.28);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Helvetica Neue", sans-serif;
  --font-script: "Pacifico", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100vw; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* paper grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

h1, h2 { font-family: var(--font-display); font-weight: 900; line-height: .98; margin: 0; }
.script { font-family: var(--font-script); font-weight: 400; }
.script-sm { font-family: var(--font-script); font-size: 1.15em; color: var(--coral); }
.script-light { font-family: var(--font-script); color: var(--amber); font-size: 1.3rem; margin: 0 0 .4rem; }

.kicker {
  font-size: .78rem; font-weight: 800; letter-spacing: .28em;
  text-transform: uppercase; color: var(--coral); margin: 0 0 .6rem;
}
.kicker-light { color: var(--amber); }

/* ── Top bar ─────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.6rem;
  padding: .55rem clamp(1rem, 4vw, 2.6rem);
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { height: 52px; width: 52px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.brand-text {
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  line-height: 1.02; color: var(--cream); letter-spacing: .02em;
}
.brand-text em { font-style: normal; color: var(--gold); font-size: .8em; letter-spacing: .22em; text-transform: uppercase; }
.topnav { display: flex; gap: 1.5rem; margin-left: auto; }
.topnav a {
  color: var(--cream); text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: .3rem 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
}
.topnav a:hover { color: var(--amber); border-bottom-color: var(--amber); }
.cta-pill {
  background: var(--coral); color: #fff; text-decoration: none; font-weight: 800;
  font-size: .88rem; padding: .55rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--coral-dark); box-shadow: 0 2px 0 var(--coral-dark);
  transition: transform .15s, box-shadow .15s; white-space: nowrap;
}
.cta-pill:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--coral-dark); }
.menu-btn { display: none; }
.mobile-nav { display: none; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(ellipse 120% 90% at 50% 115%, rgba(46,126,158,.55), transparent 55%),
    linear-gradient(180deg, #1d4360 0%, #58708a 18%, #c97f4e 48%, #f4a93c 72%, #f8c96b 100%);
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 9vw, 7.5rem) 1.2rem 9rem;
}
.sun {
  position: absolute; left: 50%; top: 56%;
  width: clamp(260px, 38vw, 460px); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffe9b0 0%, #fbc35c 45%, rgba(244,169,60,.0) 72%);
  filter: blur(2px); opacity: .9; pointer-events: none;
  animation: sunrise 2.2s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes sunrise { from { transform: translateX(-50%) translateY(12%); opacity: 0; } }
.birds { position: absolute; inset: 0; pointer-events: none; }
.birds svg {
  position: absolute; width: 70px; stroke: rgba(22,50,76,.55); stroke-width: 2; fill: none;
  animation: drift 16s linear infinite;
}
.birds svg:first-child { top: 16%; left: 12%; }
.birds svg:last-child { top: 24%; right: 16%; width: 46px; animation-duration: 22s; animation-delay: -8s; }
@keyframes drift { from { transform: translateX(-6vw); } to { transform: translateX(12vw); } }

.hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.hero-eyebrow {
  font-size: .8rem; font-weight: 800; letter-spacing: .42em; text-transform: uppercase;
  color: var(--cream); opacity: .85; margin: 0 0 1.2rem;
  animation: rise .7s .1s both;
}
.hero h1 {
  font-size: clamp(2.9rem, 7.5vw, 5.6rem);
  text-shadow: 0 3px 0 rgba(22,50,76,.35);
  animation: rise .7s .22s both;
}
.hero h1 .script {
  display: inline-block; font-size: 1.06em; color: #fff;
  transform: rotate(-2.5deg); text-shadow: 0 4px 0 rgba(22,50,76,.45);
}
.hero-sub {
  max-width: 560px; margin: 1.4rem auto 2rem; font-size: 1.08rem; line-height: 1.55;
  color: #fff7e6; text-shadow: 0 1px 2px rgba(22,50,76,.3);
  animation: rise .7s .34s both;
}
.hero-search {
  display: flex; max-width: 560px; margin: 0 auto;
  border: 3px solid var(--navy); border-radius: 999px; overflow: hidden;
  background: var(--paper); box-shadow: 0 5px 0 rgba(22,50,76,.55);
  animation: rise .7s .46s both;
}
.hero-search input {
  flex: 1; border: 0; outline: 0; padding: 1rem 1.4rem; font: 700 1rem var(--font-body);
  background: transparent; color: var(--ink); min-width: 0;
}
.hero-search button {
  border: 0; cursor: pointer; padding: 0 1.7rem;
  background: var(--coral); color: #fff; font: 800 1rem var(--font-body);
  transition: background .2s;
}
.hero-search button:hover { background: var(--coral-dark); }
.hero-stats {
  display: flex; justify-content: center; gap: clamp(1.4rem, 5vw, 3.5rem);
  margin-top: 2.6rem; animation: rise .7s .58s both;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900;
  color: var(--navy); text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.hero-stats span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(22,50,76,.8); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* wave dividers */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave svg { width: 100%; height: clamp(50px, 8vw, 110px); display: block; }
.wave-hero svg path { fill: var(--cream); }
.wave-flip { position: relative; transform: rotate(180deg); }
.wave-flip svg path { fill: var(--cream); }

/* ── Event Finder ────────────────────────────────────────────────── */
.finder { max-width: 1180px; margin: 0 auto; padding: 1.5rem clamp(1rem, 4vw, 2.4rem) 5.5rem; }
.finder-head { text-align: center; margin-bottom: 2.2rem; }
.finder-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--navy); }
.finder-head .script-sm { font-size: .55em; vertical-align: .5em; margin-right: .2em; }
.finder-sub { color: #5c6b78; max-width: 520px; margin: .9rem auto 0; line-height: 1.5; }
.finder-sub strong { color: var(--coral); }

.controls {
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 rgba(22,50,76,.8);
  padding: 1rem 1.1rem 1.1rem;
  margin-bottom: 1.6rem;
}
.control-row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.searchbox {
  flex: 1 1 240px; display: flex; align-items: center; gap: .5rem;
  background: var(--cream); border: 2px solid var(--sand); border-radius: 10px; padding: .55rem .8rem;
  transition: border-color .2s;
}
.searchbox:focus-within { border-color: var(--teal); }
.searchbox svg { width: 18px; height: 18px; stroke: var(--teal); stroke-width: 2.4; fill: none; flex: none; }
.searchbox input { border: 0; outline: 0; background: transparent; width: 100%; font: 700 .95rem var(--font-body); color: var(--ink); }
#citySel {
  font: 700 .92rem var(--font-body); color: var(--navy);
  padding: .62rem .8rem; border: 2px solid var(--sand); border-radius: 10px;
  background: var(--cream); cursor: pointer;
}
.free-toggle { display: flex; align-items: center; gap: .45rem; cursor: pointer; font-weight: 800; font-size: .92rem; color: var(--navy); user-select: none; }
.free-toggle input { accent-color: var(--coral); width: 17px; height: 17px; cursor: pointer; }

.daychips { display: flex; gap: .45rem; margin-top: .9rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
.daychips::-webkit-scrollbar { display: none; }
.daychips button {
  flex: none; display: flex; flex-direction: column; align-items: center; min-width: 64px;
  padding: .45rem .7rem; cursor: pointer;
  border: 2px solid var(--sand); border-radius: 10px; background: var(--cream);
  font-family: var(--font-body); transition: all .15s;
}
.daychips button em { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.daychips button strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.daychips button:hover { border-color: var(--teal); transform: translateY(-2px); }
.daychips button.on { background: var(--navy); border-color: var(--navy); box-shadow: 0 3px 0 var(--gold); }
.daychips button.on em { color: var(--amber); }
.daychips button.on strong { color: var(--cream); }

.catpills { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.catpills button {
  cursor: pointer; font: 800 .82rem var(--font-body); color: var(--navy);
  padding: .42rem .95rem; border: 2px solid var(--sand); border-radius: 999px; background: var(--cream);
  transition: all .15s;
}
.catpills button:hover { border-color: var(--coral); transform: translateY(-1px); }
.catpills button.on { background: var(--coral); border-color: var(--coral-dark); color: #fff; box-shadow: 0 2px 0 var(--coral-dark); }

.result-count { font-weight: 800; color: var(--teal); font-size: .92rem; letter-spacing: .04em; margin: 0 0 1rem .2rem; }

.grid {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--paper); border: 2px solid var(--navy);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform .18s cubic-bezier(.2,.8,.3,1.2), box-shadow .18s;
  animation: cardIn .45s both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 6px 0 rgba(22,50,76,.85), 0 18px 34px -14px rgba(22,50,76,.4); }
/* postcard fallback behind every image — if the photo 404s and is removed,
   the slot still reads as intentional retro art, not a broken block */
.card-img {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background:
    radial-gradient(circle at 50% 78%, #ffe9b0 0%, #fbc35c 18%, transparent 38%),
    repeating-conic-gradient(from -90deg at 50% 80%, rgba(244,169,60,.28) 0 6deg, transparent 6deg 12deg),
    linear-gradient(180deg, #2e7e9e 0%, #7fb0c0 45%, #f4a93c 78%, #f1e3c4 100%);
}
.card-img::after {
  content: "Orange County"; position: absolute; left: 0; right: 0; top: 38%;
  text-align: center; font-family: var(--font-script); font-size: 1.5rem;
  color: rgba(255,250,240,.92); text-shadow: 0 2px 0 rgba(22,50,76,.4);
}
.card-img img { position: relative; z-index: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-date {
  position: absolute; top: .7rem; left: .7rem;
  background: var(--cream); border: 2px solid var(--navy); border-radius: 10px;
  padding: .25rem .6rem .35rem; text-align: center; line-height: 1; box-shadow: 0 2px 0 rgba(22,50,76,.7);
}
.card-date em { display: block; font-style: normal; font-size: .6rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.card-date strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--navy); }
.card-free {
  position: absolute; top: .7rem; right: .7rem;
  background: var(--gold); color: var(--navy-deep); font: 800 .7rem var(--font-body);
  letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px;
  border: 2px solid var(--navy); transform: rotate(3deg);
}
.card-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.15; color: var(--navy); }
.card-meta { font-size: .85rem; font-weight: 700; color: #5c6b78; line-height: 1.45; }
.card-meta b { color: var(--teal); font-weight: 800; }
.card-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .5rem; }
.card-tags span {
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: var(--sand); padding: .22rem .55rem; border-radius: 6px;
}
.card-price { font-size: .85rem; font-weight: 800; color: var(--coral); }

.empty { text-align: center; padding: 4rem 0 2rem; }
.empty .script-sm { font-size: 1.6rem; }
.empty p { color: #5c6b78; font-weight: 700; }
.empty button {
  margin-top: .6rem; cursor: pointer; font: 800 .95rem var(--font-body);
  background: var(--navy); color: var(--cream); border: 0; border-radius: 999px;
  padding: .7rem 1.6rem; box-shadow: 0 3px 0 var(--gold); transition: transform .15s;
}
.empty button:hover { transform: translateY(-2px); }

/* ── Discover ────────────────────────────────────────────────────── */
.discover { background: var(--navy); color: var(--cream); padding-bottom: 4.5rem; }
.discover .wave-flip { margin-bottom: 3rem; }
.discover-inner { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.4rem); text-align: center; }
.discover h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); color: var(--cream); margin-bottom: 2.2rem; }
.discover h2 .script { color: var(--amber); }
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tile {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: clip;
  display: flex; align-items: flex-end; text-decoration: none;
  background-image: linear-gradient(180deg, rgba(14,36,56,0) 35%, rgba(14,36,56,.88)), var(--img);
  background-size: cover; background-position: center;
  border: 2px solid rgba(250,243,227,.25);
  transition: transform .2s, border-color .2s;
}
.tile:hover { transform: translateY(-4px) scale(1.01); border-color: var(--gold); }
.tile span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--cream);
  padding: 1rem 1.1rem; text-shadow: 0 2px 4px rgba(0,0,0,.5);
}

/* ── Featured marquee ────────────────────────────────────────────── */
.featured { padding: 4.5rem 0 5rem; text-align: center; }
.featured h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--navy); margin-bottom: 2.2rem; }
.marquee { overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1.2rem; width: max-content; padding: .4rem 0; animation: scroll 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-track a {
  flex: none; width: 230px; text-decoration: none; color: inherit;
  background: var(--paper); border: 2px solid var(--navy); border-radius: var(--radius);
  padding: 1.1rem 1rem 1.2rem; box-shadow: 0 3px 0 rgba(22,50,76,.75);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  transition: transform .18s;
}
.marquee-track a:hover { transform: translateY(-4px) rotate(.5deg); }
.marquee-track img { height: 72px; width: 72px; object-fit: contain; border-radius: 8px; }
.marquee-track strong { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1rem; }
.marquee-track span { font-size: .8rem; font-weight: 700; color: #5c6b78; line-height: 1.3; }

/* ── Submit band ─────────────────────────────────────────────────── */
.submit-band {
  background:
    radial-gradient(ellipse 90% 130% at 85% -20%, rgba(244,169,60,.35), transparent 60%),
    var(--teal);
  color: #fff; padding: 4rem clamp(1rem, 4vw, 2.4rem);
}
.submit-inner {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 2.5rem;
  flex-wrap: wrap; justify-content: space-between;
}
.submit-inner h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); max-width: 560px; }
.submit-inner p:not(.script-light) { max-width: 540px; line-height: 1.55; color: #eaf6fb; font-weight: 500; }
.cta-big {
  flex: none; background: var(--coral); color: #fff; text-decoration: none;
  font: 800 1.12rem var(--font-body); padding: 1.05rem 2rem; border-radius: 999px;
  border: 3px solid var(--cream); box-shadow: 0 4px 0 rgba(14,36,56,.5);
  transition: transform .15s, box-shadow .15s;
}
.cta-big:hover { transform: translateY(-3px); box-shadow: 0 7px 0 rgba(14,36,56,.5); }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer { background: var(--navy-deep); color: #c3d2dd; padding: 3.5rem clamp(1rem, 4vw, 2.4rem) 2rem; }
.footer-inner {
  max-width: 1180px; margin: 0 auto; display: grid; gap: 2.2rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
.footer-brand img { height: 84px; }
.footer-brand p { font-size: .88rem; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-display); color: var(--gold); font-size: 1rem; margin: 0 0 .8rem;
  letter-spacing: .04em;
}
.footer-col a { display: block; color: #c3d2dd; text-decoration: none; font-size: .9rem; font-weight: 600; padding: .22rem 0; transition: color .15s; }
.footer-col a:hover { color: var(--amber); }
.footer-note {
  max-width: 1180px; margin: 2.5rem auto 0; padding-top: 1.2rem;
  border-top: 1px solid rgba(195,210,221,.18);
  font-size: .8rem; color: #7e93a3; text-align: center; letter-spacing: .03em;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .topnav, .topbar .cta-pill { display: none; }
  .menu-btn {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: .5rem;
  }
  .menu-btn span { width: 26px; height: 3px; background: var(--cream); border-radius: 2px; transition: all .2s; }
  .menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-nav {
    position: sticky; top: 67px; z-index: 99;
    display: none; flex-direction: column;
    background: var(--navy-2); border-bottom: 3px solid var(--gold);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { color: var(--cream); text-decoration: none; font-weight: 800; padding: 1rem 1.4rem; border-top: 1px solid rgba(250,243,227,.12); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .submit-inner { justify-content: center; text-align: center; }
}
@media (max-width: 520px) {
  .hero { padding-bottom: 7rem; }
  .hero-stats { gap: 1.2rem; }
  .control-row { flex-direction: column; align-items: stretch; }
  /* In a column flex container the 240px flex-BASIS becomes height —
     the search box rendered as a giant square on phones. */
  .searchbox { flex: initial; }
  .free-toggle { justify-content: center; padding: .2rem 0; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── Week tabs ───────────────────────────────────────────────────── */
.weektabs { display: flex; gap: .45rem; margin-top: .9rem; overflow-x: auto; scrollbar-width: none; }
.weektabs::-webkit-scrollbar { display: none; }
.weektabs button {
  flex: 1 1 0; min-width: 150px; display: flex; flex-direction: column; align-items: center;
  padding: .5rem .8rem; cursor: pointer;
  border: 2px solid var(--sand); border-radius: 10px; background: var(--cream);
  font-family: var(--font-body); transition: all .15s;
}
.weektabs button em { font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.weektabs button strong { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.weektabs button:hover { border-color: var(--coral); transform: translateY(-2px); }
.weektabs button.on { background: var(--coral); border-color: var(--coral-dark); box-shadow: 0 3px 0 var(--coral-dark); }
.weektabs button.on em { color: #ffe3d6; }
.weektabs button.on strong { color: #fff; }

/* ── Show more ───────────────────────────────────────────────────── */
.show-more {
  grid-column: 1 / -1; cursor: pointer; margin: .5rem auto;
  font: 800 1rem var(--font-body); color: var(--cream);
  background: var(--navy); border: 0; border-radius: 999px;
  padding: .85rem 2rem; box-shadow: 0 3px 0 var(--gold);
  transition: transform .15s;
}
.show-more:hover { transform: translateY(-2px); }

/* ── Event detail page ───────────────────────────────────────────── */
.detail { max-width: 880px; margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 2.4rem) 5rem; }
.detail-card {
  background: var(--paper); border: 2px solid var(--navy); border-radius: var(--radius);
  overflow: clip; box-shadow: 0 5px 0 rgba(22,50,76,.8), 0 24px 48px -20px rgba(22,50,76,.35);
  animation: cardIn .4s both;
}
.detail-back {
  display: inline-block; margin: 1rem 0 0 1.2rem;
  font-weight: 800; font-size: .92rem; color: var(--teal); text-decoration: none;
}
.detail-back:hover { color: var(--coral); }
.detail-hero {
  position: relative; margin-top: .8rem; aspect-ratio: 21/9; overflow: hidden;
  background:
    radial-gradient(circle at 50% 78%, #ffe9b0 0%, #fbc35c 18%, transparent 38%),
    repeating-conic-gradient(from -90deg at 50% 80%, rgba(244,169,60,.28) 0 6deg, transparent 6deg 12deg),
    linear-gradient(180deg, #2e7e9e 0%, #7fb0c0 45%, #f4a93c 78%, #f1e3c4 100%);
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-hero .card-free { position: absolute; top: 1rem; right: 1rem; }
.detail-body { padding: 1.6rem clamp(1.2rem, 4vw, 2.2rem) 2.2rem; }
.detail-body h1 {
  font-family: var(--font-display); font-weight: 900; color: var(--navy);
  font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.05; margin: .6rem 0 1.2rem;
}
.detail-tags { margin: 0; }
.detail-meta {
  display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--cream); border: 2px solid var(--sand); border-radius: 10px;
  padding: 1rem 1.1rem; margin-bottom: 1.3rem;
  font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.4;
}
.detail-meta em {
  display: block; font-style: normal; font-size: .68rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: .2rem;
}
.detail-meta small { display: block; color: #5c6b78; font-weight: 600; }
.detail-desc { color: #44525e; line-height: 1.65; font-size: 1.02rem; margin: 0 0 1.6rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.detail-cta { font-size: 1rem; }
.detail-secondary {
  font-weight: 800; color: var(--teal); text-decoration: none; font-size: .95rem;
  padding: .8rem 1.2rem; border: 2px solid var(--sand); border-radius: 999px;
  transition: border-color .15s, color .15s;
}
.detail-secondary:hover { border-color: var(--teal); color: var(--navy); }
.detail-note { margin: 1.6rem 0 0; font-size: .82rem; color: #8a96a1; font-weight: 600; }
