/* ===========================================================
   The Z Edge — pickleball court directory
   Design system (namespace: .zed-)
   =========================================================== */

/* ---- Tokens ----------------------------------------------- */
:root {
  --zed-ink:         #0D1B1E;     /* carbon text */
  --zed-ink-soft:    #2B3A3D;
  --zed-court:       #0F3B32;     /* deep pickleball court green */
  --zed-court-deep:  #0A2A24;
  --zed-lime:        #CEFF1A;     /* neon competition ball */
  --zed-lime-ink:    #1A2300;     /* text that sits on lime */
  --zed-paper:       #F4F0E6;     /* warm cream page bg */
  --zed-chalk:       #FFFFFF;
  --zed-sand:        #E3DCC9;     /* border / chip */
  --zed-sand-soft:   #EFE9D9;
  --zed-moss:        #4F6B64;     /* muted secondary */
  --zed-moss-soft:   #6E8882;
  --zed-rust:        #B4572A;     /* editorial accent (rare) */

  --zed-font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --zed-font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --zed-font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --zed-radius-sm: 6px;
  --zed-radius:    10px;
  --zed-radius-lg: 18px;

  --zed-shadow-sm: 0 1px 0 rgba(13,27,30,.05), 0 1px 2px rgba(13,27,30,.04);
  --zed-shadow-md: 0 2px 6px rgba(13,27,30,.06), 0 10px 24px rgba(13,27,30,.05);

  --zed-wrap: 1200px;
  --zed-wrap-sm: 920px;
}

/* ---- Fonts ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--zed-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--zed-ink);
  background: var(--zed-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--zed-font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--zed-ink); }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--zed-sand); margin: 48px 0; }

/* ---- Layout primitives ----------------------------------- */
.zed-wrap { max-width: var(--zed-wrap); margin: 0 auto; padding: 0 24px; }
.zed-wrap--sm { max-width: var(--zed-wrap-sm); margin: 0 auto; padding: 0 24px; }

.zed-section { padding: 80px 0; }
.zed-section--tight { padding: 48px 0; }
.zed-section--dark { background: var(--zed-court); color: var(--zed-paper); }
.zed-section--dark h1, .zed-section--dark h2, .zed-section--dark h3 { color: var(--zed-paper); }
.zed-section--ink  { background: var(--zed-ink); color: var(--zed-paper); }

.zed-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--zed-font-mono);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--zed-moss);
}
.zed-eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--zed-lime);
}
.zed-section--dark .zed-eyebrow { color: var(--zed-lime); }
.zed-section--dark .zed-eyebrow::before { background: var(--zed-lime); }

.zed-h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.035em; }
.zed-h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.025em; }
.zed-h3 { font-size: 22px; line-height: 1.2; }

/* Lime highlighter behind a word */
.zed-mark {
  background-image: linear-gradient(to top, var(--zed-lime) 38%, transparent 38%);
  padding: 0 .08em;
}

/* Z-chevron separator (decorative) */
.zed-chevron {
  display: inline-block; width: 20px; height: 10px; vertical-align: middle;
  background: none;
  border-top: 2px solid var(--zed-lime);
  border-right: 2px solid var(--zed-lime);
  transform: skewX(25deg);
}

/* ---- Buttons --------------------------------------------- */
.zed-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--zed-font-display);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.zed-btn--lime { background: var(--zed-lime); color: var(--zed-lime-ink); }
.zed-btn--lime:hover { transform: translateY(-1px); background: #E4FF5C; }
.zed-btn--ink { background: var(--zed-ink); color: var(--zed-paper); }
.zed-btn--ink:hover { transform: translateY(-1px); background: var(--zed-court-deep); }
.zed-btn--outline { background: transparent; color: var(--zed-ink); border-color: var(--zed-ink); }
.zed-btn--outline:hover { background: var(--zed-ink); color: var(--zed-paper); }
.zed-btn--ghost { background: transparent; color: var(--zed-ink); padding-left: 0; padding-right: 0; }
.zed-btn--ghost:hover { color: var(--zed-court); }
.zed-btn--sm { padding: 10px 16px; font-size: 13px; }
.zed-section--dark .zed-btn--outline { color: var(--zed-paper); border-color: var(--zed-paper); }
.zed-section--dark .zed-btn--outline:hover { background: var(--zed-paper); color: var(--zed-court); }

.zed-link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--zed-font-display); font-weight: 600;
  color: var(--zed-court);
  border-bottom: 2px solid transparent;
  transition: gap .15s ease, border-color .15s ease;
}
.zed-link-arrow:hover { gap: 10px; border-color: var(--zed-lime); }

