@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bwl-deep: #1C2541;
  --bwl-surface: #F7F5F2;
  --bwl-vivid: #C84B31;
  --bwl-muted: #557B83;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--bwl-deep);
  background: var(--bwl-surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Newsreader', Georgia, serif;
  line-height: 1.25;
}

a {
  color: var(--bwl-vivid);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== NAV (blog section) ========== */
.bwl-blog {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bwl-deep);
  height: 52px;
}

.bwl-blog ul {
  list-style: none;
  display: flex;
  height: 52px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bwl-blog ul::-webkit-scrollbar {
  display: none;
}

.bwl-blog ul li {
  flex: 1;
  min-width: 0;
}

.bwl-blog ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  padding: 14px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bwl-surface);
  text-align: center;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease;
}

.bwl-blog ul li a:hover,
.bwl-blog ul li a.bwl-mews--active {
  border-bottom-color: var(--bwl-vivid);
  opacity: 1;
}

.bwl-tower {
  font-size: 0.7rem;
  opacity: 0.6;
}

/* ========== STATS (dl) ========== */
.bwl-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: var(--bwl-deep);
  padding: 24px 16px;
}

.bwl-stats dt {
  flex: 0 0 50%;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: var(--bwl-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
}

.bwl-stats dd {
  flex: 0 0 50%;
  padding: 8px 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bwl-surface);
  font-family: 'Newsreader', Georgia, serif;
}

/* ========== HERO (div role=banner) ========== */
.bwl-banner {
  padding: 72px 20px 56px;
  text-align: center;
  background: var(--bwl-surface);
}

.bwl-bridge {
  max-width: 760px;
  margin: 0 auto;
}

.bwl-heath {
  padding: 0 8px;
}

.bwl-heath h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--bwl-deep);
  margin-bottom: 20px;
}

.bwl-heath p {
  font-size: 1.15rem;
  color: var(--bwl-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.bwl-common {
  display: inline-block;
}

.bwl-common a {
  display: inline-block;
  background: var(--bwl-vivid);
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.bwl-common a:hover {
  background: #A63D27;
  opacity: 1;
}

/* ========== CITIES (table) ========== */
.bwl-cities-wrap {
  padding: 56px 20px;
  background: #fff;
}

.bwl-cities-wrap h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
  color: var(--bwl-deep);
}

.bwl-cities {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.bwl-cities caption {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bwl-muted);
  padding: 0 0 16px;
  text-align: left;
}

.bwl-cities thead tr {
  background: var(--bwl-deep);
}

.bwl-cities thead th {
  color: var(--bwl-surface);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 20px;
  text-align: left;
}

.bwl-cities tbody tr {
  border-bottom: 1px solid #e8e5e0;
  transition: background 0.15s ease;
}

.bwl-cities tbody tr:hover {
  background: var(--bwl-surface);
}

.bwl-cities tbody td {
  padding: 16px 20px;
  vertical-align: middle;
}

.bwl-cities tbody td:first-child a {
  font-weight: 600;
  color: var(--bwl-vivid);
}

/* ========== FEATURES (article) ========== */
.bwl-features-wrap {
  padding: 56px 20px;
  background: var(--bwl-surface);
}

.bwl-features-wrap h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--bwl-deep);
}

.bwl-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.bwl-feature {
  flex: 1 1 280px;
  max-width: 460px;
  background: #fff;
  padding: 32px 28px;
  border-radius: 6px;
  border-left: 4px solid var(--bwl-vivid);
}

.bwl-feature h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--bwl-deep);
}

.bwl-feature p {
  font-size: 0.92rem;
  color: var(--bwl-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.bwl-feature ul {
  list-style: none;
  padding: 0;
}

.bwl-feature ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--bwl-deep);
}

.bwl-feature ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--bwl-vivid);
}

/* ========== CTA (aside) ========== */
.bwl-cta {
  padding: 56px 20px;
  text-align: center;
  background: var(--bwl-deep);
}

.bwl-cta h2 {
  font-size: 2rem;
  color: var(--bwl-surface);
  margin-bottom: 16px;
}

