/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; }
ul { list-style: none; }


/* ============================================================
   SITE COLOUR VARIABLES
============================================================ */
:root {
  --white:       #ffffff;
  --blue:        #2d7fc8;
  --blue-dark:   #1f5fa0;
  --blue-light:  #4a97e8;
  --blue-bg:     #daedf8;
  --blue-bg-soft:#f0f6fc;
  --ink:         #111111;
  --body:        #333333;
  --muted:       #6b7280;
  --subtle:      #9ca3af;
  --border:      #e5e7eb;
  --footer-bg:   #111111;
  --nav-h:       66px;
  --px:          clamp(1.25rem, 4vw, 3rem);
  --py:          clamp(2.5rem, 5vw, 4rem);
  --r:           4px;
  --r-lg:        8px;
  --r-xl:        12px;
  --ease:        0.2s ease;
}

/* ============================================================
   UTILITY
============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.section-label {
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 0.4rem; font-weight: 500;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15; color: var(--ink);
  margin-bottom: 0.4rem;
}
.section-sub {
  color: var(--muted); font-size: 14px;
  font-weight: 300; margin-bottom: 2rem;
}
.section-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 1.75rem;
  flex-wrap: wrap; gap: 1rem;
}
.see-all {
  font-size: 11px; color: var(--blue);
  letter-spacing: 1.5px; text-transform: uppercase;
  border: none; background: none;
  border-bottom: 1px solid rgba(45,127,200,0.35);
  padding-bottom: 2px;
  transition: color var(--ease), border-color var(--ease);
}
.see-all:hover { color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-primary {
  background: var(--blue); color: #fff;
  border: none; padding: 12px 26px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.6px; text-transform: uppercase;
  border-radius: var(--r);
  transition: background var(--ease), transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); color: #fff; }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1px solid #b0bec5;
  padding: 12px 22px; font-size: 13px;
  border-radius: var(--r);
  transition: border-color var(--ease), color var(--ease);
  display: inline-block;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-side { flex-direction: row; flex-wrap: wrap; }
  .article-card-sm { min-width: 200px; flex: 1; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta-btn { display: none; }
  .nav-hamburger { display: flex; }
  #stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .events-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .planner-form { grid-template-columns: 1fr; }
  .p-field.full { grid-column: auto; }
  #newsletter { flex-direction: column; }
  .nl-form { max-width: 100%; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  #stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .article-side { flex-direction: column; }
  .hero-title { font-size: 32px; }
}
