/* ==========================================================================
   A Place 2 Go Westchester — Main Stylesheet
   Westchester County's local discovery guide
   ========================================================================== */

/* ----- CSS Variables / Design Tokens ----- */
:root {
  --color-hudson-blue: #1B4965;
  --color-hudson-blue-light: #2a6b8f;
  --color-hudson-blue-dark: #133a52;
  --color-warm-sand: #E8D5B7;
  --color-warm-sand-light: #f0e0c8;
  --color-forest-green: #2D5016;
  --color-forest-green-light: #4a7c2f;
  --color-sunset-coral: #E07856;
  --color-sunset-coral-dark: #c9623f;
  --color-off-white: #FAF7F2;
  --color-white: #ffffff;
  --color-text: #2a2a2a;
  --color-text-light: #5a5a5a;
  --color-text-muted: #888888;
  --color-border: #e0dccf;
  --color-border-dark: #c9c4b5;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --container-max: 1200px;
  --container-narrow: 760px;
  --container-wide: 1400px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(27, 73, 101, 0.08);
  --shadow-md: 0 4px 20px rgba(27, 73, 101, 0.12);
  --shadow-lg: 0 8px 40px rgba(27, 73, 101, 0.16);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-off-white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-hudson-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-sunset-coral);
}

ul, ol {
  list-style-position: inside;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-hudson-blue);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.2em;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-sunset-coral);
  display: inline-block;
  margin-bottom: 0.5em;
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: 64px 0;
}

.section-lg {
  padding: 96px 0;
}

.section-sm {
  padding: 40px 0;
}

.bg-sand {
  background: var(--color-warm-sand-light);
}

.bg-blue {
  background: var(--color-hudson-blue);
  color: var(--color-off-white);
}

.bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4 {
  color: var(--color-off-white);
}

.bg-blue a {
  color: var(--color-warm-sand);
}

.bg-blue a:hover {
  color: var(--color-sunset-coral);
}

.bg-green {
  background: var(--color-forest-green);
  color: var(--color-off-white);
}

.bg-green h1, .bg-green h2, .bg-green h3, .bg-green h4 {
  color: var(--color-off-white);
}

.grid {
  display: grid;
  gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ----- Header / Navigation ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-hudson-blue);
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-text span {
  color: var(--color-sunset-coral);
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-menu a:hover {
  color: var(--color-hudson-blue);
  background: var(--color-warm-sand-light);
}

.nav-menu a.active {
  color: var(--color-hudson-blue);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--color-sunset-coral);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-hudson-blue);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-sunset-coral);
  color: var(--color-white);
  border-color: var(--color-sunset-coral);
}

.btn-primary:hover {
  background: var(--color-sunset-coral-dark);
  border-color: var(--color-sunset-coral-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-hudson-blue);
  border-color: var(--color-hudson-blue);
}

.btn-secondary:hover {
  background: var(--color-hudson-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-hudson-blue);
  border-color: var(--color-white);
}

.btn-light:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19, 58, 82, 0.75) 0%, rgba(27, 73, 101, 0.5) 50%, rgba(224, 120, 86, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  max-width: 640px;
  padding: 80px 0;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
}

.hero-content .eyebrow {
  color: var(--color-warm-sand);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ----- Page Header (interior pages) ----- */
.page-header {
  background: linear-gradient(135deg, var(--color-hudson-blue) 0%, var(--color-hudson-blue-dark) 100%);
  color: var(--color-white);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 120, 86, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 12px;
  position: relative;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  position: relative;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  position: relative;
}

.breadcrumb a {
  color: var(--color-warm-sand);
}

.breadcrumb a:hover {
  color: var(--color-sunset-coral);
}

/* ----- Cards ----- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-image {
  overflow: hidden;
  aspect-ratio: 3/2;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sunset-coral);
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--color-hudson-blue);
}

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: var(--color-sunset-coral);
}

.card-excerpt {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ----- Featured Article ----- */
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.featured-article-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-article-body h2 {
  margin-bottom: 16px;
}

.featured-article-body .lead {
  margin-bottom: 24px;
}

/* ----- Category Pills ----- */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.category-pill {
  padding: 8px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}

.category-pill:hover, .category-pill.active {
  background: var(--color-hudson-blue);
  color: var(--color-white);
  border-color: var(--color-hudson-blue);
}

/* ----- Article Styles ----- */
.article-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 58, 82, 0.9) 0%, rgba(19, 58, 82, 0.3) 60%, transparent 100%);
}

.article-hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  padding: 0 0 60px;
  width: 100%;
}

.article-hero-content .eyebrow {
  color: var(--color-warm-sand);
}