/* ---- Chips ----------------------------------------------- */
.zed-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  font-family: var(--zed-font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--zed-ink);
  background: var(--zed-sand-soft);
  border-radius: 999px;
  border: 1px solid var(--zed-sand);
}
.zed-chip--lime { background: var(--zed-lime); border-color: var(--zed-lime); color: var(--zed-lime-ink); }
.zed-chip--dark { background: var(--zed-court); border-color: var(--zed-court); color: var(--zed-paper); }
.zed-chip--sm { padding: 4px 9px; font-size: 10px; }

/* ---- Navigation / header --------------------------------- */
.zed-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,240,230,0.92);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--zed-sand);
}
.zed-head__row {
  display: flex; align-items: center; gap: 32px;
  padding: 16px 0;
}
.zed-brand { display: inline-flex; align-items: center; gap: 12px; }
.zed-brand__mark { width: 38px; height: 38px; border-radius: 8px; }
.zed-brand__text { display: flex; flex-direction: column; line-height: 1; }
.zed-brand__name { font-family: var(--zed-font-display); font-weight: 700; font-size: 18px; color: var(--zed-ink); }
.zed-brand__sub  { font-family: var(--zed-font-mono); font-size: 10px; color: var(--zed-moss); letter-spacing: .15em; text-transform: uppercase; margin-top: 3px; }

.zed-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.zed-nav a {
  font-family: var(--zed-font-display); font-weight: 500; font-size: 14px;
  color: var(--zed-ink-soft);
  position: relative; padding: 6px 0;
}
.zed-nav a:hover { color: var(--zed-court); }
.zed-nav a.is-active { color: var(--zed-ink); }
.zed-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; background: var(--zed-lime); border-radius: 2px;
}

.zed-head__cta { margin-left: 20px; }
.zed-head__menu { display: none; }

@media (max-width: 900px) {
  .zed-nav { display: none; }
  .zed-head__cta { display: none; }
  .zed-head__menu {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; width: 40px; height: 40px;
    border: 1px solid var(--zed-ink); border-radius: 8px;
  }
}

