:root {
  --ink: #172335;
  --muted: #647079;
  --paper: #f4f8f7;
  --surface: #ffffff;
  --green: #167769;
  --green-dark: #0d4f47;
  --mint: #dff1ec;
  --coral: #e6674e;
  --sky: #dfeef7;
  --line: #d5dfde;
  --shadow: 0 16px 40px rgba(18, 38, 43, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
button, select, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img, .footer-brand img { width: 38px; height: 38px; object-fit: cover; border-radius: 6px; }
.brand span { font-size: 1.12rem; }
.main-nav { justify-self: end; display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 13px; font-weight: 700; }
.main-nav .nav-cta { border: 1px solid rgba(255,255,255,.5); border-radius: 6px; }

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(9, 21, 25, 0.5);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
}
.language-switcher button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 8px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}
.language-switcher button.is-active { color: var(--ink); background: #fff; }
.language-switcher img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; }

.hero {
  position: relative;
  min-height: min(760px, 84svh);
  display: grid;
  place-items: center;
  color: #fff;
  background: #071013 url("hero.png") center 43% / cover no-repeat;
  overflow: hidden;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,12,15,.88) 0%, rgba(4,12,15,.58) 52%, rgba(4,12,15,.2) 100%); }
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); padding: 130px 0 92px; }
.eyebrow { margin: 0 0 8px; color: var(--coral); font-size: .79rem; line-height: 1.2; font-weight: 900; text-transform: uppercase; }
.eyebrow.light { color: #a6e6dc; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(4rem, 10vw, 7.6rem); line-height: .92; letter-spacing: 0; }
.hero-copy { max-width: 610px; margin: 24px 0 30px; color: rgba(255,255,255,.88); font-size: 1.18rem; }
.search-panel {
  width: min(840px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  padding: 12px;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}
.search-panel label { display: grid; gap: 4px; padding: 0 10px; }
.search-panel label span { color: var(--muted); font-size: .75rem; font-weight: 800; }
.search-panel select { min-width: 0; height: 44px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; font-weight: 700; }
.search-panel button, .map-actions button {
  min-height: 52px;
  padding: 0 24px;
  color: #fff;
  background: var(--coral);
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}
.scroll-cue { position: absolute; z-index: 1; left: 50%; bottom: 24px; transform: translateX(-50%); font-weight: 800; font-size: .86rem; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 24px; margin: 8px auto 0; background: rgba(255,255,255,.7); }

.metric-band {
  width: min(1180px, calc(100% - 40px));
  margin: -1px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--green);
  color: #fff;
}
.metric-band div { min-height: 118px; display: grid; align-content: center; gap: 2px; padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.2); }
.metric-band div:last-child { border-right: 0; }
.metric-band strong { font-size: 2rem; line-height: 1; }
.metric-band span { color: rgba(255,255,255,.78); font-size: .86rem; font-weight: 700; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section h2, .map-copy h2, .owner-band h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: 0; }
.text-link { color: var(--green); font-weight: 900; border-bottom: 2px solid currentColor; }
.venue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.venue-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.venue-card[hidden] { display: none; }
.venue-media { position: relative; height: 245px; background-image: url("hero.png"); background-size: 165%; }
.media-one { background-position: 33% 24%; }
.media-two { background-position: 70% 30%; }
.media-three { background-position: 50% 62%; }
.venue-media span { position: absolute; left: 14px; top: 14px; padding: 7px 9px; color: #fff; background: var(--green); border-radius: 4px; font-size: .73rem; font-weight: 900; }
.venue-body { padding: 22px; }
.venue-location { margin: 0 0 6px; color: var(--coral); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.venue-card h3 { margin: 0 0 10px; font-size: 1.4rem; }
.venue-card p { color: var(--muted); }
.venue-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 800; font-size: .84rem; }
.empty-state { margin: 0; padding: 30px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: 8px; }

.map-band {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(480px, 1.2fr);
  align-items: center;
  gap: 30px;
  padding: 78px max(40px, calc((100% - 1180px) / 2));
  background: var(--sky);
}
.map-copy p:not(.eyebrow) { max-width: 520px; color: var(--muted); font-size: 1.05rem; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.map-actions a { color: var(--green); font-weight: 900; }
.map-visual { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; background: #030608; border-radius: 8px; }
.map-visual img { width: 100%; height: 100%; max-height: 540px; object-fit: cover; }
.map-city-controls {
  position: absolute;
  inset: auto 18px 18px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.map-city-controls[hidden] { display: none; }
.map-city-controls p { margin: 0 0 10px; color: var(--ink); font-weight: 800; }
.map-city-controls div { display: flex; flex-wrap: wrap; gap: 8px; }
.map-city-controls button {
  min-height: 42px;
  padding: 8px 14px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 5px;
  font-weight: 800;
  cursor: pointer;
}
.map-city-controls button:hover, .map-city-controls button:focus-visible { background: #0b665a; }

.journal-section { padding-bottom: 100px; }
.story-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; }
.story { min-height: 230px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.story-main { grid-row: span 2; min-height: 478px; }
.story-image { height: 270px; margin: -26px -26px 24px; background: url("hero.png") center 35% / cover; border-radius: 7px 7px 0 0; }

.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
.story-category { margin: 0 0 10px; color: var(--green); font-size: .77rem; font-weight: 900; text-transform: uppercase; }
.story h3 { margin: 0 0 10px; font-size: 1.45rem; line-height: 1.2; }
.story p:last-child { margin-bottom: 0; color: var(--muted); }
.story-small { background: var(--mint); }
.story-small.coral { background: #f8e6df; }

.owner-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 76px max(40px, calc((100% - 1180px) / 2));
  color: #fff;
  background: var(--green-dark);
}
.owner-band h2 { max-width: 820px; }
.owner-band > a { padding: 16px 22px; color: var(--ink); background: #fff; border-radius: 6px; font-weight: 900; }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px max(40px, calc((100% - 1180px) / 2));
  color: #dbe6e4;
  background: #111d20;
}
.site-footer p { margin: 0; color: #95a6a4; }
.site-footer nav { display: flex; gap: 18px; font-weight: 700; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr; gap: 12px; min-height: 76px; }
  .main-nav { display: none; }
  .language-switcher { justify-self: end; }
  .hero { min-height: 760px; background-position: 54% center; }
  .hero-shade { background: rgba(4,12,15,.7); }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-panel button { grid-column: 1 / -1; }
  .metric-band { grid-template-columns: 1fr 1fr; }
  .metric-band div:nth-child(2) { border-right: 0; }
  .metric-band div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .venue-grid { grid-template-columns: 1fr 1fr; }
  .venue-card:last-child { grid-column: 1 / -1; }
  .map-band { grid-template-columns: 1fr; }
  .map-visual { min-height: 380px; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 24px); }
  .brand span { font-size: .98rem; }
  .language-switcher button { min-width: 40px; padding: 5px; }
  .language-switcher button span { display: none; }
  .hero { min-height: 780px; place-items: end start; }
  .hero-content { width: calc(100% - 24px); padding: 118px 0 78px; }
  .hero h1 { font-size: 3.75rem; }
  .hero-copy { font-size: 1rem; }
  .search-panel { grid-template-columns: 1fr; }
  .search-panel button { grid-column: auto; }
  .scroll-cue { display: none; }
  .metric-band, .section { width: calc(100% - 24px); }
  .metric-band div { min-height: 96px; padding: 18px; }
  .metric-band strong { font-size: 1.55rem; }
  .section { padding: 62px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 14px; }
  .venue-grid { grid-template-columns: 1fr; }
  .venue-card:last-child { grid-column: auto; }
  .venue-media { height: 220px; }
  .map-band { padding: 58px 12px; }
  .map-visual { min-height: 280px; }
  .map-city-controls { inset: auto 10px 10px; }
  .map-city-controls div { display: grid; grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-main { grid-row: auto; min-height: 0; }
  .story-image { height: 220px; }
  .owner-band { grid-template-columns: 1fr; padding: 58px 20px; }
  .owner-band > a { text-align: center; }
  .site-footer { padding: 34px 20px; }
  .site-footer nav { flex-wrap: wrap; }
}