.article-hero-content h1 {
  color: var(--color-white);
  max-width: 800px;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.article-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 48px 24px 64px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body h2 {
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.article-body h3 {
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  color: var(--color-hudson-blue);
}

.article-body p {
  margin-bottom: 1.3em;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.3em;
  padding-left: 1.5em;
}

.article-body ul li, .article-body ol li {
  margin-bottom: 0.5em;
}

.article-body blockquote {
  border-left: 4px solid var(--color-sunset-coral);
  padding: 16px 24px;
  margin: 2em 0;
  background: var(--color-warm-sand-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-hudson-blue-dark);
}

.article-body img {
  border-radius: var(--radius-md);
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
}

.article-body figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: -1em;
  margin-bottom: 2em;
}

.article-body a {
  color: var(--color-hudson-blue);
  text-decoration: underline;
  text-decoration-color: var(--color-sunset-coral);
  text-underline-offset: 2px;
}

.article-footer {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 32px 24px;
  border-top: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.article-tag {
  font-size: 0.8rem;
  padding: 4px 14px;
  background: var(--color-warm-sand-light);
  color: var(--color-hudson-blue);
  border-radius: 20px;
  text-decoration: none;
  transition: all var(--transition);
}

.article-tag:hover {
  background: var(--color-hudson-blue);
  color: var(--color-white);
}

.author-box {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-hudson-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-info h4 {
  margin-bottom: 4px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ----- Neighborhood Cards ----- */
.neighborhood-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.neighborhood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.neighborhood-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 58, 82, 0.85) 0%, transparent 60%);
  transition: background var(--transition);
}

.neighborhood-card:hover img {
  transform: scale(1.08);
}

.neighborhood-card:hover::after {
  background: linear-gradient(to top, rgba(19, 58, 82, 0.9) 0%, rgba(224, 120, 86, 0.2) 60%);
}

.neighborhood-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 28px;
  color: var(--color-white);
}

.neighborhood-card-content h3 {
  color: var(--color-white);
  margin-bottom: 4px;
}

.neighborhood-card-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}

/* ----- Events Calendar Widget ----- */
.events-widget {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-off-white);
  transition: all var(--transition);
}

.event-item:hover {
  background: var(--color-warm-sand-light);
  transform: translateX(4px);
}

.event-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  padding: 8px;
  background: var(--color-hudson-blue);
  color: var(--color-white);
  border-radius: var(--radius-sm);
}

.event-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: block;
}

.event-date .day {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.event-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.event-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ----- Stats Section ----- */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-sunset-coral);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

/* ----- Newsletter ----- */
.newsletter-box {
  background: linear-gradient(135deg, var(--color-hudson-blue) 0%, var(--color-hudson-blue-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(224, 120, 86, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.newsletter-box h2 {
  color: var(--color-white);
  margin-bottom: 16px;
  position: relative;
}

.newsletter-box p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  border-color: var(--color-sunset-coral);
}

/* ----- Forms ----- */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-hudson-blue);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-text);
  outline: none;
  transition: border var(--transition);
}

.form-control:focus {
  border-color: var(--color-hudson-blue);
}

textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-message {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  display: none;
  font-weight: 600;
}

.form-message.success {
  background: #e8f5e9;
  color: var(--color-forest-green);
  display: block;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--color-hudson-blue-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: var(--color-white);
}

.footer-brand .logo-text span {
  color: var(--color-sunset-coral);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-sunset-coral);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-sunset-coral);
  color: var(--color-white);
}

/* ----- 404 Page ----- */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-404 .error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--color-sunset-coral);
  line-height: 1;
  margin-bottom: 16px;
}

.error-404 h1 {
  margin-bottom: 16px;
}

.error-404 p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ----- Sitemap Page ----- */
.sitemap-list {
  list-style: none;
  padding: 0;
}

.sitemap-list > li {
  margin-bottom: 24px;
}

.sitemap-list > li > a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-hudson-blue);
}

.sitemap-list ul {
  list-style: none;
  padding-left: 24px;
  margin-top: 8px;
}

.sitemap-list ul li {
  margin-bottom: 6px;
}

.sitemap-list ul li a {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ----- Legal Pages ----- */
.legal-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 48px 24px;
}

.legal-content h2 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-size: 1.15rem;
}

.legal-content p, .legal-content li {
  margin-bottom: 1em;
  color: var(--color-text-light);
}

.legal-content ul {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.legal-toc {
  background: var(--color-warm-sand-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 40px;
}

.legal-toc h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
}

.legal-toc li {
  margin-bottom: 6px;
}

.legal-toc a {
  font-size: 0.95rem;
}

/* ----- Scroll Reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ----- Section Divider ----- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header .eyebrow {
  margin-bottom: 8px;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* ----- Two Column Layout ----- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ----- Map / Info Grid ----- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-warm-sand-light);
  font-size: 1.5rem;
}

.info-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-article-body {
    padding: 32px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-off-white);
    padding: 16px;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-200%);
    transition: transform var(--transition);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .nav-menu a.active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .newsletter-box {
    padding: 32px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section, .section-lg {
    padding: 48px 0;
  }

  .hero {
    min-height: 70vh;
  }

  .stats-section {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .article-body {
    padding: 32px 16px 48px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-section {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