/* Mobile drawer */
.zed-drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.zed-drawer.is-open { display: block; }
.zed-drawer__backdrop { position: absolute; inset: 0; background: rgba(13,27,30,.55); }
.zed-drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: 85%; max-width: 360px;
  background: var(--zed-paper); padding: 24px;
  display: flex; flex-direction: column; gap: 24px;
  animation: zedSlide .22s ease;
}
@keyframes zedSlide { from { transform: translateX(12%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.zed-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.zed-drawer__close { width: 40px; height: 40px; border: 1px solid var(--zed-ink); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.zed-drawer nav { display: flex; flex-direction: column; gap: 4px; }
.zed-drawer nav a {
  padding: 14px 0; font-family: var(--zed-font-display); font-weight: 600; font-size: 20px;
  color: var(--zed-ink); border-bottom: 1px solid var(--zed-sand);
}
.zed-drawer__foot { margin-top: auto; display: flex; gap: 12px; }

/* ---- Hero ------------------------------------------------- */
.zed-hero {
  background: var(--zed-court);
  color: var(--zed-paper);
  position: relative; overflow: hidden;
  padding: 80px 0 96px;
}
.zed-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 44px, rgba(206,255,26,.05) 44px 45px),
    radial-gradient(circle at 80% 15%, rgba(206,255,26,.18), transparent 55%);
  pointer-events: none;
}
.zed-hero__inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; }
.zed-hero h1 { color: var(--zed-paper); font-size: clamp(48px, 7vw, 88px); line-height: .95; letter-spacing: -0.04em; font-weight: 700; }
.zed-hero h1 span { color: var(--zed-lime); }
.zed-hero__copy { margin-top: 20px; max-width: 520px; color: rgba(244,240,230,.82); font-size: 18px; }
.zed-hero__ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.zed-hero__meta {
  border-top: 2px solid var(--zed-lime);
  padding-top: 18px;
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  color: var(--zed-paper);
  font-family: var(--zed-font-mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
}
.zed-hero__meta strong { color: var(--zed-lime); font-weight: 600; }

.zed-hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
  border: 1px solid rgba(244,240,230,.22);
  border-radius: var(--zed-radius-lg);
  background: rgba(10,42,36,.55);
  overflow: hidden;
}
.zed-hero__stat {
  padding: 22px;
  border-right: 1px solid rgba(244,240,230,.12);
  border-bottom: 1px solid rgba(244,240,230,.12);
}
.zed-hero__stat:nth-child(2n) { border-right: 0; }
.zed-hero__stat:nth-last-child(-n+2) { border-bottom: 0; }
.zed-hero__stat .num { font-family: var(--zed-font-display); font-size: 40px; line-height: 1; color: var(--zed-lime); font-weight: 700; }
.zed-hero__stat .lbl { display: block; margin-top: 10px; font-family: var(--zed-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--zed-paper); opacity: .7; }
.zed-hero__stat .meta { display: block; margin-top: 4px; color: var(--zed-paper); opacity: .6; font-size: 13px; }

@media (max-width: 900px) {
  .zed-hero { padding: 56px 0 64px; }
  .zed-hero__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Search bar ------------------------------------------- */
.zed-search {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px;
  padding: 8px;
  background: var(--zed-chalk);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.zed-search select, .zed-search input {
  appearance: none;
  border: 0; background: transparent;
  padding: 10px 18px;
  font-family: var(--zed-font-body); font-size: 15px;
  color: var(--zed-ink);
}
.zed-search select { background-image: linear-gradient(45deg, transparent 50%, var(--zed-court) 50%), linear-gradient(135deg, var(--zed-court) 50%, transparent 50%); background-position: right 18px top 1.1em, right 12px top 1.1em; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
.zed-search input { border-left: 1px solid var(--zed-sand); }
.zed-search button {
  background: var(--zed-ink); color: var(--zed-paper);
  font-family: var(--zed-font-display); font-weight: 600;
  padding: 10px 22px; border-radius: 999px;
}
.zed-search button:hover { background: var(--zed-court-deep); }
@media (max-width: 700px) {
  .zed-search { grid-template-columns: 1fr; border-radius: var(--zed-radius-lg); }
  .zed-search input { border-left: 0; border-top: 1px solid var(--zed-sand); }
}

/* ---- Card grid ------------------------------------------- */
.zed-grid { display: grid; gap: 24px; }
.zed-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.zed-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.zed-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .zed-grid--cols-3, .zed-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .zed-grid--cols-2, .zed-grid--cols-3, .zed-grid--cols-4 { grid-template-columns: 1fr; }
}

/* ---- Court (listing) card -------------------------------- */
.zed-card {
  position: relative;
  background: var(--zed-chalk);
  border: 1px solid var(--zed-sand);
  border-radius: var(--zed-radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.zed-card:hover { transform: translateY(-3px); border-color: var(--zed-court); box-shadow: var(--zed-shadow-md); }
.zed-card:hover .zed-card__edge { transform: scaleY(1); }
.zed-card__edge {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--zed-lime);
  transform: scaleY(0); transform-origin: top;
  transition: transform .25s ease;
  z-index: 2;
}
.zed-card__media {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--zed-sand-soft);
}
.zed-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.zed-card:hover .zed-card__media img { transform: scale(1.05); }
.zed-card__chip {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px;
  background: var(--zed-ink); color: var(--zed-paper);
  font-family: var(--zed-font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px;
}
.zed-card__rating {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: rgba(13,27,30,.85); color: var(--zed-paper);
  font-family: var(--zed-font-mono); font-size: 11px; font-weight: 600;
  border-radius: 999px;
}
.zed-card__rating svg { width: 12px; height: 12px; fill: var(--zed-lime); }
.zed-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.zed-card__title { font-family: var(--zed-font-display); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--zed-ink); }
.zed-card__loc { font-family: var(--zed-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--zed-moss); }
.zed-card__summary { font-size: 14px; color: var(--zed-ink-soft); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zed-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--zed-sand); }

/* ---- Destination (city) card ----------------------------- */
.zed-dest {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--zed-radius);
  overflow: hidden;
  display: block;
  background: var(--zed-court);
  color: var(--zed-paper);
}
.zed-dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: brightness(.85); }
.zed-dest:hover img { transform: scale(1.05); filter: brightness(.7); }
.zed-dest__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,30,.88) 0%, rgba(13,27,30,.4) 50%, rgba(13,27,30,.05) 100%);
}
.zed-dest__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; }
.zed-dest__state { font-family: var(--zed-font-mono); font-size: 10px; letter-spacing: .2em; color: var(--zed-lime); text-transform: uppercase; }
.zed-dest__title { font-family: var(--zed-font-display); font-weight: 700; font-size: 26px; line-height: 1.1; margin-top: 8px; }
.zed-dest__count { font-family: var(--zed-font-mono); font-size: 12px; color: rgba(244,240,230,.75); margin-top: 6px; }
.zed-dest__arrow { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 1px solid rgba(244,240,230,.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.zed-dest:hover .zed-dest__arrow { background: var(--zed-lime); color: var(--zed-lime-ink); border-color: var(--zed-lime); }

/* ---- Stat block (scoreboard) ----------------------------- */
.zed-score {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--zed-sand);
  background: var(--zed-chalk);
  border-radius: var(--zed-radius-lg);
  overflow: hidden;
}
.zed-score__item {
  padding: 28px 24px;
  border-right: 1px solid var(--zed-sand);
}
.zed-score__item:last-child { border-right: 0; }
.zed-score__num { font-family: var(--zed-font-display); font-weight: 700; font-size: 44px; letter-spacing: -0.03em; line-height: 1; color: var(--zed-court); }
.zed-score__lbl { display: block; margin-top: 10px; font-family: var(--zed-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--zed-moss); }
.zed-score__meta { display: block; margin-top: 6px; color: var(--zed-ink-soft); font-size: 13px; }
@media (max-width: 800px) {
  .zed-score { grid-template-columns: repeat(2, 1fr); }
  .zed-score__item:nth-child(2n) { border-right: 0; }
  .zed-score__item:not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--zed-sand); }
}

