/* ============================================================
   THE SOUTHERN HISTORIC PRESERVATION SOCIETY
   Global Design System
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --navy: #1B2A4A;
  --navy-dark: #0F1A2E;
  --navy-light: #2A3D62;
  --gold: #B89A3D;
  --gold-light: #D4B85A;
  --gold-dark: #967B2F;
  --gold-muted: rgba(184, 154, 61, 0.15);
  --cream: #F5F0E1;
  --ivory: #FAF7F0;
  --white: #FFFFFF;
  --charcoal: #2C2C2C;
  --warm-gray: #6B6357;
  --warm-gray-light: #9B9488;
  --border-light: rgba(184, 154, 61, 0.25);
  --shadow-sm: 0 2px 8px rgba(15, 26, 46, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 26, 46, 0.10);
  --shadow-lg: 0 8px 40px rgba(15, 26, 46, 0.14);
  --shadow-xl: 0 16px 60px rgba(15, 26, 46, 0.18);
  --shadow-gold: 0 4px 20px rgba(184, 154, 61, 0.20);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Sizing */
  --container-max: 1280px;
  --container-narrow: 860px;
  --nav-height: 80px;
  --section-padding: 100px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-med: 400ms var(--ease-out);
  --transition-slow: 600ms var(--ease-out);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--ivory);
  overflow-x: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h5 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--warm-gray);
}

.text-gold {
  color: var(--gold);
}

.text-navy {
  color: var(--navy);
}

.text-cream {
  color: var(--cream);
}

.text-center {
  text-align: center;
}

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

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

.section {
  padding: var(--section-padding) 0;
}

.section--navy {
  background: var(--navy);
  color: var(--cream);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
}

.section--ivory {
  background: var(--ivory);
}

.section--white {
  background: var(--white);
}

/* --- Decorative Elements --- */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider .ornament {
  color: var(--gold);
  font-size: 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 0.02em;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--warm-gray);
}

/* --- Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-med), box-shadow var(--transition-med);
}

.site-header--transparent {
  background: transparent;
}

.site-header--solid {
  background: rgba(15, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.nav-logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  color: rgba(245, 240, 225, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition-med);
  transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--cream);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 60%;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-trigger .arrow {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--navy);
  border: 1px solid rgba(184, 154, 61, 0.2);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  text-transform: none;
  font-size: 0.9375rem;
  letter-spacing: 0;
}

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

.nav-dropdown-menu a:hover {
  background: rgba(184, 154, 61, 0.1);
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
  transition: all var(--transition-fast) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  cursor: pointer;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 46, 0.98);
  z-index: 999;
  padding-top: calc(var(--nav-height) + 2rem);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-med);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay .mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
}

.mobile-nav-overlay .mobile-nav-links a {
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  padding: 0.75rem;
  transition: color var(--transition-fast);
}

.mobile-nav-overlay .mobile-nav-links a:hover {
  color: var(--gold);
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero--full {
  min-height: 100vh;
}

.hero--short {
  min-height: 50vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.1s linear;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(15, 26, 46, 0.55) 0%,
      rgba(15, 26, 46, 0.35) 40%,
      rgba(15, 26, 46, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: 2rem;
  max-width: 800px;
}

.hero-content .subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.hero-content h1 {
  color: var(--cream);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(245, 240, 225, 0.85);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-med);
  border: 1px solid rgba(184, 154, 61, 0.1);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 154, 61, 0.25);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.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-image .card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
}

.card-body {
  padding: 1.5rem;
}

.card-body .card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-body p {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(184, 154, 61, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-meta {
  font-size: 0.8125rem;
  color: var(--warm-gray-light);
}

.card-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: all var(--transition-fast);
}

.card-link:hover {
  color: var(--gold-light);
  gap: 0.625rem;
}

.card-link .arrow {
  transition: transform var(--transition-fast);
}

.card-link:hover .arrow {
  transform: translateX(3px);
}

/* --- Grid Layouts --- */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 225, 0.7);
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.inline-form {
  display: flex;
  gap: 0.75rem;
}

.inline-form input {
  flex: 1;
}

/* --- Newsletter Signup --- */
.newsletter-signup {
  background: var(--navy);
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.newsletter-signup h3 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.newsletter-signup p {
  color: rgba(245, 240, 225, 0.7);
  margin-bottom: 1.5rem;
}

.newsletter-signup .inline-form input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(184, 154, 61, 0.3);
  color: var(--cream);
}

.newsletter-signup .inline-form input::placeholder {
  color: rgba(245, 240, 225, 0.5);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(245, 240, 225, 0.7);
  padding-top: 5rem;
}

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

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.footer-brand .footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--cream);
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(184, 154, 61, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.footer-col h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(245, 240, 225, 0.6);
  padding: 0.3rem 0;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(184, 154, 61, 0.15);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: rgba(245, 240, 225, 0.5);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* stagger children */
.stagger-children>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger-children.revealed>*:nth-child(1) {
  transition-delay: 0ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(2) {
  transition-delay: 100ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(3) {
  transition-delay: 200ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(4) {
  transition-delay: 300ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(5) {
  transition-delay: 400ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(6) {
  transition-delay: 500ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(7) {
  transition-delay: 600ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(8) {
  transition-delay: 700ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(9) {
  transition-delay: 800ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(10) {
  transition-delay: 900ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(11) {
  transition-delay: 1000ms;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(12) {
  transition-delay: 1100ms;
  opacity: 1;
  transform: translateY(0);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(245, 240, 225, 0.6);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: rgba(245, 240, 225, 0.6);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs .separator {
  color: var(--gold);
}

/* --- Pull Quotes --- */
.pull-quote {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 1rem 2rem;
  margin: 2.5rem 0;
  line-height: 1.5;
}

.pull-quote cite {
  display: block;
  font-size: 0.875rem;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--warm-gray);
  margin-top: 0.75rem;
}

/* --- Tags --- */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  background: var(--gold-muted);
  color: var(--gold-dark);
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--gold);
  color: var(--navy);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  border: 2px solid var(--border-light);
  color: var(--warm-gray);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-light);
  color: var(--warm-gray);
}

.pagination a:hover,
.pagination .active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --nav-height: 70px;
  }

  .nav-menu {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav-overlay {
    display: block;
  }

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

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

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

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero--full {
    min-height: 90vh;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

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

  .filter-bar {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

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

  h1 {
    font-size: 2rem;
  }
}