.bwl-cta p {
  font-size: 1.05rem;
  color: var(--bwl-muted);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.bwl-cta a {
  display: inline-block;
  background: var(--bwl-vivid);
  color: #fff;
  padding: 14px 40px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.bwl-cta a:hover {
  background: #A63D27;
  opacity: 1;
}

/* ========== FOOTER ACCORDION ========== */
.bwl-footer {
  background: var(--bwl-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 20px 32px;
}

.bwl-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
}

.bwl-footer details {
  flex: 1;
}

.bwl-footer summary {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bwl-surface);
  cursor: pointer;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  list-style: none;
}

.bwl-footer summary::-webkit-details-marker {
  display: none;
}

.bwl-footer summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  color: var(--bwl-muted);
  transition: transform 0.2s ease;
}

.bwl-footer details[open] summary::after {
  content: '\2212';
}

.bwl-footer ul {
  list-style: none;
  padding: 12px 0 0;
}

.bwl-footer ul li {
  margin-bottom: 8px;
}

.bwl-footer ul li a {
  color: var(--bwl-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.bwl-footer ul li a:hover {
  color: var(--bwl-surface);
  opacity: 1;
}

.bwl-footer-copy {
  max-width: 960px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: var(--bwl-muted);
  text-align: center;
}

/* ========== CONTENT PAGES ========== */
.bwl-page-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.bwl-page-wrap h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--bwl-deep);
}

.bwl-page-wrap h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--bwl-deep);
}

.bwl-page-wrap h3 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--bwl-deep);
}

.bwl-page-wrap p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: #3a3a3a;
}

.bwl-page-wrap ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.bwl-page-wrap ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: #3a3a3a;
}

.bwl-breadcrumb {
  font-size: 0.82rem;
  color: var(--bwl-muted);
  margin-bottom: 24px;
}

.bwl-breadcrumb a {
  color: var(--bwl-muted);
}

.bwl-breadcrumb a:hover {
  color: var(--bwl-vivid);
}

.bwl-city-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  border-left: 4px solid var(--bwl-vivid);
}

.bwl-city-stat {
  flex: 1 1 140px;
}

.bwl-city-stat dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bwl-muted);
  margin-bottom: 4px;
}

.bwl-city-stat dd {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bwl-deep);
}

.bwl-city-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.bwl-city-features li {
  padding: 10px 0;
  border-bottom: 1px solid #e8e5e0;
  font-size: 0.95rem;
  color: var(--bwl-deep);
  padding-left: 20px;
  position: relative;
}

.bwl-city-features li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--bwl-vivid);
}

/* ========== HOMEPAGE LONG CONTENT ========== */
.bwl-long-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 20px 40px;
}

.bwl-long-content h2 {
  font-size: 1.7rem;
  margin: 48px 0 16px;
  color: var(--bwl-deep);
}

.bwl-long-content h3 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--bwl-deep);
}

.bwl-long-content p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: #3a3a3a;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .bwl-blog ul li {
    flex: 0 0 auto;
    padding: 0 16px;
  }

  .bwl-stats {
    padding: 16px 8px;
  }

  .bwl-stats dt,
  .bwl-stats dd {
    padding: 6px 8px;
  }

  .bwl-heath h1 {
    font-size: 1.8rem;
  }

  .bwl-banner {
    padding: 48px 16px 40px;
  }

  .bwl-cities {
    font-size: 0.85rem;
  }

  .bwl-cities thead th,
  .bwl-cities tbody td {
    padding: 10px 12px;
  }

  .bwl-footer-inner {
    flex-direction: column;
    gap: 0;
  }

  .bwl-footer details {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .bwl-feature {
    flex: 1 1 100%;
  }

  .bwl-city-stats {
    flex-direction: column;
    gap: 16px;
  }

  .bwl-page-wrap h1 {
    font-size: 1.7rem;
  }
}

@media (min-width: 769px) {
  .bwl-footer details[open] {
    /* On desktop, all open by default via JS */
  }

  .bwl-footer details {
    pointer-events: none;
  }

  .bwl-footer summary {
    pointer-events: none;
    cursor: default;
  }

  .bwl-footer summary::after {
    display: none;
  }
}