/* ---- Section header -------------------------------------- */
.zed-secthead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.zed-secthead__copy { max-width: 620px; }
.zed-secthead__copy h2 { margin-top: 14px; }
.zed-secthead__copy p { margin-top: 14px; color: var(--zed-ink-soft); font-size: 17px; }
.zed-secthead__aside { white-space: nowrap; }
@media (max-width: 700px) {
  .zed-secthead { flex-direction: column; align-items: flex-start; }
}

/* ---- Breadcrumbs ----------------------------------------- */
.zed-bread {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-family: var(--zed-font-mono); font-size: 12px;
  color: var(--zed-moss); text-transform: uppercase; letter-spacing: .1em;
  padding: 24px 0 8px;
}
.zed-bread a { color: var(--zed-moss); border-bottom: 1px solid transparent; }
.zed-bread a:hover { color: var(--zed-ink); border-color: var(--zed-lime); }
.zed-bread__sep { color: var(--zed-sand); }
.zed-bread__current { color: var(--zed-ink); }

/* ---- Court detail page ----------------------------------- */
.zed-hot__top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0 24px; }
.zed-hot__main { grid-row: span 2; aspect-ratio: 4/3; border-radius: var(--zed-radius-lg); overflow: hidden; background: var(--zed-sand-soft); }
.zed-hot__sub { aspect-ratio: 4/3; border-radius: var(--zed-radius); overflow: hidden; background: var(--zed-sand-soft); }
.zed-hot__sub--half { aspect-ratio: 8/3; }
.zed-hot__main img, .zed-hot__sub img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .zed-hot__top { grid-template-columns: 1fr; } .zed-hot__main { aspect-ratio: 16/10; } }

