:root {
  color-scheme: dark;
  --bg: #101010;
  --panel: #181818;
  --panel-2: #202020;
  --text: #f4f4f4;
  --muted: #bcbcbc;
  --line: #444;
  --strong-line: #777;
  --accent: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.45; }
button, a { font: inherit; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 20; background: #fff; color: #000; padding: 10px 14px; }
.skip:focus { top: 12px; }

.site-header { border-bottom: 1px solid var(--line); padding: 34px 0 28px; }
.header-row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.035em; }
h2 { margin-bottom: 6px; font-size: clamp(1.35rem, 3vw, 2rem); }
.intro { margin: 0; max-width: 700px; color: var(--muted); }

button, .wish-grid a, .category-nav a { border: 1px solid var(--strong-line); background: transparent; color: var(--text); cursor: pointer; text-decoration: none; }
button:hover, button:focus-visible, .wish-grid a:hover, .wish-grid a:focus-visible, .category-nav a:hover, .category-nav a:focus-visible { background: #fff; color: #000; outline: none; }
.favourites-summary { min-width: 190px; padding: 11px 14px; white-space: nowrap; }
.favourites-summary[aria-pressed="true"] { background: #fff; color: #000; }

.wish-section, .catalogue, .notes, .future { padding-block: 34px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 18px; }
.section-heading p { margin-bottom: 0; color: var(--muted); max-width: 540px; }
.wish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wish-grid a { padding: 13px 14px; }

.controls { position: sticky; top: 0; z-index: 10; background: rgba(16,16,16,.96); border-block: 1px solid var(--line); backdrop-filter: blur(8px); }
.controls-row { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding-block: 10px; }
.category-nav { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.category-nav a { flex: none; padding: 7px 10px; font-size: .82rem; }
.text-button { flex: none; border: 0; color: var(--muted); padding: 7px 8px; }

.catalogue-heading { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.category-section { scroll-margin-top: 72px; padding: 26px 0 34px; border-bottom: 1px solid var(--line); }
.category-title { display: flex; gap: 12px; align-items: baseline; margin-bottom: 14px; }
.category-title span { color: var(--muted); font-size: .86rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.venue-card { scroll-margin-top: 80px; background: var(--panel); border: 1px solid var(--line); }
.venue-card.is-wish { border-color: var(--strong-line); }
.venue-image { display: block; width: 100%; height: auto; background: #1d1d1d; }
.card-tools { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
.card-labels { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { border: 1px solid var(--line); color: var(--muted); padding: 3px 6px; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.badge.wish { color: #fff; border-color: #aaa; }
.save-button { flex: none; padding: 7px 10px; min-width: 92px; }
.save-button.saved { background: #fff; color: #000; }
.venue-card[hidden], .category-section[hidden] { display: none; }
.empty-state { border: 1px dashed var(--strong-line); padding: 22px; color: var(--muted); }

.notes { border-bottom: 1px solid var(--line); }
.notes ul { margin-bottom: 0; padding-left: 20px; color: var(--muted); }
.notes li + li { margin-top: 7px; }
.future-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.future-grid div { border: 1px dashed var(--strong-line); padding: 18px; min-height: 110px; }
.future-grid strong, .future-grid span { display: block; }
.future-grid span { margin-top: 8px; color: var(--muted); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 24px 40px; color: var(--muted); }
.footer button { padding: 8px 11px; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 20px, 620px); }
  .header-row, .section-heading { align-items: stretch; flex-direction: column; }
  .favourites-summary { align-self: flex-start; }
  .wish-grid, .card-grid, .future-grid { grid-template-columns: 1fr; }
  .card-grid { gap: 12px; }
  .controls-row { align-items: flex-start; }
  .venue-card { background: #151515; }
  .card-tools { align-items: flex-start; }
}

@media print {
  .site-header, .controls, .wish-section, .future, .footer button, .save-button { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { width: 100%; }
  .venue-card { break-inside: avoid; border-color: #999; background: #fff; }
  .card-tools { color: #000; }
  .badge { color: #333; border-color: #999; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