.zed-hot__title {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start;
  padding: 24px 0;
  border-top: 2px solid var(--zed-ink);
}
.zed-hot__title h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.03em; }
.zed-hot__title__meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--zed-font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--zed-moss); }
.zed-hot__title__cta { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 800px) { .zed-hot__title { grid-template-columns: 1fr; } }

.zed-hot__layout { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; padding: 40px 0 80px; }
@media (max-width: 900px) { .zed-hot__layout { grid-template-columns: 1fr; gap: 32px; } }

.zed-hot__section { padding: 32px 0; border-top: 1px solid var(--zed-sand); }
.zed-hot__section:first-child { border-top: 0; padding-top: 0; }
.zed-hot__section h2 { font-size: 28px; margin-bottom: 18px; }
.zed-hot__section p { color: var(--zed-ink-soft); font-size: 16.5px; line-height: 1.75; }

.zed-hot__highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.zed-hot__highlight {
  padding: 18px;
  background: var(--zed-chalk);
  border: 1px solid var(--zed-sand);
  border-radius: var(--zed-radius);
}
.zed-hot__highlight .lbl { font-family: var(--zed-font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--zed-moss); }
.zed-hot__highlight .val { display: block; margin-top: 6px; font-family: var(--zed-font-display); font-weight: 700; font-size: 22px; color: var(--zed-court); line-height: 1.2; }
.zed-hot__highlight .meta { display: block; margin-top: 6px; font-size: 13px; color: var(--zed-ink-soft); }

.zed-amen {
  background: var(--zed-sand-soft);
  border: 1px solid var(--zed-sand);
  border-radius: var(--zed-radius-lg);
  padding: 28px;
}
.zed-amen__group { padding: 14px 0; border-top: 1px dashed var(--zed-sand); }
.zed-amen__group:first-child { border-top: 0; padding-top: 0; }
.zed-amen__group h4 { font-family: var(--zed-font-display); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.zed-amen__group p { color: var(--zed-moss); font-size: 13.5px; margin-bottom: 10px; }
.zed-amen__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; font-size: 14.5px; }
.zed-amen__items li { list-style: none; padding-left: 20px; position: relative; }
.zed-amen__items li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 2px; background: var(--zed-lime);
}

.zed-hot__aside { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.zed-hot__panel {
  background: var(--zed-chalk); border: 1px solid var(--zed-sand);
  border-radius: var(--zed-radius-lg); padding: 24px;
}
.zed-hot__panel h4 { font-family: var(--zed-font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; color: var(--zed-ink); }
.zed-hot__facts li { list-style: none; padding: 10px 0; border-top: 1px dashed var(--zed-sand); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 14px; }
.zed-hot__facts li:first-child { border-top: 0; }
.zed-hot__facts .lbl { font-family: var(--zed-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--zed-moss); }
.zed-hot__facts .val { font-weight: 600; color: var(--zed-ink); text-align: right; }

.zed-hot__channels a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--zed-sand); border-radius: var(--zed-radius);
  margin-top: 10px;
  transition: border-color .2s, background .2s;
}
.zed-hot__channels a:first-child { margin-top: 0; }
.zed-hot__channels a:hover { border-color: var(--zed-court); background: var(--zed-sand-soft); }
.zed-hot__channels .n { font-family: var(--zed-font-display); font-weight: 600; font-size: 15px; }
.zed-hot__channels .m { font-size: 12px; color: var(--zed-moss); margin-top: 2px; }
.zed-hot__channels .c { font-family: var(--zed-font-mono); font-size: 11px; letter-spacing: .1em; color: var(--zed-court); text-transform: uppercase; }

.zed-hot__map { border: 1px solid var(--zed-sand); border-radius: var(--zed-radius-lg); overflow: hidden; aspect-ratio: 16/9; }
.zed-hot__map iframe { width: 100%; height: 100%; border: 0; }

/* ---- Filter toolbar (destinations) ----------------------- */
.zed-filter {
  background: var(--zed-chalk);
  border: 1px solid var(--zed-sand);
  border-radius: var(--zed-radius-lg);
  padding: 18px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; gap: 10px;
  margin-bottom: 16px;
}
.zed-filter select, .zed-filter input {
  appearance: none;
  padding: 12px 14px;
  border: 1px solid var(--zed-sand);
  border-radius: 8px;
  background: var(--zed-chalk);
  font: inherit; color: var(--zed-ink);
}
.zed-filter select { background-image: linear-gradient(45deg, transparent 50%, var(--zed-court) 50%), linear-gradient(135deg, var(--zed-court) 50%, transparent 50%); background-position: right 16px center, right 10px center; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.zed-filter button { background: var(--zed-ink); color: var(--zed-paper); padding: 12px 20px; border-radius: 8px; font-family: var(--zed-font-display); font-weight: 600; }
.zed-filter button:hover { background: var(--zed-court); }
@media (max-width: 900px) { .zed-filter { grid-template-columns: 1fr 1fr; } }

.zed-activechips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.zed-activechip { background: var(--zed-court); color: var(--zed-paper); padding: 6px 10px 6px 14px; font-size: 12px; font-family: var(--zed-font-mono); letter-spacing: .08em; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.zed-activechip span { width: 18px; height: 18px; background: var(--zed-lime); color: var(--zed-lime-ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; font-weight: 700; }

/* ---- Pagination ------------------------------------------ */
.zed-pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.zed-pager a, .zed-pager span {
  min-width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px;
  font-family: var(--zed-font-mono); font-weight: 600; font-size: 13px;
  color: var(--zed-ink); background: var(--zed-chalk);
  border: 1px solid var(--zed-sand); border-radius: 8px;
}
.zed-pager a:hover { border-color: var(--zed-court); color: var(--zed-court); }
.zed-pager .is-current { background: var(--zed-ink); color: var(--zed-paper); border-color: var(--zed-ink); }
.zed-pager .is-disabled { opacity: .35; pointer-events: none; }

/* ---- Journal / article ----------------------------------- */
.zed-post-hero { padding: 56px 0 40px; background: var(--zed-paper); }
.zed-post-hero__inner { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.zed-post-hero .zed-eyebrow { margin-bottom: 18px; }
.zed-post-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.025em; }
.zed-post-hero__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px; font-family: var(--zed-font-mono); font-size: 12px; color: var(--zed-moss); text-transform: uppercase; letter-spacing: .1em; }
.zed-post-hero__img { margin-top: 48px; aspect-ratio: 16/9; border-radius: var(--zed-radius-lg); overflow: hidden; background: var(--zed-sand-soft); max-width: 1100px; margin-inline: auto; }
.zed-post-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.zed-post-body { display: grid; grid-template-columns: 1fr 2.3fr 1fr; gap: 40px; padding: 48px 0 80px; }
@media (max-width: 1000px) { .zed-post-body { grid-template-columns: 1fr; } }

.zed-post-body__main { max-width: 720px; font-size: 17.5px; line-height: 1.8; color: var(--zed-ink-soft); }
.zed-post-body__main h2 { font-size: 28px; margin: 40px 0 16px; color: var(--zed-ink); position: relative; padding-left: 18px; }
.zed-post-body__main h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--zed-lime); }
.zed-post-body__main h3 { font-size: 21px; margin: 32px 0 12px; color: var(--zed-ink); }
.zed-post-body__main p { margin-bottom: 1.4em; }
.zed-post-body__main ul, .zed-post-body__main ol { padding-left: 1.2em; margin-bottom: 1.4em; }
.zed-post-body__main li { margin-bottom: .5em; }
.zed-post-body__main blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--zed-chalk);
  border-left: 4px solid var(--zed-lime);
  font-family: var(--zed-font-display);
  font-size: 20px; font-weight: 500; line-height: 1.5;
  color: var(--zed-ink);
}
.zed-post-body__main img { margin: 32px 0; border-radius: var(--zed-radius); }
.zed-post-body__main a { color: var(--zed-court); border-bottom: 2px solid var(--zed-lime); }

.zed-toc { position: sticky; top: 96px; align-self: start; font-family: var(--zed-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.zed-toc h5 { font-size: 11px; color: var(--zed-moss); margin-bottom: 14px; }
.zed-toc ul { list-style: none; padding: 0; margin: 0; }
.zed-toc li { padding: 8px 0; border-top: 1px solid var(--zed-sand); }
.zed-toc a { color: var(--zed-ink-soft); }
.zed-toc a:hover { color: var(--zed-court); }

.zed-post-aside { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 20px; }
.zed-promo {
  border: 1px solid var(--zed-sand);
  border-radius: var(--zed-radius-lg);
  background: var(--zed-chalk);
  overflow: hidden;
}
.zed-promo__img { aspect-ratio: 4/3; overflow: hidden; background: var(--zed-sand-soft); }
.zed-promo__img img { width: 100%; height: 100%; object-fit: cover; }
.zed-promo__body { padding: 18px; }
.zed-promo__title { font-family: var(--zed-font-display); font-weight: 700; font-size: 18px; line-height: 1.2; margin-bottom: 8px; }
.zed-promo__copy { font-size: 13.5px; color: var(--zed-ink-soft); margin-bottom: 12px; }
.zed-promo__meta { font-family: var(--zed-font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--zed-moss); margin-bottom: 10px; }

/* ---- Footer ---------------------------------------------- */
.zed-foot { background: var(--zed-ink); color: var(--zed-paper); padding: 80px 0 40px; }
.zed-foot a { color: rgba(244,240,230,.75); }
.zed-foot a:hover { color: var(--zed-lime); }
.zed-foot__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(244,240,230,.1); }
.zed-foot__brand .zed-brand__name { color: var(--zed-paper); }
.zed-foot__brand .zed-brand__sub { color: rgba(244,240,230,.6); }
.zed-foot__pitch { margin-top: 18px; max-width: 360px; color: rgba(244,240,230,.72); font-size: 15px; }
.zed-foot h5 { font-family: var(--zed-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--zed-lime); margin-bottom: 18px; }
.zed-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.zed-foot__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 32px; font-family: var(--zed-font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(244,240,230,.55); flex-wrap: wrap; }
@media (max-width: 900px) { .zed-foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .zed-foot__top { grid-template-columns: 1fr; } }

/* ---- Generic content page (about, policy, contact) ------- */
.zed-page { padding: 64px 0; }
.zed-page h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.03em; }
.zed-page__intro { margin-top: 20px; font-size: 19px; color: var(--zed-ink-soft); max-width: 720px; }
.zed-page__card {
  background: var(--zed-chalk);
  border: 1px solid var(--zed-sand);
  border-radius: var(--zed-radius-lg);
  padding: 36px;
  margin-top: 40px;
}
.zed-page__card h2 { font-size: 26px; margin-bottom: 12px; }
.zed-page__card p, .zed-page__card li { color: var(--zed-ink-soft); line-height: 1.75; }
.zed-page__card + .zed-page__card { margin-top: 20px; }

/* ---- Forms (contact) ------------------------------------- */
.zed-form { display: grid; gap: 16px; max-width: 600px; }
.zed-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--zed-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--zed-moss); }
.zed-form input, .zed-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--zed-sand);
  border-radius: 8px;
  background: var(--zed-chalk);
  color: var(--zed-ink);
  font-size: 15px;
}
.zed-form input:focus, .zed-form textarea:focus { outline: 2px solid var(--zed-lime); outline-offset: 0; border-color: var(--zed-court); }
.zed-form textarea { min-height: 160px; resize: vertical; }
.zed-form__err { font-family: var(--zed-font-body); color: var(--zed-rust); font-size: 13px; text-transform: none; letter-spacing: 0; margin-top: 2px; }
.zed-form__hp { position: absolute; left: -9999px; }
.zed-alert { padding: 16px 20px; border-radius: 10px; font-size: 15px; }
.zed-alert--ok { background: rgba(206,255,26,.22); border: 1px solid var(--zed-lime); color: var(--zed-ink); }
.zed-alert--err { background: rgba(180,87,42,.12); border: 1px solid var(--zed-rust); color: var(--zed-rust); }

/* ---- Helpers --------------------------------------------- */
.zed-mute { color: var(--zed-moss); }
.zed-mb-0 { margin-bottom: 0; }
.zed-center { text-align: center; }

/* ---- Court-line decorative rule -------------------------- */
.zed-rule {
  height: 2px; width: 100%;
  background: linear-gradient(to right, var(--zed-lime) 0 48px, var(--zed-sand) 48px 100%);
  margin: 24px 0;
}
